Google Gemini Configuration
This section explains how to add and configure a Google Gemini model in AskSenseOps.
Prerequisites
Before configuring the model, ensure that you have a Google Gemini API key with access to the model you want to use.
Adding a Google Gemini Model
- Open AskSenseOps.
- Navigate to the model configuration section.
- Click Add Model.
- Enter the model details described below.
- Test the configuration and save the model.
Basic Info
| Field | Description | Required |
|---|---|---|
| Display Name | Enter a name to identify the model in AskSenseOps. | Yes |
| Provider | Select Google Gemini. | Yes |
Credentials
| Field | Description | Required |
|---|---|---|
| API Key | Enter the API key associated with your Google Gemini setup. | Yes |
Model Configuration
| Field | Description | Required |
|---|---|---|
| Model Name / ID | Enter the identifier of the Gemini model you want to use. | Yes |
| Endpoint URL | Enter a custom endpoint URL if required. | No |
Use the Fetch models option, when available, to retrieve the models accessible with your API key. Select or enter the appropriate model identifier.
Custom Headers
Custom headers are optional and can be used when connecting through a gateway that requires additional headers.
- Under Custom Headers (Optional), click + Add.
- Enter the required header name and value.
- Add additional headers if needed.
Examples shown in the interface include x-openai-token, x-fabrix-client, and x-llm-model-id.
If a custom header carries the authentication token, the API Key field can be left empty.
Testing and Saving the Model
After entering the configuration details:
- Review the display name, provider, API key, model identifier, and endpoint URL.
- Click Test to verify the configuration.
- If the test succeeds, click Save Model to save the configuration.
If the test fails, verify the API key, model identifier, endpoint URL, and any custom headers required by your gateway.