Pinecone TypeScript SDK - v8.2.0
    Preparing search index...

    Interface PreviewSparseValues

    Vector sparse data. Represented as a list of indices and a list of corresponded values, which must be with the same length.

    SparseValues

    interface PreviewSparseValues {
        indices: number[];
        values: number[];
    }
    Index
    indices: number[]

    The indices of the sparse data.

    SparseValues

    values: number[]

    The corresponding values of the sparse data, which must be with the same length as the indices.

    SparseValues