Description: BAML is one toolchain from the compiler to production. Build, test, trace, query, and alert on your code with tools that all read the same types.
Star on GitHub 539 Open main menu BAML is an expressive language for structured text generation
$ pip install baml-py Backed by Trusted by developers at Forget JSON.parse(). BAML's parser was built for LLMs JSON error correction LLM yapping immunity Schema coercion BAML fixes broken JSON like trailing commas, unquoted keys, unescaped quotes, new lines, and even fractions. analyze-repo.baml LLM output Parsed Response Function-calling for every model, in your favorite language All models get better with BAML BAML achieves state-of-the-art results in function-calling with GPT 3.5 over all other models an
Learn more about the BFCL Benchmark →