diff --git a/src/backend/base/langflow/components/embeddings/watsonx.py b/src/backend/base/langflow/components/embeddings/watsonx.py index 1d7aa0525..7e08c34a9 100644 --- a/src/backend/base/langflow/components/embeddings/watsonx.py +++ b/src/backend/base/langflow/components/embeddings/watsonx.py @@ -46,6 +46,8 @@ class WatsonxEmbeddingsComponent(LCEmbeddingsModel): StrInput( name="project_id", display_name="watsonx project id", + info="The project ID or deployment space ID that is associated with the foundation model.", + required=True, ), SecretStrInput( name="api_key", diff --git a/src/backend/base/langflow/components/models/watsonx.py b/src/backend/base/langflow/components/models/watsonx.py index c06c9cfd4..c8534c7fb 100644 --- a/src/backend/base/langflow/components/models/watsonx.py +++ b/src/backend/base/langflow/components/models/watsonx.py @@ -42,6 +42,8 @@ class WatsonxAIComponent(LCModelComponent): StrInput( name="project_id", display_name="watsonx Project ID", + required=True, + info="The project ID or deployment space ID that is associated with the foundation model.", ), SecretStrInput( name="api_key",