nowfound

AI · August 14, 2024

Beating OpenAI's structured outputs on cost, accuracy and speed

We leveraged a novel technique, schema-aligned parsing, to achieve SOTA on BFCL with every LLM.

Beating OpenAI's structured outputs on cost, accuracy and speed launched on August 14, 2024 with 8 votes, #1,861 of 5,471 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 2 years on.

What it does

We leveraged a novel technique, schema-aligned parsing, to achieve SOTA on BFCL with every LLM. Using BAML , we achieved state-of-the-art results for every model in the Berkeley function-calling benchmark (BFCL) — nearly solving it 1 . BAML is more accurate and cheaper for function calling than any native function calling API. It's easily 2-4x faster than OpenAI's FC-strict API. BAML's technique is model-agnostic and works with any model without modification (even open-source ones). gpt-3.5-turbo , gpt-4o-mini , and claude-haiku with BAML work almost as well as gpt4o with structured output (less than 2%) We used our prompting DSL (BAML) to achieve this[2], without using JSON-mode or any…from boundaryml.com

Does a similar job

all alternatives →
  • Codex by OpenAI2021 · openai.com · ▲954

    OpenAI's smartest and most intuitive to use model yet

  • OpenAI o12024 · openai.com · ▲685

    AI that can do general-purpose complex reasoning

  • Llama 3.2 Interpretability with Sparse Autoencoders2024 · github.com · ▲579

    I spent a lot of time and money on this rather big side project of mine that attempts to replicate the mechanistic interpretability research on proprietary LLMs that was quite popular this year and produced great research papers by Anthropic [1], OpenAI [2] and Deepmind [3]. I am quite proud of this project and since I consider myself the target audience for HackerNews did I think that maybe some of you would appreciate this open research replication as well. Happy to answer any questions or face any feedback. Cheers [1]…

  • OpenAI o3-mini2025 · openai.com · ▲510

    Pushing the frontier of cost-effective reasoning

  • KG
    Knowledge graph of restaurants and chefs, built using LLMs2025 · theophilecantelob.re · ▲201

    Hi HN! My latest side project is knowledge graph that maps the French culinary network using data extracted from restaurant reviews from LeFooding.com. The project uses LLMs to extract structured information from unstructured text. Some technical aspects you may be interested in: - Used structured generation to reliably parse unstructured text into a consistent schema - Tested multiple models (Mistral-7B-v0.3, Llama3.2-3B, gpt4o-mini) for information extraction - Created an interactive visualization using gephi-lite and Retina (WebGL) - Built (with Claude) a simple Flask web app to clean and…

  • Structured output from LLMs without reprompting2023 · automorphic.ai · ▲174

    Built a tool for transforming unstructured data into structured outputs using language models (with 100% adherence). If you're facing problems getting GPT to adhere to a schema (JSON, XML, etc.) or regex, need to bulk process some unstructured data, or generate synthetic data, check it out. We run our own tuned model (you can self-host if you want), so, we're able to have incredibly fine grained control over text generation. Repository: https://github.com/automorphic-ai/trex Playground: https://automorphic.ai/playground

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 18d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 18d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 20d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 21d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 30d ago · world.pixverse.video

  • Beam.win▲378

    Run AI agents on one Mac and use its windows on another

    AI · 4d ago · beam.win

Source: Show HN post ↗

Launched alongside, August 2024

the whole month →
  • Wordware▲9,848

    Your tool for building AI agents with natural language

    AI · 2024 · wordware.ai

  • If Youtube had actual channels.

    Life & fun · 2024 · ytch.xyz

  • Me.bot▲1,627

    The inspiring companion for your life

    AI · 2024 · me.bot

  • Upmetrics AI▲1,197

    Business plan & financial forecast using AI

    Work · 2024 · upmetrics.co

  • Jupitrr AI▲1,195

    Jupitrr AI turns raw talking videos into scroll-stopping content for coaches and consultants. Research, script, record, edit, and publish in one app.

    AI · 2024 · jupitrr.com

  • Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…

    Dev tools · 2024 · github.com