Skip to content

Commit

Permalink
add gemini model
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Jan 25, 2025
1 parent fcf14af commit 8af3d85
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions packages/service/core/ai/config/provider/Gemini.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"list": [
{
"model": "gemini-1.5-flash",
"name": "Gemini-1.5-flash",
"name": "gemini-1.5-flash",
"maxContext": 1000000,
"maxResponse": 8000,
"quoteMaxToken": 60000,
Expand All @@ -25,7 +25,7 @@
},
{
"model": "gemini-1.5-pro",
"name": "Gemini-1.5-pro",
"name": "gemini-1.5-pro",
"maxContext": 2000000,
"maxResponse": 8000,
"quoteMaxToken": 60000,
Expand All @@ -47,7 +47,29 @@
},
{
"model": "gemini-2.0-flash-exp",
"name": "Gemini-2.0-flash-exp",
"name": "gemini-2.0-flash-exp",
"maxContext": 1000000,
"maxResponse": 8000,
"quoteMaxToken": 60000,
"maxTemperature": 1,
"vision": true,
"toolChoice": true,
"functionCall": false,
"defaultSystemChatPrompt": "",
"datasetProcess": true,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": true,
"defaultConfig": {},
"fieldMap": {},
"type": "llm"
},
{
"model": "gemini-2.0-flash-thinking-exp-1219",
"name": "gemini-2.0-flash-thinking-exp-1219",
"maxContext": 1000000,
"maxResponse": 8000,
"quoteMaxToken": 60000,
Expand All @@ -69,7 +91,7 @@
},
{
"model": "gemini-2.0-flash-thinking-exp-01-21",
"name": "Gemini-2.0-flash-thinking-exp",
"name": "gemini-2.0-flash-thinking-exp-01-21",
"maxContext": 1000000,
"maxResponse": 8000,
"quoteMaxToken": 60000,
Expand Down Expand Up @@ -119,4 +141,4 @@
"type": "embedding"
}
]
}
}

0 comments on commit 8af3d85

Please sign in to comment.