Zum Hauptinhalt springen

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:287

Properties

index

index: SummaryIndex

Source

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

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:292