set_language_params
set_language_params
Set or replace the engine-specific params on a language that was already added with
add_language. The params are emitted as the language object’s params
key in SWML.
Language configurations map to the SWML ai.languages array.
See the SWML languages reference for the full specification.
Parameters
code
Language code as previously passed to add_language (e.g., "en-US").
params
Engine-specific params dict to attach. An empty dict removes the params key.
Returns
AgentBase — Returns self for method chaining. No-op if the code is
not found.
Example
Read the current params back with get_language_params.