Member Junction
    Preparing search index...

    Type Alias UpdateOptions<T>

    This type is very similar to VectorRecord, but differs because the values field is optional here. This is to allow for situations where perhaps the caller only wants to update metadata for a given record while leaving stored vector values as they are.

    type UpdateOptions<T extends RecordMetadata = RecordMetadata> = {
        id: string;
        metadata?: T;
        sparseValues?: RecordSparseValues;
        values?: RecordValues;
    }

    Type Parameters

    Index

    Properties

    id: string

    The id of the record you would like to update

    metadata?: T

    The metadata you would like to store with this record.

    sparseValues?: RecordSparseValues

    The sparse values you would like to store with this record.

    values?: RecordValues

    The vector values you would like to store with this record