Class: Aws::BedrockAgent::Types::PromptOverrideConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Contains configurations to override prompts in different parts of an agent sequence. For more information, see [Advanced prompts].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#override_lambdaString

The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the ‘promptConfigurations` must contain a `parserMode` value that is set to `OVERRIDDEN`. For more information, see [Parser Lambda function in Amazon Bedrock Agents].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html

Returns:

  • (String)


6114
6115
6116
6117
6118
6119
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6114

class PromptOverrideConfiguration < Struct.new(
  :override_lambda,
  :prompt_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_configurationsArray<Types::PromptConfiguration>

Contains configurations to override a prompt template in one part of an agent sequence. For more information, see [Advanced prompts].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html

Returns:



6114
6115
6116
6117
6118
6119
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6114

class PromptOverrideConfiguration < Struct.new(
  :override_lambda,
  :prompt_configurations)
  SENSITIVE = []
  include Aws::Structure
end