Chat with your existing database without using vector DB.
Project description
Chat with existing Database
LLM powered
Dev container contains all the necessary deps , mongodb storing the schema and chat history , conversations, settings etc and also a chinook database in postgres for playing around
install deps
UI
pip install -r requirements.txt
server
cd src/ui && npm i
To run the Application in local
UI
cd src/ui && npm run dev
API
cd src && uvicorn api.main:app
Open the UI
By default opens in http://localhost:5173/
Goto setting to save the OPEN AI API key
connect to dev container chinook db
postgresql+psycopg2://postgres:postgres@localhost:5432/chinook
Roadmap
- Complete image as docker and run ui and backend
- fix bug of connections
- Test for mysql , pg and sqllite etc
- put a nice readme with how it works
- clean up some code for now
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_dbchat-0.0.2rc119.post1.tar.gz
(557.0 kB
view details)
Built Distribution
File details
Details for the file py_dbchat-0.0.2rc119.post1.tar.gz
.
File metadata
- Download URL: py_dbchat-0.0.2rc119.post1.tar.gz
- Upload date:
- Size: 557.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6972288e59585b1fa9295c08468ac546d030edc4725c1bad3b085bbff5ab54fb |
|
MD5 | b590c652aeaae779b38cea47036d04aa |
|
BLAKE2b-256 | 92e398496388870ffec4cde0b618e54e803787cf213065130e807153cb80112d |
Provenance
File details
Details for the file py_dbchat-0.0.2rc119.post1-py3-none-any.whl
.
File metadata
- Download URL: py_dbchat-0.0.2rc119.post1-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad56a4dc2ee7820b8e9bcb47a976990cb6067a3fd5306e8d3070b1b6fbc39b4b |
|
MD5 | 01490cf8c30d3b6ee2218daab9f86651 |
|
BLAKE2b-256 | e220622b6d93865e1542a51d0029a47be19bc4a6d2e79f665d301688e1678743 |