From edfb1503bc15046b150640d5aca852568a2a3f22 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 7 May 2024 18:29:42 -0300 Subject: [PATCH] Fixes Pinecone implementation (#1856) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ⬆️ (pyproject.toml): upgrade langchain-pinecone dependency to version 0.1.0 * 📝 (Pinecone.py): Update Pinecone component to use new DistanceStrategy enum for distance calculation and improve configuration options for Pinecone vector store creation. * ⬆️ (pyproject.toml): upgrade package version from 0.6.18 to 0.6.19 --- poetry.lock | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 9a4c60d431a..7407c1a3dab 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3898,13 +3898,13 @@ files = [ [[package]] name = "joblib" -version = "1.4.0" +version = "1.4.2" description = "Lightweight pipelining with Python functions" optional = false python-versions = ">=3.8" files = [ - {file = "joblib-1.4.0-py3-none-any.whl", hash = "sha256:42942470d4062537be4d54c83511186da1fc14ba354961a2114da91efa9a4ed7"}, - {file = "joblib-1.4.0.tar.gz", hash = "sha256:1eb0dc091919cd384490de890cb5dfd538410a6d4b3b54eef09fb8c50b409b1c"}, + {file = "joblib-1.4.2-py3-none-any.whl", hash = "sha256:06d478d5674cbc267e7496a410ee875abd68e4340feff4490bcb7afb88060ae6"}, + {file = "joblib-1.4.2.tar.gz", hash = "sha256:2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e"}, ] [[package]] @@ -4412,6 +4412,22 @@ langchain-core = ">=0.1.52,<0.3" numpy = ">=1,<2" pinecone-client = ">=3.2.2,<4.0.0" +[[package]] +name = "langchain-pinecone" +version = "0.1.0" +description = "An integration package connecting Pinecone and LangChain" +optional = false +python-versions = "<3.13,>=3.8.1" +files = [ + {file = "langchain_pinecone-0.1.0-py3-none-any.whl", hash = "sha256:d957f27b1cceab425c3e8603c7a32533d4593ce8705242e78f6dc03aa71cf417"}, + {file = "langchain_pinecone-0.1.0.tar.gz", hash = "sha256:93f81e7c3926027cc6a87b001ee4d2e02a432a916709dbd395162b342bf84586"}, +] + +[package.dependencies] +langchain-core = ">=0.1.40,<0.2.0" +numpy = ">=1,<2" +pinecone-client = ">=3.2.2,<4.0.0" + [[package]] name = "langchain-text-splitters" version = "0.2.1"