xifanz42/nl2sql_agent
轻量化自然语言数据库查询工具,支持多轮对话完善查询目标,精确输出SQL查询语句、执行查询、数据分析并返回自然语言结果。A lightweight system enbales multiple rounds of chat to transfer natural language into SQL query, execute query, perform data analysis and return analysis results.
This tool helps business users who need to get information from a PostgreSQL database but aren't familiar with SQL. You can ask questions in plain English (or Chinese), like "Show me all sales in the last quarter for product X," and the system will generate the correct SQL query, run it, and present the results back to you in an easy-to-understand format. It's designed for anyone who needs quick access to database information without relying on a technical team.
No commits in the last 6 months.
Use this if you frequently need to retrieve data from a PostgreSQL database using natural language queries, without writing SQL.
Not ideal if you need to perform complex data manipulation, database administration tasks, or if your database is not PostgreSQL.
Stars
16
Forks
2
Language
Python
License
MIT
Category
Last pushed
Mar 28, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/xifanz42/nl2sql_agent"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Azure-Samples/azure-ai-document-processing-samples
A collection of samples demonstrating techniques for processing documents with Azure AI...
artitw/text2text
Text2Text Language Modeling Toolkit
aiplanethub/beyondllm
Build, evaluate and observe LLM apps
build-on-aws/langchain-embeddings
This repository demonstrates the construction of a state-of-the-art multimodal search engine,...
qianniuspace/llm_notebooks
AI 应用示例合集