@acorex/modules 21.0.0-next.54 → 21.0.0-next.56
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/ai-management/README.md +3 -2
- package/fesm2022/{acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs → acorex-modules-ai-management-agent.entity-X51GLTdi.mjs} +69 -6
- package/fesm2022/acorex-modules-ai-management-agent.entity-X51GLTdi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-CnyoIO-Z.mjs → acorex-modules-ai-management-assist.entity-2h5KE9UH.mjs} +58 -4
- package/fesm2022/acorex-modules-ai-management-assist.entity-2h5KE9UH.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs +121 -0
- package/fesm2022/acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management.mjs +864 -945
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-Bnjyq-wp.mjs → acorex-modules-conversation-acorex-modules-conversation-UNhA-qi5.mjs} +71 -41
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-UNhA-qi5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Df5LmYZI.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Be58gcns.mjs} +6 -6
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Be58gcns.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-BXI4smIr.mjs → acorex-modules-conversation-comments-page.component-3XBLeMW8.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-BXI4smIr.mjs.map → acorex-modules-conversation-comments-page.component-3XBLeMW8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-B5qJnpCK.mjs → acorex-modules-conversation-send-assist-chat-message.command-CSu-lJuu.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-B5qJnpCK.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-CSu-lJuu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DI3LAaDF.mjs → acorex-modules-conversation-start-assist-chat.command-CyoncQB1.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DI3LAaDF.mjs.map → acorex-modules-conversation-start-assist-chat.command-CyoncQB1.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +725 -582
- package/types/acorex-modules-conversation.d.ts +2 -0
- package/fesm2022/acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-assist.entity-CnyoIO-Z.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-Bnjyq-wp.mjs.map +0 -1
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Df5LmYZI.mjs.map +0 -1
package/ai-management/README.md
CHANGED
|
@@ -30,9 +30,10 @@ API keys are stored in settings (tenant scope by default), not in code.
|
|
|
30
30
|
- **`AXPAiEngine`** (`run`) is the backend boundary; mock connectivity provides **`AXCAiEngine`**, which uses **`AXCAiChatRouterService`** for chat, vision extraction, and image generation (no UI-layer chat provider token).
|
|
31
31
|
- **Tool calls** from the model are **not** ad-hoc HTTP; they resolve to registry keys executed via **`AXPCommandService.execute(key, input)`** and **`AXPQueryService.fetch(key, input)`** (same keys as entity/command definitions and `provideCommandSetups`). The mock engine wraps both in a unified transcript payload (`success`, `toolKind: 'command' | 'query'`, `data`, `error`); see `docs/ai/ai-tool-execution-and-schema.md`.
|
|
32
32
|
- **Assists** scope which command/query catalog rows are exposed as tools and carry **`systemPrompt`** / **`initialMessages`** (initial thread seeding is done in the chat UI and conversation mock, not inside each `run`, so history is not duplicated every turn).
|
|
33
|
-
- **Layered system prompts (mock engine):** before each chat `run`, the mock merges (1)
|
|
34
|
-
- **Delegated agents (supervisor pattern):** when an assist lists agents in **`delegatedAgents`** (one row per allowed `AiAgent` + options), the chat engine exposes **one tool per listed row** with tool name **`agent:<AiAgent.id>`** (catalog row primary key), not `name`. Runtime execution **only** resolves delegated calls against that scope; any other `agent:` id is denied. The supervisor model routes to a specialist; the specialist runs the existing tool loop with a **narrow tool list** (`AiAgent.
|
|
33
|
+
- **Layered system prompts (mock engine):** before each chat `run`, the mock merges (1) empty shared `AXC_AI_PLATFORM_SYSTEM_PROMPT`, (2) optional role baseline, (3) resolved **`AiRule`** markdown from assist/agent **`rules`** plus per-run **`includeRules`** / **`excludeRules`** (merge helpers in `libs/connectivity/mock/.../ai-rules.util.ts`), (4) tenant **`AiManagement:Setting:GlobalSystemPrompt`**, then (5) catalog **`systemPrompt`**. Engine addenda (tools, supervisor, platform runtime context) append after that stack. The default Markdown formatting rule lives in the **`markdown`** catalog row (seeded in mock); chat passes `includeRules: ['markdown']` when user-visible Markdown replies are required.
|
|
34
|
+
- **Delegated agents (supervisor pattern):** when an assist lists agents in **`delegatedAgents`** (one row per allowed `AiAgent` + options), the chat engine exposes **one tool per listed row** with tool name **`agent:<AiAgent.id>`** (catalog row primary key), not `name`. Runtime execution **only** resolves delegated calls against that scope; any other `agent:` id is denied. The supervisor model routes to a specialist; the specialist runs the existing tool loop with a **narrow tool list** (`AiAgent.commandIds` / `queryIds`). Assists without delegated agents keep the **legacy** behavior (direct registry tools).
|
|
35
35
|
- **Delegated parameter bindings:** each agent defines optional **`parameterDefinitions`** (array of per-key definitions with `binding`: `assist_locked` values come from the assist **`delegatedAgent.options`** map; `assist_default` fills missing supervisor args from that map; `supervisor` is filled by the supervisor model). When empty, the runtime uses a default single required `query` string. Pure merge and supervisor-visible schema shaping live in **`libs/connectivity/mock/src/lib/ai-management/ai-delegated-agent-parameters.util.ts`** (mock engine; a real API can port the same helpers server-side).
|
|
36
|
+
- **Agent output contract:** each **`AiAgent`** row may set **`outputContract`** (JSON: `kind` string | object | array, optional `transcriptSegment` when object, `instruction`, `schemaSummary`, `validationCommandName`, `structuredRetries`). Domain behaviour stays in **`systemPrompt`**; the mock engine appends a short output addendum, omits the string role baseline when `kind` is object/array, runs **`finalizeDelegatedAgentTranscript`** after the tool loop (parse/retry, optional layout validation command, map `transcriptSegment: node` → chat `node` / `followUp` → `followUp` transcript segments). Types: **`AXPAiAgentOutputContract`** in `libs/modules/ai-management/src/lib/features/engine/ai-agent-output-contract.types.ts`; mock helpers: **`libs/connectivity/mock/src/lib/ai-management/ai-agent-output-contract.util.ts`**.
|
|
36
37
|
- **On-demand planning:** each assist may set a default **`planningMode`** on the catalog row (`off` | `once` | `when-needed`). Resolution order is **`run({ planningMode })` (when set) → assist row → `off`**. A planning turn runs one **tool-free** provider round first; `when-needed` uses a small heuristic on the last user message. Planning applies to whatever tool surface is active (delegated agents or direct tools).
|
|
37
38
|
|
|
38
39
|
## Catalog commands and queries (deterministic execution)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
2
2
|
import { createAllQueryView } from '@acorex/platform/common';
|
|
3
|
+
import { objectKeyValueTransforms } from '@acorex/platform/core';
|
|
3
4
|
import { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';
|
|
4
|
-
import { RootConfig } from './acorex-modules-ai-management.mjs';
|
|
5
|
+
import { RootConfig, AI_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_DATASOURCE_NAME } from './acorex-modules-ai-management.mjs';
|
|
5
6
|
|
|
6
7
|
//#region ---- Imports ----
|
|
7
8
|
//#endregion
|
|
@@ -53,6 +54,7 @@ async function agentFactory() {
|
|
|
53
54
|
{ id: 'registry-queries', title: '@ai-management:agents.entities.agent.groups.registry-queries' },
|
|
54
55
|
{ id: 'access', title: '@ai-management:agents.entities.agent.groups.access' },
|
|
55
56
|
{ id: 'prompt-behaviour', title: '@ai-management:agents.entities.agent.groups.prompt-behaviour' },
|
|
57
|
+
{ id: 'output-contract', title: '@ai-management:agents.entities.agent.groups.output-contract' },
|
|
56
58
|
],
|
|
57
59
|
properties: [
|
|
58
60
|
{
|
|
@@ -85,7 +87,7 @@ async function agentFactory() {
|
|
|
85
87
|
description: '@ai-management:agents.entities.agent.fields.description.description',
|
|
86
88
|
},
|
|
87
89
|
{
|
|
88
|
-
name: '
|
|
90
|
+
name: 'commandIds',
|
|
89
91
|
title: '@ai-management:agents.entities.agent.fields.command-registry.title',
|
|
90
92
|
description: '@ai-management:agents.entities.agent.fields.command-registry.description',
|
|
91
93
|
groupId: 'registry-commands',
|
|
@@ -166,6 +168,58 @@ async function agentFactory() {
|
|
|
166
168
|
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 8 } },
|
|
167
169
|
},
|
|
168
170
|
},
|
|
171
|
+
{
|
|
172
|
+
name: 'ruleIds',
|
|
173
|
+
title: '@ai-management:agents.entities.agent.fields.rules.title',
|
|
174
|
+
description: '@ai-management:agents.entities.agent.fields.rules.description',
|
|
175
|
+
groupId: 'prompt-behaviour',
|
|
176
|
+
schema: {
|
|
177
|
+
defaultValue: [],
|
|
178
|
+
dataType: 'array',
|
|
179
|
+
nullable: true,
|
|
180
|
+
interface: {
|
|
181
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
182
|
+
options: {
|
|
183
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.rule.name}`,
|
|
184
|
+
textField: 'title',
|
|
185
|
+
valueField: 'id',
|
|
186
|
+
look: 'select',
|
|
187
|
+
multiple: true,
|
|
188
|
+
allowSearch: true,
|
|
189
|
+
hasClearButton: true,
|
|
190
|
+
columns: ['title', 'name'],
|
|
191
|
+
placeholder: '@ai-management:agents.entities.agent.fields.rules.placeholder',
|
|
192
|
+
expose: [
|
|
193
|
+
{ source: 'id', target: 'rules.{id}' },
|
|
194
|
+
{ source: 'name', target: 'rules.{name}' },
|
|
195
|
+
{ source: 'title', target: 'rules.{title}' },
|
|
196
|
+
],
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: 'outputContract',
|
|
203
|
+
title: '@ai-management:agents.entities.agent.fields.output-contract.title',
|
|
204
|
+
description: '@ai-management:agents.entities.agent.fields.output-contract.description',
|
|
205
|
+
groupId: 'output-contract',
|
|
206
|
+
schema: {
|
|
207
|
+
dataType: 'string',
|
|
208
|
+
nullable: true,
|
|
209
|
+
interface: {
|
|
210
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
211
|
+
options: {
|
|
212
|
+
dataSource: AI_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_DATASOURCE_NAME,
|
|
213
|
+
valueField: 'id',
|
|
214
|
+
textField: 'title',
|
|
215
|
+
hasClearButton: true,
|
|
216
|
+
allowSearch: false,
|
|
217
|
+
placeholder: '@ai-management:agents.entities.agent.fields.output-contract.transcript-segment.placeholder',
|
|
218
|
+
},
|
|
219
|
+
valueTransforms: objectKeyValueTransforms('id'),
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
},
|
|
169
223
|
],
|
|
170
224
|
columns: [
|
|
171
225
|
{ name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },
|
|
@@ -181,16 +235,19 @@ async function agentFactory() {
|
|
|
181
235
|
{ id: 'registry-queries' },
|
|
182
236
|
{ id: 'access' },
|
|
183
237
|
{ id: 'prompt-behaviour' },
|
|
238
|
+
{ id: 'output-contract' },
|
|
184
239
|
],
|
|
185
240
|
properties: [
|
|
186
241
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
187
242
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
188
243
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
189
|
-
{ name: '
|
|
244
|
+
{ name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
190
245
|
{ name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
191
246
|
{ name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
192
247
|
{ name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
193
248
|
{ name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
249
|
+
{ name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
250
|
+
{ name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
194
251
|
],
|
|
195
252
|
},
|
|
196
253
|
update: {
|
|
@@ -200,16 +257,19 @@ async function agentFactory() {
|
|
|
200
257
|
{ id: 'registry-queries' },
|
|
201
258
|
{ id: 'access' },
|
|
202
259
|
{ id: 'prompt-behaviour' },
|
|
260
|
+
{ id: 'output-contract' },
|
|
203
261
|
],
|
|
204
262
|
properties: [
|
|
205
263
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
206
264
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
207
265
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
208
|
-
{ name: '
|
|
266
|
+
{ name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
209
267
|
{ name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
210
268
|
{ name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
211
269
|
{ name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
212
270
|
{ name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
271
|
+
{ name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
272
|
+
{ name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
213
273
|
],
|
|
214
274
|
},
|
|
215
275
|
single: {
|
|
@@ -220,16 +280,19 @@ async function agentFactory() {
|
|
|
220
280
|
{ id: 'registry-queries' },
|
|
221
281
|
{ id: 'access' },
|
|
222
282
|
{ id: 'prompt-behaviour' },
|
|
283
|
+
{ id: 'output-contract' },
|
|
223
284
|
],
|
|
224
285
|
properties: [
|
|
225
286
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
226
287
|
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
227
288
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
228
|
-
{ name: '
|
|
289
|
+
{ name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },
|
|
229
290
|
{ name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },
|
|
230
291
|
{ name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } }, },
|
|
231
292
|
{ name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
232
293
|
{ name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
294
|
+
{ name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
295
|
+
{ name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
233
296
|
],
|
|
234
297
|
actions: [...entityMasterRecordActions()],
|
|
235
298
|
},
|
|
@@ -245,4 +308,4 @@ async function agentFactory() {
|
|
|
245
308
|
//#endregion
|
|
246
309
|
|
|
247
310
|
export { agentFactory };
|
|
248
|
-
//# sourceMappingURL=acorex-modules-ai-management-agent.entity-
|
|
311
|
+
//# sourceMappingURL=acorex-modules-ai-management-agent.entity-X51GLTdi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-ai-management-agent.entity-X51GLTdi.mjs","sources":["../../../../libs/modules/ai-management/src/lib/entities/agent/agent.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { RootConfig } from '../../const';\nimport { AI_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_DATASOURCE_NAME } from '../../features/datasources/output-contract-transcript-segment.datasource';\n\n//#endregion\n\n//#region ---- Repeater children (registry command / query) ----\n\nconst AGENT_COMMAND_REGISTRY_REPEATER_CHILDREN = [\n {\n type: 'agent-registry-tool-configurator',\n mode: 'edit' as const,\n path: 'command',\n name: 'command',\n options: {\n registryKind: 'command',\n label: '@ai-management:agents.entities.agent.fields.command-registry.item-label',\n },\n },\n];\n\nconst AGENT_QUERY_REGISTRY_REPEATER_CHILDREN = [\n {\n type: 'agent-registry-tool-configurator',\n mode: 'edit' as const,\n path: 'query',\n name: 'query',\n options: {\n registryKind: 'query',\n label: '@ai-management:agents.entities.agent.fields.query-registry.item-label',\n },\n },\n];\n\n//#endregion\n\n//#region ---- Entity ----\n\nexport async function agentFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.agent.name,\n title: RootConfig.entities.agent.title,\n icon: RootConfig.entities.agent.icon,\n formats: {\n individual: RootConfig.entities.agent.title,\n plural: RootConfig.entities.agent.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n relatedEntities: [],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'registry-commands', title: '@ai-management:agents.entities.agent.groups.registry-commands' },\n { id: 'registry-queries', title: '@ai-management:agents.entities.agent.groups.registry-queries' },\n { id: 'access', title: '@ai-management:agents.entities.agent.groups.access' },\n { id: 'prompt-behaviour', title: '@ai-management:agents.entities.agent.groups.prompt-behaviour' },\n { id: 'output-contract', title: '@ai-management:agents.entities.agent.groups.output-contract' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 4 } } },\n description: '@ai-management:agents.entities.agent.fields.description.description',\n },\n {\n name: 'commandIds',\n title: '@ai-management:agents.entities.agent.fields.command-registry.title',\n description: '@ai-management:agents.entities.agent.fields.command-registry.description',\n groupId: 'registry-commands',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: AGENT_COMMAND_REGISTRY_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'queryIds',\n title: '@ai-management:agents.entities.agent.fields.query-registry.title',\n description: '@ai-management:agents.entities.agent.fields.query-registry.description',\n groupId: 'registry-queries',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: AGENT_QUERY_REGISTRY_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'modelEntityId',\n title: '@ai-management:agents.entities.agent.fields.model-entity.title',\n description: '@ai-management:agents.entities.agent.fields.model-entity.description',\n groupId: 'access',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.model.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n allowSearch: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:agents.entities.agent.fields.model-entity.placeholder',\n expose: [\n { source: 'id', target: 'aiModel.id' },\n { source: 'title', target: 'aiModel.title' },\n { source: 'name', target: 'aiModel.name' },\n ],\n },\n },\n },\n },\n {\n name: 'maxSteps',\n title: '@ai-management:agents.entities.agent.fields.max-steps.title',\n description: '@ai-management:agents.entities.agent.fields.max-steps.description',\n groupId: 'access',\n schema: {\n dataType: 'number',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 1, maxValue: 50 },\n },\n },\n },\n {\n name: 'systemPrompt',\n title: '@ai-management:assists.entities.assist.fields.system-prompt.title',\n groupId: 'prompt-behaviour',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 8 } },\n },\n },\n {\n name: 'ruleIds',\n title: '@ai-management:agents.entities.agent.fields.rules.title',\n description: '@ai-management:agents.entities.agent.fields.rules.description',\n groupId: 'prompt-behaviour',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.rule.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n multiple: true,\n allowSearch: true,\n hasClearButton: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:agents.entities.agent.fields.rules.placeholder',\n expose: [\n { source: 'id', target: 'rules.{id}' },\n { source: 'name', target: 'rules.{name}' },\n { source: 'title', target: 'rules.{title}' },\n ],\n },\n },\n },\n },\n {\n name: 'outputContract',\n title: '@ai-management:agents.entities.agent.fields.output-contract.title',\n description: '@ai-management:agents.entities.agent.fields.output-contract.description',\n groupId: 'output-contract',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n dataSource: AI_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_DATASOURCE_NAME,\n valueField: 'id',\n textField: 'title',\n hasClearButton: true,\n allowSearch: false,\n placeholder:\n '@ai-management:agents.entities.agent.fields.output-contract.transcript-segment.placeholder',\n },\n valueTransforms: objectKeyValueTransforms('id'),\n },\n },\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'description', title: '@general:terms.common.description', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n { id: 'output-contract' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n { id: 'output-contract' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info' },\n { id: 'registry-commands' },\n { id: 'registry-queries' },\n { id: 'access' },\n { id: 'prompt-behaviour' },\n { id: 'output-contract' },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'commandIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },\n { name: 'queryIds', layout: { positions: { lg: { colSpan: 12 } }, label: { visible: false } }, },\n { name: 'modelEntityId', layout: { positions: { lg: { colSpan: 6 } } }, },\n { name: 'maxSteps', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;AAAA;AASA;AAEA;AAEA,MAAM,wCAAwC,GAAG;AAC/C,IAAA;AACE,QAAA,IAAI,EAAE,kCAAkC;AACxC,QAAA,IAAI,EAAE,MAAe;AACrB,QAAA,IAAI,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AAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -54,6 +54,7 @@ async function assistFactory() {
|
|
|
54
54
|
{ id: 'ai-configuration', title: '@ai-management:assists.entities.assist.groups.ai-configuration' },
|
|
55
55
|
{ id: 'welcome-interaction', title: '@ai-management:assists.entities.assist.groups.welcome-interaction' },
|
|
56
56
|
{ id: 'prompt-behaviour', title: '@ai-management:assists.entities.assist.groups.prompt-behaviour' },
|
|
57
|
+
{ id: 'output-contract', title: '@ai-management:assists.entities.assist.groups.output-contract' },
|
|
57
58
|
{ id: 'available-agents', title: '@ai-management:assists.entities.assist.groups.available-agents' },
|
|
58
59
|
],
|
|
59
60
|
properties: [
|
|
@@ -197,6 +198,50 @@ async function assistFactory() {
|
|
|
197
198
|
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 6 } },
|
|
198
199
|
},
|
|
199
200
|
},
|
|
201
|
+
{
|
|
202
|
+
name: 'ruleIds',
|
|
203
|
+
title: '@ai-management:assists.entities.assist.fields.rules.title',
|
|
204
|
+
description: '@ai-management:assists.entities.assist.fields.rules.description',
|
|
205
|
+
groupId: 'prompt-behaviour',
|
|
206
|
+
schema: {
|
|
207
|
+
defaultValue: [],
|
|
208
|
+
dataType: 'array',
|
|
209
|
+
nullable: true,
|
|
210
|
+
interface: {
|
|
211
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
212
|
+
options: {
|
|
213
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.rule.name}`,
|
|
214
|
+
textField: 'title',
|
|
215
|
+
valueField: 'id',
|
|
216
|
+
look: 'select',
|
|
217
|
+
multiple: true,
|
|
218
|
+
allowSearch: true,
|
|
219
|
+
hasClearButton: true,
|
|
220
|
+
columns: ['title', 'name'],
|
|
221
|
+
placeholder: '@ai-management:assists.entities.assist.fields.rules.placeholder',
|
|
222
|
+
expose: [
|
|
223
|
+
{ source: 'id', target: 'rules.{id}' },
|
|
224
|
+
{ source: 'name', target: 'rules.{name}' },
|
|
225
|
+
{ source: 'title', target: 'rules.{title}' },
|
|
226
|
+
],
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'outputContract',
|
|
233
|
+
title: '@ai-management:assists.entities.assist.fields.output-contract.title',
|
|
234
|
+
description: '@ai-management:assists.entities.assist.fields.output-contract.description',
|
|
235
|
+
groupId: 'output-contract',
|
|
236
|
+
schema: {
|
|
237
|
+
dataType: 'object',
|
|
238
|
+
nullable: true,
|
|
239
|
+
interface: {
|
|
240
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
241
|
+
options: { rows: 10 },
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
200
245
|
{
|
|
201
246
|
name: 'knowledgeFiles',
|
|
202
247
|
title: '@ai-management:assists.entities.assist.fields.knowledge-files.title',
|
|
@@ -258,7 +303,8 @@ async function assistFactory() {
|
|
|
258
303
|
{ id: 'ai-configuration', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
259
304
|
{ id: 'welcome-interaction', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
260
305
|
{ id: 'prompt-behaviour', order: 6, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
261
|
-
{ id: '
|
|
306
|
+
{ id: 'output-contract', order: 7, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
307
|
+
{ id: 'available-agents', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
262
308
|
],
|
|
263
309
|
properties: [
|
|
264
310
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
@@ -273,7 +319,9 @@ async function assistFactory() {
|
|
|
273
319
|
{ name: 'initialMessages', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
274
320
|
{ name: 'starterPrompts', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
275
321
|
{ name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
322
|
+
{ name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
276
323
|
{ name: 'knowledgeFiles', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
324
|
+
{ name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
277
325
|
{ name: 'delegatedAgents', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
278
326
|
],
|
|
279
327
|
},
|
|
@@ -284,7 +332,8 @@ async function assistFactory() {
|
|
|
284
332
|
{ id: 'ai-configuration', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
285
333
|
{ id: 'welcome-interaction', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
286
334
|
{ id: 'prompt-behaviour', order: 6, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
287
|
-
{ id: '
|
|
335
|
+
{ id: 'output-contract', order: 7, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
336
|
+
{ id: 'available-agents', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
288
337
|
],
|
|
289
338
|
properties: [
|
|
290
339
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
@@ -296,7 +345,9 @@ async function assistFactory() {
|
|
|
296
345
|
{ name: 'initialMessages', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
297
346
|
{ name: 'starterPrompts', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
298
347
|
{ name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
348
|
+
{ name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
299
349
|
{ name: 'knowledgeFiles', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
350
|
+
{ name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
300
351
|
{ name: 'delegatedAgents', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
301
352
|
],
|
|
302
353
|
},
|
|
@@ -308,7 +359,8 @@ async function assistFactory() {
|
|
|
308
359
|
{ id: 'ai-configuration', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
309
360
|
{ id: 'welcome-interaction', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
310
361
|
{ id: 'prompt-behaviour', order: 6, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
311
|
-
{ id: '
|
|
362
|
+
{ id: 'output-contract', order: 7, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
363
|
+
{ id: 'available-agents', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
312
364
|
],
|
|
313
365
|
properties: [
|
|
314
366
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
@@ -323,7 +375,9 @@ async function assistFactory() {
|
|
|
323
375
|
{ name: 'initialMessages', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
324
376
|
{ name: 'starterPrompts', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
325
377
|
{ name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
378
|
+
{ name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
326
379
|
{ name: 'knowledgeFiles', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
380
|
+
{ name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
327
381
|
{ name: 'delegatedAgents', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
328
382
|
],
|
|
329
383
|
actions: [...entityMasterRecordActions()],
|
|
@@ -340,4 +394,4 @@ async function assistFactory() {
|
|
|
340
394
|
//#endregion
|
|
341
395
|
|
|
342
396
|
export { assistFactory };
|
|
343
|
-
//# sourceMappingURL=acorex-modules-ai-management-assist.entity-
|
|
397
|
+
//# sourceMappingURL=acorex-modules-ai-management-assist.entity-2h5KE9UH.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-ai-management-assist.entity-2h5KE9UH.mjs","sources":["../../../../libs/modules/ai-management/src/lib/entities/assist/assist.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Repeater children (available agents) ----\n\nconst DELEGATED_AGENTS_REPEATER_CHILDREN = [\n {\n type: 'assist-delegated-agent-configurator',\n mode: 'edit' as const,\n path: 'agent',\n name: 'agent',\n options: {\n label: '@ai-management:assists.entities.assist.fields.available-agents.title',\n },\n },\n];\n\nconst STARTER_PROMPTS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.TextBox,\n mode: 'edit' as const,\n path: 'text',\n name: 'text',\n options: {\n placeholder: '@ai-management:assists.entities.assist.fields.starter-prompts.item-placeholder',\n multiLanguage: true,\n },\n },\n];\n\n//#endregion\n\n//#region ---- Entity ----\n\nexport async function assistFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assist.name,\n title: RootConfig.entities.assist.title,\n icon: RootConfig.entities.assist.icon,\n plugins: [{ name: 'disable' }],\n formats: {\n individual: RootConfig.entities.assist.title,\n plural: RootConfig.entities.assist.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n relatedEntities: [],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'profile', title: '@ai-management:assists.entities.assist.groups.profile' },\n { id: 'ai-configuration', title: '@ai-management:assists.entities.assist.groups.ai-configuration' },\n { id: 'welcome-interaction', title: '@ai-management:assists.entities.assist.groups.welcome-interaction' },\n { id: 'prompt-behaviour', title: '@ai-management:assists.entities.assist.groups.prompt-behaviour' },\n { id: 'output-contract', title: '@ai-management:assists.entities.assist.groups.output-contract' },\n { id: 'available-agents', title: '@ai-management:assists.entities.assist.groups.available-agents' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } } },\n },\n {\n name: 'professionImageUrl',\n title: '@ai-management:assists.entities.assist.fields.profession-image-url.title',\n groupId: 'profile',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Advanced.Image,\n options: { type: 'profile-photo' },\n },\n },\n },\n {\n name: 'planningMode',\n title: '@ai-management:assists.entities.assist.fields.planning-mode.title',\n description: '@ai-management:assists.entities.assist.fields.planning-mode.description',\n groupId: 'ai-configuration',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n valueTransforms: objectKeyValueTransforms('id'),\n options: {\n valueField: 'id',\n textField: 'title',\n hasClearButton: true,\n allowSearch: false,\n placeholder: '@ai-management:assists.entities.assist.fields.planning-mode.placeholder',\n dataSource: [\n {\n id: 'off',\n title: '@ai-management:assists.entities.assist.fields.planning-mode.options.off',\n },\n {\n id: 'once',\n title: '@ai-management:assists.entities.assist.fields.planning-mode.options.once',\n },\n {\n id: 'when-needed',\n title: '@ai-management:assists.entities.assist.fields.planning-mode.options.when-needed',\n },\n ],\n },\n },\n },\n },\n {\n name: 'modelId',\n title: '@ai-management:assists.entities.assist.fields.model.title',\n description: '@ai-management:assists.entities.assist.fields.model.description',\n groupId: 'ai-configuration',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n nullable: false,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.model.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n allowSearch: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:assists.entities.assist.fields.model.placeholder',\n expose: [\n { source: 'id', target: 'aiModel.id' },\n { source: 'title', target: 'aiModel.title' },\n { source: 'name', target: 'aiModel.name' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'initialMessages',\n title: '@ai-management:assists.entities.assist.fields.initial-messages.title',\n groupId: 'welcome-interaction',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsList.Editors.RichText,\n },\n },\n },\n {\n name: 'starterPrompts',\n title: '@ai-management:assists.entities.assist.fields.starter-prompts.title',\n description: '@ai-management:assists.entities.assist.fields.starter-prompts.description',\n groupId: 'welcome-interaction',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: STARTER_PROMPTS_REPEATER_CHILDREN,\n },\n },\n },\n {\n name: 'systemPrompt',\n title: '@ai-management:assists.entities.assist.fields.system-prompt.title',\n groupId: 'prompt-behaviour',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 6 } },\n },\n },\n {\n name: 'ruleIds',\n title: '@ai-management:assists.entities.assist.fields.rules.title',\n description: '@ai-management:assists.entities.assist.fields.rules.description',\n groupId: 'prompt-behaviour',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.rule.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n multiple: true,\n allowSearch: true,\n hasClearButton: true,\n columns: ['title', 'name'],\n placeholder: '@ai-management:assists.entities.assist.fields.rules.placeholder',\n expose: [\n { source: 'id', target: 'rules.{id}' },\n { source: 'name', target: 'rules.{name}' },\n { source: 'title', target: 'rules.{title}' },\n ],\n },\n },\n },\n },\n {\n name: 'outputContract',\n title: '@ai-management:assists.entities.assist.fields.output-contract.title',\n description: '@ai-management:assists.entities.assist.fields.output-contract.description',\n groupId: 'output-contract',\n schema: {\n dataType: 'object',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 10 },\n },\n },\n },\n {\n name: 'knowledgeFiles',\n title: '@ai-management:assists.entities.assist.fields.knowledge-files.title',\n description: '@ai-management:assists.entities.assist.fields.knowledge-files.description',\n groupId: 'prompt-behaviour',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Advanced.FileUploader,\n options: {\n multiple: true,\n entity: `${RootConfig.module.name}.${RootConfig.entities.assist.name}`,\n record: '{{context.eval(\"id\")}}',\n accept: '.pdf,.jpg,.jpeg,.png,.gif,.webp',\n },\n },\n },\n },\n {\n name: 'delegatedAgents',\n title: '@ai-management:assists.entities.assist.fields.available-agents.title',\n description: '@ai-management:assists.entities.assist.fields.available-agents.description',\n groupId: 'available-agents',\n schema: {\n defaultValue: [],\n dataType: 'array',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true, allowReorder: true },\n children: DELEGATED_AGENTS_REPEATER_CHILDREN,\n },\n },\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'description', title: '@general:terms.common.description', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n {\n name: 'modelId',\n title: '@ai-management:assists.entities.assist.fields.model.title',\n showAs: { type: AXPWidgetsList.Editors.TextBox },\n options: { dataPath: 'aiModel.title' },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 2, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'profile', order: 3, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'ai-configuration', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'welcome-interaction', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'prompt-behaviour', order: 6, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'output-contract', order: 7, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'available-agents', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n {\n name: 'professionImageUrl',\n layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } },\n },\n { name: 'planningMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'modelId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'initialMessages', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'starterPrompts', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'knowledgeFiles', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'delegatedAgents', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 2, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'profile', order: 3, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'ai-configuration', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'welcome-interaction', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'prompt-behaviour', order: 6, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'output-contract', order: 7, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'available-agents', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'professionImageUrl', layout: { label: { visible: false } } },\n { name: 'planningMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'modelId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'initialMessages', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'starterPrompts', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'knowledgeFiles', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'delegatedAgents', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', order: 2, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'profile', order: 3, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'ai-configuration', order: 4, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'welcome-interaction', order: 5, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'prompt-behaviour', order: 6, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'output-contract', order: 7, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'available-agents', order: 8, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n {\n name: 'professionImageUrl',\n layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } },\n },\n { name: 'planningMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'modelId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'initialMessages', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'starterPrompts', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'systemPrompt', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'ruleIds', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'knowledgeFiles', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputContract', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'delegatedAgents', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;AAAA;AAQA;AAEA;AAEA,MAAM,kCAAkC,GAAG;AACzC,IAAA;AACE,QAAA,IAAI,EAAE,qCAAq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EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC1E,wBAAA,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;wBAC1E,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACvG,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
2
|
+
import { createAllQueryView } from '@acorex/platform/common';
|
|
3
|
+
import { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';
|
|
4
|
+
import { RootConfig } from './acorex-modules-ai-management.mjs';
|
|
5
|
+
|
|
6
|
+
//#region ---- Imports ----
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region ---- Entity ----
|
|
9
|
+
async function ruleFactory() {
|
|
10
|
+
const entityDef = {
|
|
11
|
+
module: RootConfig.module.name,
|
|
12
|
+
name: RootConfig.entities.rule.name,
|
|
13
|
+
title: RootConfig.entities.rule.title,
|
|
14
|
+
icon: RootConfig.entities.rule.icon,
|
|
15
|
+
formats: {
|
|
16
|
+
individual: RootConfig.entities.rule.title,
|
|
17
|
+
plural: RootConfig.entities.rule.titlePlural,
|
|
18
|
+
searchResult: {
|
|
19
|
+
title: '{{ title }}',
|
|
20
|
+
description: '{{ name }}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
groups: [
|
|
24
|
+
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
25
|
+
{ id: 'rule-content', title: '@ai-management:rules.entities.rule.groups.rule-content' },
|
|
26
|
+
],
|
|
27
|
+
properties: [
|
|
28
|
+
{
|
|
29
|
+
name: 'id',
|
|
30
|
+
title: 'ID',
|
|
31
|
+
groupId: 'basic-info',
|
|
32
|
+
schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'name',
|
|
36
|
+
title: '@general:terms.common.name',
|
|
37
|
+
groupId: 'basic-info',
|
|
38
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
39
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
40
|
+
validations: [{ rule: 'required' }, { rule: 'unique' }],
|
|
41
|
+
description: '@ai-management:rules.entities.rule.fields.name.description',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'title',
|
|
45
|
+
title: '@general:terms.common.title',
|
|
46
|
+
groupId: 'basic-info',
|
|
47
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
|
|
48
|
+
options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },
|
|
49
|
+
validations: [{ rule: 'required' }],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'description',
|
|
53
|
+
title: '@general:terms.common.description',
|
|
54
|
+
groupId: 'basic-info',
|
|
55
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } } },
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'markdown',
|
|
59
|
+
title: '@ai-management:rules.entities.rule.fields.markdown.title',
|
|
60
|
+
description: '@ai-management:rules.entities.rule.fields.markdown.description',
|
|
61
|
+
groupId: 'rule-content',
|
|
62
|
+
schema: {
|
|
63
|
+
dataType: 'string',
|
|
64
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 12 } },
|
|
65
|
+
},
|
|
66
|
+
validations: [{ rule: 'required' }],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
columns: [
|
|
70
|
+
{ name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },
|
|
71
|
+
{ name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsList.Editors.TextBox } },
|
|
72
|
+
{
|
|
73
|
+
name: 'description',
|
|
74
|
+
title: '@general:terms.common.description',
|
|
75
|
+
showAs: { type: AXPWidgetsList.Editors.TextBox },
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
interfaces: {
|
|
79
|
+
master: {
|
|
80
|
+
create: {
|
|
81
|
+
sections: [{ id: 'basic-info' }, { id: 'rule-content' }],
|
|
82
|
+
properties: [
|
|
83
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
84
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
85
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
86
|
+
{ name: 'markdown', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
update: {
|
|
90
|
+
sections: [{ id: 'basic-info' }, { id: 'rule-content' }],
|
|
91
|
+
properties: [
|
|
92
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
93
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
94
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
95
|
+
{ name: 'markdown', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
single: {
|
|
99
|
+
title: '{{ title }}',
|
|
100
|
+
sections: [{ id: 'basic-info' }, { id: 'rule-content' }],
|
|
101
|
+
properties: [
|
|
102
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
103
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
104
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
105
|
+
{ name: 'markdown', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
106
|
+
],
|
|
107
|
+
actions: [...entityMasterRecordActions()],
|
|
108
|
+
},
|
|
109
|
+
list: {
|
|
110
|
+
actions: [...entityMasterCrudActions()],
|
|
111
|
+
views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
return entityDef;
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
|
|
120
|
+
export { ruleFactory };
|
|
121
|
+
//# sourceMappingURL=acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-ai-management-rule.entity-CQNx4QEB.mjs","sources":["../../../../libs/modules/ai-management/src/lib/entities/rule/rule.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { RootConfig } from '../../const';\n\n//#endregion\n\n//#region ---- Entity ----\n\nexport async function ruleFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.rule.name,\n title: RootConfig.entities.rule.title,\n icon: RootConfig.entities.rule.icon,\n formats: {\n individual: RootConfig.entities.rule.title,\n plural: RootConfig.entities.rule.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ name }}',\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'rule-content', title: '@ai-management:rules.entities.rule.groups.rule-content' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n description: '@ai-management:rules.entities.rule.fields.name.description',\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: { sort: { enabled: true }, filter: { inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 3 } } },\n },\n {\n name: 'markdown',\n title: '@ai-management:rules.entities.rule.fields.markdown.title',\n description: '@ai-management:rules.entities.rule.fields.markdown.description',\n groupId: 'rule-content',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox, options: { rows: 12 } },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsList.Editors.TextBox } },\n {\n name: 'description',\n title: '@general:terms.common.description',\n showAs: { type: AXPWidgetsList.Editors.TextBox },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'rule-content' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'markdown', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'rule-content' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'markdown', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info' }, { id: 'rule-content' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'markdown', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAOA;AAEA;AAEO,eAAe,WAAW,GAAA;AAC/B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK;AACrC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,C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