Перейти к содержимому

Text-to SQL Generator

Compound product

0:00 / 0:00

Text-to SQL Generator

22 просмотра · 11 дн. назад
Compound product
2 подписчика
22 просмотра · 11 дн. назад
A text-to-SQL agent built with LangGraph, FastAPI, SQLite and Gemini. Ask a data question in plain English and it writes the SQL, validates it with a parser so only read-only queries run, estimates the cost, runs it, and explains the result. It can also optimize and debug SQL you paste in. ⏱ Chapters 0:00 Intro: the problem and what I built 0:20 Architecture: the 9-step LangGraph workflow 1:00 Generating SQL from a question 1:45 Follow-up questions (conversation memory) 2:15 Optimizing a query (plan cost, index advice, rewrite check) 2:45 Debugging a broken query 3:10 Guardrails: destructive, injection and off-topic requests 3:50 Wrap-up