interface HashedDocumentInterface {
    metadata: Metadata;
    pageContent: string;
    uid: string;
    contentHash?: string;
    hash_?: string;
    id?: string;
    metadataHash?: string;
    calculateHashes(): void;
    toDocument(): DocumentInterface<Record<string, any>>;
}

Hierarchy (view full)

Properties

metadata: Metadata
pageContent: string
uid: string
contentHash?: string
hash_?: string
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.

metadataHash?: string

Methods

Generated using TypeDoc