A Document that optionally includes the ID of the document.

Hierarchy

  • Document
    • IdDocument

Implements

Constructors

Properties

Constructors

Properties

id?: string

An optional identifier for the document.

Ideally this should be unique across the document collection and formatted as a UUID, but this will not be enforced.

metadata: Record<string, any>
pageContent: string