big-controller-60015
08/11/2025, 7:37 AMtall-airline-16756
08/11/2025, 7:38 AMtall-airline-16756
08/11/2025, 7:38 AMlivekit-plugins-turn-detector
installed. You can easily add it with pip:
pip install livekit-plugins-turn-detector
2. Import the Multilingual Model:
Bring in the MultilingualModel
from the turn detector plugin—it supports German and a bunch of other languages too:
from livekit.plugins.turn_detector.multilingual import MultilingualModel
3. Instantiate the MultilingualModel:
Create an instance of MultilingualModel
to handle German language detection smoothly:
turn_detector = MultilingualModel()
4. Integrate with Agent Session:
Use the MultilingualModel
when setting up your AgentSession
. Just make sure your speech-to-text (STT) supports German:
session = AgentSession(
stt=gladia.STT(languages=["de", "en"]), # Add German and any other languages you need
turn_detection=MultilingualModel(),
)
5. Download Model Files:
Before you run your agent, don’t forget to download the necessary model files:
python your_agent.py download-files
Follow these steps, and you’ll have the EOU model working for German in your LiveKit app in no time—making turn detection more accurate and your app even better!