Mindinventory/MindSQL
MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions. Seamlessly integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery. Powered by GPT-4 and Llama 2, it enables natural language queries. Supports ChromaDB and Faiss for context-aware responses.
This is a tool for developers who build data-driven applications. It lets you create a backend where end-users can ask questions in plain English (or any natural language) about data stored in various databases like PostgreSQL, MySQL, or Snowflake. The tool translates these natural language questions into SQL queries, retrieves the answers, and can even visualize them, providing a user-friendly way to interact with complex datasets without needing to write SQL.
437 stars. No commits in the last 6 months. Available on PyPI.
Use this if you are a developer looking to integrate natural language database querying capabilities into your applications, allowing your users to get insights from data without writing SQL.
Not ideal if you are a business user looking for a no-code tool to directly query your database with natural language, as this requires Python programming to set up.
Stars
437
Forks
45
Language
Python
License
GPL-3.0
Category
Last pushed
Jul 16, 2025
Commits (30d)
0
Dependencies
13
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/Mindinventory/MindSQL"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
mindsdb/mindsdb
Query Engine for AI Analytics: Build self-reasoning agents across all your live data
dataease/SQLBot
🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.
vanna-ai/vanna
🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval 🔄.
weAIDB/CrackSQL
LLM-based Dialect Translation System
Canner/WrenAI
⚡️ GenBI (Generative BI) queries any database in natural language, generates accurate SQL...