Zay-M3/NaturalSQL
Este es un proyecto para experimentar sobre el conceto de RAG y como se implementa esta tactica de contexto en los modelos grandes de IA (LLM)
Extracts SQL database schemas and vectorizes them using configurable backends (Chroma or SQLite) with local or Gemini embeddings, enabling semantic retrieval of relevant tables for LLM context. Supports PostgreSQL, MySQL, SQL Server, and SQLite with automatic in-memory caching of embedding models (~10-15ms subsequent searches) and vector storage reuse to avoid redundant indexing. Provides lightweight schema-to-vector pipeline specifically designed for RAG workflows without heavy framework dependencies.
Stars
16
Forks
4
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 26, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/Zay-M3/NaturalSQL"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
mindsdb/mindsdb
Query Engine for AI Analytics: Build self-reasoning agents across all your live data
vanna-ai/vanna
🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval 🔄.
dataease/SQLBot
🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.
weAIDB/CrackSQL
LLM-based Dialect Translation System
Canner/WrenAI
⚡️ GenBI (Generative BI) queries any database in natural language, generates accurate SQL...