does the end of turn work for german (nova-3-gener...
# ask-ai
b
does the end of turn work for german (nova-3-general) and spanish (nova-2-general)?
t
Thanks for reaching out, Mohammed. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Yes, end-of-turn detection works great for both German (nova-3-general) and Spanish (nova-2-general) when you’re using the multilingual model in the LiveKit turn detector plugin. Just make sure your STT plugin is set to the right language (like "de" for German or "es" for Spanish) to get the best results. Sources: examples/voice_agents/basic_agent.py | LiveKit turn detector plugin | LiveKit Docs | Building the all-in-one platform for voice AI agents
b
do i need to install seperate turn detector plugin for it? what steps additional i need to in order to use multilingual turn detector and how many langs does it suuport
t
Good news! You don’t need to install a separate turn detector plugin to use the multilingual turn detector. It’s already included in the
livekit-plugins-turn-detector
package, which works great with both English and multilingual models. Here’s how you can get started with the Multilingual Turn Detector: 1. Install the Plugin: Just run:
pip install livekit-plugins-turn-detector
Or, if you prefer, install it with the Agents SDK extras:
pip install "livekit-agents[turn-detector]~=1.2"
2. Download Model Files: Simply run:
python my_agent.py download-files
3. Configure the AgentSession: Set up the
MultilingualModel
in your session and configure the STT plugin to handle multiple languages:
Copy code
from livekit.plugins.turn_detector.multilingual import MultilingualModel
from livekit.plugins import deepgram

session = AgentSession(
    turn_detection=MultilingualModel(),
    stt=deepgram.STT(model="nova-3", language="multi"),
    # ... other components
)
4. System Requirements: The multilingual model needs about 400MB of RAM and runs smoothly on a CPU. For production, we recommend using compute-optimized instances. Supported Languages: This model supports 14 languages: English, Spanish, French, German, Italian, Portuguese, Dutch, Chinese, Japanese, Korean, Indonesian, Russian, Turkish, and Hindi. It’s also great with mixed-language conversations! Sources: livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector... | LiveKit turn detector plugin | LiveKit Docs | Building the all-in-one platform for voice AI agents