Update config.json
Browse files- config.json +236 -133
config.json
CHANGED
|
@@ -1,24 +1,28 @@
|
|
| 1 |
{
|
| 2 |
"systemEnv": {
|
| 3 |
"openapiPrefix": "fastgpt",
|
| 4 |
-
"vectorMaxProcess":
|
| 5 |
-
"qaMaxProcess":
|
| 6 |
-
"pgHNSWEfSearch":
|
| 7 |
},
|
| 8 |
"llmModels": [
|
| 9 |
{
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"maxContext":
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
"censor": false,
|
| 20 |
-
"vision":
|
| 21 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"toolChoice": true,
|
| 23 |
"functionCall": true,
|
| 24 |
"customCQPrompt": "",
|
|
@@ -27,18 +31,22 @@
|
|
| 27 |
"defaultConfig": {}
|
| 28 |
},
|
| 29 |
{
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"maxContext":
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
"censor": false,
|
| 40 |
-
"vision":
|
| 41 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
"toolChoice": true,
|
| 43 |
"functionCall": true,
|
| 44 |
"customCQPrompt": "",
|
|
@@ -47,18 +55,22 @@
|
|
| 47 |
"defaultConfig": {}
|
| 48 |
},
|
| 49 |
{
|
| 50 |
-
"
|
| 51 |
-
"
|
| 52 |
-
"
|
| 53 |
"maxContext": 128000,
|
| 54 |
-
"
|
| 55 |
-
"
|
| 56 |
-
"
|
| 57 |
-
"
|
| 58 |
-
"
|
| 59 |
-
"censor":
|
| 60 |
"vision": true,
|
| 61 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
"toolChoice": true,
|
| 63 |
"functionCall": true,
|
| 64 |
"customCQPrompt": "",
|
|
@@ -67,18 +79,22 @@
|
|
| 67 |
"defaultConfig": {}
|
| 68 |
},
|
| 69 |
{
|
| 70 |
-
"
|
| 71 |
-
"
|
|
|
|
|
|
|
| 72 |
"avatar": "/imgs/model/openai.svg",
|
| 73 |
-
"
|
| 74 |
-
"
|
| 75 |
-
"
|
| 76 |
-
"
|
| 77 |
-
"inputPrice": 10,
|
| 78 |
-
"outputPrice": 30,
|
| 79 |
"censor": true,
|
| 80 |
"vision": true,
|
| 81 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
"toolChoice": true,
|
| 83 |
"functionCall": true,
|
| 84 |
"customCQPrompt": "",
|
|
@@ -87,98 +103,142 @@
|
|
| 87 |
"defaultConfig": {}
|
| 88 |
},
|
| 89 |
{
|
| 90 |
-
"
|
| 91 |
-
"
|
| 92 |
-
"
|
| 93 |
-
"maxContext":
|
| 94 |
-
"maxResponse":
|
| 95 |
-
"quoteMaxToken":
|
| 96 |
-
"maxTemperature": 1.
|
| 97 |
-
"
|
| 98 |
-
"
|
| 99 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
"vision": true,
|
| 101 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
"toolChoice": true,
|
| 103 |
-
"functionCall":
|
| 104 |
"customCQPrompt": "",
|
| 105 |
"customExtractPrompt": "",
|
| 106 |
"defaultSystemChatPrompt": "",
|
| 107 |
-
"defaultConfig": {}
|
|
|
|
| 108 |
},
|
| 109 |
{
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
"
|
| 113 |
-
"
|
| 114 |
-
"
|
| 115 |
-
"
|
| 116 |
-
"
|
| 117 |
-
"
|
| 118 |
-
"
|
| 119 |
-
"censor":
|
| 120 |
"vision": true,
|
| 121 |
-
"datasetProcess":
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
"toolChoice": true,
|
| 123 |
-
"functionCall":
|
| 124 |
"customCQPrompt": "",
|
| 125 |
"customExtractPrompt": "",
|
| 126 |
"defaultSystemChatPrompt": "",
|
| 127 |
"defaultConfig": {}
|
| 128 |
},
|
| 129 |
{
|
| 130 |
-
"
|
| 131 |
-
"
|
| 132 |
-
"
|
| 133 |
"maxContext": 128000,
|
| 134 |
-
"
|
| 135 |
-
"
|
| 136 |
-
"
|
| 137 |
-
"
|
| 138 |
-
"
|
| 139 |
-
"censor":
|
| 140 |
"vision": true,
|
| 141 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
"toolChoice": true,
|
| 143 |
"functionCall": true,
|
| 144 |
"customCQPrompt": "",
|
| 145 |
"customExtractPrompt": "",
|
| 146 |
"defaultSystemChatPrompt": "",
|
| 147 |
"defaultConfig": {}
|
| 148 |
-
},
|
| 149 |
{
|
| 150 |
-
"
|
| 151 |
-
"
|
| 152 |
-
"
|
| 153 |
-
"
|
| 154 |
-
"
|
| 155 |
-
"
|
| 156 |
-
"
|
| 157 |
-
"
|
| 158 |
-
"
|
| 159 |
"censor": false,
|
| 160 |
"vision": true,
|
| 161 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
"toolChoice": true,
|
| 163 |
"functionCall": true,
|
| 164 |
"customCQPrompt": "",
|
| 165 |
"customExtractPrompt": "",
|
| 166 |
"defaultSystemChatPrompt": "",
|
| 167 |
"defaultConfig": {}
|
| 168 |
-
},
|
| 169 |
{
|
| 170 |
-
"
|
| 171 |
-
"
|
| 172 |
-
"
|
| 173 |
-
"
|
| 174 |
-
"
|
| 175 |
-
"
|
| 176 |
-
"
|
| 177 |
-
"
|
| 178 |
-
"
|
| 179 |
"censor": false,
|
| 180 |
"vision": true,
|
| 181 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
"toolChoice": true,
|
| 183 |
"functionCall": true,
|
| 184 |
"customCQPrompt": "",
|
|
@@ -187,18 +247,22 @@
|
|
| 187 |
"defaultConfig": {}
|
| 188 |
},
|
| 189 |
{
|
| 190 |
-
"
|
| 191 |
-
"
|
| 192 |
-
"
|
| 193 |
-
"
|
| 194 |
-
"
|
| 195 |
-
"
|
| 196 |
-
"
|
| 197 |
-
"
|
| 198 |
-
"
|
| 199 |
"censor": false,
|
| 200 |
"vision": true,
|
| 201 |
"datasetProcess": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
"toolChoice": true,
|
| 203 |
"functionCall": true,
|
| 204 |
"customCQPrompt": "",
|
|
@@ -207,68 +271,107 @@
|
|
| 207 |
"defaultConfig": {}
|
| 208 |
},
|
| 209 |
{
|
| 210 |
-
"
|
| 211 |
-
"
|
| 212 |
-
"
|
| 213 |
-
"
|
| 214 |
-
"
|
| 215 |
-
"
|
| 216 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
"charsPointsPrice": 0,
|
| 218 |
"censor": false,
|
| 219 |
-
"vision":
|
| 220 |
"datasetProcess": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
"toolChoice": false,
|
| 222 |
"functionCall": false,
|
| 223 |
"customCQPrompt": "",
|
| 224 |
"customExtractPrompt": "",
|
| 225 |
"defaultSystemChatPrompt": "",
|
| 226 |
"defaultConfig": {}
|
| 227 |
-
}
|
| 228 |
],
|
| 229 |
"vectorModels": [
|
| 230 |
{
|
| 231 |
-
"model": "
|
| 232 |
-
"name": "
|
| 233 |
-
"avatar": "/imgs/model/openai.svg",
|
| 234 |
"charsPointsPrice": 0,
|
| 235 |
-
"defaultToken":
|
| 236 |
-
"maxToken":
|
| 237 |
"weight": 100
|
| 238 |
},
|
| 239 |
{
|
| 240 |
-
"model": "
|
| 241 |
-
"name": "
|
| 242 |
"avatar": "/imgs/model/openai.svg",
|
| 243 |
"charsPointsPrice": 0,
|
| 244 |
-
"defaultToken":
|
| 245 |
-
"maxToken":
|
| 246 |
"weight": 100,
|
| 247 |
-
"defaultConfig": {
|
| 248 |
-
|
| 249 |
-
}
|
| 250 |
},
|
| 251 |
{
|
| 252 |
-
"
|
| 253 |
-
"
|
| 254 |
-
"
|
| 255 |
"charsPointsPrice": 0,
|
| 256 |
"defaultToken": 512,
|
| 257 |
"maxToken": 3000,
|
| 258 |
-
"weight": 100
|
|
|
|
|
|
|
| 259 |
}
|
| 260 |
],
|
| 261 |
-
|
| 262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
{
|
| 264 |
"model": "tts-1",
|
| 265 |
"name": "OpenAI TTS1",
|
| 266 |
"charsPointsPrice": 0,
|
| 267 |
"voices": [
|
| 268 |
{
|
| 269 |
-
"label": "
|
| 270 |
"value": "alloy",
|
| 271 |
-
"bufferId": "openai
|
| 272 |
},
|
| 273 |
{
|
| 274 |
"label": "Echo",
|
|
@@ -286,9 +389,9 @@
|
|
| 286 |
"bufferId": "openai-Onyx"
|
| 287 |
},
|
| 288 |
{
|
| 289 |
-
"label": "
|
| 290 |
"value": "nova",
|
| 291 |
-
"bufferId": "openai-
|
| 292 |
},
|
| 293 |
{
|
| 294 |
"label": "Shimmer",
|
|
|
|
| 1 |
{
|
| 2 |
"systemEnv": {
|
| 3 |
"openapiPrefix": "fastgpt",
|
| 4 |
+
"vectorMaxProcess": 15,
|
| 5 |
+
"qaMaxProcess": 15,
|
| 6 |
+
"pgHNSWEfSearch": 100
|
| 7 |
},
|
| 8 |
"llmModels": [
|
| 9 |
{
|
| 10 |
+
"provider": "Gemini",
|
| 11 |
+
"model": "gemini-exp-1206",
|
| 12 |
+
"name": "gemini-exp-1206",
|
| 13 |
+
"maxContext": 16000,
|
| 14 |
+
"avatar": "/imgs/model/openai.svg",
|
| 15 |
+
"maxResponse": 4000,
|
| 16 |
+
"quoteMaxToken": 13000,
|
| 17 |
+
"maxTemperature": 0.8,
|
| 18 |
+
"charsPointsPrice": 0,
|
| 19 |
"censor": false,
|
| 20 |
+
"vision": true,
|
| 21 |
"datasetProcess": true,
|
| 22 |
+
"usedInClassify": true,
|
| 23 |
+
"usedInExtractFields": true,
|
| 24 |
+
"usedInToolCall": true,
|
| 25 |
+
"usedInQueryExtension": true,
|
| 26 |
"toolChoice": true,
|
| 27 |
"functionCall": true,
|
| 28 |
"customCQPrompt": "",
|
|
|
|
| 31 |
"defaultConfig": {}
|
| 32 |
},
|
| 33 |
{
|
| 34 |
+
"provider": "Gemini",
|
| 35 |
+
"model": "gemini-2.0-flash-exp",
|
| 36 |
+
"name": "gemini-2.0-flash-exp",
|
| 37 |
+
"maxContext": 36000,
|
| 38 |
+
"avatar": "/imgs/model/openai.svg",
|
| 39 |
+
"maxResponse": 4000,
|
| 40 |
+
"quoteMaxToken": 23000,
|
| 41 |
+
"maxTemperature": 1.2,
|
| 42 |
+
"charsPointsPrice": 0,
|
| 43 |
"censor": false,
|
| 44 |
+
"vision": true,
|
| 45 |
"datasetProcess": true,
|
| 46 |
+
"usedInClassify": true,
|
| 47 |
+
"usedInExtractFields": true,
|
| 48 |
+
"usedInToolCall": true,
|
| 49 |
+
"usedInQueryExtension": true,
|
| 50 |
"toolChoice": true,
|
| 51 |
"functionCall": true,
|
| 52 |
"customCQPrompt": "",
|
|
|
|
| 55 |
"defaultConfig": {}
|
| 56 |
},
|
| 57 |
{
|
| 58 |
+
"provider": "Gemini",
|
| 59 |
+
"model": "gemini-2.0-flash-thinking-exp-1219",
|
| 60 |
+
"name": "gemini-2.0-flash-thinking-exp-1219",
|
| 61 |
"maxContext": 128000,
|
| 62 |
+
"avatar": "/imgs/model/openai.svg",
|
| 63 |
+
"maxResponse": 4000,
|
| 64 |
+
"quoteMaxToken": 130000,
|
| 65 |
+
"maxTemperature": 1.2,
|
| 66 |
+
"charsPointsPrice": 0,
|
| 67 |
+
"censor": false,
|
| 68 |
"vision": true,
|
| 69 |
"datasetProcess": true,
|
| 70 |
+
"usedInClassify": true,
|
| 71 |
+
"usedInExtractFields": true,
|
| 72 |
+
"usedInToolCall": true,
|
| 73 |
+
"usedInQueryExtension": true,
|
| 74 |
"toolChoice": true,
|
| 75 |
"functionCall": true,
|
| 76 |
"customCQPrompt": "",
|
|
|
|
| 79 |
"defaultConfig": {}
|
| 80 |
},
|
| 81 |
{
|
| 82 |
+
"provider": "Gemini",
|
| 83 |
+
"model": "gemini-2.0-flash-exp-search",
|
| 84 |
+
"name": "搜索gemini",
|
| 85 |
+
"maxContext": 16000,
|
| 86 |
"avatar": "/imgs/model/openai.svg",
|
| 87 |
+
"maxResponse": 4000,
|
| 88 |
+
"quoteMaxToken": 13000,
|
| 89 |
+
"maxTemperature": 1.2,
|
| 90 |
+
"charsPointsPrice": 0,
|
|
|
|
|
|
|
| 91 |
"censor": true,
|
| 92 |
"vision": true,
|
| 93 |
"datasetProcess": true,
|
| 94 |
+
"usedInClassify": true,
|
| 95 |
+
"usedInExtractFields": true,
|
| 96 |
+
"usedInToolCall": true,
|
| 97 |
+
"usedInQueryExtension": true,
|
| 98 |
"toolChoice": true,
|
| 99 |
"functionCall": true,
|
| 100 |
"customCQPrompt": "",
|
|
|
|
| 103 |
"defaultConfig": {}
|
| 104 |
},
|
| 105 |
{
|
| 106 |
+
"provider": "OpenAI", // 模型提供商,主要用于分类展示,目前已经内置提供商包括:https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts, 可 pr 提供新的提供商,或直接填写 Other
|
| 107 |
+
"model": "gpt-4o-mini", // 模型名(对应OneAPI中渠道的模型名)
|
| 108 |
+
"name": "gpt-4o-mini", // 模型别名
|
| 109 |
+
"maxContext": 125000, // 最大上下文
|
| 110 |
+
"maxResponse": 16000, // 最大回复
|
| 111 |
+
"quoteMaxToken": 120000, // 最大引用内容
|
| 112 |
+
"maxTemperature": 1.2, // 最大温度
|
| 113 |
+
"charsPointsPrice": 0, // n积分/1k token(商业版)
|
| 114 |
+
"censor": false, // 是否开启敏感校验(商业版)
|
| 115 |
+
"vision": true, // 是否支持图片输入
|
| 116 |
+
"datasetProcess": true, // 是否设置为文本理解模型(QA),务必保证至少有一个为true,否则知识库会报错
|
| 117 |
+
"usedInClassify": true, // 是否用于问题分类(务必保证至少有一个为true)
|
| 118 |
+
"usedInExtractFields": true, // 是否用于内容提取(务必保证至少有一个为true)
|
| 119 |
+
"usedInToolCall": true, // 是否用于工具调用(务必保证至少有一个为true)
|
| 120 |
+
"usedInQueryExtension": true, // 是否用于问题优化(务必保证至少有一个为true)
|
| 121 |
+
"toolChoice": true, // 是否支持工具选择(分类,内容提取,工具调用会用到。)
|
| 122 |
+
"functionCall": false, // 是否支持函数调用(分类,内容提取,工具调用会用到。会优先使用 toolChoice,如果为false,则使用 functionCall,如果仍为 false,则使用提示词模式)
|
| 123 |
+
"customCQPrompt": "", // 自定义文本分类提示词(不支持工具和函数调用的模型
|
| 124 |
+
"customExtractPrompt": "", // 自定义内容提取提示词
|
| 125 |
+
"defaultSystemChatPrompt": "", // 对话默认携带的系统提示词
|
| 126 |
+
"defaultConfig": {}, // 请求API时,挟带一些默认配置(比如 GLM4 的 top_p)
|
| 127 |
+
"fieldMap": {} // 字段映射(o1 模型需要把 max_tokens 映射为 max_completion_tokens)
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"provider": "OpenAI",
|
| 131 |
+
"model": "gpt-4o",
|
| 132 |
+
"name": "gpt-4o",
|
| 133 |
+
"maxContext": 125000,
|
| 134 |
+
"maxResponse": 4000,
|
| 135 |
+
"quoteMaxToken": 120000,
|
| 136 |
+
"maxTemperature": 1.2,
|
| 137 |
+
"charsPointsPrice": 0,
|
| 138 |
+
"censor": false,
|
| 139 |
"vision": true,
|
| 140 |
"datasetProcess": true,
|
| 141 |
+
"usedInClassify": true,
|
| 142 |
+
"usedInExtractFields": true,
|
| 143 |
+
"usedInToolCall": true,
|
| 144 |
+
"usedInQueryExtension": true,
|
| 145 |
"toolChoice": true,
|
| 146 |
+
"functionCall": false,
|
| 147 |
"customCQPrompt": "",
|
| 148 |
"customExtractPrompt": "",
|
| 149 |
"defaultSystemChatPrompt": "",
|
| 150 |
+
"defaultConfig": {},
|
| 151 |
+
"fieldMap": {}
|
| 152 |
},
|
| 153 |
{
|
| 154 |
+
"provider": "OpenAI",
|
| 155 |
+
"model": "gpt-4-turbo",
|
| 156 |
+
"name": "gpt-4-turbo",
|
| 157 |
+
"avatar": "/imgs/model/openai.svg",
|
| 158 |
+
"maxContext": 125000,
|
| 159 |
+
"maxResponse": 4000,
|
| 160 |
+
"quoteMaxToken": 120000,
|
| 161 |
+
"maxTemperature": 1.2,
|
| 162 |
+
"charsPointsPrice": 0,
|
| 163 |
+
"censor": false,
|
| 164 |
"vision": true,
|
| 165 |
+
"datasetProcess": false,
|
| 166 |
+
"usedInClassify": true,
|
| 167 |
+
"usedInExtractFields": true,
|
| 168 |
+
"usedInToolCall": true,
|
| 169 |
+
"usedInQueryExtension": true,
|
| 170 |
"toolChoice": true,
|
| 171 |
+
"functionCall": false,
|
| 172 |
"customCQPrompt": "",
|
| 173 |
"customExtractPrompt": "",
|
| 174 |
"defaultSystemChatPrompt": "",
|
| 175 |
"defaultConfig": {}
|
| 176 |
},
|
| 177 |
{
|
| 178 |
+
"provider": "OpenAI",
|
| 179 |
+
"model": "o1-preview",
|
| 180 |
+
"name": "o1-preview",
|
| 181 |
"maxContext": 128000,
|
| 182 |
+
"avatar": "/imgs/model/openai.svg",
|
| 183 |
+
"maxResponse": 4000,
|
| 184 |
+
"quoteMaxToken": 120000,
|
| 185 |
+
"maxTemperature": 1.2,
|
| 186 |
+
"charsPointsPrice": 0,
|
| 187 |
+
"censor": true,
|
| 188 |
"vision": true,
|
| 189 |
"datasetProcess": true,
|
| 190 |
+
"usedInClassify": true,
|
| 191 |
+
"usedInExtractFields": true,
|
| 192 |
+
"usedInToolCall": true,
|
| 193 |
+
"usedInQueryExtension": true,
|
| 194 |
"toolChoice": true,
|
| 195 |
"functionCall": true,
|
| 196 |
"customCQPrompt": "",
|
| 197 |
"customExtractPrompt": "",
|
| 198 |
"defaultSystemChatPrompt": "",
|
| 199 |
"defaultConfig": {}
|
| 200 |
+
},
|
| 201 |
{
|
| 202 |
+
"provider": "Other",
|
| 203 |
+
"model": "deepseek-ai/DeepSeek-V2.5",
|
| 204 |
+
"name": "deepseek-ai/DeepSeek-V2.5",
|
| 205 |
+
"avatar": "/imgs/model/google.svg",
|
| 206 |
+
"maxContext": 409600,
|
| 207 |
+
"maxResponse": 4000,
|
| 208 |
+
"quoteMaxToken": 2100000,
|
| 209 |
+
"maxTemperature": 2,
|
| 210 |
+
"charsPointsPrice": 0,
|
| 211 |
"censor": false,
|
| 212 |
"vision": true,
|
| 213 |
"datasetProcess": true,
|
| 214 |
+
"usedInClassify": true,
|
| 215 |
+
"usedInExtractFields": true,
|
| 216 |
+
"usedInToolCall": true,
|
| 217 |
+
"usedInQueryExtension": true,
|
| 218 |
"toolChoice": true,
|
| 219 |
"functionCall": true,
|
| 220 |
"customCQPrompt": "",
|
| 221 |
"customExtractPrompt": "",
|
| 222 |
"defaultSystemChatPrompt": "",
|
| 223 |
"defaultConfig": {}
|
| 224 |
+
},
|
| 225 |
{
|
| 226 |
+
"provider": "DeepSeek",
|
| 227 |
+
"model": "deepseek-chat",
|
| 228 |
+
"name": "deepseek-chat",
|
| 229 |
+
"avatar": "/imgs/model/google.svg",
|
| 230 |
+
"maxContext": 409600,
|
| 231 |
+
"maxResponse": 4000,
|
| 232 |
+
"quoteMaxToken": 2100000,
|
| 233 |
+
"maxTemperature": 2,
|
| 234 |
+
"charsPointsPrice": 0,
|
| 235 |
"censor": false,
|
| 236 |
"vision": true,
|
| 237 |
"datasetProcess": true,
|
| 238 |
+
"usedInClassify": true,
|
| 239 |
+
"usedInExtractFields": true,
|
| 240 |
+
"usedInToolCall": true,
|
| 241 |
+
"usedInQueryExtension": true,
|
| 242 |
"toolChoice": true,
|
| 243 |
"functionCall": true,
|
| 244 |
"customCQPrompt": "",
|
|
|
|
| 247 |
"defaultConfig": {}
|
| 248 |
},
|
| 249 |
{
|
| 250 |
+
"provider": "Claude",
|
| 251 |
+
"model": "claude-3-5-sonnet-20240620",
|
| 252 |
+
"name": "claude-3-5-sonnet-20240620",
|
| 253 |
+
"avatar": "/imgs/model/google.svg",
|
| 254 |
+
"maxContext": 2105344,
|
| 255 |
+
"maxResponse": 270000,
|
| 256 |
+
"quoteMaxToken": 1800000,
|
| 257 |
+
"maxTemperature": 2,
|
| 258 |
+
"charsPointsPrice": 0,
|
| 259 |
"censor": false,
|
| 260 |
"vision": true,
|
| 261 |
"datasetProcess": true,
|
| 262 |
+
"usedInClassify": true,
|
| 263 |
+
"usedInExtractFields": true,
|
| 264 |
+
"usedInToolCall": true,
|
| 265 |
+
"usedInQueryExtension": true,
|
| 266 |
"toolChoice": true,
|
| 267 |
"functionCall": true,
|
| 268 |
"customCQPrompt": "",
|
|
|
|
| 271 |
"defaultConfig": {}
|
| 272 |
},
|
| 273 |
{
|
| 274 |
+
"provider": "Other", // 模型提供商,主要用于分类展示,目前已经内置提供商包括:https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts, 可 pr 提供新的提供商,或直接填写 Other
|
| 275 |
+
"model": "Qwen/Qwen2.5-72B-Instruct-128K", // 模型名(对应OneAPI中渠道的模型名)
|
| 276 |
+
"name": "Qwen/Qwen2.5-72B-Instruct-128K", // 模型别名
|
| 277 |
+
"maxContext": 32000, // 最大上下文
|
| 278 |
+
"maxResponse": 4000, // 最大回复
|
| 279 |
+
"quoteMaxToken": 30000, // 最大引用内容
|
| 280 |
+
"maxTemperature": 1, // 最大温度
|
| 281 |
+
"charsPointsPrice": 0, // n积分/1k token(商业版)
|
| 282 |
+
"censor": false, // 是否开启敏感校验(商业版)
|
| 283 |
+
"vision": false, // 是否支持图片输入
|
| 284 |
+
"datasetProcess": true, // 是否设置为文本理解模型(QA),务必保证至少有一个为true,否则知识库会报错
|
| 285 |
+
"usedInClassify": true, // 是否用于问题分类(务必保证至少有一个为true)
|
| 286 |
+
"usedInExtractFields": true, // 是否用于内容提取(务必保证至少有一个为true)
|
| 287 |
+
"usedInToolCall": true, // 是否用于工具调用(务必保证至少有一个为true)
|
| 288 |
+
"usedInQueryExtension": true, // 是否用于问题优化(务必保证至少有一个为true)
|
| 289 |
+
"toolChoice": true, // 是否支持工具选择(分类,内容提取,工具调用会用到。)
|
| 290 |
+
"functionCall": false, // 是否支持函数调用(分类,内容提取,工具调用会用到。会优先使用 toolChoice,如果为false,则使用 functionCall,如果仍为 false,则使用提示词模式)
|
| 291 |
+
"customCQPrompt": "", // 自定义文本分类提示词(不支持工具和函数调用的模型
|
| 292 |
+
"customExtractPrompt": "", // 自定义内容提取提示词
|
| 293 |
+
"defaultSystemChatPrompt": "", // 对话默认携带的系统提示词
|
| 294 |
+
"defaultConfig": {}, // 请求API时,挟带一些默认配置(比如 GLM4 的 top_p)
|
| 295 |
+
"fieldMap": {} // 字段映射(o1 模型需要把 max_tokens 映射为 max_completion_tokens)
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"provider": "Other",
|
| 299 |
+
"model": "Qwen/Qwen2-VL-72B-Instruct",
|
| 300 |
+
"name": "Qwen2-VL-72B-Instruct",
|
| 301 |
+
"maxContext": 32000,
|
| 302 |
+
"maxResponse": 4000,
|
| 303 |
+
"quoteMaxToken": 30000,
|
| 304 |
+
"maxTemperature": 1,
|
| 305 |
"charsPointsPrice": 0,
|
| 306 |
"censor": false,
|
| 307 |
+
"vision": true,
|
| 308 |
"datasetProcess": false,
|
| 309 |
+
"usedInClassify": false,
|
| 310 |
+
"usedInExtractFields": false,
|
| 311 |
+
"usedInToolCall": false,
|
| 312 |
+
"usedInQueryExtension": false,
|
| 313 |
"toolChoice": false,
|
| 314 |
"functionCall": false,
|
| 315 |
"customCQPrompt": "",
|
| 316 |
"customExtractPrompt": "",
|
| 317 |
"defaultSystemChatPrompt": "",
|
| 318 |
"defaultConfig": {}
|
| 319 |
+
},
|
| 320 |
],
|
| 321 |
"vectorModels": [
|
| 322 |
{
|
| 323 |
+
"model": "BAAI/bge-m3",
|
| 324 |
+
"name": "BAAI/bge-m3",
|
| 325 |
+
"avatar": "/imgs/model/openai.svg",
|
| 326 |
"charsPointsPrice": 0,
|
| 327 |
+
"defaultToken": 2000,
|
| 328 |
+
"maxToken": 8000,
|
| 329 |
"weight": 100
|
| 330 |
},
|
| 331 |
{
|
| 332 |
+
"model": "Pro/BAAI/bge-m3",
|
| 333 |
+
"name": "Pro/BAAI/bge-m3",
|
| 334 |
"avatar": "/imgs/model/openai.svg",
|
| 335 |
"charsPointsPrice": 0,
|
| 336 |
+
"defaultToken": 2000,
|
| 337 |
+
"maxToken": 8000,
|
| 338 |
"weight": 100,
|
| 339 |
+
"defaultConfig": {},
|
| 340 |
+
"dbConfig": {},
|
| 341 |
+
"queryConfig": {}
|
| 342 |
},
|
| 343 |
{
|
| 344 |
+
"provider": "OpenAI",
|
| 345 |
+
"model": "text-embedding-3-large",
|
| 346 |
+
"name": "text-embedding-3-large",
|
| 347 |
"charsPointsPrice": 0,
|
| 348 |
"defaultToken": 512,
|
| 349 |
"maxToken": 3000,
|
| 350 |
+
"weight": 100,
|
| 351 |
+
"defaultConfig": {
|
| 352 |
+
"dimensions": 1024
|
| 353 |
}
|
| 354 |
],
|
| 355 |
+
"reRankModels": [
|
| 356 |
+
{
|
| 357 |
+
"model": "BAAI/bge-reranker-v2-m3",
|
| 358 |
+
"name": "检索重排-base",
|
| 359 |
+
"charsPointsPrice": 0,
|
| 360 |
+
"requestUrl": "https://api.siliconflow.cn/v1/rerank",
|
| 361 |
+
"requestAuth": "sk-xqnfqdvwujzarsqayfyoqojyewvcmixymkjrzqinrpuseuzn"
|
| 362 |
+
}
|
| 363 |
+
],
|
| 364 |
+
|
| 365 |
+
"audioSpeech模型": [
|
| 366 |
{
|
| 367 |
"model": "tts-1",
|
| 368 |
"name": "OpenAI TTS1",
|
| 369 |
"charsPointsPrice": 0,
|
| 370 |
"voices": [
|
| 371 |
{
|
| 372 |
+
"label": "全部oy",
|
| 373 |
"value": "alloy",
|
| 374 |
+
"bufferId": "openai-全部oy"
|
| 375 |
},
|
| 376 |
{
|
| 377 |
"label": "Echo",
|
|
|
|
| 389 |
"bufferId": "openai-Onyx"
|
| 390 |
},
|
| 391 |
{
|
| 392 |
+
"label": "11月a",
|
| 393 |
"value": "nova",
|
| 394 |
+
"bufferId": "openai-11月a"
|
| 395 |
},
|
| 396 |
{
|
| 397 |
"label": "Shimmer",
|