LLM Powered Food Content Information Chatbot
Picky Rabbit is an OpenAI LLM-powered chatbot that provides information about the contents of packaged food products. It helps users make informed choices by offering details on ingredients, nutritional values, allergens, and more. In the second version, the chatbot incorporates Similarity Search with LLMs, enabling it to respond by considering the food data stored in the compact vector database FAISS.
To run Picky Rabbit locally, follow these steps:
-
If you don't have Poetry installed, you can install it from here.
-
After installing Poetry, clone the repository and run the following command to install the dependencies:
poetry install
- Once the dependencies are installed, run the following command to start the project:
poetry run streamlit run ./picky-rabbit/app.py
- The project will start running on
localhost:8501
by default.
That's it! You can now access Picky Rabbit on your local machine.
If you want to add a permanent key for local usage, follow these steps:
-
Create a file named
secrets.toml
under the.streamlit
folder. -
Add the following line to
secrets.toml
, replacingYOUR_KEY
with your actual key:
openai_key = "YOUR_KEY"