Interface UpsertOptions

Options for a vector store upsert (insert or update) operation.

UpsertOptions

interface UpsertOptions {
    batchSize?: number;
    overwrite?: boolean;
    customParams?: Record<string, any>;
}

Properties

batchSize?: number

Preferred batch size for upserting multiple documents, if the provider supports batching.

overwrite?: boolean

Whether to overwrite existing documents with the same ID.

customParams?: Record<string, any>

Provider-specific parameters for the upsert operation.