Check the init parameters for VertexAICodeGenerator.
YAML Init Parameters
These are the parameters you can pass to this component in the pipeline YAML configuration:
Parameter | Type | Possible values | Description |
---|---|---|---|
model | String | Default: code-bison | Name of the model to use. Required. |
project_id | String | ID of the GCP project to use. You can find your project ID in the GCP resource manager , or locally by running gcloud projects list in your terminal. For information on using gcloud CLI, see the official documentation .Required. | |
location | String | Default: None | The default location to use when making API calls. Optional. |
kwargs | Dictionary | Additional keyword arguments to pass to the model. |
REST API Runtime Parameters
There are no runtime parameters you can pass to this component when making a request to the Search REST API endpoint.