https://discord.gg/botpress logo
#🤝help
Knowledge based bot less knowledge outside of edit mode??
# 🤝help
w

wonderful-translator-19747

07/20/2023, 9:00 PM
I have created a purely knowledge based bot based on several pdf resources. When in Edit mode It is excellent but when outside or used via a link it doesnt know most of the answers to the exact same questions. I cannot understand this? Please assist
b

bumpy-butcher-41910

07/20/2023, 9:03 PM
can you provide some examples of the problem you're running into so we can try to replicate it?
w

wonderful-translator-19747

07/20/2023, 9:26 PM
yeah will do
as u can see the answers in edit mode (first 2) are much better and in the second question it was able to answer it where as if i go out of edit mode (image 3 and 4)it cant. This is the same with many questions. The knowledge is limited

https://cdn.discordapp.com/attachments/1131692159360303195/1131699688400228363/edit_mode_1.png

https://cdn.discordapp.com/attachments/1131692159360303195/1131699688635125790/edit_mode_2.png

https://cdn.discordapp.com/attachments/1131692159360303195/1131699688886763650/normal_window_1.png

https://cdn.discordapp.com/attachments/1131692159360303195/1131699689121648680/normal_window_2.png

thank you for any assistance @User
b

bumpy-butcher-41910

07/21/2023, 1:01 PM
@wonderful-translator-19747 interesting! thanks for supplying these screenshots
have you been publishing your bot before trying it outside of the editor? this makes the latest version live
w

wonderful-translator-19747

07/21/2023, 1:54 PM
Yeah I have been publishing. Is there a limit to the number of pdfs the knowledge base can process ?
b

bumpy-butcher-41910

07/21/2023, 1:56 PM
there shouldn't be, no 🤔
w

wonderful-translator-19747

07/21/2023, 1:58 PM
If you would like to, you can log in and test it yourself? Very keen to get this to work . 😊 Thanks
b

bumpy-butcher-41910

07/21/2023, 2:01 PM
I prefer to recreate the problem on my own bot so I can see what happened!
in the meantime, can you show me a screenshot of your full bot?
w

wonderful-translator-19747

07/21/2023, 2:06 PM
If there's anything else you need let me know. Thanks so much !

https://cdn.discordapp.com/attachments/1131692159360303195/1131950302854139957/rn_image_picker_lib_temp_913ab616-cfce-4ffe-88a4-a2b47a2bd07b.jpg

b

bumpy-butcher-41910

07/21/2023, 2:07 PM
one immediate suggestion is that your bot might be running into a problem because you have so many KBs uploaded - are you telling it to prioritize a certain one?
w

wonderful-translator-19747

07/21/2023, 2:11 PM
I haven't no, not sure on how to. If it didn't get a good answer from one would it not try the next? Strange how it works great in edit mode
Would it be best if I put all the pdfs in one knowledge base?
b

bumpy-butcher-41910

07/21/2023, 2:16 PM
when im working with multiple KBs, I like to organize them by folder, like so:

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

this way your bot will query one at a time, but it'll require you to pick which one you want to query
otherwise, you can try merging everything into a single knowledge base and see what happens
w

wonderful-translator-19747

07/21/2023, 2:30 PM
Ah perfect, I will give this a go and see how it works out. I appreciate your assistance 🙏🙂
b

bumpy-butcher-41910

07/21/2023, 2:31 PM
you should also fiddle around with the KB "descriptions" - here you can tell your Bot "what" your KB is, and what it should prioritize, for example
I suspect that's what's going wrong here, but good luck!
w

wonderful-translator-19747

07/21/2023, 2:51 PM
Thanks again 👍