interface GenerativeAISettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.GenerativeAISettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_GenerativeAISettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.GenerativeAISettingsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.GenerativeAISettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » GenerativeAISettingsProperty |
Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
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 generativeAISettingsProperty: lex_mixins.CfnBotPropsMixin.GenerativeAISettingsProperty = {
buildtimeSettings: {
descriptiveBotBuilderSpecification: {
bedrockModelSpecification: {
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
modelArn: 'modelArn',
},
enabled: false,
},
sampleUtteranceGenerationSpecification: {
bedrockModelSpecification: {
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
modelArn: 'modelArn',
},
enabled: false,
},
},
runtimeSettings: {
nluImprovementSpecification: {
assistedNluMode: 'assistedNluMode',
enabled: false,
intentDisambiguationSettings: {
customDisambiguationMessage: 'customDisambiguationMessage',
enabled: false,
maxDisambiguationIntents: 123,
},
},
slotResolutionImprovementSpecification: {
bedrockModelSpecification: {
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
modelArn: 'modelArn',
},
enabled: false,
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| buildtime | IResolvable | Buildtime | |
| runtime | IResolvable | Runtime |
buildtimeSettings?
Type:
IResolvable | Buildtime
(optional)
runtimeSettings?
Type:
IResolvable | Runtime
(optional)

.NET
Go
Java
Python
TypeScript