From 5d9f62ceb89fd7bebe90e4d71bd0aee27c6acdb7 Mon Sep 17 00:00:00 2001
From: James Briggs <james.briggs@hotmail.com>
Date: Thu, 16 May 2024 13:46:22 +0800
Subject: [PATCH] chore: flexible deps

---
 poetry.lock    |  2 +-
 pyproject.toml | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/poetry.lock b/poetry.lock
index c5e9da1b..64162b4e 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -4455,4 +4455,4 @@ vision = ["pillow", "torch", "torchvision", "transformers"]
 [metadata]
 lock-version = "2.0"
 python-versions = ">=3.9,<3.13"
-content-hash = "2245bedb29337628b1acb93622a1618fcca827c46013758a644b8ed065d200d5"
+content-hash = "9b6feb9b37dd0dc278ffe5470012379c96a1e9a6e5b75ecb3b970cc3e27912d2"
diff --git a/pyproject.toml b/pyproject.toml
index a762e218..d7c89ea4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,22 +17,22 @@ packages = [{include = "semantic_router"}]
 [tool.poetry.dependencies]
 python = ">=3.9,<3.13"
 pydantic = "^2.5.3"
-openai = "^1.10.0"
-cohere = "^5.00"
-mistralai= {version = "^0.0.12", optional = true}
+openai = ">=1.10.0,<2.0.0"
+cohere = ">=5.00,<6.00"
+mistralai= {version = ">=0.0.12,<0.1.0", optional = true}
 numpy = "^1.25.2"
 colorlog = "^6.8.0"
 pyyaml = "^6.0.1"
-pinecone-text = {version = "^0.7.1", optional = true}
+pinecone-text = {version = ">=0.7.1,<0.8.0", optional = true}
 fastembed = {version = "^0.2.4", optional = true, python = "<3.12"}
-torch = {version = "^2.1.0", optional = true}
+torch = {version = ">=2.1.0,<2.6.0", optional = true}
 transformers = {version = "^4.36.2", optional = true}
 llama-cpp-python = {version = "^0.2.28", optional = true}
 colorama = "^0.4.6"
-pinecone-client = {version="^3.0.0", optional = true}
-regex = "^2023.12.25"
-torchvision = { version = "^0.17.0", optional = true}
-pillow = { version = "^10.2.0", optional = true}
+pinecone-client = {version=">=3.0.0,<4.0.0", optional = true}
+regex = ">=2023.12.25"
+torchvision = { version = ">=0.17.0,<0.18.0", optional = true}
+pillow = { version = ">=10.2.0,<11.0.0", optional = true}
 tiktoken = ">=0.6.0,<1.0.0"
 matplotlib = { version = "^3.8.3", optional = true}
 qdrant-client = {version = "^1.8.0", optional = true}
-- 
GitLab