diff --git a/poetry.lock b/poetry.lock
index 2dc1712e75dee17d89c61f338e7a1e4403c7a660..1202d622c07a86c3e21d2d6b30bed1500ce7517c 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -5562,4 +5562,4 @@ vision = ["pillow", "torch", "torchvision", "transformers"]
 [metadata]
 lock-version = "2.0"
 python-versions = ">=3.9,<3.14"
-content-hash = "160528513d3337745ae7bd1e2e57cc8ef061ce96a102ca257986a30f0668d8a7"
+content-hash = "8637391565e137e9f5d9d52bd927845242b7dea9217901c1b69f7be6b0b31917"
diff --git a/pyproject.toml b/pyproject.toml
index a0e58664b45e90fc76c719124de237c1dd5e972b..a914965b233696d97f98eb7bc836b3234455a466 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,14 +19,14 @@ pyyaml = "^6.0.1"
 aurelio-sdk = {version = "^0.0.16"}
 pinecone-text = {version = ">=0.7.1,<0.10.0", optional = true}
 torch = {version = ">=2.1.0,<2.6.0", optional = true, python = "<3.13" }
-transformers = {version = ">=4.36.2", optional = true}
-tokenizers = {version = ">=0.19", optional = true}
-llama-cpp-python = {version = ">=0.2.28,<0.2.86", optional = true}
+transformers = {version = ">=4.36.2", optional = true, python = "<3.13" }
+tokenizers = {version = ">=0.19", optional = true, python = "<3.13" }
+llama-cpp-python = {version = ">=0.2.28,<0.2.86", optional = true, python = "<3.13" }
 colorama = "^0.4.6"
 pinecone = {version=">=5.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}
+torchvision = { version = ">=0.17.0,<0.18.0", optional = true, python = "<3.13" }
+pillow = { version = ">=10.2.0,<11.0.0", optional = true, python = "<3.13" }
 tiktoken = ">=0.6.0,<1.0.0"
 qdrant-client = {version = "^1.11.1", optional = true}
 google-cloud-aiplatform = {version = "^1.45.0", optional = true}