interface NluImprovementSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.NluImprovementSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_NluImprovementSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.NluImprovementSpecificationProperty |
Python | aws_cdk.aws_lex.CfnBot.NluImprovementSpecificationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » 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 { aws_lex as lex } from 'aws-cdk-lib';
const nluImprovementSpecificationProperty: lex.CfnBot.NluImprovementSpecificationProperty = {
enabled: false,
// the properties below are optional
assistedNluMode: 'assistedNluMode',
intentDisambiguationSettings: {
enabled: false,
// the properties below are optional
customDisambiguationMessage: 'customDisambiguationMessage',
maxDisambiguationIntents: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled | boolean | IResolvable | Determines whether the Assisted NLU feature is enabled for the bot. |
| assisted | string | Specifies the mode for Assisted NLU operation. |
| intent | IResolvable | Intent | An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings. |
enabled
Type:
boolean | IResolvable
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 .
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.
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