Closed mateusamorim96 closed 5 months ago
Hi @mateusamorim96, could you please provide an example so we can debug?
Also getting multiple answers in English today.
Prompt: Quando a Formula 1 foi criada? Answer: I'm sorry, I don't understand what you're asking. Could you please rephrase or provide more information?
We are feeding search results as context for the answer to contain updated facts and they might include English websites.
In this case, since parts of the prompt are in English, you might need some prompt engineering. For example, I've added an instruction at the beginning explicitly asking to answer in Portuguese:
@rodrigo-f-nogueira one of my tries I asked that I wanted the answer in Portuguese but I still got english answer.
Message block:
messages = [ {"role": "user", "content": "Gostaria de sinônimos para a palavra 'caneta esferográfica' em português. Liste os exemplos em formato de lista Python."}, ]
Response I got: Sure, here are some synonyms for "ballpoint pen" in Python list format:
This behavior started after I submitted the same request a few times, I think after 3 or 4 tries it started to answer in English and providing wrong answers.
I was able to reproduce the same wrong answer:
We will investigate. Thanks for letting us know.
Closing this due to the release of the new Sabiá-2, which is served under the MariTalk webchat. Please let us know if the problem persists!
Not sure why but after a few requests the API started replying me only in english, even if I explicit say that I want the answer in portuguese.