My chatbot translates into 4 different languages depending on the user. At the start, A node pops up asking for the preferred language. According to what the user selects, The language is changed. But the experience is not polished. The bot occasionally responds in a language different from what the user chose. Is there a way to fix this?
b
bumpy-addition-21507
08/21/2023, 1:44 AM
I agree that the experience isn't without bugs and the only solution I've found so far is to add a card to set the language at each point in the interaction in which it switches languages.
b
breezy-arm-18241
08/21/2023, 10:26 AM
Could you save and pass in that language to the ai to make sure its repsonse its only in that?
b
bumpy-addition-21507
08/21/2023, 12:24 PM
You can specify it. I do mention that I want it to reply on a specific language.
For example in the task description say "reply in the language in Lan"
And inside the task input I do:
Lan: {{workflow.language}}