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

Uploaded Source

Built Distribution

py_dbchat-0.0.2rc120.post1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py_dbchat-0.0.2rc120.post1.tar.gz
Algorithm Hash digest
SHA256 61d20b468f629c1711175cb119b25ef01a815fa3a9da999174c1333319b632a1
MD5 7abd31c44b14e17ede98d85f0ddf917c
BLAKE2b-256 3797a895c6fcfeb45f7d6e6db3c1bd0c0e389d41700a3f1acee1a8ccb190d156

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for py_dbchat-0.0.2rc120.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 860120946972809c737892c00d76e18cd4318597e2a1ecc523951bd4c40bef10
MD5 7158827e9e517f71516046c2c08452cd
BLAKE2b-256 b4e09f2d1c595f3a4c61cbe343c18768538fc04c355ec13dce4eb7ee2bec2462

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