← all repositories

Mindinventory/MindSQL

A Python RAG library enabling natural language queries against SQL databases via LLMs and vector stores.

445 stars Python RAG · SearchLanguage Models
MindSQL
Not currently ranked — collecting fresh signals.
star history

MindSQL streamlines database interactions by converting natural language questions into SQL queries using retrieval-augmented generation. It indexes DDL statements and example question-SQL pairs into a vector store for context-aware retrieval, then leverages LLMs like GPT-4, Llama 2, and Google Gemini to generate accurate SQL based on the retrieved schema context. Supports PostgreSQL, MySQL, SQLite, Snowflake, BigQuery, and integrates with ChromaDB or Faiss for vector storage.

Frequently asked

What is Mindinventory/MindSQL?
A Python RAG library enabling natural language queries against SQL databases via LLMs and vector stores.
Is MindSQL open source?
Yes — Mindinventory/MindSQL is open source, released under the GPL-3.0 license.
What language is MindSQL written in?
Mindinventory/MindSQL is primarily written in Python.
How popular is MindSQL?
Mindinventory/MindSQL has 445 stars on GitHub.
Where can I find MindSQL?
Mindinventory/MindSQL is on GitHub at https://github.com/Mindinventory/MindSQL.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.