AI Fallback repeats the question instead of answer...
# 🤝help
h
I created a ChatGPT Fallback following this video guide:

https://www.youtube.com/watch?v=Q2VMitD6DMU

(with the exact same commands). If the fallback is activated, the Ai-Task repeats the question back to the user instead of answering it. Does anyone have an idea why that might be?
b
can you show me your bot?
the flows/nodes etc
m
I'm having an issue too with the fallback If the bot can't find the answer in the KB I want it to just spill out a text saying, Can't find an answer

https://cdn.discordapp.com/attachments/1137099169539035136/1137100897126723694/Botpress_Studio_-_Google_Chrome_005.png

b
can you show me your input card for section 1a?
m
Okay
It's a single choice card with yes or no choice

https://cdn.discordapp.com/attachments/1137099169539035136/1137102666326093955/Botpress_Studio_-_Google_Chrome_006.png

b
that's not an error, it's because you're using a single choice card
so by default, your bot won't look for an answer in the knowledge base for a single choice card
in the video, I'm using a raw input card because that's what's going to query my knowledge base
your bot is repeating the question because, by default, if your bot fails to retrieve an answer on a single choice card it'll try again
m
@bumpy-butcher-41910 sorry i think you're confusing my question. If you check my emulator here You will see that i asked a question and i got an answer from the KB What i'm trying to fix is When i don't get an answer from the KB I want the bot to also say something like, sorry can't find the answer And yeah since it's a single choice card, it'll repeat the question

https://cdn.discordapp.com/attachments/1137099169539035136/1137104967837159474/Screenshot_from_2023-08-04_20-26-48.png

b
the thing that's unclear is why are you asking a question when your bot has sent you a yes or no choice?
so ideally you'd be guiding your user down a path where they're not encouraged to do this
m
Well I'm just doing what my boss asked me to do 😥
b
hahahaha
big mood
my point here is - your bot is getting confused, because it's trying to both answer your user at the same time as it's giving them a yes or no choice
m
IKR I've been trying to sort this out for hours now So there's no way to fix this right?
b
it's not really fixable because the bot is working as "intended"
what I would do is:
1. be specific about what you want your user to do at a given node 2. separate out the "choice" questions from when you want your user to be able to query a KB
m
Ok thanks
4 Views