Skip to content

Commit

Permalink
add default model config (#3653)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored Jan 23, 2025
1 parent 34b510c commit 2c03abc
Show file tree
Hide file tree
Showing 63 changed files with 1,762 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docSite/content/zh-cn/docs/development/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ weight: 707
- OpenAI
- Claude
- Gemini
- Meta
- MistralAI
- Groq
- AliCloud - 阿里云
- Qwen - 通义千问
- Doubao - 豆包
Expand Down
10 changes: 10 additions & 0 deletions packages/service/core/ai/config/embedding/text-embedding-004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"provider": "Gemini",
"model": "text-embedding-004",
"name": "text-embedding-004",

"defaultToken": 512,
"maxToken": 2000,

"charsPointsPrice": 0
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"provider": "OpenAI",
"model": "text-embedding-3-large",
"name": "text-embedding-3-large",

"defaultToken": 512,
"maxToken": 3000,

"charsPointsPrice": 0,

"defaultConfig": {
"dimensions": 1024
}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/Doubao-lite-128k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Doubao",
"model": "Doubao-lite-128k",
"name": "Doubao-lite-128k",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 128000,
"maxResponse": 4000,
"quoteMaxToken": 120000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": false,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/Doubao-lite-32k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Doubao",
"model": "Doubao-lite-32k",
"name": "Doubao-lite-32k",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 32000,
"maxResponse": 4000,
"quoteMaxToken": 30000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": true,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": false,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/Doubao-pro-128k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Doubao",
"model": "Doubao-pro-128k",
"name": "Doubao-pro-128k",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 128000,
"maxResponse": 4000,
"quoteMaxToken": 120000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": false,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/Doubao-pro-32k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Doubao",
"model": "Doubao-pro-32k",
"name": "Doubao-pro-32k",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 32000,
"maxResponse": 4000,
"quoteMaxToken": 30000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": true,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": false,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/Doubao-vision-lite-32k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Doubao",
"model": "Doubao-vision-lite-32k",
"name": "Doubao-vision-lite-32k",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 32000,
"maxResponse": 4000,
"quoteMaxToken": 30000,
"maxTemperature": 1,

"vision": true,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": true,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": false,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/Doubao-vision-pro-32k.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Doubao",
"model": "Doubao-vision-pro-32k",
"name": "Doubao-vision-pro-32k",

"censor": false,
"charsPointsPrice": 2,

"maxContext": 32000,
"maxResponse": 4000,
"quoteMaxToken": 30000,
"maxTemperature": 1,

"vision": true,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": true,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": false,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/ERNIE-4.0-8K.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Ernie",
"model": "ERNIE-4.0-8K",
"name": "ERNIE-4.0-8K",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 8000,
"maxResponse": 2048,
"quoteMaxToken": 5000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": true,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/ERNIE-4.0-Turbo-8K.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Ernie",
"model": "ERNIE-4.0-Turbo-8K",
"name": "ERNIE-4.0-Turbo-8K",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 8000,
"maxResponse": 2048,
"quoteMaxToken": 5000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": true,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/ERNIE-Lite-8K.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Ernie",
"model": "ERNIE-Lite-8K",
"name": "ERNIE-lite-8k",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 8000,
"maxResponse": 2048,
"quoteMaxToken": 6000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": true,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/ERNIE-Speed-128K.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "Ernie",
"model": "ERNIE-Speed-128K",
"name": "ERNIE-Speed-128K(测试)",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 128000,
"maxResponse": 4096,
"quoteMaxToken": 120000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": true,

"defaultConfig": {},
"fieldMap": {}
}
29 changes: 29 additions & 0 deletions packages/service/core/ai/config/llm/MiniMax-Text-01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"provider": "MiniMax",
"model": "MiniMax-Text-01",
"name": "MiniMax-Text-01",

"censor": false,
"charsPointsPrice": 0,

"maxContext": 1000000,
"maxResponse": 1000000,
"quoteMaxToken": 100000,
"maxTemperature": 1,

"vision": false,
"toolChoice": false,
"functionCall": false,
"defaultSystemChatPrompt": "",

"datasetProcess": false,
"usedInClassify": true,
"customCQPrompt": "",
"usedInExtractFields": true,
"usedInQueryExtension": true,
"customExtractPrompt": "",
"usedInToolCall": true,

"defaultConfig": {},
"fieldMap": {}
}
22 changes: 22 additions & 0 deletions packages/service/core/ai/config/llm/SparkDesk-v3.5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"provider": "SparkDesk",
"model": "SparkDesk-v3.5",
"name": "SparkDesk-v3.5",
"maxContext": 8000,
"maxResponse": 8000,
"quoteMaxToken": 6000,
"maxTemperature": 1,
"charsPointsPrice": 0.3,
"censor": false,
"vision": false,
"datasetProcess": false,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"usedInQueryExtension": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": ""
}
Loading

0 comments on commit 2c03abc

Please sign in to comment.