From f9b66300247009bb0923c27bc9c4b6024f159e12 Mon Sep 17 00:00:00 2001 From: Igor Ilic <30923996+dexters1@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:09:58 +0100 Subject: [PATCH] chore: Add ollama optional depdendency (#584) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Add ollama optional dependency ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin ## Summary by CodeRabbit - **Chores** - Updated the project’s dependency configuration to include an additional optional package for enhanced transformation functionality. --- poetry.lock | 9 +++++---- pyproject.toml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 18c6e3aed..52b419b1b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand. [[package]] name = "aiofiles" @@ -5543,8 +5543,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.22.4", markers = "python_version < \"3.11\""}, - {version = ">=1.23.2", markers = "python_version == \"3.11\""}, {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, + {version = ">=1.23.2", markers = "python_version == \"3.11\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -6608,8 +6608,8 @@ astroid = ">=3.3.8,<=3.4.0-dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} dill = [ {version = ">=0.2", markers = "python_version < \"3.11\""}, - {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, + {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, ] isort = ">=4.2.5,<5.13.0 || >5.13.0,<7" mccabe = ">=0.6,<0.8" @@ -9797,6 +9797,7 @@ milvus = ["pymilvus"] mistral = ["mistral-common"] neo4j = ["neo4j"] notebook = [] +ollama = ["transformers"] postgres = ["asyncpg", "pgvector", "psycopg2"] posthog = ["posthog"] qdrant = ["qdrant-client"] @@ -9805,4 +9806,4 @@ weaviate = ["weaviate-client"] [metadata] lock-version = "2.0" python-versions = ">=3.10.0,<3.13" -content-hash = "a4770f156e1b097f3a71e847cbd5d16865e0733b3395b15df4127d90d728de4a" +content-hash = "5f09a573e7af69be9647e7f1828f41c4184b162f27638dbad9831d2914aa47c4" diff --git a/pyproject.toml b/pyproject.toml index 3b78b1e8e..1a36f09a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,6 +100,7 @@ langchain = ["langsmith", "langchain_text_splitters"] llama-index = ["llama-index-core"] gemini = ["google-generativeai"] huggingface = ["transformers"] +ollama = ["transformers"] mistral = ["mistral-common"] deepeval = ["deepeval"] posthog = ["posthog"]