mirror of https://github.com/hwchase17/langchain
docs: update notebook for new Pinecone API + serverless (#21923)
Thank you for contributing to LangChain! - [x] **PR title**: "docs: update notebook for new Pinecone API + serverless" - [x] **PR message**: The published notebook is not runnable after `pinecone-client` v2, which is deprecated. `langchain-pinecone` is not compatible with the latest `pinecone-client` (v4), so I hardcoded it to the last v3. Also updated for serverless indexes (only index type available on Pinecone free plan). - [x] **Add tests and docs**: N/A (tested in Colab) - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. - If you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17. --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1207328087952500pull/21933/head
parent
8ed2ba9301
commit
68a90e2252
Loading…
Reference in New Issue