Class: IndexList
The underlying structure of each index.
Extends
Constructors
new IndexList()
new IndexList(
indexId
,summary
):IndexList
Parameters
• indexId: `${string}-${string}-${string}-${string}-${string}` = ...
• summary: undefined
| string
= undefined
Returns
Inherited from
Defined in
packages/llamaindex/src/indices/IndexStruct.ts:10
Properties
indexId
indexId:
string
Inherited from
Defined in
packages/llamaindex/src/indices/IndexStruct.ts:7
nodes
nodes:
string
[] =[]
Defined in
packages/llamaindex/src/indices/json-to-index-struct.ts:64
summary?
optional
summary:string
Inherited from
Defined in
packages/llamaindex/src/indices/IndexStruct.ts:8
type
type:
IndexStructType
=IndexStructType.LIST
Defined in
packages/llamaindex/src/indices/json-to-index-struct.ts:65
Methods
addNode()
addNode(
node
):void
Parameters
Returns
void
Defined in
packages/llamaindex/src/indices/json-to-index-struct.ts:67
getSummary()
getSummary():
string
Returns
string
Inherited from
Defined in
packages/llamaindex/src/indices/IndexStruct.ts:22
toJson()
toJson():
Record
<string
,unknown
>
Returns
Record
<string
, unknown
>