The Boundary Blog
Learn about the latest updates to Boundary's toolkit
Structured outputs with Open AI O1
How to use Open AI O1 to do function calling or tool calls
Vaibhav Gupta
Cursor support for BAML
BAML is now supported in Cursor
Sam Lijin
A new trick for generating code in JSON
BAML now supports parsing triple-backtick code blocks in LLM outputs
Sam Lijin
Announcing LLM Eval Support for Python, Ruby, Typescript, Go, and more.
Use BAML to evaluate your LLM applications regardless of the language you use to call them
Greg Hale
Generating Structured Output from a Dynamic JSON schema
Modify LLM response models at runtime.
Aaron Villalpando
Every Way To Get Structured Output From LLMs
A survey of every framework for extracting structured output from LLMs, and how they compare.
Sam Lijin
Semantic Streaming vs Token-based Streaming
A new technique for streaming structured output from LLMs
Aaron Villalpando
Bringing Structured Outputs and Schema-Aligned Parsing to Golang, Java, PHP, Ruby, Rust, and More
BAML now integrates with OpenAPI, allowing you to call BAML functions from any language.
Sam Lijin
Structured Output with Ollama
Getting structured output out of Ollama, using novel parsing techniques.
Sam Lijin
Beating OpenAI's structured outputs on cost, accuracy and speed — An interactive deep-dive
We leveraged a novel technique, schema-aligned parsing, to achieve SOTA on BFCL with every LLM.
Vaibhav Gupta
Prompting vs JSON Mode vs Function Calling vs Constrained Generation vs SAP
A technical explanation of every way to extract structed data from an LLM
Vaibhav Gupta
Transparency as a Tenet
Exposing the inner workings of BAML
Anish Palakurthi
Building a New Programming Language in 2024, pt. 1
An overview of the work that goes into building a new programming language.
Sam Lijin
Use Audio with your LLMs!
Capturing Non-Text Information and Richer Context with LLMs
Anish Palakurthi
Announcing Gemini Support!
Applying structure to Gemini output with BAML
Anish Palakurthi
Building RAG in Ruby, using BAML, with streaming!
How to do RAG with Ruby streaming AI APIs
Sam Lijin
Build RAG with citations in NextJS (with streaming!)
How to do RAG with NextJS streaming AI APIs
Aaron Villalpando
Your prompts are using 4x more tokens than you need
A deep-dive into how to use type-definitions instead of json schemas in prompt engineering to improve accuracy and reduce costs
Aaron Villalpando
Announcing BAML - The typesafe interface to LLMs, with built-in testing, guardrails and observability
BAML is a lightweight programming language to help perform structured prompting in a typesafe way.