Deepgram's Live Streaming Starter Kit will take you step by step through the process of getting up and running with Deepgram's live streaming API.
Please refer to our Documentation on how to use the Streaming Starter Kit.
🔑 To access the Deepgram API you will need a free Deepgram API Key.
- Python >= 3.6+
- portaudio
- A valid Deepgram API key
- Clone the streaming starter kit repository
- Install portaudio (if not already installed)
- Run
pip install -r requirements.txt
If you use Homebrew or Conda, we recommend installing with brew install portaudio
or conda install portaudio
.
Otherwise, you can download a zip file from portaudio.com, unzip it, and then consult PortAudio's docs as a reference for how to build the package on your operating system. For Linux and MacOS, the build command within the top-level portaudio/
directory is ./configure && make
.
PortAudio is known to have compatibility issues on Windows. However, this dependency is only required if you plan to stream audio from your microphone.