/AWS1/CL_BDOHARNESSSUMMCONF¶
Configuration for summarization-based truncation strategy.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_summaryratio TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The ratio of content to summarize.
iv_preserverecentmessages TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER¶
The number of recent messages to preserve without summarization.
iv_summarizationsystemprompt TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING¶
The system prompt used for generating summaries.
Queryable Attributes¶
summaryRatio¶
The ratio of content to summarize.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUMMARYRATIO() |
Getter for SUMMARYRATIO, with configurable default |
ASK_SUMMARYRATIO() |
Getter for SUMMARYRATIO w/ exceptions if field has no value |
STR_SUMMARYRATIO() |
String format for SUMMARYRATIO, with configurable default |
HAS_SUMMARYRATIO() |
Determine if SUMMARYRATIO has a value |
preserveRecentMessages¶
The number of recent messages to preserve without summarization.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PRESERVERECENTMESSAGES() |
Getter for PRESERVERECENTMESSAGES, with configurable default |
ASK_PRESERVERECENTMESSAGES() |
Getter for PRESERVERECENTMESSAGES w/ exceptions if field has |
HAS_PRESERVERECENTMESSAGES() |
Determine if PRESERVERECENTMESSAGES has a value |
summarizationSystemPrompt¶
The system prompt used for generating summaries.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUMMSYSTEMPROMPT() |
Getter for SUMMARIZATIONSYSTEMPROMPT, with configurable defa |
ASK_SUMMSYSTEMPROMPT() |
Getter for SUMMARIZATIONSYSTEMPROMPT w/ exceptions if field |
HAS_SUMMSYSTEMPROMPT() |
Determine if SUMMARIZATIONSYSTEMPROMPT has a value |