Options for ingesting documents

interface IngestOptions {
    chunk?: boolean;
    metadata?: Record<string, unknown>;
    skipExisting?: boolean;
}

Properties

chunk?: boolean

Whether to chunk the documents

metadata?: Record<string, unknown>

Custom metadata to add to all documents

skipExisting?: boolean

Whether to skip documents that already exist (by ID)