AgentcoreHarnessTruncationConfigSummarization class
Constructors
-
AgentcoreHarnessTruncationConfigSummarization({required Input<
int> preserveRecentMessages, required Input<String> summarizationSystemPrompt, required Input<double> summaryRatio}) -
Creates a new AgentcoreHarnessTruncationConfigSummarization.
preserveRecentMessagesNumber of recent messages to preserve without summarization.summarizationSystemPromptCustom system prompt for the summarization model.summaryRatioRatio of the conversation to summarize (0 to 1).const -
AgentcoreHarnessTruncationConfigSummarization.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
preserveRecentMessages
→ Input<
int> -
Number of recent messages to preserve without summarization.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
summarizationSystemPrompt
→ Input<
String> -
Custom system prompt for the summarization model.
final
-
summaryRatio
→ Input<
double> -
Ratio of the conversation to summarize (0 to 1).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited