Interface CfnBotPropsMixin.GenerativeAISettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.GenerativeAISettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.GenerativeAISettingsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.lex.*;
GenerativeAISettingsProperty generativeAISettingsProperty = GenerativeAISettingsProperty.builder()
.buildtimeSettings(BuildtimeSettingsProperty.builder()
.descriptiveBotBuilderSpecification(DescriptiveBotBuilderSpecificationProperty.builder()
.bedrockModelSpecification(BedrockModelSpecificationProperty.builder()
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.modelArn("modelArn")
.build())
.enabled(false)
.build())
.sampleUtteranceGenerationSpecification(SampleUtteranceGenerationSpecificationProperty.builder()
.bedrockModelSpecification(BedrockModelSpecificationProperty.builder()
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.modelArn("modelArn")
.build())
.enabled(false)
.build())
.build())
.runtimeSettings(RuntimeSettingsProperty.builder()
.nluImprovementSpecification(NluImprovementSpecificationProperty.builder()
.assistedNluMode("assistedNluMode")
.enabled(false)
.intentDisambiguationSettings(IntentDisambiguationSettingsProperty.builder()
.customDisambiguationMessage("customDisambiguationMessage")
.enabled(false)
.maxDisambiguationIntents(123)
.build())
.build())
.slotResolutionImprovementSpecification(SlotResolutionImprovementSpecificationProperty.builder()
.bedrockModelSpecification(BedrockModelSpecificationProperty.builder()
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.modelArn("modelArn")
.build())
.enabled(false)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.GenerativeAISettingsPropertystatic final classAn implementation forCfnBotPropsMixin.GenerativeAISettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.BuildtimeSettingsPropertydefault ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.RuntimeSettingsPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBuildtimeSettings
Returns union: eitherIResolvableorCfnBotPropsMixin.BuildtimeSettingsProperty- See Also:
-
getRuntimeSettings
Returns union: eitherIResolvableorCfnBotPropsMixin.RuntimeSettingsProperty- See Also:
-
builder
-