Class: Document<T>
A document is just a special text node with a docId.
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Hierarchy
-
TextNode
<T
>↳
Document
Constructors
constructor
• new Document<T
>(init?
)
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Parameters
Name | Type |
---|---|
init? | Partial <Document <T >> |
Overrides
Defined in
Properties
embedding
• Optional
embedding: number
[]