Interface CfnBotPropsMixin.RuntimeSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.RuntimeSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.RuntimeSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Contains specifications about the Amazon Lex runtime 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.*;
RuntimeSettingsProperty runtimeSettingsProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.RuntimeSettingsPropertystatic final classAn implementation forCfnBotPropsMixin.RuntimeSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.NluImprovementSpecificationPropertydefault ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.SlotResolutionImprovementSpecificationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNluImprovementSpecification
Returns union: eitherIResolvableorCfnBotPropsMixin.NluImprovementSpecificationProperty- See Also:
-
getSlotResolutionImprovementSpecification
Returns union: eitherIResolvableorCfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty- See Also:
-
builder
-