Key Benefits
- Enhanced focus on core capabilities. By filtering out irrelevant inputs, your AI Agent can prioritize the tasks it’s designed to handle.
- Improved user experience. By avoiding responses to out-of-scope queries, you can prevent confusion and keep conversations on track.
Restrictions
- This feature may struggle with complex or varied off-topic inputs unless paired with standard Intents or Intent rules.
Limitations
- You can create only one reject Intent per Flow.
How to Use
To use this feature, create a reject Intent and add several example sentences.Create a Reject Intent
Create a Reject Intent
- GUI
- API
To create a reject Intent, go to NLU > Intents your Flow.
Under the Create Intent button, click
and select Create ‘Reject Intent’.
Add Example Sentences
Add Example Sentences
On the Reject Intent page, add a list of example sentences representing the user inputs you want the NLU model to ignore.
Save changes and click Build Model to apply them. You can also generate these sentences using Generative AI.
Similar to standard Intents, you can also add annotations to each example sentence.
How to Test
Test your feature in the Interaction Panel:- Open the Interaction Panel and activate Debug Mode.
-
Enter examples matching your reject Intent sentences to verify if they’re ignored by the NLU model. If the NLU model catches them, the Input object will have the following format:
Example
Imagine your AI Agent is designed to assist drivers with parking-related queries. A user asksWhere can I find a park nearby?
intending a green space rather than a parking lot.
By including similar reject Intent sentences, you can train the AI Agent to filter out these requests, ensuring it stays focused on parking assistance.
More Reject Example Sentences
More Reject Example Sentences
Reject Intent Name | Example Sentences |
---|---|
OutOfScope_Parks | - Where can I find a park nearby? - Are there any green spaces around here? - Is there a park I can visit close by? - Where’s the nearest nature spot? - Can you point me to a local park? - Are there any nice parks in this area? - Where can I take a walk in a park nearby? |