Skip to content

Ask questions to your sql database | Google Gemini | LangChain | SQL db

License

Notifications You must be signed in to change notification settings

ayonghan/talk-with-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

talk-with-database

Ask questions to your sql database

This Project uses langchain_google_genai to convert user questions into SQL queries, this sql query is passed to the sql database and finally the obtained answer is displayed to the user.

STEPS:

1. Create a conda environment after cloning the repository

conda create -n talk-sqldb-cenv python=3.10 -y
conda activate talk-sqldb-cenv

2. install the requirements

pip install -r requirements.txt
streamlit run app.py

To Do

Give more few shot samples
Fix SQLDatabaseChain Output Formatting

Output

Output Image

About

Ask questions to your sql database | Google Gemini | LangChain | SQL db

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages