Type alias PineconeRecord<T>

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

Type Parameters

Type declaration

  • id: RecordId

    The id of the record. This string can be any value and is useful when fetching or deleting by id.

  • Optional metadata?: T

    Any metadata associated with this record.

  • Optional 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.