Class: TextNode<T>
TextNode is the default node type for text. Most common node type in LlamaIndex.TS
Extends
BaseNode
<T
>
Extended by
Type parameters
• T extends Metadata
= Metadata
Constructors
new TextNode()
new TextNode<
T
>(init
?):TextNode
<T
>
Parameters
• init?: TextNodeParams
<T
>
Returns
TextNode
<T
>
Overrides
Source
packages/core/dist/schema/index.d.ts:100
Properties
embedding?
optional
embedding:number
[]
Inherited from
Source
packages/core/dist/schema/index.d.ts:51
endCharIdx?
optional
endCharIdx:number
Source
packages/core/dist/schema/index.d.ts:98
excludedEmbedMetadataKeys
excludedEmbedMetadataKeys:
string
[]
Inherited from
BaseNode
. excludedEmbedMetadataKeys
Source
packages/core/dist/schema/index.d.ts:53
excludedLlmMetadataKeys
excludedLlmMetadataKeys:
string
[]
Inherited from
BaseNode
. excludedLlmMetadataKeys
Source
packages/core/dist/schema/index.d.ts:54
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/core/dist/schema/index.d.ts:50
metadata
metadata:
T