Problem with the Translator Agent
# 🤝help
s
Hi, i need some assistance with the Translator agent because i could not undestand why but my bot is translating the text. First of all, my bot is detecting the text idiom in english when is spanish. The response is correct, but then it translated. I have tested on the emulator in Botpress Studio and works well, but on production, not. Some help??

https://cdn.discordapp.com/attachments/1146752077616402432/1146752077779976302/image.png

https://cdn.discordapp.com/attachments/1146752077616402432/1146752078035820584/image.png

https://cdn.discordapp.com/attachments/1146752077616402432/1146752078270713886/image.png

j
use my ai bot
it has a laguage thing built in
a
Hey @silly-boots-4045 how is your language agent configured? And how are you setting the language?
j
oh hello Gordy
idk if im helping correctly
a
you're doing fine buddy, thanks for helping 🙌
j
im donald trump today
oke
im building bots so i can share to other people
i have 3 versions of bots
s
I only have activated the module and nothink more
a
The easiest way to use the translator agent is to turn both of these off and use a code card so set the language manually.

https://cdn.discordapp.com/attachments/1146752077616402432/1147125629620334664/image.png

https://cdn.discordapp.com/attachments/1146752077616402432/1147125629851013120/image.png

s
Yes I know, but i wanted that if an user enters and writes something, then the bot detect the language and starts to talk with this language
a
then the "auto-detect language" should be enabled
s
I did it, but it is not working
I don't know if it is cause of the 3 tokens because i don't know how long are this tokens
a
a token is about 3/4 of a word. There's a 5 token minimum for language detection
5 Views