@tiger16601/n8n-nodes-fastgpt 1.1.10 → 1.1.12
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.
|
@@ -25,7 +25,7 @@ exports.appOperations = [
|
|
|
25
25
|
request: {
|
|
26
26
|
method: "GET",
|
|
27
27
|
// NEW: 获取应用总体数据统计端点(商业版)
|
|
28
|
-
url: "/
|
|
28
|
+
url: "/proApi/core/app/logs/getTotalData",
|
|
29
29
|
},
|
|
30
30
|
output: {
|
|
31
31
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -43,7 +43,7 @@ exports.appOperations = [
|
|
|
43
43
|
request: {
|
|
44
44
|
method: "POST",
|
|
45
45
|
// NEW: 获取应用图表数据端点(商业版)
|
|
46
|
-
url: "/
|
|
46
|
+
url: "/proApi/core/app/logs/getChartData",
|
|
47
47
|
},
|
|
48
48
|
output: {
|
|
49
49
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -43,7 +43,7 @@ exports.chatOperations = [
|
|
|
43
43
|
request: {
|
|
44
44
|
method: "POST",
|
|
45
45
|
// NEW: Agent对话端点
|
|
46
|
-
url: "/
|
|
46
|
+
url: "/v1/chat/completions",
|
|
47
47
|
body: {
|
|
48
48
|
stream: false,
|
|
49
49
|
},
|
|
@@ -64,7 +64,7 @@ exports.chatOperations = [
|
|
|
64
64
|
request: {
|
|
65
65
|
method: "POST",
|
|
66
66
|
// NEW: 交互节点继续运行端点
|
|
67
|
-
url: "/
|
|
67
|
+
url: "/v1/chat/completions",
|
|
68
68
|
body: {
|
|
69
69
|
stream: true,
|
|
70
70
|
detail: true,
|
|
@@ -102,7 +102,7 @@ exports.chatOperations = [
|
|
|
102
102
|
request: {
|
|
103
103
|
method: "PUT",
|
|
104
104
|
// NEW: 修改历史记录标题端点
|
|
105
|
-
url: "/
|
|
105
|
+
url: "/core/chat/history/updateHistory",
|
|
106
106
|
},
|
|
107
107
|
output: {
|
|
108
108
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -119,7 +119,7 @@ exports.chatOperations = [
|
|
|
119
119
|
request: {
|
|
120
120
|
method: "PUT",
|
|
121
121
|
// NEW: 修改历史记录置顶状态端点(与修改标题共用端点)
|
|
122
|
-
url: "/
|
|
122
|
+
url: "/core/chat/history/updateHistory",
|
|
123
123
|
},
|
|
124
124
|
output: {
|
|
125
125
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -136,7 +136,7 @@ exports.chatOperations = [
|
|
|
136
136
|
request: {
|
|
137
137
|
method: "DELETE",
|
|
138
138
|
// NEW: 删除单个历史记录端点
|
|
139
|
-
url: "/
|
|
139
|
+
url: "/core/chat/history/delHistory",
|
|
140
140
|
},
|
|
141
141
|
output: {
|
|
142
142
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -153,7 +153,7 @@ exports.chatOperations = [
|
|
|
153
153
|
request: {
|
|
154
154
|
method: "DELETE",
|
|
155
155
|
// NEW: 清空应用历史记录端点
|
|
156
|
-
url: "/
|
|
156
|
+
url: "/core/chat/history/clearHistories",
|
|
157
157
|
},
|
|
158
158
|
output: {
|
|
159
159
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -171,7 +171,7 @@ exports.chatOperations = [
|
|
|
171
171
|
request: {
|
|
172
172
|
method: "GET",
|
|
173
173
|
// NEW: 获取会话框基本信息端点
|
|
174
|
-
url: "/
|
|
174
|
+
url: "/core/chat/init",
|
|
175
175
|
},
|
|
176
176
|
output: {
|
|
177
177
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -189,7 +189,7 @@ exports.chatOperations = [
|
|
|
189
189
|
request: {
|
|
190
190
|
method: "POST",
|
|
191
191
|
// NEW: 获取对话记录列表端点
|
|
192
|
-
url: "/
|
|
192
|
+
url: "/core/chat/getPaginationRecords",
|
|
193
193
|
},
|
|
194
194
|
output: {
|
|
195
195
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -207,7 +207,7 @@ exports.chatOperations = [
|
|
|
207
207
|
request: {
|
|
208
208
|
method: "GET",
|
|
209
209
|
// NEW: 获取单个对话记录运行详情端点
|
|
210
|
-
url: "/
|
|
210
|
+
url: "/core/chat/getResData",
|
|
211
211
|
},
|
|
212
212
|
output: {
|
|
213
213
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -224,7 +224,7 @@ exports.chatOperations = [
|
|
|
224
224
|
request: {
|
|
225
225
|
method: "DELETE",
|
|
226
226
|
// NEW: 删除对话记录端点
|
|
227
|
-
url: "/
|
|
227
|
+
url: "/core/chat/record/delete",
|
|
228
228
|
},
|
|
229
229
|
output: {
|
|
230
230
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -242,7 +242,7 @@ exports.chatOperations = [
|
|
|
242
242
|
request: {
|
|
243
243
|
method: "POST",
|
|
244
244
|
// NEW: 点赞/取消点赞端点
|
|
245
|
-
url: "/
|
|
245
|
+
url: "/core/chat/feedback/updateUserFeedback",
|
|
246
246
|
},
|
|
247
247
|
output: {
|
|
248
248
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -260,7 +260,7 @@ exports.chatOperations = [
|
|
|
260
260
|
request: {
|
|
261
261
|
method: "POST",
|
|
262
262
|
// NEW: 点踩/取消点踩端点(与点赞共用端点)
|
|
263
|
-
url: "/
|
|
263
|
+
url: "/core/chat/feedback/updateUserFeedback",
|
|
264
264
|
},
|
|
265
265
|
output: {
|
|
266
266
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -278,7 +278,7 @@ exports.chatOperations = [
|
|
|
278
278
|
request: {
|
|
279
279
|
method: "POST",
|
|
280
280
|
// NEW: 猜你想问端点
|
|
281
|
-
url: "/
|
|
281
|
+
url: "/core/ai/agent/v2/createQuestionGuide",
|
|
282
282
|
},
|
|
283
283
|
output: {
|
|
284
284
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -25,7 +25,7 @@ exports.dataOperations = [
|
|
|
25
25
|
request: {
|
|
26
26
|
method: "POST",
|
|
27
27
|
// FIX: 更新为V2版本API
|
|
28
|
-
url: "/
|
|
28
|
+
url: "/core/dataset/data/v2/list",
|
|
29
29
|
},
|
|
30
30
|
output: {
|
|
31
31
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -41,7 +41,7 @@ exports.dataOperations = [
|
|
|
41
41
|
routing: {
|
|
42
42
|
request: {
|
|
43
43
|
method: "GET",
|
|
44
|
-
url: "/
|
|
44
|
+
url: "/core/dataset/data/detail",
|
|
45
45
|
},
|
|
46
46
|
output: {
|
|
47
47
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -58,7 +58,7 @@ exports.dataOperations = [
|
|
|
58
58
|
request: {
|
|
59
59
|
method: "DELETE",
|
|
60
60
|
// FIX: 更新为删除单条数据API
|
|
61
|
-
url: "/
|
|
61
|
+
url: "/core/dataset/data/delete",
|
|
62
62
|
},
|
|
63
63
|
output: {
|
|
64
64
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -75,7 +75,7 @@ exports.dataOperations = [
|
|
|
75
75
|
request: {
|
|
76
76
|
method: "PUT",
|
|
77
77
|
// FIX: 更新为修改单条数据API
|
|
78
|
-
url: "/
|
|
78
|
+
url: "/core/dataset/data/update",
|
|
79
79
|
},
|
|
80
80
|
output: {
|
|
81
81
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -93,7 +93,7 @@ exports.dataOperations = [
|
|
|
93
93
|
request: {
|
|
94
94
|
method: "POST",
|
|
95
95
|
// NEW: 使用pushData端点
|
|
96
|
-
url: "/
|
|
96
|
+
url: "/core/dataset/data/pushData",
|
|
97
97
|
},
|
|
98
98
|
output: {
|
|
99
99
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -386,6 +386,7 @@ const completeOperations = [
|
|
|
386
386
|
// NEW: 每页数量 - 用于获取数据列表
|
|
387
387
|
{
|
|
388
388
|
displayName: "每页数量",
|
|
389
|
+
description: "每页数量,最大 30",
|
|
389
390
|
name: "dataPageSize",
|
|
390
391
|
type: "number",
|
|
391
392
|
default: 30,
|
|
@@ -106,7 +106,7 @@ exports.datasetOperations = [
|
|
|
106
106
|
request: {
|
|
107
107
|
method: "POST",
|
|
108
108
|
// NEW: 使用proApi商业版端点
|
|
109
|
-
url: "/
|
|
109
|
+
url: "/proApi/core/dataset/collection/create/externalFileUrl",
|
|
110
110
|
},
|
|
111
111
|
output: {
|
|
112
112
|
postReceive: [GenericFunctions_1.sendErrorPostReceive],
|
|
@@ -337,6 +337,7 @@ const completeOperations = [
|
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
displayName: "名称",
|
|
340
|
+
description: "集合名,建议就用文件名",
|
|
340
341
|
name: "datasetName",
|
|
341
342
|
type: "string",
|
|
342
343
|
default: "",
|