azure-ai-voicelive-dotnet

仓库创建 2026年1月17日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由

适合实时语音助手、语音转语音和互动机器人开发。

▸ 风险提示

需要麦克风权限、实时网络连接和 Azure 语音服务帐号。

这个 Skill 做什么

用于构建基于 WebSocket 的实时语音 AI 应用,支持双向语音会话与转写。

在 .NET 平台上用 WebSocket 搭实时语音 AI,支持双向音频流、实时转写和 speech-to-speech,对讲式语音助手和低延迟会话很合适。用在需要边说边识别或实时交互的应用场景,能处理音频采集与播放的细节。特别之处是封装了双向会话的 SDK 接口,让开发者不用从底层实现音频流和会话管理。

▸ 展开 SKILL.md 英文原文

Azure AI Voice Live SDK for .NET. Build real-time voice AI applications with bidirectional WebSocket communication. Use for voice assistants, conversational AI, real-time speech-to-speech, and voice-enabled chatbots. Triggers: "voice live", "real-time voice", "VoiceLiveClient", "VoiceLiveSession", "voice assistant .NET", "bidirectional audio", "speech-to-speech".

内容创作语音实时WebSocketDotnet通用
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-voicelive-dotnet/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-voicelive-dotnet/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Azure.AI.VoiceLive (.NET)

Real-time voice AI SDK for building bidirectional voice assistants with Azure AI.

## Installation

```bash
dotnet add package Azure.AI.VoiceLive
dotnet add package Azure.Identity
dotnet add package NAudio                    # For audio capture/playback
```

**Current Versions**: Stable v1.0.0, Preview v1.1.0-beta.1

## Environment Variables

```bash
AZURE_VOICELIVE_ENDPOINT=https://<resource>.services.ai.azure.com/  # Required: Voice Live endpoint
AZURE_VOICELIVE_MODEL=gpt-4o-realtime-preview  # Required: model deployment name
AZURE_VOICELIVE_VOICE=en-US-AvaNeural  # Optional: Voice Live voice name
AZURE_VOICELIVE_API_KEY=<your-api-key>  # Only required for Azur
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有