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
Defined in
packages/core/dist/schema/index.d.ts:123
Properties
embedding
embedding:
undefined
|number
[]
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:52
endCharIdx?
optional
endCharIdx:number
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:99
excludedEmbedMetadataKeys
excludedEmbedMetadataKeys:
string
[]
Inherited from
TextNode
.excludedEmbedMetadataKeys
Defined in
packages/core/dist/schema/index.d.ts:54
excludedLlmMetadataKeys
excludedLlmMetadataKeys:
string
[]
Inherited from
TextNode
.excludedLlmMetadataKeys
Defined in
packages/core/dist/schema/index.d.ts:55
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
Defined in
packages/core/dist/schema/index.d.ts:51
indexId
indexId:
string
Defined in
packages/core/dist/schema/index.d.ts:122
metadata
metadata:
T
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:53
metadataSeparator
metadataSeparator:
string
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:100
relationships
relationships:
Partial
<Record
<NodeRelationship
,RelatedNodeType
<T
>>>
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:56
startCharIdx?
optional
startCharIdx:number
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:98
text
text:
string
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:96
textTemplate
textTemplate:
string