https://discord.gg/botpress logo
How to set up KB → OpenAI fallback in the latest B...
# 🤝help
r
Hey everyone, I'm trying to set up a fallback behaviour. I want the bot to: 1) Search the KB 2) If a high-confidence result exists → use only the KB data 3) If no KB result or confidence < 0.75 → fall back to OpenAI and generate an answer What’s the recommended way to implement this in Botpress right now? Should this all stay inside the Autonomous Node, or should I handle the fallback using a condition + separate node? Any guidance appreciated!
l
Hey @red-orange-3256 😄 You can try accomplishing this by being very clear with your instructions in the autonomous node! What have you tried so far and what were your results?
Please also do drop a screenshot or a paste of your current instructions 🙂
r
Thanks @loud-crowd-60573 , I believe I originally tried a fall back transition to an AI task but I don’t think it was working correctly. I am quite new to all this so I’m still getting my head around it lol. I will try and be super specific in my instructions
2 Views