Class: Document
Defined in:Constructors
Constructor
Parameters
data
content
string
metadata?
Record<string, ChunkMetaDataValueType>
Returns
Document
Properties
content
metadata
Methods
toJSON()
Returns
Record<string, unknown>Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
new Document(data: object): Document;
string
Record<string, ChunkMetaDataValueType>
Document
content: string;
metadata: Record<string, ChunkMetaDataValueType>;
toJSON(): Record<string, unknown>;
Record<string, unknown>Was this page helpful?
