Anyone create an agent that can do Dynamic languag...
# support
a
I need an agent that if the user starts speking french , answer in french , in the user starts speaking in german. answer in german ,etc
v
Vapi supports multilingual assistants by letting you configure transcribers and voices for different languages, but there is no direct documentation confirming fully automatic, real-time language switching during a call. You can set up multilingual support like this:
Copy code
json
{
  "voice": {
    "provider": "azure",
    "voiceId": "es-ES-ElviraNeural"
  }
}
To handle dynamic switching, you may need to implement custom logic to detect language changes and update the assistant's configuration via the API. Monitor the [multilingual support docs](https://docs.vapi.ai/customization/multilingual) for future enhancements. Source: - [Vapi Multilingual Support Documentation](https://docs.vapi.ai/customization/multilingual)
a
in that page i do not see any example on how to do the dynamic switch
k
Use a multilingual transcriber like Deepgram or Whisper, ensure your LLM handles both languages, choose TTS voices for French and German, and write a system prompt instructing the agent to respond in the user’s detected language..