Class: SummaryExtractor
Extract summary from a list of nodes.
Extends
Constructors
new SummaryExtractor()
new SummaryExtractor(
options
?):SummaryExtractor
Parameters
• options?: SummaryExtractArgs
Returns
Overrides
Source
packages/core/src/extractors/MetadataExtractors.ts:394
Properties
disableTemplateRewrite
disableTemplateRewrite:
boolean
=false
Inherited from
BaseExtractor
. disableTemplateRewrite
Source
packages/core/src/extractors/types.ts:13
inPlace
inPlace:
boolean
=true
Inherited from
Source
packages/core/src/extractors/types.ts:14
isTextNodeOnly
isTextNodeOnly:
boolean
=true
Inherited from
BaseExtractor
. isTextNodeOnly
Source
packages/core/src/extractors/types.ts:10
llm
llm:
LLM
<object
,object
>
LLM instance.
Source
packages/core/src/extractors/MetadataExtractors.ts:376
metadataMode
metadataMode:
MetadataMode
=MetadataMode.ALL
Inherited from
Source
packages/core/src/extractors/types.ts:12
nextSummary
private
nextSummary:boolean
Source
packages/core/src/extractors/MetadataExtractors.ts:392
numWorkers
numWorkers:
number
=4
Inherited from
Source
packages/core/src/extractors/types.ts:15
prevSummary
private
prevSummary:boolean
Source
packages/core/src/extractors/MetadataExtractors.ts:391
promptTemplate
promptTemplate:
string
The prompt template to use for the summary extractor.
Source
packages/core/src/extractors/MetadataExtractors.ts:388
selfSummary
private
selfSummary:boolean
Source
packages/core/src/extractors/MetadataExtractors.ts:390
showProgress
showProgress:
boolean
=true