OrderFood might include sentences like Can you get me some food? or I'd like to order a pizza.
The NLU engine analyzes and scores these Intents to match user inputs.
Each Intent includes:
Working with Intents
- GUI
- API
You can create, edit, and manage Intents as well as download and upload them in NLU > Intents of the Flow editor.
Download and Upload Intents
Intents can be uploaded to and downloaded from Cognigy.AI as CSV or JSON files. Use these CSV or JSON files to import Intents, edit using your favorite spreadsheet or developer tools, and move them between Flows.CSV
CSV
Your CSV should be formatted as follows:
- No header.
- Cognigy.AI automatically detects various CSV formats. If you encounter any issues, use UTF-8 encoding, comma (
,) as the delimiter, double quotes (") as your quote character, and newline (\n) as your line terminator. - You are required to fill in the following columns:
CSV format example:
JSON
JSON
JSON format serves as a comprehensive specification for defining Intents within Cognigy.AI.The provided JSON example illustrates the structure and content of an Intent, including Intent name (
Pizza), example sentences, rules, tags, disambiguation sentence, default reply, and other Intent-related settings.JSON format example:Add Example Sentences
When you create an Intent, add example sentences that help the NLU model recognize user queries.Build the NLU Model
Whenever you make changes to the Intent or its related settings, you need to rebuild the NLU model. If the NLU model needs rebuilding, the red indicator will be displayed:- next to the Flow name in the Flows list.
- next to the Build Model button in NLU > Intents of the Flow editor.
Single Flow
Single Flow
- In the left-side menu of the Project, go to Build > Flows.
- On the Flows page, select the Flow that you want to train.
- In the upper-right corner, select NLU.
- On the Intents tab, click Build Model or
> Quick Build.
All Flows
All Flows
- In the left-side menu of the Project, go to Build > Flows.
- On the Flows page, click Train all Flows. If Train all Flows isn’t available, for version 2026.2 or earlier, set
FEATURE_TRAIN_ALL_PROJECT_FLOWS: "true"invalues.yamlfor on-premises installations, or upgrade to version 2026.3 for SaaS.
Apply Additional Settings
Basic Additional Settings
Basic Additional Settings
Advanced Additional Settings
Advanced Additional Settings