https://discord.gg/botpress logo
AI Task card stops working properly after some pro...
# 🤝help
n
I entered a bug report report_01JVTRGCRBNEE6C7SCYG973D9C. When entering the bug report I was not able to attach an export of the bot or logs. I will enter log captures that show the failure. I can send you an export of the bot directly. I prefer to not include the export here as it contains some private conversations in the system prompt. Or you can try the emulator directly, assuming you have access to persuasive-bot in the Wilber community. My email address and botpress signin is gary.miller7777@gmail.com if you need to email me. Our organization is a non-profit focused on helping to reduce the problem of human trafficking by using the persuasive-bot to engage men who are purchasing sex. So this will explain the elicit nature of the conversation for which the bot is trained. The AI Task get "stuck" after some dialog and then does not seem to understand user responses. So it continues to ask the same question. I will attach a screenshot of the failing AI Task. You can repeat the conversation by entering the user text exactly as shown in this attachment. I will also include a second screenshot showing the failure. https://cdn.discordapp.com/attachments/1375207653092888647/1375207653701193799/problem_text_21.may.25.txt?ex=6830d96e&is=682f87ee&hm=865d74af42b36e53390050b0f1308e2eaf77e9e82ed78e86c52c07f1dbd3e5c9& https://cdn.discordapp.com/attachments/1375207653092888647/1375207655068532736/Screenshot_2025-05-21_at_7.59.41_PM.png?ex=6830d96f&is=682f87ef&hm=13144ec78cc4a390d24b86c6049aaca6e32b969627cb44af8fa5b68cfd174fe0&
p
Is the problem that the AI task is repeating itself?
Because when I answered specific links instead of yes it provided me with the information.
n
Thanks Leanne for responding so quickly! As you may see from the text attachment, the AI task keeps repeating itself when I responded with "Sure go ahead" and "I said yes. go ahead". These responses are what I would anticipate from users. And when I test the exact same AI setup in prompfoo (AI testing tool) using the exact dialog, the AI worked properly by acknowledging and not repeating questions. I am not sure what you meant by "I answered specific links". Can you provide a capture of the dialog you used.
This is a screenshot from the promptfoo testing demonstrating how the AI should work. Instead, it is repeating itself. Could the OpenAI integration, which I have installed the latest for this and other integrations, have a problem? https://cdn.discordapp.com/attachments/1375207653092888647/1375232643268083794/Screenshot_2025-05-22_at_4.59.45_PM.png?ex=6830f0b4&is=682f9f34&hm=5f1375db56f844b45fbef63d2f027c7c00a7d2960e8b570621566dffc2c23369&
Hello @prehistoric-airplane-85682, no rush but I am just trying to understand your process for resolving bugs reported, such as the one discussed in the thread. So I would very much appreciate if you could educate me on what are the next steps towards resolution, and what is the typical time to resolution. Thanks!
p
I had tried a few different answers beyond go ahead and eventually it offered me the choice between specific links or something else to which I answered specific links and it worked just fine.
I tried again just now and got the buyerresist link and the tiny url video one at the end of every message, was that a troubleshooting technique.
The bug report is only useful if it is communicated to botpress employees on any platform (as you have done). For users on team and enterprise plans, there is access to direct assistance from the customer success team. In terms of the process and its duration, it can depend on the issue you're encountering. On Discord, I'm the main Botpress contact point beyond the experienced community members that may be able to help you and, although, my goal is definitely to solve all the issues, it is not always realistic to expect that. In your case, I strongly believe that the problem stems from the instructions that have been given to the card. The many example conversations in the instructions may be creating confusion. Additionally, while I support your effort at validating your prompt on Promptfoo, AI remains non-deterministic. I hope this helps clarify the process.
n
@User Thanks again for the response! I certainly understand you are only one person supporting hundreds of users’ questions. And you are doing a great job! I better understand that to investigate properly what is happening behind the scenes in botpress technology requires a team or enterprise plan to get direct assistance. My hesitation at this point in joining one of these plans is that botpress bot operation is problematic for us. And thus, hard to justify the added costs unless we can gain some confidence. So if I may, from extensive testing on botpress and promptfoo with identical bot and system prompt, I think I can fairly confidently make some observations: - in promptfoo the bot always “understands” user replies and responds properly. The system prompt is actually fairly simple with only 19K tokens (17 examples) for an advanced bot that allows 128K input tokens (gpt_4o-mini) - in botpress the bot works for initial responses but at some point in the conversation always “ignores” user replies and repeats the same question. This indicates there are some inadvertent limits affecting proper AI dialog that may be longer than usual. - if you feel you can pass this to a customer support expert, that may give us confidence
p
That's understandable. I have inquired within the team whether that is something anyone else has noticed or encountered in their bots. Have you tried with a different model to see if there might be a different one that would perform better/correctly?