Class: BaseNode<T>
Generic abstract class for retrievable nodes
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Hierarchy
-
BaseNode
↳
TextNode
Constructors
constructor
• new BaseNode<T
>(init?
): BaseNode
<T
>
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Parameters
Name | Type |
---|---|
init? | Partial <BaseNode <T >> |
Returns
BaseNode
<T
>
Defined in
Properties
embedding
• Optional
embedding: number
[]