generate_sentences
Generate example sentences for an intent to expand NLU training data. Sentences are not automatically added—use create_sentence to add them.
Instructions
Uses Cognigy AI to generate example sentences for an intent. The generated sentences are NOT automatically added - use create_sentence to add them. Useful for quickly expanding NLU training data.
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>",
"intentId": "<intentId>"
},
"name": "generate_sentences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of sentences to generate (5-20, default 5) | |
| flowId | Yes | The flow ID containing the intent | |
| intentId | Yes | The intent ID to generate sentences for | |
| localeId | No | Optional locale ID for locale-specific generation |