Multilingual agents that switch languages and voices in real time
The new multilingual AI parameter accepts an array of language-voice pairs.
The AI agent continuously detects the other party’s language,
and switches to the configured TTS voice (and language) whenever it changes.
The multilingual and languages objects within the AI method are mutually exclusive.
See ai.multilingual.