कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

azure-ai-voicelive-py

thegovind द्वारा

DevOps & Cloud
1.8kclawskills.sh द्वारा बताए गए डाउनलोड
2स्टार
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Build real-time voice AI applications.

विवरण

यह स्किल क्या करती है

Wraps the Azure AI Voice Live SDK to enable real-time bidirectional voice applications in Python over WebSocket. Handles audio streaming, voice activity detection, transcription, and function calling in a single async API. Supports voice assistants, speech-to-speech translation, and voice-driven avatars.

Abstracts raw WebSocket management, audio encoding, and VAD logic so application code focuses on conversation flow rather than protocol details.

इसे कब इस्तेमाल करें

  • Voice assistant that listens via microphone and responds with spoken audio
  • Real-time speech-to-speech translation during a live call
  • Hands-free command interface for a Python desktop or server app
  • Voice-enabled customer support bot with interrupt and turn detection
  • Voice-driven avatar that reacts to live audio input

उदाहरण वर्कफ़्लो

इनपुट

User asks: Build a Python voice assistant that listens to microphone input and responds with audio

एजेंट
  1. 1

    Connect to Azure Cognitive Services endpoint using DefaultAzureCredential

  2. 2

    Configure session with instructions, voice selection, and Server VAD settings

  3. 3

    Stream base64-encoded PCM16 audio chunks to conn.input_audio_buffer

  4. 4

    Listen for response.audio.delta events and decode audio bytes for playback

  5. 5

    Handle response.function_call_arguments.done to execute tools and return results to the conversation

आउटपुट

An async Python app with real-time bidirectional voice conversation, automatic turn detection, and optional tool/function calling

आवश्यकताएँ

  • AZURE_COGNITIVE_SERVICES_ENDPOINT environment variable
  • AZURE_COGNITIVE_SERVICES_KEY environment variable (or Azure AD credentials configured for DefaultAzureCredential)
  • Azure Cognitive Services account with access to the Voice Live API

इंस्टॉलेशन

clawhub install thegovind/azure-ai-voicelive-py

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक