Dalil AI Text-to-SQL
Dalil is an intelligent platform that uses artificial intelligence to convert natural language questions into SQL queries, execute them against databases and present results directly and clearly, without requiring users to write SQL manually.
From question to result
The platform makes data accessible and enables users to query and analyze information in natural language. A user can ask a question such as: ‘How many employees are there?’, and the platform understands it, generates a query and presents the result.
How does Dalil work?
Understand the Question
Understand the natural language question and identify the requested information.
Identify Related Data
Identify the tables and data related to the question.
Generate a SQL Query
Generate a SQL query suited to the question and data structure.
Validate the Query
Validate the query before execution.
Execute the Query
Execute the query against the database.
Present the Result
Present the result directly and clearly to the user.
Explain the Result
Provide an intelligent explanation to help the user understand the result.
Suggest Related Questions
Suggest related questions to continue exploring the data.
Project technologies
Artificial Intelligence
LLM
Ollama
Text-to-SQL
RAG
Semantic Search
Vector Database
BAAI/bge-m3
FastAPI
Python
SQLite
React
Vite
Docker
AI for understanding questions and data
Dalil combines language models through Ollama with RAG, semantic search and a vector database using BAAI/bge-m3 to understand questions, identify related data and generate SQL. The platform uses FastAPI, Python and SQLite, with a React and Vite interface and Docker deployment.
Open Dalil
Launch the platform and start querying data in natural language.
