-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationstatus:needs-triageAn issue that needs to be triaged by the Pinecone teamAn issue that needs to be triaged by the Pinecone team
Description
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
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationstatus:needs-triageAn issue that needs to be triaged by the Pinecone teamAn issue that needs to be triaged by the Pinecone team