Asking the Same Question After Answer is Given

My bot asks me the same question that I just answered. If it ask what is 10x10 and I respond 100. It will say “Awesome job! Now, what do you get when you multiply 10 times 10?”

Try adding some rules to your prompt to not ask the same question more than once.

I did and seconds later it did it again. I even put it in the injection area.

Hey mikeze, on first blush I would recommend checking the memory buffer setting found under advanced options. That could possibly be the issue

For a more nuanced answer, it would be helpful to have more context around the issue and your use case. Is this happening at a certain point in the conversation, or immediately?

Did you only put it in the injection area? Or did you try it first in the core prompt and then when that didn’t work try the injection approach?

Having similar problems, the bot seems to be stuck in a loop:

After it answers my question and i say thanks or no thanks to end the conversation it just repeats its last answer.

This mostly happens when using the image and/or file upload function…

Tried adjusting the prompts a few times but it is stubborn af :joy:

1 Like

I put it in the injection and the main prompt. Then backed it out of the main prompt (still no resolve) so I backed it out of the injection and put it back in the main prompt. Still no resolve.

It is pretty much happening immediately. I created a math tutor bot that should help students with math. Sometimes when I give the correct answer it will repeat the question as if I never said anything or other times it will say that the right answer is incorrect and tell me to try again. I have tried multiple times, adjusted the prompt and injection. I know LLMs are particularly good at advanced math but this is just for 3rd to 8th graders and the problem is more of not understanding or recognizing the user’s input or not recognizing the user’s input as correct.

If you’ve increased the memory buffer and it didn’t affect the issue, I would then recommend checking the repetition setting under the configure tab. Don’t make this a negative value.

1 Like

I have randomness at one and repetition at 0. I think I started at .8. Also, do longer prompts confuse the bot? Is it better to have shorter prompts?

Longer prompts are not problematic, but just like a human the longer and more complex instructions are the higher likelihood their best attention isn’t on every single step. LLMs have attention just like humans.

If you include your tool here I can look into it for you.

1 Like

And I have put my own API to extend usage while I’m testing but when I try to use it before publishing it says I’m out of Pickaxes. Thanks in advance!

Hello, the users of my bot always upload an image and then ask the bot a question. The bot gives its answer, but when the conversation is supposed to end with something like “ok”, ‘thank you,’ ‘goodbye,’ or ‘see you soon,’ the bot doesn’t recognize the end of the conversation and sends the first response (or a very similar one) back to the user. It then keeps repeating this same response in a loop. I’ve set the randomness to 0.8, the memory buffer to maximum, and I’ve included in the prompt a ‘Speaking style’ where I ask it to recognize the end of the conversation, conclude politely, and suggest coming back if needed. When I remove the attached image, the bot responds much better, it no longer loops on the same response and knows how to conclude the conversation.