Class: SummaryIndexLLMRetriever
LLM retriever for SummaryIndex which lets you select the most relevant chunks.
Extends
Constructors
new SummaryIndexLLMRetriever()
new SummaryIndexLLMRetriever(
index
,choiceSelectPrompt
?,choiceBatchSize
?,formatNodeBatchFn
?,parseChoiceSelectAnswerFn
?,serviceContext
?):SummaryIndexLLMRetriever
Parameters
• index: SummaryIndex
• choiceSelectPrompt?: ChoiceSelectPrompt
• choiceBatchSize?: number
= 10
• formatNodeBatchFn?: NodeFormatterFunction
• parseChoiceSelectAnswerFn?: ChoiceSelectParserFunction
• serviceContext?: ServiceContext
Returns
Overrides
Defined in
packages/llamaindex/src/indices/summary/index.ts:311
Properties
choiceBatchSize
choiceBatchSize:
number