The Boundary Blog
Learn about the latest updates to Boundary's toolkit
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
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
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.