microscopic-dress-75199
12/14/2025, 5:24 PMtall-airline-16756
12/14/2025, 5:24 PMtall-airline-16756
12/14/2025, 5:24 PMmicroscopic-dress-75199
12/14/2025, 5:25 PMtall-airline-16756
12/14/2025, 5:25 PMMultilingualModel supports mixed-language conversations (13 languages) and correctly detects turns when users and agents switch languages.
• TTS support: examples use ElevenLabs TTS (and other multilingual TTS) that can be configured per segment to render the correct language and pronunciation.
• Prompting pattern: prepend or include language instructions (e.g., en-US or target language) in the LLM prompt so the model outputs the desired mix of English and foreign-language phrases.
How you’d build a language-learning agent (high level)
1. Use an LLM that can output multilingual text and instruct it to produce corrections or target-language phrases inline with English explanations.
2. Send the LLM output to your TTS engine. For each spoken segment, set the TTS language/voice to match the text (switch dynamically when the LLM outputs target-language snippets).
3. Use the turn detector to segment user/agent turns reliably when languages switch.
4. Optionally, control pronunciation or phonetic hints via prompt instructions or by sending small phonetic fragments to a TTS engine that supports SSML/phonemes.
If you want, I can:
• Point you to the "Change Language" recipe and the turn-detector example.
• Sketch a short prompt template that mixes English explanations and target-language corrections.
Which would you like?
Sources: LiveKit Docs | Building the all-in-one platform for voice AI agents | LiveKit turn detector plugin | LiveKit docs | Live Conversations with AI using ChatGPT and WebRTCmicroscopic-dress-75199
12/14/2025, 5:32 PMtall-airline-16756
12/14/2025, 5:32 PMmicroscopic-dress-75199
12/14/2025, 5:34 PMtall-airline-16756
12/14/2025, 5:34 PM