Skip to content

SummaryIndexLLMRetriever

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:310

LLM retriever for SummaryIndex which lets you select the most relevant chunks.

  • BaseRetriever

new SummaryIndexLLMRetriever(index, choiceSelectPrompt?, choiceBatchSize?, formatNodeBatchFn?, parseChoiceSelectAnswerFn?): SummaryIndexLLMRetriever

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:317

SummaryIndex

ChoiceSelectPrompt

number = 10

NodeFormatterFunction

ChoiceSelectParserFunction

SummaryIndexLLMRetriever

BaseRetriever.constructor

index: SummaryIndex

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:311


choiceSelectPrompt: ChoiceSelectPrompt

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:312


choiceBatchSize: number

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:313


formatNodeBatchFn: NodeFormatterFunction

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:314


parseChoiceSelectAnswerFn: ChoiceSelectParserFunction

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:315

_retrieve(query): Promise<NodeWithScore<Metadata>[]>

Defined in: .build/typescript/packages/llamaindex/src/indices/summary/index.ts:333

QueryBundle

Promise<NodeWithScore<Metadata>[]>

BaseRetriever._retrieve