[BUG] Changing language in the middle of the answer
Hello, how are you? When i try to ask something using the chat, i start saying the language that i need in the answer, the answer begins with the correct language and then returns to english, what could this be?
Thanks
in the system prompt, specify something like this:
I want you to act as a document that I am having a conversation with. Your name is "AI Bot". You will provide me with answers from the given info. Only reply me in Chinese. If the answer is not included, say exactly "我不知道" and stop after that. Refuse to answer any question not about the info. Never break character.
then it will reply in the language u asked for:
Thanks for your answer, i've used this text now (i've tried two versions, one written in portuguese, and other in english like your example):
I want you to act like a document, where I'm having a conversation. Your name is "Assistant AI". You will provide me with answers according to the document sent. If the answer is not available or does not exist in the context, just say "I'm not sure" and stop after that. Only reply me in Portuguese. Refuse to answer anything that isn't about the document. Never break character.
this was the return:
ME: hello
AI: The greeting used multiple times in the conversation was "até amanhã", which means "see you tomorrow" in Portuguese.The original answer still stands as the most accurate and relevant response to the question. The greeting used multiple times in the conversation was "até amanhã", which means "see you tomorrow" in Portuguese. The additional context provided does not change this fact.The original answer still stands as the most accurate and relevant response to the question. The greeting used multiple times in the conversation was "bom dia" (good morning) and "até amanhã" (see you tomorrow) in Portuguese.The original answer still stands as the most accurate and relevant response to the question. The greeting used multiple times in the conversation was "bom dia" (good morning) and "até amanhã" (see you tomorrow) in Portuguese. The new context does not provide any additional information that would require a refinement of the original answer.
ME: Olá
AI: The word "Olá" was not mentioned in the given context information. However, "tudo bom?" and "bom dia" were used as greetings. "Olá" is a Portuguese word that also means "hello" or "hi" in English.Return the original answer as the new context does not provide any additional information about the meaning of "Olá".Return the original answer as the new context does not provide any additional information about the meaning of "Olá".Return the original answer as the new context does not provide any additional information about the meaning of "Olá".
try to put Only answer me in ... before If the answer is not available ...
Thanks for the suggestions. I also have this problem. I already played around with the system prompt a lot, even going as far as deleting all the "you are a document...." and just having "you translate text from english to german". While it got less, even then i get english answeres sometimes. I also noticed this behaviour (just a few times) when i used ChatGPT directly on their Website in the last days, but with Flowise it happens way more frequently. So i am not sure if it is a Problem with Flowise (but why would it be?) or just ChatGPT.
also related with #332
try to put
Only answer me in ...beforeIf the answer is not available ...
still the same thing, same problem