Google GenAI

Most recent version: v0.0.1

See the changelog of this Action type here.

Overview

The Google GenAI Action allows users to enrich their data using Google Gemini AI models.

Ports

These are the input and output ports of this Action:

Input ports
  • Default port - All the events to be processed by this Action enter through this port.

Output ports
  • Default port - Events are sent through this port if no error occurs while processing them.

  • Error port - Events are sent through this port if an error occurs while processing them.

Configuration

1

Find Google GenAI in the Actions tab (under the AI group) and drag it onto the canvas.

2

To open the configuration, click the Action in the canvas and select Configuration.

3

Enter the required parameters:

Parameter
Description

Location*

Enter the Google Cloud location for Vertex AI (e.g., us-central1).

Model*

Choose the Vertex AI model version to use from the menu.

System Instructions*

Enter the required system instructions.

Prompt Field*

Enter the prompt you want to send to the model.

Temperature

Adjusts randomness of outputs: greater than 1 is random, 0 is deterministic, and 0.75 is a good starting value. Default value is 0.7

MaxLength

Maximum number of tokens to generate. A word is generally 2-3 tokens. The default value is 128 (min 1, max 8892).

Output Format*

Choose the required output format.

JSON credentials*

choose the required JSON credentials.

Output Field*

Give a name to the output field that will return the evaluation.

4

Click Save to complete.

Last updated

Was this helpful?