Zay-M3 / NaturalSQL
PublicEste 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)
NaturalSQL is a lightweight Python library that extracts a SQL database schema, indexes it semantically in a vector store, and retrieves relevant tables to provide context for LLMs generating SQL from natural language queries.
How It Works
You want to chat with your database in plain English, without memorizing tricky commands, and find this handy tool that makes it possible.
You add the tool to your computer setup with a simple download, picking options for your type of database if needed.
You share the address of your database, like telling a friend where your filing cabinet is kept.
The tool peeks inside your database, learns all about your tables and columns, and builds a quick smart index to remember them perfectly.
You type a natural question, such as 'show sales from last month' or 'find new customers'.
It searches its smart guide and pulls up exactly the right tables that fit your question, super fast after the first time.
You hand those tables to your favorite AI chat buddy, who whips up the perfect search command just for your words.
Run the ready-made command, and voila—your answers appear clearly, making database chats feel effortless and fun.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.