@nocobase/plugin-ai 2.2.0-alpha.10 → 2.2.0-alpha.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.
- package/dist/ai/docs/nocobase/ai-employees/block/ai-chat-box.md +133 -0
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/documents.md +1 -1
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/index.md +11 -7
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/settings.md +12 -8
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/vector-database.md +3 -3
- package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/create-document.md +1 -1
- package/dist/ai/docs/nocobase/ops-management/migration-manager/built-in-tables.md +1 -2
- package/dist/ai/docs/nocobase/runjs/context/ai.md +194 -4
- package/dist/ai/tools/getSkill.js +1 -1
- package/dist/client/244.8631eb5cf3f05e21.js +10 -0
- package/dist/client/681.6ffbc9329b9ac242.js +10 -0
- package/dist/client/index.d.ts +1 -3
- package/dist/client/index.js +8 -8
- package/dist/client-v2/244.c428e645ecb94414.js +10 -0
- package/dist/client-v2/420.b2aedb1ff71fca0e.js +10 -0
- package/dist/client-v2/681.6890caa389564ff7.js +10 -0
- package/dist/client-v2/ai-employees/AIEmployeeShortcut.d.ts +2 -0
- package/dist/client-v2/ai-employees/AddContextButton.d.ts +2 -0
- package/dist/client-v2/ai-employees/chatbox/components/AIEmployeeSwitcher.d.ts +1 -0
- package/dist/client-v2/ai-employees/chatbox/components/ChatBoxUnreadBadge.d.ts +17 -0
- package/dist/client-v2/ai-employees/chatbox/components/Conversations.d.ts +9 -1
- package/dist/client-v2/ai-employees/chatbox/components/MessageRenderers.d.ts +1 -1
- package/dist/client-v2/ai-employees/chatbox/components/Messages.d.ts +5 -1
- package/dist/client-v2/ai-employees/chatbox/components/ModelSwitcher.d.ts +4 -0
- package/dist/client-v2/ai-employees/chatbox/components/Sender.d.ts +33 -1
- package/dist/client-v2/ai-employees/chatbox/components/index.d.ts +1 -0
- package/dist/client-v2/ai-employees/chatbox/hooks/useChat.d.ts +8 -5
- package/dist/client-v2/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +3 -2
- package/dist/client-v2/ai-employees/chatbox/hooks/useChatBoxEffect.d.ts +2 -1
- package/dist/client-v2/ai-employees/chatbox/hooks/useChatConversationActions.d.ts +3 -2
- package/dist/client-v2/ai-employees/chatbox/hooks/useChatMessageActions.d.ts +4 -2
- package/dist/client-v2/ai-employees/chatbox/hooks/useToolCallActions.d.ts +3 -1
- package/dist/client-v2/ai-employees/chatbox/hooks/useUploadFiles.d.ts +13 -3
- package/dist/client-v2/ai-employees/chatbox/hooks/useWorkflowTasks.d.ts +3 -2
- package/dist/client-v2/ai-employees/chatbox/index.d.ts +17 -0
- package/dist/client-v2/ai-employees/chatbox/roles.d.ts +2 -153
- package/dist/client-v2/ai-employees/chatbox/stores/chat-box.d.ts +46 -31
- package/dist/client-v2/ai-employees/chatbox/stores/chat-conversations.d.ts +7 -7
- package/dist/client-v2/ai-employees/chatbox/stores/chat-messages.d.ts +23 -18
- package/dist/client-v2/ai-employees/chatbox/stores/chat-sender.d.ts +43 -0
- package/dist/client-v2/ai-employees/chatbox/stores/chat-tool-call.d.ts +6 -5
- package/dist/client-v2/ai-employees/chatbox/stores/chat-tools.d.ts +11 -5
- package/dist/client-v2/ai-employees/chatbox/stores/mounted-chat-boxes.d.ts +20 -0
- package/dist/client-v2/ai-employees/chatbox/stores/runtime.d.ts +43 -0
- package/dist/client-v2/ai-employees/chatbox/stores/workflow-tasks.d.ts +22 -10
- package/dist/client-v2/ai-employees/chatbox/upload.d.ts +19 -0
- package/dist/client-v2/ai-employees/chatbox/utils.d.ts +28 -4
- package/dist/client-v2/ai-employees/tools/SuggestionsOptionsCard.d.ts +1 -1
- package/dist/client-v2/ai-employees/tools/WorkflowTaskOutputCard.d.ts +1 -1
- package/dist/client-v2/ai-employees/types.d.ts +27 -0
- package/dist/client-v2/block/ai-chat-box/AIChatBoxBlockModel.d.ts +21 -0
- package/dist/client-v2/block/ai-chat-box/AIChatBoxCoreModel.d.ts +13 -0
- package/dist/client-v2/block/ai-chat-box/components/AIChatBoxCoreView.d.ts +10 -0
- package/dist/client-v2/block/ai-chat-box/components/AIChatBoxView.d.ts +12 -0
- package/dist/client-v2/block/ai-chat-box/index.d.ts +14 -0
- package/dist/client-v2/block/ai-chat-box/settings.d.ts +12 -0
- package/dist/client-v2/block/ai-chat-box/sub-models.d.ts +26 -0
- package/dist/client-v2/block/ai-chat-box/types.d.ts +38 -0
- package/dist/client-v2/block/ai-chat-box/utils.d.ts +26 -0
- package/dist/client-v2/index.d.ts +3 -5
- package/dist/client-v2/index.js +3 -3
- package/dist/client-v2/llm-services/model-select.d.ts +33 -0
- package/dist/client-v2/llm-services/utils.d.ts +1 -0
- package/dist/client-v2/manager/ai-manager.d.ts +8 -3
- package/dist/client-v2/models/ai-employees/AIEmployeeActionModel.d.ts +4 -1
- package/dist/client-v2/models/ai-employees/AIEmployeeShortcutModel.d.ts +5 -0
- package/dist/client-v2/pages/EmployeesPage.d.ts +1 -0
- package/dist/client-v2/runjs/registerAIEmployeeRunJSFacade.d.ts +1 -0
- package/dist/common/ai-employee-validation.d.ts +15 -0
- package/dist/common/ai-employee-validation.js +61 -0
- package/dist/common/error-codes.d.ts +13 -0
- package/dist/common/error-codes.js +48 -0
- package/dist/common/llm-service-models.d.ts +16 -0
- package/dist/common/llm-service-models.js +84 -0
- package/dist/externalVersion.js +15 -15
- package/dist/locale/en-US.json +62 -0
- package/dist/locale/zh-CN.json +62 -0
- package/dist/node_modules/@langchain/mistralai/package.json +1 -1
- package/dist/node_modules/@langchain/xai/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/jsonrepair/package.json +1 -1
- package/dist/node_modules/just-bash/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/openai/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/ai-employees/ai-conversations.d.ts +2 -1
- package/dist/server/ai-employees/ai-conversations.js +2 -0
- package/dist/server/ai-employees/ai-employee.d.ts +1 -0
- package/dist/server/ai-employees/ai-employee.js +6 -0
- package/dist/server/ai-employees/middleware/conversation.js +9 -2
- package/dist/server/collections/ai-conversations.js +5 -0
- package/dist/server/document-loader/constants.js +0 -1
- package/dist/server/plugin.d.ts +1 -0
- package/dist/server/plugin.js +25 -0
- package/dist/server/resource/aiConversations.js +6 -2
- package/dist/server/resource/aiEmployees.d.ts +2 -0
- package/dist/server/resource/aiEmployees.js +62 -0
- package/dist/server/resource/aiWorkflowTasks.js +9 -1
- package/dist/server/resource/llmServices.d.ts +11 -0
- package/dist/server/resource/llmServices.js +85 -0
- package/dist/server/types/knowledge-base.type.d.ts +6 -2
- package/dist/swagger/common.d.ts +143 -0
- package/dist/swagger/common.js +144 -0
- package/dist/swagger/employees.d.ts +301 -0
- package/dist/swagger/employees.js +131 -0
- package/dist/swagger/index.d.ts +1588 -0
- package/dist/swagger/index.js +62 -0
- package/dist/swagger/llm.d.ts +555 -0
- package/dist/swagger/llm.js +247 -0
- package/dist/swagger/schemas.d.ts +736 -0
- package/dist/swagger/schemas.js +381 -0
- package/package.json +2 -2
- package/dist/ai/docs/nocobase/ai-employees/knowledge-base/vector-store.md +0 -24
- package/dist/client/372.49163fac65cef81c.js +0 -10
- package/dist/client/681.399948c18d753667.js +0 -10
- package/dist/client-v2/372.387161cdeb106987.js +0 -10
- package/dist/client-v2/406.341be51205c674e0.js +0 -10
- package/dist/client-v2/681.082f4f1c7b841983.js +0 -10
- package/dist/client-v2/ai-employees/chatbox/stores/create-selectors.d.ts +0 -46
- package/dist/client-v2/ai-employees/chatbox/utils/normalizeTriggerTaskOptions.d.ts +0 -19
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export declare const schemas: {
|
|
10
|
+
ErrorResponse: {
|
|
11
|
+
type: string;
|
|
12
|
+
properties: {
|
|
13
|
+
errors: {
|
|
14
|
+
type: string;
|
|
15
|
+
items: {
|
|
16
|
+
type: string;
|
|
17
|
+
properties: {
|
|
18
|
+
message: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
code: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
additionalProperties: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
additionalProperties: boolean;
|
|
30
|
+
};
|
|
31
|
+
LLMProvider: {
|
|
32
|
+
type: string;
|
|
33
|
+
required: string[];
|
|
34
|
+
properties: {
|
|
35
|
+
name: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
supportedModel: {
|
|
42
|
+
type: string;
|
|
43
|
+
items: {
|
|
44
|
+
type: string;
|
|
45
|
+
enum: string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
supportWebSearch: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
additionalProperties: boolean;
|
|
53
|
+
};
|
|
54
|
+
LLMProviderModelsRequest: {
|
|
55
|
+
type: string;
|
|
56
|
+
required: string[];
|
|
57
|
+
properties: {
|
|
58
|
+
provider: {
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
options: {
|
|
62
|
+
type: string;
|
|
63
|
+
description: string;
|
|
64
|
+
properties: {
|
|
65
|
+
apiKey: {
|
|
66
|
+
type: string;
|
|
67
|
+
writeOnly: boolean;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
accessKey: {
|
|
71
|
+
type: string;
|
|
72
|
+
writeOnly: boolean;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
secretKey: {
|
|
76
|
+
type: string;
|
|
77
|
+
writeOnly: boolean;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
password: {
|
|
81
|
+
type: string;
|
|
82
|
+
writeOnly: boolean;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
baseURL: {
|
|
86
|
+
type: string;
|
|
87
|
+
format: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
additionalProperties: boolean;
|
|
91
|
+
};
|
|
92
|
+
model: {
|
|
93
|
+
type: string;
|
|
94
|
+
description: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
additionalProperties: boolean;
|
|
98
|
+
};
|
|
99
|
+
LLMTestFlightRequest: {
|
|
100
|
+
type: string;
|
|
101
|
+
required: string[];
|
|
102
|
+
properties: {
|
|
103
|
+
provider: {
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
options: {
|
|
107
|
+
type: string;
|
|
108
|
+
description: string;
|
|
109
|
+
properties: {
|
|
110
|
+
apiKey: {
|
|
111
|
+
type: string;
|
|
112
|
+
writeOnly: boolean;
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
115
|
+
accessKey: {
|
|
116
|
+
type: string;
|
|
117
|
+
writeOnly: boolean;
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
secretKey: {
|
|
121
|
+
type: string;
|
|
122
|
+
writeOnly: boolean;
|
|
123
|
+
description: string;
|
|
124
|
+
};
|
|
125
|
+
password: {
|
|
126
|
+
type: string;
|
|
127
|
+
writeOnly: boolean;
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
130
|
+
baseURL: {
|
|
131
|
+
type: string;
|
|
132
|
+
format: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
additionalProperties: boolean;
|
|
136
|
+
};
|
|
137
|
+
model: {
|
|
138
|
+
type: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
additionalProperties: boolean;
|
|
142
|
+
};
|
|
143
|
+
LLMModel: {
|
|
144
|
+
type: string;
|
|
145
|
+
required: string[];
|
|
146
|
+
properties: {
|
|
147
|
+
id: {
|
|
148
|
+
type: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
additionalProperties: boolean;
|
|
152
|
+
};
|
|
153
|
+
LLMTestFlightResult: {
|
|
154
|
+
type: string;
|
|
155
|
+
required: string[];
|
|
156
|
+
properties: {
|
|
157
|
+
status: {
|
|
158
|
+
type: string;
|
|
159
|
+
enum: string[];
|
|
160
|
+
};
|
|
161
|
+
code: {
|
|
162
|
+
type: string;
|
|
163
|
+
};
|
|
164
|
+
message: {
|
|
165
|
+
type: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
additionalProperties: boolean;
|
|
169
|
+
};
|
|
170
|
+
LLMServiceCreate: {
|
|
171
|
+
type: string;
|
|
172
|
+
required: string[];
|
|
173
|
+
properties: {
|
|
174
|
+
name: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
177
|
+
title: {
|
|
178
|
+
type: string;
|
|
179
|
+
};
|
|
180
|
+
provider: {
|
|
181
|
+
type: string;
|
|
182
|
+
};
|
|
183
|
+
options: {
|
|
184
|
+
type: string;
|
|
185
|
+
description: string;
|
|
186
|
+
properties: {
|
|
187
|
+
apiKey: {
|
|
188
|
+
type: string;
|
|
189
|
+
writeOnly: boolean;
|
|
190
|
+
description: string;
|
|
191
|
+
};
|
|
192
|
+
accessKey: {
|
|
193
|
+
type: string;
|
|
194
|
+
writeOnly: boolean;
|
|
195
|
+
description: string;
|
|
196
|
+
};
|
|
197
|
+
secretKey: {
|
|
198
|
+
type: string;
|
|
199
|
+
writeOnly: boolean;
|
|
200
|
+
description: string;
|
|
201
|
+
};
|
|
202
|
+
password: {
|
|
203
|
+
type: string;
|
|
204
|
+
writeOnly: boolean;
|
|
205
|
+
description: string;
|
|
206
|
+
};
|
|
207
|
+
baseURL: {
|
|
208
|
+
type: string;
|
|
209
|
+
format: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
additionalProperties: boolean;
|
|
213
|
+
};
|
|
214
|
+
enabledModels: {
|
|
215
|
+
type: string;
|
|
216
|
+
required: string[];
|
|
217
|
+
additionalProperties: boolean;
|
|
218
|
+
properties: {
|
|
219
|
+
mode: {
|
|
220
|
+
type: string;
|
|
221
|
+
enum: string[];
|
|
222
|
+
description: string;
|
|
223
|
+
};
|
|
224
|
+
models: {
|
|
225
|
+
type: string;
|
|
226
|
+
items: {
|
|
227
|
+
type: string;
|
|
228
|
+
required: string[];
|
|
229
|
+
additionalProperties: boolean;
|
|
230
|
+
properties: {
|
|
231
|
+
label: {
|
|
232
|
+
type: string;
|
|
233
|
+
};
|
|
234
|
+
value: {
|
|
235
|
+
type: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
enabled: {
|
|
243
|
+
type: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
additionalProperties: boolean;
|
|
247
|
+
};
|
|
248
|
+
LLMServicePatch: {
|
|
249
|
+
type: string;
|
|
250
|
+
properties: {
|
|
251
|
+
name: {
|
|
252
|
+
type: string;
|
|
253
|
+
};
|
|
254
|
+
title: {
|
|
255
|
+
type: string;
|
|
256
|
+
};
|
|
257
|
+
provider: {
|
|
258
|
+
type: string;
|
|
259
|
+
};
|
|
260
|
+
options: {
|
|
261
|
+
type: string;
|
|
262
|
+
description: string;
|
|
263
|
+
properties: {
|
|
264
|
+
apiKey: {
|
|
265
|
+
type: string;
|
|
266
|
+
writeOnly: boolean;
|
|
267
|
+
description: string;
|
|
268
|
+
};
|
|
269
|
+
accessKey: {
|
|
270
|
+
type: string;
|
|
271
|
+
writeOnly: boolean;
|
|
272
|
+
description: string;
|
|
273
|
+
};
|
|
274
|
+
secretKey: {
|
|
275
|
+
type: string;
|
|
276
|
+
writeOnly: boolean;
|
|
277
|
+
description: string;
|
|
278
|
+
};
|
|
279
|
+
password: {
|
|
280
|
+
type: string;
|
|
281
|
+
writeOnly: boolean;
|
|
282
|
+
description: string;
|
|
283
|
+
};
|
|
284
|
+
baseURL: {
|
|
285
|
+
type: string;
|
|
286
|
+
format: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
additionalProperties: boolean;
|
|
290
|
+
};
|
|
291
|
+
enabledModels: {
|
|
292
|
+
type: string;
|
|
293
|
+
required: string[];
|
|
294
|
+
additionalProperties: boolean;
|
|
295
|
+
properties: {
|
|
296
|
+
mode: {
|
|
297
|
+
type: string;
|
|
298
|
+
enum: string[];
|
|
299
|
+
description: string;
|
|
300
|
+
};
|
|
301
|
+
models: {
|
|
302
|
+
type: string;
|
|
303
|
+
items: {
|
|
304
|
+
type: string;
|
|
305
|
+
required: string[];
|
|
306
|
+
additionalProperties: boolean;
|
|
307
|
+
properties: {
|
|
308
|
+
label: {
|
|
309
|
+
type: string;
|
|
310
|
+
};
|
|
311
|
+
value: {
|
|
312
|
+
type: string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
enabled: {
|
|
320
|
+
type: string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
additionalProperties: boolean;
|
|
324
|
+
};
|
|
325
|
+
LLMService: {
|
|
326
|
+
type: string;
|
|
327
|
+
properties: {
|
|
328
|
+
modelOptions: {
|
|
329
|
+
type: string;
|
|
330
|
+
readOnly: boolean;
|
|
331
|
+
additionalProperties: boolean;
|
|
332
|
+
};
|
|
333
|
+
createdAt: {
|
|
334
|
+
type: string;
|
|
335
|
+
format: string;
|
|
336
|
+
readOnly: boolean;
|
|
337
|
+
};
|
|
338
|
+
updatedAt: {
|
|
339
|
+
type: string;
|
|
340
|
+
format: string;
|
|
341
|
+
readOnly: boolean;
|
|
342
|
+
};
|
|
343
|
+
name: {
|
|
344
|
+
type: string;
|
|
345
|
+
};
|
|
346
|
+
title: {
|
|
347
|
+
type: string;
|
|
348
|
+
};
|
|
349
|
+
provider: {
|
|
350
|
+
type: string;
|
|
351
|
+
};
|
|
352
|
+
options: {
|
|
353
|
+
type: string;
|
|
354
|
+
description: string;
|
|
355
|
+
properties: {
|
|
356
|
+
apiKey: {
|
|
357
|
+
type: string;
|
|
358
|
+
writeOnly: boolean;
|
|
359
|
+
description: string;
|
|
360
|
+
};
|
|
361
|
+
accessKey: {
|
|
362
|
+
type: string;
|
|
363
|
+
writeOnly: boolean;
|
|
364
|
+
description: string;
|
|
365
|
+
};
|
|
366
|
+
secretKey: {
|
|
367
|
+
type: string;
|
|
368
|
+
writeOnly: boolean;
|
|
369
|
+
description: string;
|
|
370
|
+
};
|
|
371
|
+
password: {
|
|
372
|
+
type: string;
|
|
373
|
+
writeOnly: boolean;
|
|
374
|
+
description: string;
|
|
375
|
+
};
|
|
376
|
+
baseURL: {
|
|
377
|
+
type: string;
|
|
378
|
+
format: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
additionalProperties: boolean;
|
|
382
|
+
};
|
|
383
|
+
enabledModels: {
|
|
384
|
+
type: string;
|
|
385
|
+
required: string[];
|
|
386
|
+
additionalProperties: boolean;
|
|
387
|
+
properties: {
|
|
388
|
+
mode: {
|
|
389
|
+
type: string;
|
|
390
|
+
enum: string[];
|
|
391
|
+
description: string;
|
|
392
|
+
};
|
|
393
|
+
models: {
|
|
394
|
+
type: string;
|
|
395
|
+
items: {
|
|
396
|
+
type: string;
|
|
397
|
+
required: string[];
|
|
398
|
+
additionalProperties: boolean;
|
|
399
|
+
properties: {
|
|
400
|
+
label: {
|
|
401
|
+
type: string;
|
|
402
|
+
};
|
|
403
|
+
value: {
|
|
404
|
+
type: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
enabled: {
|
|
412
|
+
type: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
additionalProperties: boolean;
|
|
416
|
+
};
|
|
417
|
+
EnabledLLMService: {
|
|
418
|
+
type: string;
|
|
419
|
+
properties: {
|
|
420
|
+
name: {
|
|
421
|
+
type: string;
|
|
422
|
+
};
|
|
423
|
+
title: {
|
|
424
|
+
type: string;
|
|
425
|
+
};
|
|
426
|
+
provider: {
|
|
427
|
+
type: string;
|
|
428
|
+
};
|
|
429
|
+
enabled: {
|
|
430
|
+
type: string;
|
|
431
|
+
};
|
|
432
|
+
enabledModels: {
|
|
433
|
+
type: string;
|
|
434
|
+
required: string[];
|
|
435
|
+
additionalProperties: boolean;
|
|
436
|
+
properties: {
|
|
437
|
+
mode: {
|
|
438
|
+
type: string;
|
|
439
|
+
enum: string[];
|
|
440
|
+
description: string;
|
|
441
|
+
};
|
|
442
|
+
models: {
|
|
443
|
+
type: string;
|
|
444
|
+
items: {
|
|
445
|
+
type: string;
|
|
446
|
+
required: string[];
|
|
447
|
+
additionalProperties: boolean;
|
|
448
|
+
properties: {
|
|
449
|
+
label: {
|
|
450
|
+
type: string;
|
|
451
|
+
};
|
|
452
|
+
value: {
|
|
453
|
+
type: string;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
additionalProperties: boolean;
|
|
462
|
+
};
|
|
463
|
+
AIEmployeeCreate: {
|
|
464
|
+
type: string;
|
|
465
|
+
required: string[];
|
|
466
|
+
properties: {
|
|
467
|
+
username: {
|
|
468
|
+
type: string;
|
|
469
|
+
};
|
|
470
|
+
nickname: {
|
|
471
|
+
type: string;
|
|
472
|
+
};
|
|
473
|
+
position: {
|
|
474
|
+
type: string;
|
|
475
|
+
};
|
|
476
|
+
avatar: {
|
|
477
|
+
type: string;
|
|
478
|
+
};
|
|
479
|
+
bio: {
|
|
480
|
+
type: string;
|
|
481
|
+
};
|
|
482
|
+
about: {
|
|
483
|
+
type: string;
|
|
484
|
+
};
|
|
485
|
+
greeting: {
|
|
486
|
+
type: string;
|
|
487
|
+
};
|
|
488
|
+
modelSettings: {
|
|
489
|
+
type: string;
|
|
490
|
+
required: string[];
|
|
491
|
+
additionalProperties: boolean;
|
|
492
|
+
properties: {
|
|
493
|
+
enabled: {
|
|
494
|
+
type: string;
|
|
495
|
+
};
|
|
496
|
+
models: {
|
|
497
|
+
type: string;
|
|
498
|
+
items: {
|
|
499
|
+
type: string;
|
|
500
|
+
required: string[];
|
|
501
|
+
additionalProperties: boolean;
|
|
502
|
+
properties: {
|
|
503
|
+
llmService: {
|
|
504
|
+
type: string;
|
|
505
|
+
};
|
|
506
|
+
model: {
|
|
507
|
+
type: string;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
enableKnowledgeBase: {
|
|
515
|
+
type: string;
|
|
516
|
+
};
|
|
517
|
+
knowledgeBase: {
|
|
518
|
+
type: string;
|
|
519
|
+
required: string[];
|
|
520
|
+
additionalProperties: boolean;
|
|
521
|
+
properties: {
|
|
522
|
+
topK: {
|
|
523
|
+
type: string;
|
|
524
|
+
minimum: number;
|
|
525
|
+
};
|
|
526
|
+
score: {
|
|
527
|
+
type: string;
|
|
528
|
+
description: string;
|
|
529
|
+
example: string;
|
|
530
|
+
};
|
|
531
|
+
knowledgeBaseKeys: {
|
|
532
|
+
type: string;
|
|
533
|
+
items: {
|
|
534
|
+
type: string;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
enabled: {
|
|
540
|
+
type: string;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
additionalProperties: boolean;
|
|
544
|
+
};
|
|
545
|
+
AIEmployeePatch: {
|
|
546
|
+
type: string;
|
|
547
|
+
properties: {
|
|
548
|
+
username: {
|
|
549
|
+
type: string;
|
|
550
|
+
};
|
|
551
|
+
nickname: {
|
|
552
|
+
type: string;
|
|
553
|
+
};
|
|
554
|
+
position: {
|
|
555
|
+
type: string;
|
|
556
|
+
};
|
|
557
|
+
avatar: {
|
|
558
|
+
type: string;
|
|
559
|
+
};
|
|
560
|
+
bio: {
|
|
561
|
+
type: string;
|
|
562
|
+
};
|
|
563
|
+
about: {
|
|
564
|
+
type: string;
|
|
565
|
+
};
|
|
566
|
+
greeting: {
|
|
567
|
+
type: string;
|
|
568
|
+
};
|
|
569
|
+
modelSettings: {
|
|
570
|
+
type: string;
|
|
571
|
+
required: string[];
|
|
572
|
+
additionalProperties: boolean;
|
|
573
|
+
properties: {
|
|
574
|
+
enabled: {
|
|
575
|
+
type: string;
|
|
576
|
+
};
|
|
577
|
+
models: {
|
|
578
|
+
type: string;
|
|
579
|
+
items: {
|
|
580
|
+
type: string;
|
|
581
|
+
required: string[];
|
|
582
|
+
additionalProperties: boolean;
|
|
583
|
+
properties: {
|
|
584
|
+
llmService: {
|
|
585
|
+
type: string;
|
|
586
|
+
};
|
|
587
|
+
model: {
|
|
588
|
+
type: string;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
enableKnowledgeBase: {
|
|
596
|
+
type: string;
|
|
597
|
+
};
|
|
598
|
+
knowledgeBase: {
|
|
599
|
+
type: string;
|
|
600
|
+
required: string[];
|
|
601
|
+
additionalProperties: boolean;
|
|
602
|
+
properties: {
|
|
603
|
+
topK: {
|
|
604
|
+
type: string;
|
|
605
|
+
minimum: number;
|
|
606
|
+
};
|
|
607
|
+
score: {
|
|
608
|
+
type: string;
|
|
609
|
+
description: string;
|
|
610
|
+
example: string;
|
|
611
|
+
};
|
|
612
|
+
knowledgeBaseKeys: {
|
|
613
|
+
type: string;
|
|
614
|
+
items: {
|
|
615
|
+
type: string;
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
enabled: {
|
|
621
|
+
type: string;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
additionalProperties: boolean;
|
|
625
|
+
};
|
|
626
|
+
AIEmployee: {
|
|
627
|
+
type: string;
|
|
628
|
+
properties: {
|
|
629
|
+
builtIn: {
|
|
630
|
+
type: string;
|
|
631
|
+
readOnly: boolean;
|
|
632
|
+
};
|
|
633
|
+
category: {
|
|
634
|
+
type: string;
|
|
635
|
+
readOnly: boolean;
|
|
636
|
+
};
|
|
637
|
+
deprecated: {
|
|
638
|
+
type: string;
|
|
639
|
+
readOnly: boolean;
|
|
640
|
+
};
|
|
641
|
+
missingKnowledgeBaseKeys: {
|
|
642
|
+
type: string;
|
|
643
|
+
readOnly: boolean;
|
|
644
|
+
items: {
|
|
645
|
+
type: string;
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
createdAt: {
|
|
649
|
+
type: string;
|
|
650
|
+
format: string;
|
|
651
|
+
readOnly: boolean;
|
|
652
|
+
};
|
|
653
|
+
updatedAt: {
|
|
654
|
+
type: string;
|
|
655
|
+
format: string;
|
|
656
|
+
readOnly: boolean;
|
|
657
|
+
};
|
|
658
|
+
username: {
|
|
659
|
+
type: string;
|
|
660
|
+
};
|
|
661
|
+
nickname: {
|
|
662
|
+
type: string;
|
|
663
|
+
};
|
|
664
|
+
position: {
|
|
665
|
+
type: string;
|
|
666
|
+
};
|
|
667
|
+
avatar: {
|
|
668
|
+
type: string;
|
|
669
|
+
};
|
|
670
|
+
bio: {
|
|
671
|
+
type: string;
|
|
672
|
+
};
|
|
673
|
+
about: {
|
|
674
|
+
type: string;
|
|
675
|
+
};
|
|
676
|
+
greeting: {
|
|
677
|
+
type: string;
|
|
678
|
+
};
|
|
679
|
+
modelSettings: {
|
|
680
|
+
type: string;
|
|
681
|
+
required: string[];
|
|
682
|
+
additionalProperties: boolean;
|
|
683
|
+
properties: {
|
|
684
|
+
enabled: {
|
|
685
|
+
type: string;
|
|
686
|
+
};
|
|
687
|
+
models: {
|
|
688
|
+
type: string;
|
|
689
|
+
items: {
|
|
690
|
+
type: string;
|
|
691
|
+
required: string[];
|
|
692
|
+
additionalProperties: boolean;
|
|
693
|
+
properties: {
|
|
694
|
+
llmService: {
|
|
695
|
+
type: string;
|
|
696
|
+
};
|
|
697
|
+
model: {
|
|
698
|
+
type: string;
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
enableKnowledgeBase: {
|
|
706
|
+
type: string;
|
|
707
|
+
};
|
|
708
|
+
knowledgeBase: {
|
|
709
|
+
type: string;
|
|
710
|
+
required: string[];
|
|
711
|
+
additionalProperties: boolean;
|
|
712
|
+
properties: {
|
|
713
|
+
topK: {
|
|
714
|
+
type: string;
|
|
715
|
+
minimum: number;
|
|
716
|
+
};
|
|
717
|
+
score: {
|
|
718
|
+
type: string;
|
|
719
|
+
description: string;
|
|
720
|
+
example: string;
|
|
721
|
+
};
|
|
722
|
+
knowledgeBaseKeys: {
|
|
723
|
+
type: string;
|
|
724
|
+
items: {
|
|
725
|
+
type: string;
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
enabled: {
|
|
731
|
+
type: string;
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
additionalProperties: boolean;
|
|
735
|
+
};
|
|
736
|
+
};
|