Confirmation WordsΒΆ
Confirmation Words let you define a custom list of words and phrases that the AI Agent recognizes as yes
or no
responses.
This feature is useful for straightforward use cases where you need exact control over how the system recognizes affirmations
(yes
, yep
) or negations (no
, nah
).
Unlike machine learning-based Intent matching, confirmation words rely on explicit, user-defined terms. The AI Agent matches user input directly against your list, ensuring predictable behavior without requiring extensive training.
Key BenefitsΒΆ
- Simple and precise. Confirmation words work well for small, predictable sets of responses.
- Fully customizable. You decide which words trigger
yes
orno
.
RestrictionsΒΆ
- The AI Agent recognizes only exact matches or predefined synonyms from the Confirmation Words list.
- The AI Agent doesn't adapt to new confirmation words variations unless you add them yourself.
How to UseΒΆ
You can apply confirmation words globally across all Flows in a Project or customize them for a specific Flow.
To use confirmation words for all Flows, do the following:
- In the left-side menu of the Project, go to Manage > Settings.
- On the Settings page, click NLU Settings.
- In the General Flow Logic section, select Confirmation Words.
- Enter the
positive
ornegative
confirmation words, one per line. Save changes.
By default, all Flows inherit the Confirmation Words and Threshold settings from the Project-level configuration. You can override these settings for a specific Flow. To use confirmation words for a specific Flow, do the following:
- Open the existing Flow.
- In the upper-right corner of the Flow Editor page, select Settings > Configuration.
- In the General Flow Logic section, select Confirmation Words.
- Enter the
positive
ornegative
confirmation words, one per line. Save changes.
How to TestΒΆ
Check if confirmation words work as expected via the Interaction Panel:
- In the existing Flow, open the Interaction Panel by clicking
Chat with your Agent in the upper-right corner of the page.
- In the Flow editor, Add a Question Node and select the Yes/No input type.
- Run the Flow by typing a test response including a word from your confirmation list, for example,
yes
ornope
. - On the Info tab, select Input to view the Input object in JSON format. In the
input.type
object, you will see the answer depending on the user input.
Positive Confirmation:
```json
"type": "pAnswer",
```
Negative Confirmation:
```json
"type": "nAnswer",
```