https://discord.gg/botpress logo
KB answer wrong
# 🤝help
b
hello i have a question, why sometimed the chatbot using te knowleadge data base, when you ask him something it doesnt answer correctly. for ex: in the KB i have the current answers of an hotel, and when i ask there is bathroom, he answers other thing thats not even related. also i day it respond well and the other wrong
b

https://www.youtube.com/watch?v=vAaCudOUwuc▾

@billions-toothbrush-57530 This video can be useful for you. TLDR: There is a QUery KB card that allows you to have more control on how your Bot respoonds.
b
im using the query kb card but sometimes it doesnt respond well
b
I had an idea exchange with my colleagues about this. We think the response of the bot would be better if you can format the source of the knowledge base in like a Q&A format. That can improve the quality of the response.
Because the RAG of the bot will be more grounded to defined questions and answers of the article
b
yes i try that way too i had the questions and the answer but if you ask him the same question but reformuled it doest found it
b
does you have a report id
let me see how i can help you
probably its better to look at a filed report to investigate than to further waste your precious time
there are many possibilities for this case: it can be the KB source has too much noise. maybe its due to the way of the prompt. Can't further assist without more information.
b
Where do I get a report ID?
now its working with the solution you gave me. but i dont know if it will still working tomorrow, because with my other KB yesterday worked but not now. https://cdn.discordapp.com/attachments/1263119277540642893/1263191970520629278/Base_de_Conocimiento.txt?ex=669956b2&is=66980532&hm=f9180e51e13a5fac512ef2d3580c907d16cf4b5092d66fd3281527a493fa7048&
Report a problem
b
report_01J30XNJ89CD4TCATVZ2QKBEZ0
b
okay i will see what i can do
Standard 7 and Standard 4 nodes
2. for this node "Standard3" You will hit an existing bug if you dont wrap the variable with {{}} in "Query". So, you gotta use {{}} to wrap your variable https://cdn.discordapp.com/attachments/1263119277540642893/1263210493418410016/image_720.png?ex=669967f2&is=66981672&hm=f549df9a8f2f80d40f7faa999228728ff327d105ef1699a58a5ddae0b1b572e3&
3. Your KB works but it may be a bit unstructured. You can use a table as a KB in your case. That can reduce your AI spend too and make your response more specific. Just an optional suggestion.

https://www.youtube.com/watch?v=rescPrnpVRc▾

hope that helps
2 Views