ProjectAna icon indicating copy to clipboard operation
ProjectAna copied to clipboard

Condition Node | Contains Operator

Open jayeshsamant opened this issue 6 years ago • 2 comments

Hi,

Really excited to explore more and more about ANA framework.

I am trying to use contains operator in condition node.

I want to use multiple texts in same conditions like contains (yes<OR>ya<OR>yap<OR>yo)

Any specific syntax to do this?

jayeshsamant avatar Feb 21 '19 07:02 jayeshsamant

or operator is trimmed in above box....i actually want to implement like yes OR ya OR yap OR yo

jayeshsamant avatar Feb 21 '19 07:02 jayeshsamant

Hello Jayesh,

The current condition node is made to accomplish simple conditions. The OR condition you are looking for cannot be achieved. I guess, you are looking at making an AI like chatbot which understans multiple user responses. I suggest you to use an API backend to perform such operation and send the result back to Ana chat flow and then take the decision using condition node.

NizamLZ avatar Mar 08 '19 22:03 NizamLZ