Skip to content

azure-ai-foundry/voicelive-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure AI Speech Service - Voice Live Samples

This repository contains sample code and resources for working with Azure AI Speech Service Voice Live.

Overview

Voice Live enables real-time voice interactions using Azure AI Speech Service. These samples demonstrate how to integrate Voice Live into your applications for various scenarios including conversational AI, voice assistants, and interactive voice experiences.

Features

  • Real-time voice interaction samples
  • Integration examples with Azure AI Speech Service
  • Best practices for Voice Live implementation
  • Sample code for common use cases

Getting Started

Prerequisites

Installation

  1. Clone this repository:

    git clone https://github.com/azure-ai-foundry/voicelive-samples.git
    cd voicelive-samples
  2. Follow the instructions in individual sample directories for specific setup requirements.

Quickstart

  1. Choose your language: Select from C#, Python, or other available languages
  2. Follow language-specific setup: Each language folder has detailed setup instructions
  3. Configure credentials: Set up your Azure resources and authentication
  4. Run a sample: Start with a quickstart sample to see Voice Live in action

For detailed quickstart guides, see the README in your chosen language folder.

Samples by Language

This repository contains samples in multiple programming languages. Choose your preferred language to get started:

Complete C# samples demonstrating:

  • Agent Quickstart: Connect to Azure AI Foundry agents with proactive greetings
  • Model Quickstart: Direct VoiceLive model integration
  • Bring-Your-Own-Model (BYOM) Quickstart: Use your own models hosted in Foundry with proactive greetings
  • Customer Service Bot: Advanced function calling for customer service scenarios and proactive greetings
  • Built with .NET 9.0 and self-contained code

Python samples showcasing:

  • Agent Quickstart: Azure AI Foundry agent integration with proactive greetings
  • Model Quickstart: Direct model access with flexible authentication
  • Bring-Your-Own-Model (BYOM) Quickstart: Use your own models hosted in Foundry with proactive greetings
  • Function Calling: Advanced tool integration with custom functions and proactive greetings
  • Built with Python 3.8+ and async/await patterns

JavaScript/TypeScript samples (coming soon)

Java samples showcasing:

  • Model Quickstart: Direct model access with flexible authentication
  • Built with Java 11+ and Maven

Each language folder contains detailed setup instructions, configuration examples, and troubleshooting guides specific to that language and platform.

Documentation

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Please note that this project follows the Microsoft Open Source Code of Conduct.

Resources

  • Support - Get help and file issues
  • Security - Security policy and reporting vulnerabilities

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) Microsoft Corporation. All rights reserved.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

This repository contains sample for the Speech Service Voice live API

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published