I’m just getting to grips with rasa. I need to make something like a start message where I suggest choosing one of the two suggested languages for further bot responses. I saw in config.yml there is a language for llm, I understand it also needs to be changed. I also assume that for the language it will be necessary to create a slot in domain.yml and also validate it via actions. I hope for your understanding, I could not find this information in the documentation.
Up!
hello! Same issue here and I can’t find any solutions.
Click on the link above.
The latest version of Rasa Pro v3.12 has added some multi-language features as follows:
- Multi-language support was implemented to enable the assistant to deliver localized responses and flow names that dynamically adjust to the user’s language preference. In particular:
- The default language is defined using the
language
key inconfig.yml
, while additional supported languages are specified underadditional_languages
. - A
translation
section was introduced for responses to provide language-specific versions of the response text. - A
translation
section was added for flows to define localized flow names. - The rephraser prompt now accommodates the selected language.
- Validation mechanisms were implemented to ensure proper use of translations; the CLI command
rasa validate data translations
is available for verification. - A new slot type,
StrictCategoricalSlot
, was developed to restrict its values to a predefined set. - A built-in
language
slot of theStrictCategoricalSlot
type was added for managing translations effectively.
- The default language is defined using the