Fix file_types in credentials field
This commit is contained in:
parent
7dcbe3a525
commit
63c030133c
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ class VertexAIEmbeddingsComponent(CustomComponent):
|
|||
|
||||
def build_config(self):
|
||||
return {
|
||||
"credentials": {"display_name": "Credentials", "value": '', "file_types": ['json'],"field_type": "file"},
|
||||
"credentials": {"display_name": "Credentials", "value": '', "file_types": ['.json'],"field_type": "file"},
|
||||
"instance": {"display_name": "instance", "advanced": True, "field_type": "dict"},
|
||||
"location": {"display_name": "Location", "value": 'us-central1', "advanced": True},
|
||||
"max_output_tokens": {"display_name": "Max Output Tokens", "value": 128},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue