https://discord.gg/botpress logo
Is there any way to differentiate between the 2 to...
# 🤝help
b
I have 2 knowledge base files about medical QnA of 2 departments, and both departments have the same question for example: Should I go for a test?. I created AI Generate to remember previous answers to give the appropriate answer for that department's question, but sometimes it takes the answer of the other department. Is there a way to label the knowledge base file so that when the previous answer is in that knowledge file, that answer is prioritized?
In fact i am working with 5-6 QnA knowledge base files of departments like that, so Is there any way for the chatbot to choose the right answer based on the topic being discussed?
p
You could store the knowledge base Id of the initial question's answer in a variable and then assign it to the knowledge base searched for following questions. Otherwise, I would use distinct workflows for each of the different topics and assign that specific kb to the search/query knowledge base cards. Hope this helps!
b
thank you !