Class: TextNode<T>
TextNode is the default node type for text. Most common node type in LlamaIndex.TS
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Hierarchy
Constructors
constructor
• new TextNode<T
>(init?
): TextNode
<T
>
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Parameters
Name | Type |
---|---|
init? | Partial <TextNode <T >> |
Returns
TextNode
<T
>
Overrides
Defined in
Properties
embedding
• Optional
embedding: number
[]
Inherited from
Defined in
endCharIdx
• Optional
endCharIdx: number
Defined in
excludedEmbedMetadataKeys
• excludedEmbedMetadataKeys: string
[] = []
Inherited from
BaseNode.excludedEmbedMetadataKeys
Defined in
excludedLlmMetadataKeys
• excludedLlmMetadataKeys: string
[] = []
Inherited from
BaseNode.excludedLlmMetadataKeys
Defined in
hash
• hash: string
= ""