Google Vertex

The Automation Hub Google Vertex connector uses Google Vertex’s Gemini API model which enables response generation for a given prompt within your automations.

Set up Google Vertex

Perform the following steps to set up the Google Vertex action connector:

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the Google Vertex connector.

    Note: You can sort and search the connector(s) based on the filter.

  4. Under Choose an Action tab, select the Send Prompt action.
  5. Click the + Add New Account button to add your Google Vertex account.
  6. In the Authorize modal, provide details such as Title, and Service Account Key.
    To create a service account key, follow the steps below:
    1. Go to the Google Cloud Platform.
    2. Navigate to the IAM & Admin page. Select the Service Accounts section in the left navigation. You can use a pre-existing account or create a new Service Account to get the Service Account Key.
    3. Once done, provide the permission to access the Vertex API.
  7. Click the Authorize button.
  8. In the Select Project dropdown, select a project to use the Vertex API.
  9. In the Prompt Text field, enter a text to generate a response. 
  10. Optionally, enable the Show Optional Fields toggle to view the optional fields.
  11. Enter the Number of Tokens to generate the content. This must be within the range of 1 to 8192.
  12. Enter a value for the Randomness of Responses of the generated content. 0 being the most precise and 1 being the most random content predictions. This must be within the range of 0 to 1.
    1. Optionally, enter the Top-K value to define how the model selects tokens for output. Entering a Top-K value of 1 implies that the next chosen token is the most likely among all tokens in the model's vocabulary. Top-K value of 3 means that the next token is selected from the three most probable tokens using temperature. This must be within the range of 1 to 40.
    2. Optionally, enter the Top-P value to define how the model selects tokens for output. For instance, if tokens A, B, and C have probabilities of 0.3, 0.2, and 0.1; then entering a Top-P value as 0.5, the model chooses either A or B as the next token using temperature and excludes C. This must be within the range of 0 to 1.
    3. Optionally, mark the Sanitize text checkbox to remove special characters or spaces from the chat response. By enabling this checkbox, any special characters or spaces in the chat response will be eliminated, resulting in a clean and compatible text.
  13. Click Proceed.
  14. Click the Test Action button to test the configured action.
  15. Click Save and Exit.

This sets the Google Vertex action connector.

Was this article helpful?