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 Agents for Amazon Bedrock].

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

Returns:

  • (String)


6048
6049
6050
6051
6052
6053
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6048

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:



6048
6049
6050
6051
6052
6053
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6048

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