set_multilingual
set_multilingual
Configure recognizer-driven multilingual mode. The speech recognizer runs in
code-switching mode and the agent answers in whichever language the caller
actually spoke; the model doesn’t pick the language. The SDK emits the object
as the top-level multilingual key of the AI verb.
This is mutually exclusive with set_languages() and
add_language(). If both are set, the platform uses
multilingual and ignores languages.
Parameters
config
The multilingual configuration object, passed through unchanged. See the
SWML multilingual reference for its keys, including
the language list, the starting language, and switching thresholds.
Returns
AgentBase — Returns self for method chaining.