if you look here, the expression is still yellow e...
# 🌎general
f
if you look here, the expression is still yellow even though i have pasted !turn.KnowledgeAgent.responded
e
Could you share the contents of the transition in yellow please
d
its !turn.KnowledgeAgent.responded
i gave it to him because its suppose to look in the KB then if its not there transition
e
that's just the label, the expression might be wrong
d
i told him it should look like this
thats what i use
e
But I think that's a new bug that makes the Expression card think that it's not connected. If you remove the transition and drag it again it should work.
d
e
@freezing-carpenter-9818 try it out please
d
👍
f
yes so when i paste in !turn.KnowledgeAgent.responded it stays yellow
d
read above
f
whihc kind of means nothing has been inputted
so delete it and start over again? tried 5 times it just stays yellow after pasting !turn.KnowledgeAgent.responded in to the condition feild
e
You guys are using the responded variable to check if an answer from the KB was found? The right way is to check if the answer is null. Because if you have enabled manual answering on the agent, it won't ever set responded to true, only fill the
turn.KnowledgeAgent.answer
variable So update the expression to
turn.KnowledgeAgent.answer === null
, then add a transition to the node where you manage that
Delete the transition line. And drag it again to the next node
f
you know what you two.... THANK YOU so much
like seriously, so much
both of you
i did this and it worked
ok so we should change it to turn.KnowledgeAgent.answer === null
if i set it to this, it doesnt loop back
!turn.KnowledgeAgent.responded this works perfectly
thank you again guys. just a quick question is there anywhere i can learn !turn.KnowledgeAgent.responded how you got to this, or if there is a list of expression etc?
d
why does it work for me?
that’s weird
it works perfectly
f
for me too
e
Because you don't have the Manual answering option enabled (it's for making the bot don't respond KB questions automatically). If you ever need to enable it, you would need to change the expression
f
@early-train-33247 are you aware of the name capture issue where it returns {"first":"tas","last":null} when using the stored variable
e
Not yet, please make a post on #1111009377525186570 so we can troubleshoot
A documentation for the agents in on the works. @bumpy-butcher-41910, do we have an estimate for that?