dragg2 commited on
Commit
2143520
·
verified ·
1 Parent(s): abc6a1f

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +103 -7
config.json CHANGED
@@ -6,6 +6,30 @@
6
  "pgHNSWEfSearch": 100
7
  },
8
  "llmModels": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  {
10
  "provider": "Gemini",
11
  "model": "gemini-exp-1206",
@@ -119,7 +143,7 @@
119
  "usedInToolCall": true, // 是否用于工具调用(务必保证至少有一个为true)
120
  "usedInQueryExtension": true, // 是否用于问题优化(务必保证至少有一个为true)
121
  "toolChoice": true, // 是否支持工具选择(分类,内容提取,工具调用会用到。)
122
- "functionCall": false, // 是否支持函数调用(分类,内容提取,工具调用会用到。会优先使用 toolChoice,如果为false,则使用 functionCall,如果仍为 false,则使用提示词模式)
123
  "customCQPrompt": "", // 自定义文本分类提示词(不支持工具和函数调用的模型
124
  "customExtractPrompt": "", // 自定义内容提取提示词
125
  "defaultSystemChatPrompt": "", // 对话默认携带的系统提示词
@@ -143,7 +167,31 @@
143
  "usedInToolCall": true,
144
  "usedInQueryExtension": true,
145
  "toolChoice": true,
146
- "functionCall": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  "customCQPrompt": "",
148
  "customExtractPrompt": "",
149
  "defaultSystemChatPrompt": "",
@@ -168,7 +216,7 @@
168
  "usedInToolCall": true,
169
  "usedInQueryExtension": true,
170
  "toolChoice": true,
171
- "functionCall": false,
172
  "customCQPrompt": "",
173
  "customExtractPrompt": "",
174
  "defaultSystemChatPrompt": "",
@@ -270,6 +318,54 @@
270
  "defaultSystemChatPrompt": "",
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中渠道的模型名)
@@ -370,9 +466,9 @@
370
  "charsPointsPrice": 0,
