Class Document<Metadata>

Interface for interacting with a document.

Type Parameters

  • Metadata extends Record<string, any> = Record<string, any>

Hierarchy

Implements

Constructors

  • Type Parameters

    • Metadata extends Record<string, any> = Record<string, any>

    Parameters

    Returns Document<Metadata>

Properties

metadata: Metadata
pageContent: string
customPayload?: object

Generated using TypeDoc