I am trying to transition to fall back node if the...
# 🤝help
b
I am unable to create a transition if query is outside kb. it either directs all conversation to fall back node or none. any suggestions on the transition label?
a
try looking at this variable:
{{event.state.agentVariables.KnowledgeAgent.turn.responded}}
If it is True, that means there was something in the knowledge base and the agent sent a message to the user. If it is false, nothing is in the KB and nothing got sent.
b
Thx a million!!
@acceptable-kangaroo-64719 the transition worked for a while. now for unknown reason it does not work. Do you maybe know what the new variable would be to inpliment a transition to fall back node when question is outside knowledge base?
b
hihi am having the EXACT same issue too
a
yeah, there was an update. Now you can use
{{turn.KnowledgeAgent.answer}}
b
do i just copy and paste this into the transition?
AWESOME! IT WORKS NOW! THX 😄@acceptable-kangaroo-64719
oh it looks like its not working again 😅
is there a foolproof way that will work 100% @acceptable-kangaroo-64719 ?
a
not working in what way?
b
yea it doesnt work
and it shows this now

https://cdn.discordapp.com/attachments/1122780548989976608/1129402878860218368/image.png

https://cdn.discordapp.com/attachments/1122780548989976608/1129447663083978802/image.png

https://cdn.discordapp.com/attachments/1122780548989976608/1129447663344046100/image.png

oh it works now
i used this instead
!turn.KnowledgeAgent.responded
8 Views