Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered Database Interaction App

Note: THIS APP IS AT VERY START PHASE SO THERE MAY BE ERRORS AND INCORRECT QUERIES, BUT IT WORKS WELL WITH SIMPLE QUESTIONS.PLEASE BE PATIENT AND GIVE ME TIME TO IMPROVE IT. WORKING ON TO ADD MANY FUNCTIONALITIES AND IMPROVING IT FOR BETTER USAGE.THANK YOU.

This project enables users to query a database using natural language, and the AI generates real-time queries to retrieve data.

Features

  • Convert natural language queries into SQL queries.
  • Execute generated queries on a connected database.
  • User-friendly interface for seamless interaction.

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/deepspace1/chat_with_your_sql_database.git
    cd chat_with_your_sql_database
  2. Set up the app:

    • Install dependencies:
      pip install -r requirements.txt
      
    • Start the streamlit app:
      streamlit run main.py
  3. GET YOUR GROQ API KEY

    • get your api key from groq website and use it in main.py file

Connecting to a Database

  1. SQL: Enter your Database in frontend Sidebar:

Usage

  1. Open the web interface (streamlit run main.py)
  2. Type a natural language query (e.g., "Show all users who registered last month")
  3. The AI will generate the corresponding SQL query and execute it.
  4. View the results instantly!

Screenshots

images

images

Contributing

Feel free to submit pull requests or report issues.


Enjoy using the AI-powered database interaction app! 🚀

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages