This sample demonstrates interacting with the Deepgram live streaming API using FastAPI
Deepgram is a foundational AI company providing speech-to-text and language understanding capabilities to make data readable and actionable by human or machines.
Before you start, it's essential to generate a Deepgram API key to use in this project. Sign-up now for Deepgram and create an API key.
Install the project dependencies.
pip install -r requirements.txt
Copy the code from sample.env
and create a new file called .env
. Paste in the code and enter your API key you generated in the Deepgram console.
DEEPGRAM_API_KEY='whatever-your-api-key-is'
uvicorn main:app --port 8000 --reload
To contribute or modify pytest code, install the following dependencies:
pip install -r requirements-dev.txt