- Notifications
You must be signed in to change notification settings - Fork1
Redis Database offers unique capability to keep your data fresh while serving through LLM chatbot
License
mar1boroman/text-sql-chatbot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Redis Database offers unique capability to keep your data fresh while serving through LLM chatbot
The easiest way to is to use a docker image using the below command
docker run -d -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
If you do not want to use a docker image, you can sign up for a free Redis Cloud subscriptionhere.
Download the repository
git clone https://github.com/mar1boroman/text-sql-chatbot.git && cd text-sql-chatbotPrepare and activate the virtual environment
python3 -m venv venv && source venv/bin/activateInstall necessary libraries and dependencies
pip install -r requirements.txtMake sure you update the env file. You need a open ai api key & a langsmith api key to update the config.
mv env_backup .envvi .envDo not run if not required, below is just to show the workings
python data/load.pyThis creates the cars_database.db (sqllite) database.
If you run this directly, you will get an error since the cars_database.db is already present and there will be unique key constraint violation
streamlit run web/app.pyAbout
Redis Database offers unique capability to keep your data fresh while serving through LLM chatbot
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.


