From 926e452f44cf77a9021776f1bf57f86bb12d7d76 Mon Sep 17 00:00:00 2001 From: Audrey Sage Lorberfeld Date: Tue, 3 Dec 2024 10:08:56 -0800 Subject: [PATCH] partners: update version header for Pinecone integration (#28481) Just need to update the version header used with Pinecone in recently-merged method (from [this PR](https://github.com/langchain-ai/langchain/pull/28320/files#r1867820929)). Co-authored-by: Erick Friis --- libs/partners/pinecone/langchain_pinecone/embeddings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/pinecone/langchain_pinecone/embeddings.py b/libs/partners/pinecone/langchain_pinecone/embeddings.py index aef874a00d554..d3cdd73fe7d9b 100644 --- a/libs/partners/pinecone/langchain_pinecone/embeddings.py +++ b/libs/partners/pinecone/langchain_pinecone/embeddings.py @@ -73,7 +73,7 @@ def async_client(self) -> aiohttp.ClientSession: headers={ "Api-Key": self.pinecone_api_key.get_secret_value(), "Content-Type": "application/json", - "X-Pinecone-API-Version": "2024-07", + "X-Pinecone-API-Version": "2024-10", } ) return self._async_client