Entity to store in a variable

How can we fetch the entities from the user’s query and store in a variable.

Hi @gaurav,

If the last user message contains any of the Trained Entities, You can access the Entity (Object - Datatype) by using “data.prediction.entitieswithin a function.

If you want to do something based on the Entity or Entity Value Detection, You can make use of the UI Condition Node.

Here is a screenshot for reference.

1 Like