generate_nlu_scores
Score a test utterance against trained NLU intents to evaluate recognition accuracy before deployment. Returns ranked matches with confidence scores.
Instructions
Scores a test utterance against a Cognigy.AI flow's trained NLU intents. Returns ranked intent matches with confidence scores. Use this to test NLU recognition before deployment.
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": {
"projectId": "<projectId>",
"flowReferenceId": "<flowReferenceId>",
"localeReferenceId": "<localeReferenceId>",
"sentence": "<sentence>"
},
"name": "generate_nlu_scores"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sentence | Yes | The test utterance to score against trained intents | |
| projectId | Yes | The project ID containing the flow | |
| flowReferenceId | Yes | The reference ID (UUID) of the flow to score against | |
| localeReferenceId | Yes | The reference ID (UUID) of the locale |