ISSUES WITH KNOWLEDGE BASE
# 🤝help
s
Hi, I'm currently working on a chatbot for my college. I have setup the knowledge base by indexing my college website. It worked yesterday, but when I try to run again today, it failed, and when I try to test the knowledge base, I keep getting "No answer found in this Knowledge Base", even after I uploaded a separate .txt file containing the specific question that I asked. Please help and thank you!
f
You have to a query, which is like a question
Write something like "What can you tell me about the upcoming scholarships"
s
okay
but how come it works for me like this yesterday?
just curious
f
Maybe you phrased the question differently?
s
i just typed in lets say "foundation", then it will list out all the foundation courses available
but today its just "no answer found in this knowledge base".
f
It depends on the structure of your KB
If you have some text with the title "Foundation" it will work
s
i see, thank you
btw may i ask is it possible to buy just for the AI spend?
f
Yea
You can hit the "Manage Subscription" where you just pay for what you need
c
Thanks @fresh-fireman-491
@square-australia-43547 are things working fine now with the KB? Just checking in.
s
yep everything looks fine now, but the Knowledge agent will only answer "questions" such as "What foundation course do you have?", but if it is a "statement" like "I'm interested in foundation course", it just wont answer it and looped to my error node
f
That will still come down to the structure of your KB. Try adding a new rich text writing something like "Foundation Course" as the title and then a double line break, and then have the information
s
Okay, will have a go at it, thanks once again
f
You are very welcome, and let me know how it goes
s
may i know which is the better way of setting up the Knowledge base?
is it better to do Q&A, or just raw data
f
I would use picture one
But just try and use them both
And see which gives the best results
s
Hi, may i know how do i limit the length of reply from knowledge bot? and also i would like to know how setup/provide context for the knowledge bot from the transcript of the conversation
this is the current setup for the bot to reply to questions input by user
is it possible to get context from single choices?
as u can see from the last image, the bot has a very long, non-summarized reply, and it doesnt reply according to the context/single slection input by the user
f
It already has the transcript of the conversation. I don't think you can give it a limit, but you could rewrite its message with an AI Task or the personality agent.
The reason why its so long is because of your KB.
It will become shorter if you make the text in your KB shorter
s
hmm but it still does not reply according to what is being selected tho
so this is the flow of my conversation
sometimes it can provide the correct answer, but sometimes it doesnt, even if it is still in the same conversation
and in this example, i have selected "BSc (Hons) e-Business Technology and Management" but when i asked "What is the fees for this course" The knowledge bot replied with course fees for "Diploma in Business Management"
any clue on how it can be solved?
For context, this is how i setup my KB, every course has its own individual file that include information for that particular course
i do it in the Q&A way
f
Do you have a KB just about fees?
s
nope
the individual fees is included in their own file
f
Then try creating one
s
okay
8 Views