We've been working to support the new global control plane service in the Pinecone clients. We need to update our sample apps to migrate to the new client versions, and update associated code paths as needed.
Solution
Bump the @pinecone-database/pinecone dependency to use the new spruceDev version of the client: ^1.1.2-spruceDev.20231214000822.
Update pinecone.ts and seed.ts to handle the new object response from listIndexes().
Update seed.ts to pass the proper config object shape to createIndex().
For now, I've created a spruce branch to merge this into as we probably don't want to release sample apps that aren't aligned with what's available publicly.
Type of Change
[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update
Test Plan
Run the playwright test suite and run the application locally:
Problem
We've been working to support the new global control plane service in the Pinecone clients. We need to update our sample apps to migrate to the new client versions, and update associated code paths as needed.
Solution
@pinecone-database/pinecone
dependency to use the newspruceDev
version of the client:^1.1.2-spruceDev.20231214000822
.pinecone.ts
andseed.ts
to handle the new object response fromlistIndexes()
.seed.ts
to pass the proper config object shape tocreateIndex()
.For now, I've created a spruce branch to merge this into as we probably don't want to release sample apps that aren't aligned with what's available publicly.
Type of Change
Test Plan
Run the playwright test suite and run the application locally: