This is our interactive playground that uses our framework (BAML <a href="https://github.com/BoundaryML/baml">https://github.com/BoundaryML/baml</a>) to do structured outputs with R1, without the use of tool-calling APIs or fine-tuning required.<p>We have a more fleshed out playground at <a href="https://promptfiddle.com" rel="nofollow">https://promptfiddle.com</a> as well.<p>BAML is a DSL for prompts, where prompts are modeled as functions. Our compiler transforms your LLM function declaration into the relevant API call, and will also parse the output for you.<p>We serialize using "type definitions" instead of using json schemas, since they are more efficient and easier to understand for models. We talk more about why here: <a href="https://www.boundaryml.com/blog/type-definition-prompting-baml">https://www.boundaryml.com/blog/type-definition-prompting-ba...</a><p>We ran the Berkeley Function Calling Benchmark some months ago on our approach and achieved really good results <a href="https://www.boundaryml.com/blog/sota-function-calling?q=0">https://www.boundaryml.com/blog/sota-function-calling?q=0</a>