Skip to content

Commit 5bc3e29

Browse files
committed
perf: gemini config
1 parent d57f907 commit 5bc3e29

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

packages/service/core/ai/config/provider/Gemini.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
11
{
22
"provider": "Gemini",
33
"list": [
4+
{
5+
"model": "gemini-2.0-flash",
6+
"name": "gemini-2.0-flash",
7+
"maxContext": 1000000,
8+
"maxResponse": 8000,
9+
"quoteMaxToken": 60000,
10+
"maxTemperature": 1,
11+
"vision": true,
12+
"toolChoice": true,
13+
"functionCall": false,
14+
"defaultSystemChatPrompt": "",
15+
"datasetProcess": true,
16+
"usedInClassify": true,
17+
"customCQPrompt": "",
18+
"usedInExtractFields": true,
19+
"usedInQueryExtension": true,
20+
"customExtractPrompt": "",
21+
"usedInToolCall": true,
22+
"defaultConfig": {},
23+
"fieldMap": {},
24+
"type": "llm",
25+
"showTopP": true,
26+
"showStopSign": true
27+
},
28+
{
29+
"model": "gemini-2.0-pro-exp",
30+
"name": "gemini-2.0-pro-exp",
31+
"maxContext": 2000000,
32+
"maxResponse": 8000,
33+
"quoteMaxToken": 100000,
34+
"maxTemperature": 1,
35+
"vision": true,
36+
"toolChoice": true,
37+
"functionCall": false,
38+
"defaultSystemChatPrompt": "",
39+
"datasetProcess": true,
40+
"usedInClassify": true,
41+
"customCQPrompt": "",
42+
"usedInExtractFields": true,
43+
"usedInQueryExtension": true,
44+
"customExtractPrompt": "",
45+
"usedInToolCall": true,
46+
"defaultConfig": {},
47+
"fieldMap": {},
48+
"type": "llm",
49+
"showTopP": true,
50+
"showStopSign": true
51+
},
452
{
553
"model": "gemini-1.5-flash",
654
"name": "gemini-1.5-flash",
@@ -153,4 +201,4 @@
153201
"type": "embedding"
154202
}
155203
]
156-
}
204+
}

0 commit comments

Comments
 (0)