| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static final int | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | ChunkedSummarizator(String summarizationChunkSystemMessageTemplate, String summarizationCombineSystemMessageTemplate)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private String | |
| public SummarizatorKind | |
| private boolean | |
| private List | |
| public String | summarize(ChatModel chatModel, String text)
Implements org.
|
| private String | |
| private List |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MAX_OVERLAP_SIZE_IN_CHARS | back to summary |
|---|---|
| private static final int MAX_OVERLAP_SIZE_IN_CHARS | |
| summarizationChunkSystemMessageTemplate | back to summary |
|---|---|
| private final String summarizationChunkSystemMessageTemplate | |
| summarizationCombineSystemMessageTemplate | back to summary |
|---|---|
| private final String summarizationCombineSystemMessageTemplate | |
| ChunkedSummarizator | back to summary |
|---|---|
| public ChunkedSummarizator(String summarizationChunkSystemMessageTemplate, String summarizationCombineSystemMessageTemplate) | |
| checkInterrupted | back to summary |
|---|---|
| private void checkInterrupted() throws InterruptedException | |
| combineFinalSummaries | back to summary |
|---|---|
| private String combineFinalSummaries(ChatModel chatModel, List<String> summaries) throws InterruptedException | |
| getKind | back to summary |
|---|---|
| public SummarizatorKind getKind() Implements org.
| |
| needsAnotherPass | back to summary |
|---|---|
| private boolean needsAnotherPass(ChatModel chatModel, List<String> summaries) | |
| splitTextIntoChunks | back to summary |
|---|---|
| private List | |
| summarize | back to summary |
|---|---|
| public String summarize(ChatModel chatModel, String text) throws InterruptedException Implements org.
| |
| summarizeChunk | back to summary |
|---|---|
| private String summarizeChunk(ChatModel chatModel, String chunk) | |
| summarizeChunks | back to summary |
|---|---|
| private List | |