Skip to content

fix(docs): update pinecone-reranker.ipynb to SDK v8#521

Open
jhamon wants to merge 2 commits intomasterfrom
jhamon/sdk-123-update-pinecone-rerankeripynb-to-sdk-v8
Open

fix(docs): update pinecone-reranker.ipynb to SDK v8#521
jhamon wants to merge 2 commits intomasterfrom
jhamon/sdk-123-update-pinecone-rerankeripynb-to-sdk-v8

Conversation

@jhamon
Copy link
Collaborator

@jhamon jhamon commented Jan 29, 2026

Summary

  • Update Pinecone Python SDK from v6.0.1 to v8.0.0 in docs/pinecone-reranker.ipynb
  • Consolidate pip install commands for efficiency
  • Apply ruff formatting for code consistency

Related Issues

Test Plan

  • Verify notebook runs successfully from top to bottom in Colab
  • Confirm all Pinecone API calls work correctly with SDK v8
  • Ensure index is created, data is upserted, queries execute, and cleanup runs

Note

Medium Risk
Low production risk (docs-only), but it bumps the Pinecone Python SDK major version and tweaks notebook calls/outputs, so the example may break if any v8 API behavior differs.

Overview
Updates docs/pinecone-reranker.ipynb to use Pinecone Python SDK 8.0.0 (consolidating installs into a single quiet pip command) and refreshes the notebook to match the newer SDK behavior.

Also applies formatting/cleanup across the notebook (quote style, trailing commas, import ordering, small output/metadata normalization) and adjusts minor code snippets like index creation and result access to be consistent with the updated APIs.

Written by Cursor Bugbot for commit 2a5cf3c. This will update automatically on new commits. Configure here.

- Update pinecone package from 6.0.1 to 8.0.0
- Consolidate pip install commands for efficiency
- Apply ruff formatting

Closes SDK-123
@jhamon jhamon added the documentation Improvements or additions to documentation label Jan 29, 2026
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

- Ruff: sort imports, remove duplicate time import, fix f-string
- Validation: add name to stream outputs, metadata/execution_count to execute_result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant