tRAGar - v0.1.0
    Preparing search index...

    Interface IngestDoc

    One document to ingest. source is a stable identifier (path or URL).

    interface IngestDoc {
        meta?: Record<string, unknown>;
        source: string;
        text: string;
    }
    Index

    Properties

    Properties

    meta?: Record<string, unknown>

    Optional caller-supplied metadata attached to every chunk from this doc.

    source: string

    Stable identifier for the document (path or URL).

    text: string

    UTF-8 text content (markdown for v0.1).