bot ignores msg(more detail in thread)(educational...
# šŸ¤help
d
Whenever I ask/mention something that isn't in the knowledge base the bot just says "No valid response found" and continues down the path. Is there a way to have it say something like I can't help you with that or something along those lines? I am simply using this bot for a project for college(educational purposes) I don't know what tag I should use for this post so please forgive me if I use the incorrect one. https://cdn.discordapp.com/attachments/1230673118889119884/1230673119149031526/image.png?ex=66342ca8&is=6621b7a8&hm=e0e601c83355b661a4eb94e78d0b3a51dd54c0b176f0de1d5934cab06f07eae5&
This is my first time doing something like this so I don't know much.
l
I’m sorry I’m on my phone so I can’t do this properly. But it has to do with this variable: turn.KnowledgeAgent?.answer?.length You create 2 transitions. One if the bot can respond and one if it can’t. Let me know if this gives you enough of a clue to get started. https://cdn.discordapp.com/attachments/1230673118889119884/1230691404502798468/IMG_9273.png?ex=66343daf&is=6621c8af&hm=2a8616d664274216e2561569aa9dfa5d06ded484b4b759115eadce62f1213b5b& https://cdn.discordapp.com/attachments/1230673118889119884/1230691404854984795/IMG_9272.png?ex=66343db0&is=6621c8b0&hm=c3559ce632474700c02300d756389b3d5d5ad965b7958850a4fa36248708260f&
d
I have no clue what im looking at
f
Hey therešŸ‘‹ You would create something like Robert does in this video

https://youtu.be/Q2VMitD6DMU?si=fUUezRkD8NSosNYrā–¾

You can replace the cards in the fallback node with what you desire
d
Good Morning, Thank you for taking the time to help me out.
I'll try that out in a bit
f
Good morning and you are very welcome!
d
What if I simply want the bot to say that it cannot answer the question the user asked, would I simply not add the part where he uses AITask to answer the question?
f
That is correct
You would just add a text card instead
d
alright, thanks
f
You are very welcome
d
f
You can try another version or model.
You can delete them via the client or the API https://botpress.com/docs/api-documentation/#delete-conversation
d
where do I type "DELETE /v1/chat/conversations/{id}"
f
You should start out by reading the introduction https://botpress.com/docs/api-documentation/#introduction