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.
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 |