Class: abstract
BaseNode<T>
Generic abstract class for retrievable nodes
Extended by
Type parameters
• T extends Metadata
= Metadata
Constructors
new BaseNode()
new BaseNode<
T
>(init
?):BaseNode
<T
>
Parameters
• init?: Partial
<BaseNode
<T
>>
Returns
BaseNode
<T
>
Source
Properties
embedding?
optional
embedding:number
[]
Source
excludedEmbedMetadataKeys
excludedEmbedMetadataKeys:
string
[] =[]
Source
excludedLlmMetadataKeys
excludedLlmMetadataKeys:
string
[] =[]
Source
hash
hash:
string
=""
Source
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.