371
  "voices": [
372
  {
373
- "label": "全部oy",
374
  "value": "alloy",
375
- "bufferId": "openai-全部oy"
376
  },
377
  {
378
  "label": "Echo",
@@ -390,9 +486,9 @@
390
  "bufferId": "openai-Onyx"
391
  },
392
  {
393
- "label": "11月a",
394
  "value": "nova",
395
- "bufferId": "openai-11月a"
396
  },
397
  {
398
  "label": "Shimmer",
 
6
  "pgHNSWEfSearch": 100
7
  },
8
  "llmModels": [
9
+ {
10
+ "provider": "Gemini",
11
+ "model": "gemini-1.5-pro",
12
+ "name": "gemini-1.5-pro",
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": "",
29
+ "customExtractPrompt": "",
30
+ "defaultSystemChatPrompt": "",
31
+ "defaultConfig": {}
32
+ },
33
  {
34
  "provider": "Gemini",
35
  "model": "gemini-exp-1206",
 
143
  "usedInToolCall": true, // 是否用于工具调用(务必保证至少有一个为true)
144
  "usedInQueryExtension": true, // 是否用于问题优化(务必保证至少有一个为true)
145
  "toolChoice": true, // 是否支持工具选择(分类,内容提取,工具调用会用到。)
146
+ "functionCall": true, // 是否支持函数调用(分类,内容提取,工具调用会用到。会优先使用 toolChoice,如果为false,则使用 functionCall,如果仍为 false,则使用提示词模式)
147
  "customCQPrompt": "", // 自定义文本分类提示词(不支持工具和函数调用的模型
148
  "customExtractPrompt": "", // 自定义内容提取提示词
149
  "defaultSystemChatPrompt": "", // 对话默认携带的系统提示词
 
167
  "usedInToolCall": true,
168
  "usedInQueryExtension": true,
169
  "toolChoice": true,
170
+ "functionCall": true,
171
+ "customCQPrompt": "",
172
+ "customExtractPrompt": "",
173
+ "defaultSystemChatPrompt": "",
174
+ "defaultConfig": {},
175
+ "fieldMap": {}
176
+ },
177
+ {
178
+ "provider": "OpenAI",
179
+ "model": "gpt-4o-file",
180
+ "name": "gpt-4o-file",
181
+ "maxContext": 125000,
182
+ "maxResponse": 4000,
183
+ "quoteMaxToken": 120000,
184
+ "maxTemperature": 1.2,
185
+ "charsPointsPrice": 0,
186
+ "censor": false,
187
+ "vision": true,
188
+ "datasetProcess": true,
189
+ "usedInClassify": true,
190
+ "usedInExtractFields": true,
191
+ "usedInToolCall": true,
192
+ "usedInQueryExtension": true,
193
+ "toolChoice": true,
194
+ "functionCall": true,
195
  "customCQPrompt": "",
196
  "customExtractPrompt": "",
197
  "defaultSystemChatPrompt": "",
 
216
  "usedInToolCall": true,
217
  "usedInQueryExtension": true,
218
  "toolChoice": true,
219
+ "functionCall": true,
220
  "customCQPrompt": "",
221
  "customExtractPrompt": "",
222
  "defaultSystemChatPrompt": "",
 
318
  "defaultSystemChatPrompt": "",
319
  "defaultConfig": {}
320
  },
321
+ {
322
+ "provider": "Claude",
323
+ "model": "claude-3-5-sonnet-20241022",
324
+ "name": "claude-3-5-sonnet-20241022",
325
+ "avatar": "/imgs/model/google.svg",
326
+ "maxContext": 2105344,
327
+ "maxResponse": 270000,
328
+ "quoteMaxToken": 1800000,
329
+ "maxTemperature": 2,
330
+ "charsPointsPrice": 0,
331
+ "censor": false,
332
+ "vision": true,
333
+ "datasetProcess": true,
334
+ "usedInClassify": true,
335
+ "usedInExtractFields": true,
336
+ "usedInToolCall": true,
337
+ "usedInQueryExtension": true,
338
+ "toolChoice": true,
339
+ "functionCall": true,
340
+ "customCQPrompt": "",
341
+ "customExtractPrompt": "",
342
+ "defaultSystemChatPrompt": "",
343
+ "defaultConfig": {}
344
+ },
345
+ {
346
+ "provider": "Claude",
347
+ "model": "claude-3-5-sonnet-file",
348
+ "name": "claude-3-5-sonnet-file",
349
+ "avatar": "/imgs/model/google.svg",
350
+ "maxContext": 2105344,
351
+ "maxResponse": 270000,
352
+ "quoteMaxToken": 1800000,
353
+ "maxTemperature": 2,
354
+ "charsPointsPrice": 0,
355
+ "censor": false,
356
+ "vision": true,
357
+ "datasetProcess": true,
358
+ "usedInClassify": true,
359
+ "usedInExtractFields": true,
360
+ "usedInToolCall": true,
361
+ "usedInQueryExtension": true,
362
+ "toolChoice": true,
363
+ "functionCall": true,
364
+ "customCQPrompt": "",
365
+ "customExtractPrompt": "",
366
+ "defaultSystemChatPrompt": "",
367
+ "defaultConfig": {}
368
+ },
369
  {
370
  "provider": "Other", // 模型提供商,主要用于分类展示,目前已经内置提供商包括:https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts, 可 pr 提供新的提供商,或直接填写 Other
371
  "model": "Qwen/Qwen2.5-72B-Instruct-128K", // 模型名(对应OneAPI中渠道的模型名)
 
466
  "charsPointsPrice": 0,
467
  "voices": [
468
  {
469
+ "label": "Alloy",
470
  "value": "alloy",
471
+ "bufferId": "openai-Alloy"
472
  },
473
  {
474
  "label": "Echo",
 
486
  "bufferId": "openai-Onyx"
487
  },
488
  {
489
+ "label": "Nova",
490
  "value": "nova",
491
+ "bufferId": "openai-Nova"
492
  },
493
  {
494
  "label": "Shimmer",