-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for Vertex AI Gemini 1.5 002 and experimental models (
- Loading branch information
Showing
6 changed files
with
150 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...iders/vertex_ai/llm/gemini-1.5-flash.yaml → ...s/vertex_ai/llm/gemini-1.5-flash-001.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/vertex_ai/llm/gemini-1.5-flash-002.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: gemini-1.5-flash-002 | ||
label: | ||
en_US: Gemini 1.5 Flash 002 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
- vision | ||
model_properties: | ||
mode: chat | ||
context_size: 1048576 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: top_k | ||
label: | ||
en_US: Top k | ||
type: int | ||
help: | ||
en_US: Only sample from the top K options for each subsequent token. | ||
required: false | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: max_output_tokens | ||
use_template: max_tokens | ||
required: true | ||
default: 8192 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.00' | ||
output: '0.00' | ||
unit: '0.000001' | ||
currency: USD |
2 changes: 1 addition & 1 deletion
2
...oviders/vertex_ai/llm/gemini-1.5-pro.yaml → ...ers/vertex_ai/llm/gemini-1.5-pro-001.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/vertex_ai/llm/gemini-1.5-pro-002.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: gemini-1.5-pro-002 | ||
label: | ||
en_US: Gemini 1.5 Pro 002 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
- vision | ||
model_properties: | ||
mode: chat | ||
context_size: 1048576 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: top_k | ||
label: | ||
en_US: Top k | ||
type: int | ||
help: | ||
en_US: Only sample from the top K options for each subsequent token. | ||
required: false | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: max_output_tokens | ||
use_template: max_tokens | ||
required: true | ||
default: 8192 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.00' | ||
output: '0.00' | ||
unit: '0.000001' | ||
currency: USD |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/vertex_ai/llm/gemini-flash-experimental.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: gemini-flash-experimental | ||
label: | ||
en_US: Gemini Flash Experimental | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
- vision | ||
model_properties: | ||
mode: chat | ||
context_size: 1048576 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: top_k | ||
label: | ||
en_US: Top k | ||
type: int | ||
help: | ||
en_US: Only sample from the top K options for each subsequent token. | ||
required: false | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: max_output_tokens | ||
use_template: max_tokens | ||
required: true | ||
default: 8192 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.00' | ||
output: '0.00' | ||
unit: '0.000001' | ||
currency: USD |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/vertex_ai/llm/gemini-pro-experimental.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: gemini-pro-experimental | ||
label: | ||
en_US: Gemini Pro Experimental | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
- vision | ||
model_properties: | ||
mode: chat | ||
context_size: 1048576 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: top_k | ||
label: | ||
en_US: Top k | ||
type: int | ||
help: | ||
en_US: Only sample from the top K options for each subsequent token. | ||
required: false | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
- name: max_output_tokens | ||
use_template: max_tokens | ||
required: true | ||
default: 8192 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.00' | ||
output: '0.00' | ||
unit: '0.000001' | ||
currency: USD |