Multilingual bot
You can create multilingual bots in yellow.ai platfrom through which your bot can understand and respond to users in multiple languages. This can be useful in situations where a large number of users speak different languages and need assistance in their preferred language. Please follow the below-mentioned steps to set up one such bot.
- Go to your flow and click Language on the left tile.
- Click Add language to add the languages your bot should support.
- Go to Train and click Tools.
- Set Auto detect language to Yes under CONNVERSATION and click Save. This will let your bot automatically detect the end-user's language and enable conversation in the same language.
- Add a Quick Replies node to your flow and populate the Button values with language options.
- Click Configure buttons on the same pop-up and populate the button values with respective language's ISO codes. Click Save all changes when you're done.
- Store all response to this quick replies node in a variable.
- Add a set language node to the node that takes ISO input(quick replies in this case). Select the variable in which the previous reply is stored. This language will be permanently set (currently set 2 days of expiry), unless it is being changed by same action node only.
The conversation with the bot after this point will be in the selected language.
Related articles