For best accuracy and latency, provide a small set of expected languages. Avoid listing dozens of similar languages.
How to use code switching ?
Enable code switching in the session configuration:language
per utterance and per word. Use the transcript
message schema for details.
You can also omit
languages
to allow detection across all supported languages, but constraining the set usually improves accuracy.Recommendations
- Limit the number of languages to those you expect.
- Combine with custom vocabulary per language for domain terms.