From 934310edc09296e5add2919e674aff2679060431 Mon Sep 17 00:00:00 2001 From: Vladimir Blagojevic Date: Tue, 20 Aug 2024 12:32:37 +0200 Subject: [PATCH] Updates --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1dd98bfd81..69c65ec017 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,7 +87,7 @@ dependencies = [ [project.optional-dependencies] inference = [ "transformers[torch,sentencepiece]==4.39.3", - "sentence-transformers>=2.3.1", # See haystack/nodes/retriever/_embedding_encoder.py, _SentenceTransformersEmbeddingEncoder + "sentence-transformers<=3.0.0,>=2.3.1", # See haystack/nodes/retriever/_embedding_encoder.py, _SentenceTransformersEmbeddingEncoder "huggingface-hub>=0.5.0", ] elasticsearch = [