audit_nlu
Audits NLU quality for a flow by identifying intents with too few training sentences, disabled intents, and optionally overlapping intents. Ensures NLU quality before deployment.
Instructions
Audits Cognigy.AI NLU quality for a flow. Identifies intents with too few training sentences, disabled intents, and optionally checks for overlapping intents. Use this before deployment to ensure NLU quality.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flowId": "<flowId>"
},
"name": "audit_nlu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The flow ID to audit | |
| projectId | No | Required if checkOverlap=true - project ID for NLU scoring | |
| checkOverlap | No | If true, tests for overlapping intents using NLU scoring (slower) | |
| minSentences | No | Minimum recommended sentences per intent (default 5) |