Set bot to only answer in one language (Spanish) n...
# 🤝help
a
Hello, I've set the translator agent and tried many method to set the language of the bot (hard coded, set user language, automatically detect) but when generating a response from the knowledge base (which is in spanish) it always translate the message back to english. In the dev environment it shows the message in the correct language but then it automatically translates it back. Once published it always answers in english. How can I set it permanently to one language?
f
What language is your bot?
I mean the information in the bot itself
Did you apply personality?
Can you send me a screenshot of your personality, translator and one fo the flow?
a
Hi, thanks for the follow up. Here are the screenshot for the translataor and knowledge agent. I have not applied a personality agent. Also a screenshot of the two methods I've tried to set the langauge in the flow

https://cdn.discordapp.com/attachments/1138152534876377228/1138167037995253760/Screen_Shot_2023-08-07_at_11.26.48.png

https://cdn.discordapp.com/attachments/1138152534876377228/1138167038754439218/Screen_Shot_2023-08-07_at_11.27.00.png

https://cdn.discordapp.com/attachments/1138152534876377228/1138167039190650950/Screen_Shot_2023-08-07_at_11.47.36.png

https://cdn.discordapp.com/attachments/1138152534876377228/1138167039643615302/Screen_Shot_2023-08-07_at_11.49.00.png

a
I had this same issue using my KB in Spanish. They mentioned in other post that this is an issue with the gpt3.5 part of KB translating(can’t find it now). As a work around I translated the KB and uploaded it in English
a
The work around solved the issue and now the bot is answering in the correct language. Thanks for the tip!
9 Views