Skip to main content

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.2rc113.post1.tar.gz (400.7 kB view details)

Uploaded Source

Built Distribution

py_dbchat-0.0.2rc113.post1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file py_dbchat-0.0.2rc113.post1.tar.gz.

File metadata

  • Download URL: py_dbchat-0.0.2rc113.post1.tar.gz
  • Upload date:
  • Size: 400.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for py_dbchat-0.0.2rc113.post1.tar.gz
Algorithm Hash digest
SHA256 5918b647235929333e62319df97a9e80d5a5e6e4c1a58854ff7d9306ef16debc
MD5 05947e4885f9cc7bc3d03b918d8cfe12
BLAKE2b-256 2b7e19192ba23860654bc062f004ec90014cb11fb20fe48afd0398ea8eefc7d8

See more details on using hashes here.

Provenance

File details

Details for the file py_dbchat-0.0.2rc113.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for py_dbchat-0.0.2rc113.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 580f37657aa87ead2b4ebe29aa0aa9ce07185bcd2f5af661eb33957d0ad28046
MD5 0145b82e32a0713c1a54f9f6c8a6b66b
BLAKE2b-256 2b76ef34da7c7d49b5eae90abaed50076d214313a8685c5e5d52a1864177ce3f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page