interface NluImprovementSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.NluImprovementSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_NluImprovementSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.NluImprovementSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.NluImprovementSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » NluImprovementSpecificationProperty |
Configures the Assisted Natural Language Understanding (NLU) feature for your bot.
This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const nluImprovementSpecificationProperty: lex_mixins.CfnBotPropsMixin.NluImprovementSpecificationProperty = {
assistedNluMode: 'assistedNluMode',
enabled: false,
intentDisambiguationSettings: {
customDisambiguationMessage: 'customDisambiguationMessage',
enabled: false,
maxDisambiguationIntents: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| assisted | string | Specifies the mode for Assisted NLU operation. |
| enabled? | boolean | IResolvable | Determines whether the Assisted NLU feature is enabled for the bot. |
| intent | IResolvable | Intent | An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings. |
assistedNluMode?
Type:
string
(optional)
Specifies the mode for Assisted NLU operation.
Use Primary to make Assisted NLU the primary intent recognition method, or Fallback to use it only when standard NLU confidence is low.
enabled?
Type:
boolean | IResolvable
(optional)
Determines whether the Assisted NLU feature is enabled for the bot.
When set to true , Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being false .
intentDisambiguationSettings?
Type:
IResolvable | Intent
(optional)
An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings.
These settings determine how the bot handles ambiguous user inputs that could match multiple intents.

.NET
Go
Java
Python
TypeScript