https://discord.gg/botpress logo
#🤝help
Extract from history placed in constant loop
# 🤝help
c

careful-keyboard-68830

07/14/2023, 10:37 AM
Hi, not sure if there's something wrong with my flow but somehow "extract from history" seems to place me into a loop. The moment I remove that function, the loop seems to be gone.

https://cdn.discordapp.com/attachments/1129361052912595107/1129361053160063007/image.png

https://cdn.discordapp.com/attachments/1129361052912595107/1129361053503979540/image.png

https://cdn.discordapp.com/attachments/1129361052912595107/1129362769616060468/image.png

a

acceptable-kangaroo-64719

07/14/2023, 11:09 AM
Because your capture card is a "raw input" input, it will accept anything. "Capture from history" looks at the past n user messages for anything acceptable. Since "raw input" will accept anything, it creates a loop.
c

careful-keyboard-68830

07/14/2023, 11:19 AM
Ahh is there any way that I can prevent it from capturing that option "Generic question"?
But I do want it to capture information down the line
a

acceptable-kangaroo-64719

07/14/2023, 11:47 AM
you can turn "capture from history" off. If you ever need to look through chat history, there's the Summary agent that can help with that
c

careful-keyboard-68830

07/14/2023, 11:58 AM
How do I feed this {{conversation.SummaryAgent.transcript}} into the raw input capture information so that knowledge agent can use both the summary agent and the user input together and find the information for me?
a

acceptable-kangaroo-64719

07/14/2023, 1:17 PM
It's complicated. Knowledge wasn't designed to be contextual, so we have to use workarounds. I go through the best options here https://discord.com/channels/1108396290624213082/1128625552354455562/1128657522258087976