interface GenerativeAISettingsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.GenerativeAISettingsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_GenerativeAISettingsProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.GenerativeAISettingsProperty |
![]() | aws_cdk.aws_lex.CfnBot.GenerativeAISettingsProperty |
![]() | aws-cdk-lib » aws_lex » CfnBot » GenerativeAISettingsProperty |
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 generativeAISettingsProperty: lex.CfnBot.GenerativeAISettingsProperty = {
buildtimeSettings: {
descriptiveBotBuilderSpecification: {
enabled: false,
// the properties below are optional
bedrockModelSpecification: {
modelArn: 'modelArn',
// the properties below are optional
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
},
},
sampleUtteranceGenerationSpecification: {
enabled: false,
// the properties below are optional
bedrockModelSpecification: {
modelArn: 'modelArn',
// the properties below are optional
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
},
},
},
runtimeSettings: {
nluImprovementSpecification: {
enabled: false,
},
slotResolutionImprovementSpecification: {
enabled: false,
// the properties below are optional
bedrockModelSpecification: {
modelArn: 'modelArn',
// the properties below are optional
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
buildtime | IResolvable | Buildtime | |
runtime | IResolvable | Runtime |
buildtimeSettings?
Type:
IResolvable
|
Buildtime
(optional)
runtimeSettings?
Type:
IResolvable
|
Runtime
(optional)