Interface CfnBot.GenerativeAISettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.GenerativeAISettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.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.services.lex.*; GenerativeAISettingsProperty generativeAISettingsProperty = GenerativeAISettingsProperty.builder() .buildtimeSettings(BuildtimeSettingsProperty.builder() .descriptiveBotBuilderSpecification(DescriptiveBotBuilderSpecificationProperty.builder() .enabled(false) // the properties below are optional .bedrockModelSpecification(BedrockModelSpecificationProperty.builder() .modelArn("modelArn") // the properties below are optional .bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder() .bedrockGuardrailIdentifier("bedrockGuardrailIdentifier") .bedrockGuardrailVersion("bedrockGuardrailVersion") .build()) .bedrockModelCustomPrompt("bedrockModelCustomPrompt") .bedrockTraceStatus("bedrockTraceStatus") .build()) .build()) .sampleUtteranceGenerationSpecification(SampleUtteranceGenerationSpecificationProperty.builder() .enabled(false) // the properties below are optional .bedrockModelSpecification(BedrockModelSpecificationProperty.builder() .modelArn("modelArn") // the properties below are optional .bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder() .bedrockGuardrailIdentifier("bedrockGuardrailIdentifier") .bedrockGuardrailVersion("bedrockGuardrailVersion") .build()) .bedrockModelCustomPrompt("bedrockModelCustomPrompt") .bedrockTraceStatus("bedrockTraceStatus") .build()) .build()) .build()) .runtimeSettings(RuntimeSettingsProperty.builder() .nluImprovementSpecification(NluImprovementSpecificationProperty.builder() .enabled(false) .build()) .slotResolutionImprovementSpecification(SlotResolutionImprovementSpecificationProperty.builder() .enabled(false) // the properties below are optional .bedrockModelSpecification(BedrockModelSpecificationProperty.builder() .modelArn("modelArn") // the properties below are optional .bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder() .bedrockGuardrailIdentifier("bedrockGuardrailIdentifier") .bedrockGuardrailVersion("bedrockGuardrailVersion") .build()) .bedrockModelCustomPrompt("bedrockModelCustomPrompt") .bedrockTraceStatus("bedrockTraceStatus") .build()) .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.GenerativeAISettingsProperty
static final class
An implementation forCfnBot.GenerativeAISettingsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBuildtimeSettings
- See Also:
-
getRuntimeSettings
- See Also:
-
builder
-