We built an animated chatbot to help combat loneliness among the elderly. To get started, we followed this tutorial.
In order to get this project to run, you will need to sign up for a free OpenAI and Deepgram account. Once you do, you will be able to generate API keys for authentication. These keys are required to get this project to run.
To set up the project, follow these steps:
-
Create a
.env
file in the root folder with the following structure:OPENAI_API_KEY=<your openai api key> DEEPGRAM_API_KEY=<your deepgram api key>
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate
-
Install all the dependencies:
pip install -r requirements.txt
-
To start the application, navigate to the server folder and start the web app:
cd server uvicorn main:app --reload
-
Open up a browser and access the app under
127.0.0.1:8000