chatbot / README.md
Evan Lesmez
Change the poetry remnant in readme
e677b67
|
raw
history blame
1.54 kB
metadata
title: Chatbot
emoji: 🫑
colorFrom: green
colorTo: indigo
sdk: gradio
sdk_version: 3.23.0
app_file: chatbot/app.py
pinned: false
license: unknown

Vegan Recipe Chatbot

Screenshot of Chatbot initial interface

Quickstart

git clone the repo

cd lv-recipe-chatbot

Make sure to use the version of python specified in py_version.txt
Create a virtual environment.

python3 -m venv env

Activate the env and install dependencies.

source env/bin/activate
pip install -r requirements.txt
pip install -r requirements/dev.txt

Put API secrets in .env

cp .env.example .env

Edit .env with your secret key(s). Only OPEN_AI_KEY is required.

Then start the Gradio demo from within the virtual environment.

python3 -m chatbot.app

Dependencies

If a new dependency for devlepment is helpful for developers, add it to dev.txt.
If it is a dependency for the app that is imported in source code, add it to core.txt.
Then run:

pipreqs --force

This will update our requirements.txt to include the depenency as it should be pinned in the environment.

Useful links