https://discord.gg/botpress logo
Stop multiple LLMz KB iterations
# 🤝help
m
So I'm trying hard to stop my bot from being overly helpful. As can be seen in this screenshot, the first hit from KB is the perfect reply ("We do not have gluten free cupcakes") but then LLMz goes looking for even more info and wastes tokens, my time, and returns a bad reply. How do I stop this from happening? https://cdn.discordapp.com/attachments/1390605107087016009/1390605107497799690/image.png?ex=6868dd6d&is=68678bed&hm=d50d6d9b516b01cca88cd195f2a414f754a27f616b2b95a8ea13a9c985d99746&
l
fine tune your prompt or instruct your policy agent to ensure it curtials the LLM from going overboard
m
The solution to reduce token usage and API call count is to make another API call (policy agent)?
Policy agent instruction of not allowing multiple KB accesses per turn didn't work.
2 Views