diff --git a/fastembed/common/model_management.py b/fastembed/common/model_management.py index 8bf54dde..8d8e3f0b 100644 --- a/fastembed/common/model_management.py +++ b/fastembed/common/model_management.py @@ -53,7 +53,7 @@ def _get_model_description(cls, model_name: str) -> Dict[str, Any]: Dict[str, Any]: The model description. """ for model in cls.list_supported_models(): - if model_name == model["model"]: + if model_name.lower() == model["model"].lower(): return model raise ValueError(f"Model {model_name} is not supported in {cls.__name__}.")