Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karthikarajagopal44/chat-with-sql-db
https://github.com/karthikarajagopal44/chat-with-sql-db
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/karthikarajagopal44/chat-with-sql-db
- Owner: KarthikaRajagopal44
- Created: 2025-01-09T14:56:26.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2025-01-09T15:01:17.000Z (21 days ago)
- Last Synced: 2025-01-09T15:44:04.677Z (21 days ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat-with-SQL-DB
This application allows seamless interaction with SQL databases through a chatbot interface. This involved harnessing the power of Langchain and Streamlit, two cutting-edge technologies, to develop a dynamic and interactive user experience.
By leveraging Langchain, particularly its create_sql_agent function, I could bridge the communication between the chatbot and the database. The toolkit I used, SQLDatabaseToolkit, proved to be invaluable in creating a robust and responsive application.
The application supports both local SQLite and MySQL databases. Configuring these connections required a deep dive into SQLAlchemy for engine creation and handling different database.
Integrating a language model using ChatGroq added an intelligent layer to the chatbot, enabling it to understand and process user queries efficiently. The model used, "Llama3-8b-8192," in delivering accurate responses.