Skip to main content

Class: SummaryIndexRetriever

Simple retriever for SummaryIndex that returns all nodes

Implements

Constructors

new SummaryIndexRetriever()

new SummaryIndexRetriever(index): SummaryIndexRetriever

Parameters

index: SummaryIndex

Returns

SummaryIndexRetriever

Source

packages/core/src/indices/summary/index.ts:286

Properties

index

index: SummaryIndex

Source

packages/core/src/indices/summary/index.ts:284

Methods

retrieve()

retrieve(__namedParameters): Promise <NodeWithScore <Metadata>[]>

Parameters

__namedParameters: RetrieveParams

Returns

Promise <NodeWithScore <Metadata>[]>

Implementation of

BaseRetriever . retrieve

Source

packages/core/src/indices/summary/index.ts:291