talk-data.com
PyData
talk
2025-07-08 at 15:00
Building an AI Agent for Natural Language to SQL Query Execution on Live Databases
Event:
SciPy 2025
Speakers
Description
This hands-on tutorial will guide participants through building an end-to-end AI agent that translates natural language questions into SQL queries, validates and executes them on live databases, and returns accurate responses. Participants will build a system that intelligently routes between a specialized SQL agent and a ReAct chat agent, implementing RAG for query similarity matching, comprehensive safety validation, and human-in-the-loop confirmation. By the end of this 4-hour session, attendees will have created a powerful and extensible system they can adapt to their own data sources.