WhoBuilt

text-to-SQL

A method for converting natural-language questions into SQL queries.

Timeline 0

Dated events, newest first. Open the sources under any item.

How we verify
20251 event
  1. as of Jun 2025uses
    structured RAG uses text-to-SQL
    “Then we do regular text-to-SQL over our data”
    7:07inRAG Evaluation Is Broken! Here's Why (And How to Fix It)YouTube

Talks 2

10:58
RAG Evaluation Is Broken! Here's Why (And How to Fix It)

The talk explains why common RAG benchmarks fail to reflect messy, real-world questions and data. Many measure retrieval or generation in isolation, or use questions with answers localized to a few chunks, so high benchmark scores can hide poor performance on customer data. The speakers demonstrate this with questions requiring aggregation across a corpus of FIFA World Cup documents, then propose converting suitable corpora into structured data and answering queries with text-to-SQL. They discuss limits of that approach, including schema design, normalization, ambiguity, ingestion cost, and complex text-to-SQL, and argue that RAG needs to be adapted to each use case.

Jun 3, 2025· 11 minDiscussed 7:07
15:31
No more bad outputs with structured generation

Remi Louf explains how structured generation guides language models to produce outputs that match a required format, such as JSON, instead of relying on prompts and post-processing. He introduces Outlines, an open-source Python library that constrains token generation and supports structures including regular expressions, JSON schemas, and context-free grammars. The talk presents reported benefits: valid outputs, little or no inference overhead, fewer generated tokens, and improved results on several benchmarks. Louf also describes newer work on semantic constraints for text-to-SQL and moving computation into the generation process.

Oct 14, 2024· 16 minDiscussed 13:47