Interface CfnAgent.PromptOverrideConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAgent.PromptOverrideConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnAgent

@Stability(Stable) public static interface CfnAgent.PromptOverrideConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains configurations to override prompts in different parts of an agent sequence.

For more information, see Advanced prompts .

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.bedrock.*;
 PromptOverrideConfigurationProperty promptOverrideConfigurationProperty = PromptOverrideConfigurationProperty.builder()
         .promptConfigurations(List.of(PromptConfigurationProperty.builder()
                 .basePromptTemplate("basePromptTemplate")
                 .inferenceConfiguration(InferenceConfigurationProperty.builder()
                         .maximumLength(123)
                         .stopSequences(List.of("stopSequences"))
                         .temperature(123)
                         .topK(123)
                         .topP(123)
                         .build())
                 .parserMode("parserMode")
                 .promptCreationMode("promptCreationMode")
                 .promptState("promptState")
                 .promptType("promptType")
                 .build()))
         // the properties below are optional
         .overrideLambda("overrideLambda")
         .build();
 

See Also: