prorm API Reference
    Preparing search index...

    Interface UpdateVectorOptions<T>

    Options accepted by update(). Either values or metadata (or both) may be provided.

    interface UpdateVectorOptions<T extends RecordMetadata = RecordMetadata> {
        id: string;
        values?: number[];
        metadata?: Partial<T>;
        namespace?: string;
    }

    Type Parameters

    • T extends RecordMetadata = RecordMetadata
    Index
    id: string
    values?: number[]
    metadata?: Partial<T>
    namespace?: string