https://discord.gg/botpress logo
#🤝help
Using Intents and Knowledge Base in the same node
# 🤝help
p

powerful-helicopter-39371

07/21/2023, 10:20 AM
I have an event chatbot and my intent is that if the user says "stage" it will show the stage photo for the event. I have a knowledge base enabled in the same workflow so that if other questions are asked the knowledge base can pick it up. However when I type "stage" it doesn't get to the intent section because the knowledge base has tried to answer the question before it arrives at the intent quesiton How would I use the manually answer question option, so that it goes to the intent first and if it doesn't fit the intent it asks the knoweldge base
b

bored-soccer-13754

07/21/2023, 10:39 AM
In the Knowledge Agent configuration there is the option "Answer Manually". When you enable ityou have to manually answer using {{ turn.KnowledgeAnswer.answer}}. So you ckeck if the user typed "stage" if not show the kb answer via {{ turn.KnowledgeAnswer.answer}}
p

powerful-helicopter-39371

07/21/2023, 11:17 AM
Thank you!
b

bored-soccer-13754

07/21/2023, 12:00 PM
you are welcome dear