Intentions
An intention represents the purpose of the end user in their conversation turn.
It consists of the following information:
Training phrases | Training phrases are examples of what end users can write or say (user input). ChatFlow activates the intent when it detects that the user input resembles one of these phrases. It is not necessary to specify all possible variations as ChatFlow's built-in machine learning expands its list with other similar phrases. | |
Gaps | In training phrases, you can specify placeholders to extract parameters from specific parts of the user's text. | |
Intention Coincidence
- If the highest scoring intention has a confidence score greater than or equal to the set threshold, it is returned as a match.
- If no intention reaches the threshold and there is a default route (not associated with any intention), this route will be invoked.
- If no intention reaches the threshold and there is no default route, the user will be informed that they have not been understood with a default message.
Training phrases
Training phrases are examples of what end users may write or say (user input).
- "Yes"
- "Perfect"
- "Yes, I confirm it"
- "Of course, yes"
- ...
Adding slots in training phrases
You control how user data is extracted by annotating parts of their training phrases and setting up associated entities.
For example, in the material request, we could have a phrase like "I need 3 pairs of gloves". If you want to extract both the quantity of material and the desired product, you should write training phrases similar to:
- I need @number pairs of @product
- I want @product
- I want you to send me @number @product
- ...
When you annotate parts of a training phrase, Chatflow recognizes that these parts are just placeholders where the actual values provided by end users during the conversation will go. For an end user input like "I need 3 pairs of gloves," Chatflow would extract the number parameter as "3" and the product parameter as "gloves".
To annotate training phrases, simply type @ and a dropdown with all possible entity types will appear.
Cancellation intentions
- Cancel
- Stop
- Changed my mind
- Never mind
- I don't want material
- Cancel material request
- Delete request