Migrating to Pinecone Client v6.0.0
Version v6.0.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 2/7/2025
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
PineconePineconeAsyncioIndexAsynciocreate_index_for_modelupsert_recordssearchsearch_recordsCloudProviderAwsRegionEmbedModelIndexEmbedSearchQuerySearchRerankRerankModelServerlessSpecGcpRegionMetricBreaking Changes
●Issue #1
If you were previously using the preview functionality for indexes with integrated inference via the `pinecone-plugin-records` package, you must uninstall that package to use the v6 `pinecone` release.
●Issue #2
If you were previously using the preview functionality for the Inference API via the `pinecone-plugin-inference` package, you must uninstall that package.
Migration Steps
- 1Uninstall `pinecone-plugin-records` if previously installed.
- 2Uninstall `pinecone-plugin-inference` if previously installed.
- 3To use asyncio features, install the package with the async extra: `pinecone[asyncio]`.
- 4Use `PineconeAsyncio` and `IndexAsyncio` for asynchronous operations, utilizing `await` for methods.
Release Summary
This release introduces major features including integrated inference indexing, direct Inference API access, and new asyncio client variants for modern asynchronous programming. Users of previous preview plugins must uninstall them.
Need More Details?
View the full release notes and all changes for Pinecone Client v6.0.0.
View Full Changelog