BAML is a startup founded on the idea of bringing engineering rigor to prompt engineering, treating prompts like structured code rather than unstructured text. Vaibhav Gupta, the founder compares it to how web development evolved from writing HTML strings to using React. BAML allows users to define prompts as functions with structured data outputs, making them composable and testable. It integrates seamlessly with development environments like VS Code, providing live previews and an evaluation system. The platform introduces “schema-aligned parsing” (SAP), which extracts structured data from model outputs without relying on JSON, improving accuracy and usability. BAML is open source, designed to work across programming languages, and aims to make working with LLMs more intuitive by focusing on structured, flexible syntax rather than optimizing raw English prompts.
Check out our devhub: https://bit.ly/4ghZuIk
Learn all about Neo4j and GenAI: https://bit.ly/4cpAY6D