View a markdown version of this page

AWS::BedrockAgentCore::Harness HarnessSummarizationConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::BedrockAgentCore::Harness HarnessSummarizationConfiguration

Configuration for summarization-based truncation strategy.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "PreserveRecentMessages" : Integer, "SummarizationSystemPrompt" : String, "SummaryRatio" : Number }

Properties

PreserveRecentMessages

The number of recent messages to preserve without summarization.

Required: No

Type: Integer

Update requires: No interruption

SummarizationSystemPrompt

The system prompt used for generating summaries.

Required: No

Type: String

Update requires: No interruption

SummaryRatio

The ratio of content to summarize.

Required: No

Type: Number

Update requires: No interruption