Class: IndexNode<T>
TextNode is the default node type for text. Most common node type in LlamaIndex.TS
Extends
TextNode
<T
>
Type parameters
• T extends Metadata
= Metadata
Constructors
new IndexNode()
new IndexNode<
T
>(init
?):IndexNode
<T
>
Parameters
• init?: IndexNodeParams
<T
>
Returns
IndexNode
<T
>
Overrides
Source
packages/llamaindex/src/Node.ts:300
Properties
embedding?
optional
embedding:number
[]
Inherited from
Source
packages/llamaindex/src/Node.ts:61
endCharIdx?
optional
endCharIdx:number
Inherited from
Source
packages/llamaindex/src/Node.ts:214
excludedEmbedMetadataKeys
excludedEmbedMetadataKeys:
string
[]
Inherited from
TextNode
. excludedEmbedMetadataKeys
Source
packages/llamaindex/src/Node.ts:65
excludedLlmMetadataKeys
excludedLlmMetadataKeys:
string
[]
Inherited from
TextNode
. excludedLlmMetadataKeys
Source
packages/llamaindex/src/Node.ts:66
id_
id_:
string
The unique ID of the Node/Document. The trailing underscore is here to avoid collisions with the id keyword in Python.
Set to a UUID by default.
Inherited from
Source
packages/llamaindex/src/Node.ts:60
indexId
indexId:
string
Source
packages/llamaindex/src/Node.ts:298
metadata
metadata:
T
Inherited from
Source
packages/llamaindex/src/Node.ts:64
metadataSeparator
metadataSeparator:
string
Inherited from
Source
packages/llamaindex/src/Node.ts:217
relationships
relationships:
Partial
<Record
<NodeRelationship
,RelatedNodeType
<T
>>>
Inherited from
Source
packages/llamaindex/src/Node.ts:67