Class CfnAgent.PromptConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnAgent.PromptConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAgent.PromptConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAgent.PromptConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnAgent.PromptConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAgent.PromptConfigurationProperty
An implementation for
CfnAgent.PromptConfigurationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnAgent.PromptConfigurationProperty
CfnAgent.PromptConfigurationProperty.Builder, CfnAgent.PromptConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnAgent.PromptConfigurationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Defines the prompt template with which to replace the default prompt template.final Object
Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by thepromptType
.final String
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by thepromptType
.final String
Specifies whether to override the default prompt template for thispromptType
.final String
Specifies whether to allow the agent to carry out the step specified in thepromptType
.final String
The step in the agent sequence that this prompt configuration applies to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAgent.PromptConfigurationProperty.Builder
.
-
-
Method Details
-
getBasePromptTemplate
Description copied from interface:CfnAgent.PromptConfigurationProperty
Defines the prompt template with which to replace the default prompt template.You can use placeholder variables in the base prompt template to customize the prompt. For more information, see Prompt template placeholder variables . For more information, see Configure the prompt templates .
- Specified by:
getBasePromptTemplate
in interfaceCfnAgent.PromptConfigurationProperty
- See Also:
-
getInferenceConfiguration
Description copied from interface:CfnAgent.PromptConfigurationProperty
Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by thepromptType
.For more information, see Inference parameters for foundation models .
- Specified by:
getInferenceConfiguration
in interfaceCfnAgent.PromptConfigurationProperty
- See Also:
-
getParserMode
Description copied from interface:CfnAgent.PromptConfigurationProperty
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by thepromptType
.If you set the field as
OVERRIDEN
, theoverrideLambda
field in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.- Specified by:
getParserMode
in interfaceCfnAgent.PromptConfigurationProperty
- See Also:
-
getPromptCreationMode
Description copied from interface:CfnAgent.PromptConfigurationProperty
Specifies whether to override the default prompt template for thispromptType
.Set this value to
OVERRIDDEN
to use the prompt that you provide in thebasePromptTemplate
. If you leave it asDEFAULT
, the agent uses a default prompt template.- Specified by:
getPromptCreationMode
in interfaceCfnAgent.PromptConfigurationProperty
- See Also:
-
getPromptState
Description copied from interface:CfnAgent.PromptConfigurationProperty
Specifies whether to allow the agent to carry out the step specified in thepromptType
.If you set this value to
DISABLED
, the agent skips that step. The default state for eachpromptType
is as follows.PRE_PROCESSING
–ENABLED
ORCHESTRATION
–ENABLED
KNOWLEDGE_BASE_RESPONSE_GENERATION
–ENABLED
POST_PROCESSING
–DISABLED
- Specified by:
getPromptState
in interfaceCfnAgent.PromptConfigurationProperty
- See Also:
-
getPromptType
Description copied from interface:CfnAgent.PromptConfigurationProperty
The step in the agent sequence that this prompt configuration applies to.- Specified by:
getPromptType
in interfaceCfnAgent.PromptConfigurationProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-