Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Chatting Application AI

Try demo: https://sql-database-chatting-aiapp-ashutoshcreation.streamlit.app/ here is the demo link

image alt

Overview

The Database Chatting Application AI is an interactive chatbot that allows users to communicate with an SQLite database using natural language. Built with Streamlit, SQLite, and Python, this AI-powered application simplifies database queries by converting human-readable inputs into structured SQL commands.

Features

🗣️ Natural Language Interaction – Users can ask questions in plain English, and the AI converts them into SQL queries.

📂 SQLite Integration – Seamless connection to an SQLite database for executing queries.

🎨 User-Friendly UI – Built with Streamlit for an interactive and responsive interface.

📊 Query Result Display – Outputs structured query results in a readable format.

🔍 Error Handling – Detects and manages incorrect inputs to prevent SQL errors.

🚀 Fast and Lightweight – Optimized for quick responses and low resource consumption.

Tech Stack

Python – Core programming language

Streamlit – Frontend and user interface

SQLite – Lightweight database management system

LangChain / OpenAI API (optional) – For advanced natural language processing (NLP)

Install dependencies:

pip install -r requirements.txt

Run the application:

streamlit run app.py

Usage

Upload or connect to an SQLite database.

Enter your natural language query (e.g., "Show all customers who made purchases in the last month.")

The AI processes the query and returns the results.

View query results in a structured

About

This is a streamlit app which will help you in fetching the database data without writing sql query just while chtting you can get like "give me total number of students"

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages