Help! code upgrade for Pinecone TypeScript SDK - v2.0.0

I need help refactoring this line of code to work with Pinecone TypeScript SDK - v2.0.0

PineconeUtils.chunkedUpsert(pineconeIndex, vectors, namespace, 10)

Hi @support1, thanks for posting. Please check out this GitHub issue.

As you will see, we deprecated the chunkedUpsert utility function in September due to concerns about the production viability of the approach. To achieve what the chunkedUpsert function performed, you should implement a batched approach to upserting records.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.