fix: make project id as a required field in watsonx components (#7937)

add required for project id
This commit is contained in:
Edwin Jose 2025-05-08 15:12:53 -04:00 committed by GitHub
commit 5f900c9296
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -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",

View file

@ -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",