Skip to content

TS SDK does not support integrated embedding #353

@benedelstein

Description

@benedelstein

Description
The js quickstart docs claim that you can upsertRecords with just text, but the sdk does not support this.

I only see upsertRecords with values.

export type PineconeRecord<T extends RecordMetadata = RecordMetadata> = {
    /**
     * The id of the record. This string can be any value and is
     * useful when fetching or deleting by id.
     */
    id: RecordId;
    /**
     * An array of numbers representing an embedding vector.
     */
    values: RecordValues;
    /**
     * Records can optionally include sparse and dense values when an index
     * is used for hybrid search. See [Sparse-dense vectors](https://docs.pinecone.io/docs/sparse-dense-vectors)
     */
    sparseValues?: RecordSparseValues;
    /**
     * Any metadata associated with this record.
     */
    metadata?: T;
};

Suggested solution
Support upsertRecordswith just text.

Link to page
https://docs.pinecone.io/guides/index-data/upsert-data

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationstatus:needs-triageAn issue that needs to be triaged by the Pinecone team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions