- Whitelist — Intents that the AI Agent can detect.
- Blacklist — Intents that the AI Agent can’t detect.
Working with States
- GUI
- API
You can create, edit, and delete States, as well as set the default State in the NLU tab in the Flow editor.
Examples
For the following examples, consider you have defined three States:startorderingfinished
Example 1
You can set thestart State as default and allow recognition of the order Intent only for this State for sentences like I want to order a pizza. Then, you can use a Set State Node after the order Intent is recognized to switch to the ordering State. This approach can prevent the user from placing different orders before the first order is finished.
Example 2
You can use thestate property stored in the Input object to trigger different outputs for the question When will my order arrive? according to the State of the Flow execution. For example, in the start State, the required information might not be available yet, but in the other States, there might be a time estimate to answer the user question.