pinecone-io / canopy

Retrieval Augmented Generation (RAG) framework and context engine powered by Pinecone
https://www.pinecone.io/
Apache License 2.0
976 stars 121 forks source link

Fixed GRPC support #271

Closed igiloh-pinecone closed 9 months ago

igiloh-pinecone commented 10 months ago

Problem

After the recent changes in pinecone-client 3.0.0, using the GRPC flavor was broken

Solution

Changed the code to use the new client syntax

Type of Change

Test Plan

Tested manually by installing pip install pinecone-client[grpc] and running canopy upsert