Skip to content

Commit

Permalink
[Gemini Connector] Bump Default model to gemini-1.5-pro-002 (elasti…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Oct 8, 2024
1 parent 149e801 commit 2873cbc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/management/connectors/action-types/gemini.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Name:: The name of the connector.
API URL:: The {gemini} request URL.
Project ID:: The project which has Vertex AI endpoint enabled.
Region:: The GCP region where the Vertex AI endpoint enabled.
Default model:: The GAI model for {gemini} to use. Current support is for the Google Gemini models, defaulting to gemini-1.5-pro-001. The model can be set on a per request basis by including a "model" parameter alongside the request body.
Default model:: The GAI model for {gemini} to use. Current support is for the Google Gemini models, defaulting to gemini-1.5-pro-002. The model can be set on a per request basis by including a "model" parameter alongside the request body.
Credentials JSON:: The GCP service account JSON file for authentication.

[float]
Expand Down
2 changes: 1 addition & 1 deletion docs/settings/alert-action-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ The default model to use for requests, which varies by connector:
+
--
* For an <<bedrock-action-type,{bedrock} connector>>, current support is for the Anthropic Claude models. Defaults to `anthropic.claude-3-5-sonnet-20240620-v1:0`.
* For a <<gemini-action-type,{gemini} connector>>, current support is for the Gemini models. Defaults to `gemini-1.5-pro-001`.
* For a <<gemini-action-type,{gemini} connector>>, current support is for the Gemini models. Defaults to `gemini-1.5-pro-002`.
* For a <<openai-action-type,OpenAI connector>>, it is optional and applicable only when `xpack.actions.preconfigured.<connector-id>.config.apiProvider` is `OpenAI`.
--

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ properties:
defaultModel:
type: string
description: The generative artificial intelligence model for Google Gemini to use.
default: gemini-1.5-pro-001
default: gemini-1.5-pro-002
gcpRegion:
type: string
description: The GCP region where the Vertex AI endpoint enabled.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x-pack/plugins/stack_connectors/common/gemini/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export enum SUB_ACTION {
export const DEFAULT_TOKEN_LIMIT = 8192;
export const DEFAULT_TIMEOUT_MS = 60000;
export const DEFAULT_GCP_REGION = 'us-central1';
export const DEFAULT_GEMINI_MODEL = 'gemini-1.5-pro-001';
export const DEFAULT_GEMINI_MODEL = 'gemini-1.5-pro-002';
export const DEFAULT_GEMINI_URL = `https://us-central1-aiplatform.googleapis.com` as const;

0 comments on commit 2873cbc

Please sign in to comment.