FerreroJeremy/ln2sql
A tool to query a database in natural language
This tool helps anyone who needs to quickly get specific data from a database without writing complex code. You provide it with your database structure (as an SQL dump file) and a question in plain English (or another supported language). The tool then translates your question into a precise SQL query, ready to be executed, making data retrieval much simpler for non-technical users.
519 stars. No commits in the last 6 months. Available on PyPI.
Use this if you need to query a database using natural language and obtain a valid SQL statement, without needing to know SQL yourself.
Not ideal if you need state-of-the-art natural language processing capabilities for highly nuanced or complex queries, or if you need to detect values directly from the input sentence with 100% efficiency.
Stars
519
Forks
198
Language
Python
License
GPL-3.0
Category
Last pushed
Mar 25, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/FerreroJeremy/ln2sql"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
salesforce/TabularSemanticParsing
Translating natural language questions to structured query language (SQL)
jkkummerfeld/text2sql-data
A collection of datasets that pair questions with SQL queries.
eguilg/nl2sql
阿里天池首届中文NL2SQL挑战赛top6
ayoungprogrammer/nlquery
Natural Language Engine on WikiData
DukeNLIDB/NLIDB
Natural Language Interface to DataBases