@tiger16601/n8n-nodes-fastgpt 1.1.6 → 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,25 +536,19 @@ const sharedOperations = [
|
|
|
516
536
|
},
|
|
517
537
|
},
|
|
518
538
|
},
|
|
519
|
-
{
|
|
520
|
-
displayName: "头像地址",
|
|
521
|
-
name: "avatar",
|
|
522
|
-
type: "string",
|
|
523
|
-
default: "",
|
|
524
|
-
description: "知识库头像的URL地址,可选",
|
|
525
|
-
routing: {
|
|
526
|
-
send: {
|
|
527
|
-
type: "body",
|
|
528
|
-
property: "avatar",
|
|
529
|
-
},
|
|
530
|
-
},
|
|
531
|
-
},
|
|
532
539
|
{
|
|
533
540
|
displayName: "向量模型",
|
|
534
541
|
name: "vectorModel",
|
|
535
542
|
type: "string",
|
|
536
543
|
default: "",
|
|
544
|
+
required: true,
|
|
537
545
|
description: "建议留空使用系统默认。例如:text-embedding-ada-002",
|
|
546
|
+
displayOptions: {
|
|
547
|
+
show: {
|
|
548
|
+
"/operation": ["创建一个知识库"],
|
|
549
|
+
"/resource": ["knowledge"],
|
|
550
|
+
},
|
|
551
|
+
},
|
|
538
552
|
routing: {
|
|
539
553
|
send: {
|
|
540
554
|
type: "body",
|
|
@@ -547,7 +561,14 @@ const sharedOperations = [
|
|
|
547
561
|
name: "agentModel",
|
|
548
562
|
type: "string",
|
|
549
563
|
default: "",
|
|
564
|
+
required: true,
|
|
550
565
|
description: "建议留空使用系统默认。例如:gpt-3.5-turbo-16k",
|
|
566
|
+
displayOptions: {
|
|
567
|
+
show: {
|
|
568
|
+
"/operation": ["创建一个知识库"],
|
|
569
|
+
"/resource": ["knowledge"],
|
|
570
|
+
},
|
|
571
|
+
},
|
|
551
572
|
routing: {
|
|
552
573
|
send: {
|
|
553
574
|
type: "body",
|
|
@@ -560,7 +581,14 @@ const sharedOperations = [
|
|
|
560
581
|
name: "vlmModel",
|
|
561
582
|
type: "string",
|
|
562
583
|
default: "",
|
|
584
|
+
required: true,
|
|
563
585
|
description: "建议留空使用系统默认。例如:gpt-4.1",
|
|
586
|
+
displayOptions: {
|
|
587
|
+
show: {
|
|
588
|
+
"/operation": ["创建一个知识库"],
|
|
589
|
+
"/resource": ["knowledge"],
|
|
590
|
+
},
|
|
591
|
+
},
|
|
564
592
|
routing: {
|
|
565
593
|
send: {
|
|
566
594
|
type: "body",
|