Class: KeywordTable
The underlying structure of each index.
Extends
Constructors
new KeywordTable()
new KeywordTable(
indexId
,summary
):KeywordTable
Parameters
• indexId: `${string}-${string}-${string}-${string}-${string}`= undefined
• summary: undefined
= undefined
Returns
Inherited from
Source
packages/llamaindex/src/indices/IndexStruct.ts:10
Properties
indexId
indexId:
string
Inherited from
Source
packages/llamaindex/src/indices/IndexStruct.ts:7
summary?
optional
summary:string
Inherited from
Source
packages/llamaindex/src/indices/IndexStruct.ts:8
table
table:
Map
<string
,Set
<string
>>
Source
packages/llamaindex/src/indices/BaseIndex.ts:16
type
type:
IndexStructType
=IndexStructType.KEYWORD_TABLE
Source
packages/llamaindex/src/indices/BaseIndex.ts:17
Methods
addNode()
addNode(
keywords
,nodeId
):void