diff --git a/src/lfx/src/lfx/base/models/unified_models.py b/src/lfx/src/lfx/base/models/unified_models.py index ed0c3c0233..77a5175045 100644 --- a/src/lfx/src/lfx/base/models/unified_models.py +++ b/src/lfx/src/lfx/base/models/unified_models.py @@ -75,7 +75,7 @@ def get_model_provider_metadata(): "icon": "Ollama", "variable_name": "OLLAMA_BASE_URL", # Ollama is local but can have custom URL }, - "IBM WatsonX": { + "IBM Watsonx": { "icon": "WatsonxAI", "variable_name": "WATSONX_APIKEY", }, diff --git a/src/lfx/src/lfx/base/models/watsonx_constants.py b/src/lfx/src/lfx/base/models/watsonx_constants.py index 6a76435acb..1b92767c47 100644 --- a/src/lfx/src/lfx/base/models/watsonx_constants.py +++ b/src/lfx/src/lfx/base/models/watsonx_constants.py @@ -5,21 +5,25 @@ WATSONX_DEFAULT_EMBEDDING_MODELS = [ provider="IBM Watsonx", name="sentence-transformers/all-minilm-l12-v2", icon="WatsonxAI", + model_type="embeddings", ), create_model_metadata( provider="IBM Watsonx", name="ibm/slate-125m-english-rtrvr-v2", icon="WatsonxAI", + model_type="embeddings", ), create_model_metadata( provider="IBM Watsonx", name="ibm/slate-30m-english-rtrvr-v2", icon="WatsonxAI", + model_type="embeddings", ), create_model_metadata( provider="IBM Watsonx", name="intfloat/multilingual-e5-large", icon="WatsonxAI", + model_type="embeddings", ), ]