fix: make project id as a required field in watsonx components (#7937)
add required for project id
This commit is contained in:
parent
23664552c9
commit
5f900c9296
2 changed files with 4 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue