Class: TreeSummarize
TreeSummarize repacks the text chunks into the smallest possible number of chunks and then summarizes them, then recursively does so until there's one chunk left.
Extends
Implements
Constructors
new TreeSummarize()
new TreeSummarize(
serviceContext
?,summaryTemplate
?):TreeSummarize
Parameters
• serviceContext?: ServiceContext
• summaryTemplate?
Returns
Overrides
Source
packages/core/src/synthesizers/builders.ts:286
Properties
llm
llm:
LLM
<object
,object
>
Source
packages/core/src/synthesizers/builders.ts:282
promptHelper
promptHelper:
PromptHelper
Source
packages/core/src/synthesizers/builders.ts:283
summaryTemplate()
summaryTemplate: (
__namedParameters
) =>string