How can I determine the next node based on the ans...
# 🤝help
i
My goal is: If there is no answer for the AI ​​Task, I would like to respond to the user with "No Answer". I'm thinking of using Workflow to achieve this, but the transition conditions haven't been set yet. 「turn.KnowledgeAgent.answer ==""」 didn't work.
If can't do it with Workflow, tell other methods ,please.
b
Not clear what you are trying to do.
Are you using AI and KB to answer at the same time?
i
Like it.
Yes
b
Why are you using the AI card? The Knowledge Base Agent will answer from the KB

https://youtu.be/Q2VMitD6DMU?feature=shared

i
Now I did like this.
I'll check the video tomorrow. thank you
b
What prompt is in the AI task?
i
b
Okay, that's where you go wrong. The Knowledge Base Agent will answer the question automatically. The AI card is unnecessary.
Remove the Ai task and switch it with an Expression Card with "!turn.KnowledgeAgent.answer" and connect that to a new Node with a Text Card "No answer" and test again.
It's in the video... good luck!
i
Help! But no answer . I want to get the pic3's Answer.
b

https://www.youtube.com/watch?v=Q2VMitD6DMU&ab_channel=Botpress

i
I did it as per the video, but the answer is not displayed automatically.
b
Then you probably need to check your Knowledge Base Agent's settings.
i
@bitter-magazine-8114 Now I am back to work on botpress, let me continue with my questions. I would like to search and display the results from the KB's table, but I was unable to do so. Have there been any changes to the specifications?