Class CfnAgent.PromptConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAgent.PromptConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAgent.PromptConfigurationProperty
CfnAgent.PromptConfigurationProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnAgent.PromptConfigurationProperty
CfnAgent.PromptConfigurationProperty.Builder, CfnAgent.PromptConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnAgent.PromptConfigurationProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectIf the Converse or ConverseStream operations support the model,additionalModelRequestFieldscontains additional inference parameters, beyond the base set of inference parameters in theinferenceConfigurationfield.final StringDefines the prompt template with which to replace the default prompt template.final StringThe agent's foundation model.final ObjectContains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by thepromptType.final StringSpecifies 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 StringSpecifies whether to override the default prompt template for thispromptType.final StringSpecifies whether to allow the inline agent to carry out the step specified in thepromptType.final StringThe step in the agent sequence that this prompt configuration applies to.final inthashCode()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
-
getAdditionalModelRequestFields
Description copied from interface:CfnAgent.PromptConfigurationPropertyIf the Converse or ConverseStream operations support the model,additionalModelRequestFieldscontains additional inference parameters, beyond the base set of inference parameters in theinferenceConfigurationfield.For more information, see Inference request parameters and response fields for foundation models .
- Specified by:
getAdditionalModelRequestFieldsin interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getBasePromptTemplate
Description copied from interface:CfnAgent.PromptConfigurationPropertyDefines 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:
getBasePromptTemplatein interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getFoundationModel
Description copied from interface:CfnAgent.PromptConfigurationPropertyThe agent's foundation model.- Specified by:
getFoundationModelin interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getInferenceConfiguration
Description copied from interface:CfnAgent.PromptConfigurationPropertyContains 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 .
Returns union: either
IResolvableorCfnAgent.InferenceConfigurationProperty- Specified by:
getInferenceConfigurationin interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getParserMode
Description copied from interface:CfnAgent.PromptConfigurationPropertySpecifies 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
OVERRIDDEN, theoverrideLambdafield in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.- Specified by:
getParserModein interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getPromptCreationMode
Description copied from interface:CfnAgent.PromptConfigurationPropertySpecifies whether to override the default prompt template for thispromptType.Set this value to
OVERRIDDENto use the prompt that you provide in thebasePromptTemplate. If you leave it asDEFAULT, the agent uses a default prompt template.- Specified by:
getPromptCreationModein interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getPromptState
Description copied from interface:CfnAgent.PromptConfigurationPropertySpecifies whether to allow the inline 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 eachpromptTypeis as follows.PRE_PROCESSING–ENABLEDORCHESTRATION–ENABLEDKNOWLEDGE_BASE_RESPONSE_GENERATION–ENABLEDPOST_PROCESSING–DISABLED
- Specified by:
getPromptStatein interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
getPromptType
Description copied from interface:CfnAgent.PromptConfigurationPropertyThe step in the agent sequence that this prompt configuration applies to.- Specified by:
getPromptTypein interfaceCfnAgent.PromptConfigurationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-