mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-19 13:23:35 +00:00
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:
parent
7315360907
commit
926e452f44
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user