@tiger16601/n8n-nodes-fastgpt 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -207,6 +207,26 @@ const completeOperations = [
|
|
|
207
207
|
},
|
|
208
208
|
},
|
|
209
209
|
},
|
|
210
|
+
// [修改] 新增头像地址字段
|
|
211
|
+
{
|
|
212
|
+
displayName: "头像地址",
|
|
213
|
+
name: "knowledgeAvatar",
|
|
214
|
+
type: "string",
|
|
215
|
+
default: "",
|
|
216
|
+
description: "知识库头像的URL地址,可选",
|
|
217
|
+
displayOptions: {
|
|
218
|
+
show: {
|
|
219
|
+
operation: ["创建一个知识库"],
|
|
220
|
+
resource: ["knowledge"],
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
routing: {
|
|
224
|
+
send: {
|
|
225
|
+
type: "body",
|
|
226
|
+
property: "avatar",
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
210
230
|
{
|
|
211
231
|
displayName: "选择知识库",
|
|
212
232
|
name: "knowledgeDatasetId",
|
|
@@ -497,7 +517,7 @@ const sharedOperations = [
|
|
|
497
517
|
},
|
|
498
518
|
},
|
|
499
519
|
options: [
|
|
500
|
-
// [
|
|
520
|
+
// [修改] 头像地址已移至 completeOperations,以下仅保留模型参数
|
|
501
521
|
{
|
|
502
522
|
displayName: "父级知识库ID",
|
|
503
523
|
name: "parentId",
|
|
@@ -516,30 +536,12 @@ const sharedOperations = [
|
|
|
516
536
|
},
|
|
517
537
|
},
|
|
518
538
|
},
|
|
519
|
-
{
|
|
520
|
-
displayName: "头像地址",
|
|
521
|
-
name: "avatar",
|
|
522
|
-
type: "string",
|
|
523
|
-
default: "",
|
|
524
|
-
description: "知识库头像的URL地址,可选",
|
|
525
|
-
displayOptions: {
|
|
526
|
-
show: {
|
|
527
|
-
"/operation": ["创建一个知识库"],
|
|
528
|
-
"/resource": ["knowledge"],
|
|
529
|
-
},
|
|
530
|
-
},
|
|
531
|
-
routing: {
|
|
532
|
-
send: {
|
|
533
|
-
type: "body",
|
|
534
|
-
property: "avatar",
|
|
535
|
-
},
|
|
536
|
-
},
|
|
537
|
-
},
|
|
538
539
|
{
|
|
539
540
|
displayName: "向量模型",
|
|
540
541
|
name: "vectorModel",
|
|
541
542
|
type: "string",
|
|
542
543
|
default: "",
|
|
544
|
+
required: true,
|
|
543
545
|
description: "建议留空使用系统默认。例如:text-embedding-ada-002",
|
|
544
546
|
displayOptions: {
|
|
545
547
|
show: {
|
|
@@ -559,6 +561,7 @@ const sharedOperations = [
|
|
|
559
561
|
name: "agentModel",
|
|
560
562
|
type: "string",
|
|
561
563
|
default: "",
|
|
564
|
+
required: true,
|
|
562
565
|
description: "建议留空使用系统默认。例如:gpt-3.5-turbo-16k",
|
|
563
566
|
displayOptions: {
|
|
564
567
|
show: {
|
|
@@ -578,6 +581,7 @@ const sharedOperations = [
|
|
|
578
581
|
name: "vlmModel",
|
|
579
582
|
type: "string",
|
|
580
583
|
default: "",
|
|
584
|
+
required: true,
|
|
581
585
|
description: "建议留空使用系统默认。例如:gpt-4.1",
|
|
582
586
|
displayOptions: {
|
|
583
587
|
show: {
|