- Create a new conda environment
conda create -p ./env python=3.10 -y
- Activate the enviroment
conda activate ./env
- Install dependencies
pip install -r requirements.txt
-
Create
.env
file in root directoryReplace values with your own
DEEPGRAM_API_KEY=<DEEPGRAM API KEY>
GROQ_API_KEY= <GROQ API KEY>
OPENAI_API_KEY= <OPENAI API KEY>
ELEVENLABS_API_KEY= <ELEVENLABS API KEY>
- To test the Speech to text integration
python tests/test_transcription.py
-
To test the STT and LLM response
- run in the terminal
python async_app.py
- Hit the url localhost:8000/generate_response and wait for the mic to start