create_sentence
Create new example sentences for NLU intent training. Validate with dry run first; after creation, retrain intents.
Instructions
Creates a new example sentence for Cognigy.AI NLU intent training. MUTATING: This modifies the intent's training data. Use dryRun=true (default) to validate first. After creating, call train_intents to retrain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The example sentence text | |
| dryRun | No | If true (default), validates without creating. Set to false to actually create. | |
| flowId | Yes | The flow ID containing the intent | |
| intentId | Yes | The intent ID to add the sentence to | |
| localeId | Yes | The locale ID for this sentence |