diff --git a/milvus_model/utils/__init__.py b/milvus_model/utils/__init__.py index 1ae976f..f90aac3 100644 --- a/milvus_model/utils/__init__.py +++ b/milvus_model/utils/__init__.py @@ -33,7 +33,7 @@ def import_sentence_transformers(): def import_FlagEmbedding(): _check_library("peft", package="peft") - _check_library("FlagEmbedding", package="FlagEmbedding>=1.2.2") + _check_library("FlagEmbedding", package="FlagEmbedding~=1.2.11") def import_nltk(): _check_library("nltk", package="nltk>=3.9.1")