Pinecone TypeScript SDK - v9.0.0
    Preparing search index...

    Type Alias PineconeRecord<T>

    A vector record with an ID, dense or sparse values, and optional metadata. Supply values when upserting; query responses omit them unless requested.

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

    Type Parameters

    Hierarchy (View Summary)

    Index

    The record ID, such as trail-shoe-42, used to fetch, update, or delete the record.

    metadata?: T

    Any metadata associated with this record.

    sparseValues?: RecordSparseValues

    Records can optionally include sparse and dense values when an index is used for hybrid search. See Sparse-dense vectors

    values?: RecordValues

    An array of numbers representing an embedding vector.