Gemini
App Vendor: Gemini
App Category: AI Models
Connector Version: 1.0.0
API Version: 1.0.0
About App
Gemini is Google's most capable and general-purpose AI model family. It is designed to be highly flexible and efficient, capable of handling a wide range of tasks and modalities.
The Gemini app is configured with Cyware Orchestrate to perform the following actions:
| Action Name | Description | 
|---|---|
| Get Prompt Response | This action retrieves the response generated by the specified model based on the given prompt. | 
Configuration Parameters
The following configuration parameters are required for the Gemini app to communicate with the Gemini enterprise application. The parameters can be configured by creating instances in the app.
| Parameter | Description | Field Type | Required/Optional | Comments | 
|---|---|---|---|---|
| API Token | Enter the API token to authenticate with Gemini. | Password | Required | |
| Temperature | Enter a sampling temperature between 0 and 2. | Integer | Optional | Higher values (Example: 0.8) result in more random output, while lower values (Example: 0.2) produce more focused and deterministic results. The default is 1. | 
| Max Output Tokens | Specify how many tokens to generate before stopping. Maximum limits depend on the model used. | Integer | Optional | |
| Timeout | Enter the timeout value in seconds. This is the number of seconds that requests will wait to establish a connection with Gemini. | Integer | Optional | Allowed range: 15 - 120 seconds Default range: 15 seconds | 
| Verify | Choose your preference to verify SSL/TSL while making requests. It is recommended to set this option to yes. If no is passed, it may result in an incorrect connection establishment, potentially resulting in a broken connection. | Boolean | Optional | By default, verification is enabled. | 
Action: Get Prompt Response
This action retrieves the response generated by the specified model based on the given prompt.
Action Input Parameters
| Parameter | Description | Field Type | Required/Optional | Comments | 
|---|---|---|---|---|
| Model | Specify the model name to use for generating the response. Example: gemini-2.0-flash | Text | Required | |
| Prompt | Provide the text prompt that will be sent to the selected model for response generation. Example: Get me the IP details of 1.1.1.1, use whois provider if required. | Text | Required | 
Example Request
[
  {
    "model": "gemini-2.0-flash-lite-001",
    "prompt": "Get me the ip details of 1.1.1.1, you can use 'whois' provider if needed"
  }
]