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 <erick@langchain.dev>
This commit is contained in:
Audrey Sage Lorberfeld 2024-12-03 10:08:56 -08:00 committed by GitHub
parent 7315360907
commit 926e452f44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ class PineconeEmbeddings(BaseModel, Embeddings):
headers={ headers={
"Api-Key": self.pinecone_api_key.get_secret_value(), "Api-Key": self.pinecone_api_key.get_secret_value(),
"Content-Type": "application/json", "Content-Type": "application/json",
"X-Pinecone-API-Version": "2024-07", "X-Pinecone-API-Version": "2024-10",
} }
) )
return self._async_client return self._async_client