Skip to content

An example of using Deepgram's Voice Agent with Azure Open AI Services.

License

Notifications You must be signed in to change notification settings

deepgram-devs/voice-agent-azure-open-ai-services

Repository files navigation

Voice Agent with Azure OpenAI Services

Discord

A repository template for open-source demos, guides and sample apps. Description here.

Getting an API Key

🔑 To access the Deepgram API you will need a free Deepgram API Key.

Documentation

You can learn more about the Deepgram API at developers.deepgram.com.

Installation

This is a Python client for interacting with Deepgram's Voice Agent API andd Azure OpenAI Services.

Instructions

  1. Install the dependencies in requirements.txt. For example, on Ubuntu using a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
  2. Set an environment variable with your Deepgram API key:

    export DEEPGRAM_API_KEY=<your-key-here>
  3. Set an environment variable with your Azure OpenAI Services API key:

    export AZURE_OPENAI_API_KEY=<your-key-here>
  4. Run the client:

    python3 client.py
  5. Start talking into your mic. This client doesn't have echo cancellation; you'll want to use headphones so the agent doesn't hear itself and think it's user speech.

Development and Contributing

Interested in contributing? We ❤️ pull requests!

To make sure our community is safe for all, be sure to review and agree to our Code of Conduct. Then see the Contribution guidelines for more information.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

About

An example of using Deepgram's Voice Agent with Azure Open AI Services.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages