Class: KeywordTableLLMRetriever
Hierarchy
-
BaseKeywordTableRetriever
↳
KeywordTableLLMRetriever
Constructors
constructor
• new KeywordTableLLMRetriever(«destructured»
): KeywordTableLLMRetriever
Parameters
Name | Type | Default value |
---|---|---|
«destructured» | Object | undefined |
› index | KeywordTableIndex | undefined |
› keywordExtractTemplate? | (__namedParameters : { context : undefined | string = ""; maxKeywords : undefined | number = 10 }) => string | undefined |
› maxKeywordsPerQuery | number | 10 |
› numChunksPerQuery | number | 10 |
› queryKeywordExtractTemplate? | (__namedParameters : { maxKeywords : undefined | number = 10; question : undefined | string = "" }) => string | undefined |
Returns
Inherited from
BaseKeywordTableRetriever.constructor
Defined in
packages/core/src/indices/keyword/KeywordTableIndexRetriever.ts:31
Properties
docstore
• Protected
docstore: BaseDocumentStore
Inherited from
BaseKeywordTableRetriever.docstore
Defined in
packages/core/src/indices/keyword/KeywordTableIndexRetriever.ts:23
index
• Protected
index: KeywordTableIndex
Inherited from
BaseKeywordTableRetriever.index
Defined in
packages/core/src/indices/keyword/KeywordTableIndexRetriever.ts:21
indexStruct
• Protected
indexStruct: KeywordTable
Inherited from
BaseKeywordTableRetriever.indexStruct