Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Dynamic utterances should be passed to msg.payload.utterance

The utterance hardcoded in the NLP node will be used by the node only if the property msg.payload.utterance is empty.

Entity(Lists) – All the Entities(Lists) from the project will be listed in the dropdown.
Select the Entities(Lists) you want the NLP to Filter.
If you leave this field empty, the NLP will try to match the words in the utterance with all the Entities(Lists) in the project.

Confidence – You can give values between 0 and 1. The node’s output contains the words that match with the Entities(Lists) and pass this threshold confidence value. The number you enter here is inclusive. (for example, if you enter 0.3, you will get results that have the confidence score or of 0.3 and above)
If you leave this field empty, the NLP will extract every possible entity from the utterances based on the Entity(Lists) filter.

Info

For accurate results, use a confidence score above 0.5.

Output

The output path of the node is msg.payload.data.nlp

...

For more information on creating slots and using them in intents, see How do I create lists (slots) and How to create an intent

Filter based on user-defined lists/entities

...

Let's assume the user says “I saw two big trucks in the forest”. The extracted slots are stored along with confidence scores at msg.payload.data.nlp.

...

Info

It is a good practice to use at least one filter in Entity(Lists) field.
Leaving this field empty will fetch your results slower than expected.

Filter based on the confidence score

...