This repository showcases the usage of BAML to parse and validate the output of an LLM.
My blog post is at: https://www.tomsquest.com/blog/2024/08/get-structured-output-from-llm-using-baml/
Happy coding! 🚀
poetry install
- Copy
.env.template
to.env
and fill the variables (eg.ANTHROPIC_API_KEY=your-apikey...
) - If using Direnv, add
dotenv
andlayout poetry
to.envrc