cancel
Showing results for 
Search instead for 
Did you mean: 

​Is there a way to check when no entities are present in a skill when executed?

0 Kudos

I have about 30 possible entities to an intent in a skill. I would like to redirect to a fallback if the intent is present without one of the 30 entities.I could add a message group with an "And" chain of "Entity is not present" for all 30+ entities, but this looks inefficient. Any suggestions?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member656353
Discoverer
0 Kudos

You may want to check the memory....

I think {{nlp.entities}} would equal {} (an empty object, without properties) if no entities were matched in the user's input.