? NL2SQL Tool – Natural Language to SQL using LangChain, Ollama, and FastAPI
This tool allows users to input natural language questions and get the equivalent SQL query along with the query result from a registered database schema
Features
Converts natural language to SQL queries using LLMs (via Ollama)
Runs SQL queries on your database
API-first tool built with FastAPI
Powered by LangChain for LLM chaining and prompt logic
Support for multiple database types (SQLite, PostgreSQL, MySQL)
Interactive web interface
Schema auto-discovery and documentation