Class: Document<T>
A document is just a special text node with a docId.
Extends
TextNode
<T
>
Type parameters
• T extends Metadata
= Metadata
Constructors
new Document()
new Document<
T
>(init
?):Document
<T
>
Parameters
• init?: TextNodeParams
<T
>
Returns
Document
<T
>
Overrides
Source
packages/llamaindex/src/Node.ts:315