VertexAI
Integrate with the VertexAI API to get access to Google models
Last updated
Integrate with the VertexAI API to get access to Google models
Last updated
Copyright © 2023 Arize AI, Inc
Add your Google Cloud Platform ProjectID and location to begin using the VertexAI API.
Note: By adding this integration, your data may be sent to Google for certain actions within Arize (e.g., prompt playground) and your account may be billed for usage.
To verify ownership of your project form within Arize, we need to create a project access label on your GCP project. Arize will use this to ensure that the Arize organization you are running Vertex commands from has access to your GCP project.
To create this go into GCP and search for labels. Add a label with the key arize-integration-key
and whatever value you want.
Add the GCP ProjectID, location, and project access label of the project you have the VertexAI API enabled in.
Copy the following IAM role gcloud command to run in your GCP console:
Sample commands:
You must add your project ID to the commands below where it says <my-project>
. The commands pulled from the Arize UI have your project ID prefilled.
Create command (most cases):
Update migration (uncommon):
If you have a pre-existing integration and need to update it to add an arize-integration-key
label, please change the create
portion of the command to update
.
Run the command in the GCP console:
In order for Arize to send requests to the VertexAI API in your project, you must assign the Arize App Service Account that role.
Copy the following IAM permissions gcloud command to run in your GCP console:
Run the command in the GCP console:
gemini-1.5-pro
gemini-1.5-flash
gemini-1.0-pro-vision
gemini-1.0-pro
gemini-pro
text-bison-32k
text-bison