HI all!
I was trying to performance tune my project in Node 18 Cloud Function and am getting an error on configureIndex. I couldn’t find anything on Google or this forum related to the error:
Failed to load function definition from source: FirebaseError: Failed to load function definition from source: Failed to generate manifest from function source: TypeError: pinecone.configureIndex is not a function
const pinecone = new PineconeClient();
pinecone.configureIndex({
indexName: PINECONE_INDEX,
patchRequest: {
replicas: 2,
podType: "p1.x1",
},
});