Configure the language users can speak in during voice conversations
input_language
field in your session configuration provides a hint about the primary language users will speak.
However, the model can understand multiple languages simultaneously, regardless of the hint provided.
The AI agent will understand their speech and respond in the language corresponding to the chosen voice.
input_language
setting is a hint to optimize recognition, but users can speak in any supported language.input_language
to your session configuration as a hint for the primary expected language:
languages
array contains all detected languages in the user’s input, allowing you to understand the linguistic composition of each utterance.
You can listen to this event to understand the languages spoken in the user’s input.
input_language
is a hint to optimize recognition, not a limitationen
for Englishlanguages
array