Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Pinecone Upsert method usage (langchain-ai#7358)
Description: Refactor the upsert method in the Pinecone class to allow for additional keyword arguments. This change adds flexibility and extensibility to the method, allowing for future modifications or enhancements. The upsert method now accepts the `**kwargs` parameter, which can be used to pass any additional arguments to the Pinecone index. This change has been made in both the `upsert` method in the `Pinecone` class and the `upsert` method in the `similarity_search_with_score` class method. Falls in line with the usage of the upsert method in [Pinecone-Python-Client](https://github.com/pinecone-io/pinecone-python-client/blob/4640c4cf27b1ab935e76929c46d230dea9fe5506/pinecone/index.py#L73) Issue: [This feature request in Pinecone Repo](pinecone-io/pinecone-python-client#184) Maintainer responsibilities: - General / Misc / if you don't know who to tag: @baskaryan - Memory: @hwchase17 --------- Co-authored-by: kwesi <[email protected]> Co-authored-by: Bagatur <[email protected]> Co-authored-by: Lance Martin <[email protected]>
- Loading branch information