@agentxin-ai/plugin-gemini 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +59 -0
  2. package/dist/_assets/icon_l_en.svg +15 -0
  3. package/dist/_assets/icon_s_en.svg +11 -0
  4. package/dist/gemini.yaml +47 -0
  5. package/dist/llm/_position.yaml +12 -0
  6. package/dist/llm/gemini-1.5-flash-001.yaml +42 -0
  7. package/dist/llm/gemini-1.5-flash-002.yaml +42 -0
  8. package/dist/llm/gemini-1.5-flash-8b-exp-0827.yaml +42 -0
  9. package/dist/llm/gemini-1.5-flash-8b-exp-0924.yaml +42 -0
  10. package/dist/llm/gemini-1.5-flash-exp-0827.yaml +42 -0
  11. package/dist/llm/gemini-1.5-flash-latest.yaml +45 -0
  12. package/dist/llm/gemini-1.5-flash.yaml +45 -0
  13. package/dist/llm/gemini-1.5-pro-001.yaml +42 -0
  14. package/dist/llm/gemini-1.5-pro-002.yaml +42 -0
  15. package/dist/llm/gemini-1.5-pro-exp-0801.yaml +42 -0
  16. package/dist/llm/gemini-1.5-pro-exp-0827.yaml +42 -0
  17. package/dist/llm/gemini-1.5-pro-latest.yaml +45 -0
  18. package/dist/llm/gemini-1.5-pro.yaml +45 -0
  19. package/dist/llm/gemini-2.0-flash-001.yaml +44 -0
  20. package/dist/llm/gemini-2.0-flash-exp.yaml +44 -0
  21. package/dist/llm/gemini-2.0-flash-lite-001.yaml +41 -0
  22. package/dist/llm/gemini-2.0-flash-lite-preview-02-05.yaml +42 -0
  23. package/dist/llm/gemini-2.0-flash-lite-preview.yaml +42 -0
  24. package/dist/llm/gemini-2.0-flash-lite.yaml +44 -0
  25. package/dist/llm/gemini-2.0-flash-preview-image-generation.yaml +42 -0
  26. package/dist/llm/gemini-2.0-flash-thinking-exp-01-21.yaml +43 -0
  27. package/dist/llm/gemini-2.0-flash-thinking-exp-1219.yaml +43 -0
  28. package/dist/llm/gemini-2.0-flash.yaml +82 -0
  29. package/dist/llm/gemini-2.0-pro-exp-02-05.yaml +45 -0
  30. package/dist/llm/gemini-2.0-pro-exp.yaml +45 -0
  31. package/dist/llm/gemini-2.5-flash-image.yaml +64 -0
  32. package/dist/llm/gemini-2.5-flash-lite-preview-06-17.yaml +92 -0
  33. package/dist/llm/gemini-2.5-flash-lite.yaml +115 -0
  34. package/dist/llm/gemini-2.5-flash-preview-04-17.yaml +91 -0
  35. package/dist/llm/gemini-2.5-flash-preview-05-20.yaml +92 -0
  36. package/dist/llm/gemini-2.5-flash.yaml +115 -0
  37. package/dist/llm/gemini-2.5-pro-exp-03-25.yaml +81 -0
  38. package/dist/llm/gemini-2.5-pro-preview-03-25.yaml +81 -0
  39. package/dist/llm/gemini-2.5-pro-preview-05-06.yaml +82 -0
  40. package/dist/llm/gemini-2.5-pro-preview-06-05.yaml +82 -0
  41. package/dist/llm/gemini-2.5-pro.yaml +105 -0
  42. package/dist/llm/gemini-3-pro-image-preview.yaml +104 -0
  43. package/dist/llm/gemini-3-pro-preview.yaml +142 -0
  44. package/dist/llm/gemini-exp-1114.yaml +42 -0
  45. package/dist/llm/gemini-exp-1121.yaml +42 -0
  46. package/dist/llm/gemini-exp-1206.yaml +42 -0
  47. package/dist/llm/gemini-flash-latest.yaml +115 -0
  48. package/dist/llm/gemini-flash-lite-latest.yaml +115 -0
  49. package/dist/llm/gemini-pro-vision.yaml +35 -0
  50. package/dist/llm/gemini-pro.yaml +39 -0
  51. package/dist/llm/learnlm-1.5-pro-experimental.yaml +42 -0
  52. package/package.json +50 -0
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # AgentXin Plugin: Gemini
2
+
3
+ ## Overview
4
+
5
+ `@agentxin-ai/plugin-gemini` connects [Google Gemini](https://ai.google.dev/) models to the [AgentXinAI](https://github.com/agentxin-ai/agentxin) platform. The plugin integrates Google's Generative AI SDK so AgentXinAI agents can call the latest Gemini models (e.g., Gemini 1.5 Pro, Gemini 1.5 Flash) with support for multimodal inputs and function calling.
6
+
7
+ ## Core Features
8
+
9
+ - Ships `GeminiModule`, which registers the NestJS provider strategy, lifecycle hooks, and configuration schema required by the plugin runtime.
10
+ - Implements `GeminiLargeLanguageModel`, a LangChain-powered adapter that supports streaming chat completions, function calling, and token accounting callbacks for agent telemetry.
11
+ - Shares a console-ready `gemini.yaml` that drives the AgentXinAI UI forms (icons, help links, credential prompts) for quick operator onboarding.
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ npm install @agentxin-ai/plugin-gemini
17
+ ```
18
+
19
+ > **Peer Dependencies**: Ensure your host service also provides `@agentxin-ai/plugin-sdk`, `@nestjs/common`, `@nestjs/config`, `@metad/contracts`, `@langchain/google-genai`, `lodash-es`, `chalk`, `zod`, and `tslib`. Refer to `package.json` for exact versions.
20
+
21
+ ## Enabling in AgentXinAI
22
+
23
+ 1. Declare the plugin before bootstrapping the AgentXinAI server:
24
+ ```bash
25
+ PLUGINS=@agentxin-ai/plugin-gemini
26
+ ```
27
+ 2. In the AgentXinAI admin console (or config file), create a model provider pointing to `gemini`, then add individual models that map to the specific Gemini versions you want to use.
28
+
29
+ ## Credentials & Model Configuration
30
+
31
+ The `gemini.yaml` schema backs the form fields you see in the console:
32
+
33
+ | Field | Description |
34
+ | ----------------- | ------------------------------------------------------------------------------------ |
35
+ | `google_api_key` | Required. Your Google AI Studio API Key. |
36
+ | `google_base_url` | Optional. Base URL if you need to route requests through a proxy or custom endpoint. |
37
+ | `file_url` | Optional. Local FILES URL prefix to optimize upload performance. |
38
+
39
+ During validation, the plugin instantiates the Google Generative AI client against the provided credentials to ensure connectivity and permissions.
40
+
41
+ ## Model Capabilities
42
+
43
+ - **Conversational Models**: `GeminiLargeLanguageModel` merges provider credentials with per-model overrides, turns on streaming, and registers token usage callbacks so agent telemetry stays accurate. It supports the full range of Gemini models including `gemini-1.5-pro`, `gemini-1.5-flash`, and their experimental variants.
44
+
45
+ ## Development & Debugging
46
+
47
+ From the repo root, run Nx commands for this package:
48
+
49
+ ```bash
50
+ cd agentxinai
51
+ npx nx build @agentxin-ai/plugin-gemini
52
+ npx nx test @agentxin-ai/plugin-gemini
53
+ ```
54
+
55
+ Artifacts land in `agentxinai/models/gemini/dist`. Jest settings live in `jest.config.ts`, and the asset copier runs via `npm run prepack` before publishing.
56
+
57
+ ## License
58
+
59
+ This plugin is distributed under the [AGPL-3.0 License](../../../LICENSE) located at the repository root.
@@ -0,0 +1,15 @@
1
+ <svg width="68" height="24" viewBox="0 0 68 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Gemini">
3
+ <path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M50.6875 4.37014C48.3498 4.59292 46.5349 6.41319 46.3337 8.72764C46.1446 6.44662 44.2677 4.56074 41.9805 4.3737C44.2762 4.1997 46.152 2.28299 46.3373 0C46.4882 2.28911 48.405 4.20047 50.6875 4.37014ZM15.4567 9.41141L13.9579 10.9076C9.92941 6.64892 2.69298 9.97287 3.17317 15.8112C3.22394 23.108 14.5012 24.4317 15.3628 16.8809H9.52096L9.50061 14.9149H17.3595C18.8163 23.1364 8.44367 27.0292 3.19453 21.238C0.847044 18.7556 0.363651 14.7682 1.83717 11.7212C4.1129 6.62089 11.6505 5.29845 15.4567 9.41141ZM45.5915 23.5989H47.6945C47.6944 22.9155 47.6945 22.2307 47.6946 21.5452V21.5325C47.6948 19.8907 47.695 18.2453 47.6924 16.6072C47.6914 15.9407 47.6161 15.2823 47.4024 14.647C46.4188 11.2828 41.4255 11.4067 39.8332 14.214C38.5637 11.4171 34.4009 11.5236 32.8538 14.0084L32.8082 13.9976V12.4806L32.4233 12.4804H32.4224C31.8687 12.4801 31.3324 12.4798 30.7949 12.4811V23.5848L32.8977 23.5672C32.8981 22.9411 32.8979 22.3122 32.8977 21.6822V21.6812V21.6802V21.6791V21.6781V21.6771V21.676V21.676V21.6759V21.6758V21.6757V21.6757V21.6756C32.8973 20.204 32.8969 18.7261 32.904 17.2614C32.8889 15.3646 34.5674 13.5687 36.5358 14.124C37.7794 14.3298 38.1851 15.6148 38.1761 16.7257C38.1821 17.7019 38.18 18.6824 38.178 19.6633V19.6638C38.1752 20.9756 38.1724 22.2881 38.1891 23.5919L40.2846 23.5731C40.2929 22.7511 40.2881 21.9245 40.2832 21.0966C40.2753 19.7402 40.2674 18.3805 40.317 17.0328C40.4418 15.2122 42.0141 13.6186 43.9064 14.1168C45.2685 14.3231 45.6136 15.7748 45.5882 16.9545C45.5938 18.4959 45.5929 20.0492 45.5921 21.5968V21.5991V21.6014V21.6037V21.606V21.6083V21.6106C45.5917 22.2749 45.5913 22.9382 45.5915 23.5989ZM20.6167 18.4408C20.5625 21.9486 25.2121 23.6996 27.2993 20.0558L29.1566 20.9592C27.8157 23.7067 24.2337 24.7424 21.5381 23.4213C18.0052 21.7253 17.41 16.5007 20.0334 13.7517C21.4609 12.1752 23.7291 11.7901 25.7206 12.3653C28.3408 13.1257 29.4974 15.8937 29.326 18.4399C27.5547 18.4415 25.7971 18.4412 24.0364 18.4409C22.8993 18.4407 21.7609 18.4405 20.6167 18.4408ZM27.1041 16.6957C26.7048 13.1033 21.2867 13.2256 20.7494 16.6957H27.1041ZM53.543 23.5999H55.6206L55.6206 22.4361C55.6205 20.7877 55.6205 19.1443 55.6207 17.4939C55.6208 16.8853 55.7234 16.297 56.0063 15.7531C56.6115 14.3862 58.1745 13.7002 59.5927 14.1774C60.7512 14.4455 61.2852 15.6069 61.2762 16.7154C61.2774 18.3497 61.2771 19.9826 61.2769 21.6162V21.6166V21.617V21.6174V21.6179L61.2766 23.6007H63.3698C63.3913 22.0924 63.3869 20.584 63.3826 19.0755V19.0754V19.0753V19.0753V19.0752C63.3799 18.1682 63.3773 17.2612 63.3803 16.3541C63.3796 15.8622 63.3103 15.3765 63.1698 14.9052C62.3248 11.5142 57.3558 11.2385 55.5828 14.0038L55.5336 13.9905V12.4917H53.539C53.4898 12.7313 53.4934 23.4113 53.543 23.5999ZM49.6211 12.4944H51.7065V23.5994H49.6211V12.4944ZM65.1035 23.5991H67.1831C67.2367 23.2198 67.2133 12.6566 67.1634 12.4983H65.1035V23.5991ZM52.1504 8.67829C52.1709 10.4847 49.2418 10.7058 49.1816 8.65714C49.2189 6.5948 52.2437 6.81331 52.1504 8.67829ZM66.1387 10.1324C64.2712 10.1609 64.1316 7.19881 66.1559 7.17114C68.1709 7.19817 68.0215 10.2087 66.1387 10.1324Z" fill="url(#paint0_linear_14286_118464)"/>
4
+ </g>
5
+ <defs>
6
+ <linearGradient id="paint0_linear_14286_118464" x1="-2" y1="0.999998" x2="67.9999" y2="27.5002" gradientUnits="userSpaceOnUse">
7
+ <stop stop-color="#7798E0"/>
8
+ <stop offset="0.210002" stop-color="#086FFF"/>
9
+ <stop offset="0.345945" stop-color="#086FFF"/>
10
+ <stop offset="0.591777" stop-color="#479AFF"/>
11
+ <stop offset="0.895892" stop-color="#B7C4FA"/>
12
+ <stop offset="1" stop-color="#B5C5F9"/>
13
+ </linearGradient>
14
+ </defs>
15
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="24" height="24" rx="6" fill="url(#paint0_linear_7301_16076)"/>
3
+ <path d="M20 12.0116C15.7043 12.42 12.3692 15.757 11.9995 20C11.652 15.8183 8.20301 12.361 4 12.0181C8.21855 11.6991 11.6656 8.1853 12.006 4C12.2833 8.19653 15.8057 11.7005 20 12.0116Z" fill="white" fill-opacity="0.88"/>
4
+ <defs>
5
+ <linearGradient id="paint0_linear_7301_16076" x1="-9" y1="29.5" x2="19.4387" y2="1.43791" gradientUnits="userSpaceOnUse">
6
+ <stop offset="0.192878" stop-color="#1C7DFF"/>
7
+ <stop offset="0.520213" stop-color="#1C69FF"/>
8
+ <stop offset="1" stop-color="#F0DCD6"/>
9
+ </linearGradient>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,47 @@
1
+ background: '#FCFDFF'
2
+ configurate_methods:
3
+ - predefined-model
4
+ description:
5
+ en_US: Google's Gemini model.
6
+ zh_Hans: 谷歌提供的 Gemini 模型.
7
+ help:
8
+ title:
9
+ en_US: Get your API Key from Google
10
+ zh_Hans: 从 Google 获取 API Key
11
+ url:
12
+ en_US: https://ai.google.dev/
13
+ icon_large:
14
+ en_US: icon_l_en.svg
15
+ icon_small:
16
+ en_US: icon_s_en.svg
17
+ label:
18
+ en_US: Gemini
19
+ provider: gemini
20
+ provider_credential_schema:
21
+ credential_form_schemas:
22
+ - label:
23
+ en_US: API Key
24
+ placeholder:
25
+ en_US: Enter your API Key
26
+ zh_Hans: 在此输入您的 API Key
27
+ required: true
28
+ type: secret-input
29
+ variable: google_api_key
30
+ - label:
31
+ en_US: Base URL
32
+ placeholder:
33
+ en_US: Enter your Base URL
34
+ zh_Hans: 在此输入您的 Base URL
35
+ required: false
36
+ type: text-input
37
+ variable: google_base_url
38
+ - label:
39
+ en_US: Files URL
40
+ placeholder:
41
+ en_US: Enter the Local FILES URL prefix to get better upload performance
42
+ zh_Hans: 在此输入本地文件地址的URL前缀
43
+ required: false
44
+ type: text-input
45
+ variable: file_url
46
+ supported_model_types:
47
+ - llm
@@ -0,0 +1,12 @@
1
+ - gemini-3-pro-preview
2
+ - gemini-3-pro-image-preview
3
+ - gemini-2.5-pro
4
+ - gemini-2.5-flash
5
+ - gemini-2.5-flash-lite
6
+ - gemini-2.5-flash-image
7
+ - gemini-flash-latest
8
+ - gemini-flash-lite-latest
9
+ - gemini-2.0-flash
10
+ - gemini-2.0-flash-001
11
+ - gemini-2.0-flash-lite-001
12
+ - gemini-2.0-flash-lite
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-flash-001
2
+ label:
3
+ en_US: Gemini 1.5 Flash 001
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-flash-002
2
+ label:
3
+ en_US: Gemini 1.5 Flash 002
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-flash-8b-exp-0827
2
+ label:
3
+ en_US: Gemini 1.5 Flash 8B 0827
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-flash-8b-exp-0924
2
+ label:
3
+ en_US: Gemini 1.5 Flash 8B 0924
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-flash-exp-0827
2
+ label:
3
+ en_US: Gemini 1.5 Flash 0827
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,45 @@
1
+ model: gemini-1.5-flash-latest
2
+ label:
3
+ en_US: Gemini 1.5 Flash Latest
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ default: 1
20
+ min: 0
21
+ max: 2
22
+ - name: top_p
23
+ use_template: top_p
24
+ - name: top_k
25
+ label:
26
+ zh_Hans: 取样数量
27
+ en_US: Top k
28
+ type: int
29
+ help:
30
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
31
+ en_US: Only sample from the top K options for each subsequent token.
32
+ required: false
33
+ - name: max_output_tokens
34
+ use_template: max_tokens
35
+ default: 8192
36
+ min: 1
37
+ max: 8192
38
+ - name: json_schema
39
+ use_template: json_schema
40
+ pricing:
41
+ input: '0.00'
42
+ output: '0.00'
43
+ unit: '0.000001'
44
+ currency: USD
45
+ deprecated: true
@@ -0,0 +1,45 @@
1
+ model: gemini-1.5-flash
2
+ label:
3
+ en_US: Gemini 1.5 Flash
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 1048576
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ default: 1
20
+ min: 0
21
+ max: 2
22
+ - name: top_p
23
+ use_template: top_p
24
+ - name: top_k
25
+ label:
26
+ zh_Hans: 取样数量
27
+ en_US: Top k
28
+ type: int
29
+ help:
30
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
31
+ en_US: Only sample from the top K options for each subsequent token.
32
+ required: false
33
+ - name: max_output_tokens
34
+ use_template: max_tokens
35
+ default: 8192
36
+ min: 1
37
+ max: 8192
38
+ - name: json_schema
39
+ use_template: json_schema
40
+ pricing:
41
+ input: '0.00'
42
+ output: '0.00'
43
+ unit: '0.000001'
44
+ currency: USD
45
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-pro-001
2
+ label:
3
+ en_US: Gemini 1.5 Pro 001
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 2097152
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-pro-002
2
+ label:
3
+ en_US: Gemini 1.5 Pro 002
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 2097152
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-pro-exp-0801
2
+ label:
3
+ en_US: Gemini 1.5 Pro 0801
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 2097152
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,42 @@
1
+ model: gemini-1.5-pro-exp-0827
2
+ label:
3
+ en_US: Gemini 1.5 Pro 0827
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 2097152
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ - name: top_p
20
+ use_template: top_p
21
+ - name: top_k
22
+ label:
23
+ zh_Hans: 取样数量
24
+ en_US: Top k
25
+ type: int
26
+ help:
27
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28
+ en_US: Only sample from the top K options for each subsequent token.
29
+ required: false
30
+ - name: max_output_tokens
31
+ use_template: max_tokens
32
+ default: 8192
33
+ min: 1
34
+ max: 8192
35
+ - name: json_schema
36
+ use_template: json_schema
37
+ pricing:
38
+ input: '0.00'
39
+ output: '0.00'
40
+ unit: '0.000001'
41
+ currency: USD
42
+ deprecated: true
@@ -0,0 +1,45 @@
1
+ model: gemini-1.5-pro-latest
2
+ label:
3
+ en_US: Gemini 1.5 Pro Latest
4
+ model_type: llm
5
+ features:
6
+ - agent-thought
7
+ - vision
8
+ - tool-call
9
+ - stream-tool-call
10
+ - document
11
+ - video
12
+ - audio
13
+ model_properties:
14
+ mode: chat
15
+ context_size: 2097152
16
+ parameter_rules:
17
+ - name: temperature
18
+ use_template: temperature
19
+ default: 1
20
+ min: 0
21
+ max: 2
22
+ - name: top_p
23
+ use_template: top_p
24
+ - name: top_k
25
+ label:
26
+ zh_Hans: 取样数量
27
+ en_US: Top k
28
+ type: int
29
+ help:
30
+ zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
31
+ en_US: Only sample from the top K options for each subsequent token.
32
+ required: false
33
+ - name: max_output_tokens
34
+ use_template: max_tokens
35
+ default: 8192
36
+ min: 1
37
+ max: 8192
38
+ - name: json_schema
39
+ use_template: json_schema
40
+ pricing:
41
+ input: '0.00'
42
+ output: '0.00'
43
+ unit: '0.000001'
44
+ currency: USD
45
+ deprecated: true