garystafford/llm-langchain-sql-demo
Using LangChain's SQL Database Chain and Agent with various LLMs to perform Natural Language Queries (NLQ) of an Amazon RDS for PostgreSQL database.
This helps data analysts and business users query their Amazon RDS for PostgreSQL databases using plain English questions instead of SQL. You provide a natural language question and it translates that into a SQL query, executing it against your database and returning the results. It's designed for anyone who needs to quickly extract insights from their relational database without writing complex SQL.
No commits in the last 6 months.
Use this if you want to enable non-technical users or streamline data exploration by asking questions directly to your PostgreSQL database in everyday language.
Not ideal if you require highly complex, optimized SQL queries or need to perform database administration tasks, as this tool focuses on natural language data retrieval.
Stars
48
Forks
7
Language
Jupyter Notebook
License
MIT
Category
Last pushed
Jul 07, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/garystafford/llm-langchain-sql-demo"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
CodePhiliaX/Chat2DB
AI-driven database tool and SQL client, The hottest GUI client, supporting MySQL, Oracle,...
DEEP-PolyU/Awesome-LLM-based-Text2SQL
[TKDE2025] Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL | A curated...
julien040/anyquery
Query anything (GitHub, Notion, +40 more) with SQL and let LLMs (ChatGPT, Claude) connect to using MCP
TuGraph-family/Awesome-Text2GQL
Fine-Tuning Dataset Auto-Generation for Graph Query Languages.
eosphoros-ai/Awesome-Text2SQL
Curated tutorials and resources for Large Language Models, Text2SQL, Text2DSL、Text2API、Text2Vis...