better-sandwich-65834
10/14/2025, 11:47 AMtall-airline-16756
10/14/2025, 11:47 AMtall-airline-16756
10/14/2025, 11:47 AMnova-2-general and ElevenLabs' eleven_turbo_v2_5 to get things rolling smoothly.
2. Define Language Mappings: It’s helpful to create mappings for language codes, regional variants, and even native-language greetings. This way, your agent can easily update languages dynamically as needed.
3. Dynamic Language Updates: When you want to switch languages, you can use the update_options() method to update the configurations for both STT and TTS components seamlessly.
4. Function Tools: Consider implementing function tools like switch_to_spanish() that let your agent respond to natural language requests to change languages. It makes the experience feel more natural and user-friendly!
5. Automatic Language Detection: For an even smoother experience, you can use STT providers such as Deepgram or Gladia. They offer automatic detection and transcription of multiple languages, which is super handy.
If you’d like to see detailed examples and some handy code snippets, I highly recommend checking out the LiveKit Examples GitHub repository. It’s a fantastic resource to help you along the way.
Sources: pipeline-tts/tts_comparison/README.md | Introducing LiveKit Inference: A unified model interface for voice AI | Speech-to-text (STT) models | LiveKit Docs | Gladia STT plugin guide | LiveKit Docs