@appaflytech/zeyrek-ai-mcp 0.0.48 → 0.0.49
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/.env.example +5 -0
- package/dist/config.js +2 -0
- package/dist/knowledge/access.js +4 -3
- package/dist/knowledge/assistantRun.js +165 -0
- package/dist/knowledge/componentCatalog.js +31 -0
- package/dist/knowledge/componentEvents.js +3 -0
- package/dist/knowledge/mobileComponentCatalog.js +15 -0
- package/dist/knowledge/motionResolve.js +1 -1
- package/dist/knowledge/styleResolve.js +7 -0
- package/dist/platform/errors.js +9 -0
- package/dist/platform/http.js +7 -2
- package/dist/platform/tokenVault.js +15 -0
- package/dist/resources/guides/assistant.md +194 -0
- package/dist/resources/guides/deployment.md +19 -1
- package/dist/resources/schema-fingerprint.json +4 -4
- package/dist/resources/schemas/AccessMatrixDto.json +2 -1
- package/dist/resources/schemas/AccessPermissionDto.json +2 -1
- package/dist/resources/schemas/AccessResourceDto.json +2 -1
- package/dist/resources/schemas/AssistantCapabilitiesDto.json +256 -0
- package/dist/resources/schemas/AssistantPublishStateDto.json +57 -0
- package/dist/resources/schemas/AssistantScenarioDto.json +91 -0
- package/dist/resources/schemas/AssistantScenarioRunDto.json +62 -0
- package/dist/resources/schemas/AssistantSettingsDto.json +52 -0
- package/dist/resources/schemas/AssistantSkillDto.json +78 -0
- package/dist/resources/schemas/AssistantSummaryDto.json +100 -0
- package/dist/resources/schemas/CreateAssistantScenarioCommand.json +81 -0
- package/dist/resources/schemas/CreateAssistantSkillCommand.json +83 -0
- package/dist/resources/schemas/CreateMicroserviceCommand.json +16 -0
- package/dist/resources/schemas/DescribeAssistantCapabilityCommand.json +145 -0
- package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +5 -1
- package/dist/resources/schemas/MicroserviceDto.json +16 -0
- package/dist/resources/schemas/PublishAssistantCommand.json +15 -0
- package/dist/resources/schemas/RunAssistantScenariosCommand.json +39 -0
- package/dist/resources/schemas/SimulateAssistantCommand.json +106 -0
- package/dist/resources/schemas/UpdateAssistantScenarioCommand.json +79 -0
- package/dist/resources/schemas/UpdateAssistantSettingsCommand.json +52 -0
- package/dist/resources/schemas/UpdateAssistantSkillCommand.json +81 -0
- package/dist/resources/schemas/UpdateMicroserviceCommand.json +16 -0
- package/dist/server.js +2 -0
- package/dist/tools/applications.js +4 -4
- package/dist/tools/assistant.js +382 -0
- package/dist/tools/deployments.js +9 -3
- package/dist/tools/microservices.js +1 -1
- package/dist/tools/mobile.js +2 -2
- package/dist/tools/projects.js +2 -2
- package/dist/tools/templates.js +1 -1
- package/dist/tools/themes.js +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"enabled": {
|
|
6
|
+
"type": "boolean"
|
|
7
|
+
},
|
|
8
|
+
"authorizationSource": {
|
|
9
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource"
|
|
10
|
+
},
|
|
11
|
+
"capabilityCount": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"format": "int32"
|
|
14
|
+
},
|
|
15
|
+
"undescribedCount": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"format": "int32"
|
|
18
|
+
},
|
|
19
|
+
"groups": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityGroupModel"
|
|
23
|
+
},
|
|
24
|
+
"nullable": true
|
|
25
|
+
},
|
|
26
|
+
"skillCount": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"format": "int32"
|
|
29
|
+
},
|
|
30
|
+
"scenarioCount": {
|
|
31
|
+
"type": "integer",
|
|
32
|
+
"format": "int32"
|
|
33
|
+
},
|
|
34
|
+
"passedScenarioCount": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"format": "int32"
|
|
37
|
+
},
|
|
38
|
+
"failedLeakProbeCount": {
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"format": "int32"
|
|
41
|
+
},
|
|
42
|
+
"publishedAt": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "date-time",
|
|
45
|
+
"nullable": true
|
|
46
|
+
},
|
|
47
|
+
"guideLanguages": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"nullable": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
"components": {
|
|
58
|
+
"schemas": {
|
|
59
|
+
"NgApps.Domain.Contexts.Assistant.Authorization.AssistantAuthorizationSource": {
|
|
60
|
+
"enum": [
|
|
61
|
+
"platform",
|
|
62
|
+
"application-middleware"
|
|
63
|
+
],
|
|
64
|
+
"type": "string",
|
|
65
|
+
"format": ""
|
|
66
|
+
},
|
|
67
|
+
"NgApps.Domain.Contexts.Assistant.Catalog.AssistantCapabilityGroupModel": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"key": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"nullable": true
|
|
73
|
+
},
|
|
74
|
+
"templateId": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"format": "uuid",
|
|
77
|
+
"nullable": true
|
|
78
|
+
},
|
|
79
|
+
"moduleName": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"nullable": true
|
|
82
|
+
},
|
|
83
|
+
"prefix": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"nullable": true
|
|
86
|
+
},
|
|
87
|
+
"count": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"format": "int32"
|
|
90
|
+
},
|
|
91
|
+
"undescribedCount": {
|
|
92
|
+
"type": "integer",
|
|
93
|
+
"format": "int32"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"applicationId",
|
|
5
|
+
"code",
|
|
6
|
+
"input",
|
|
7
|
+
"name"
|
|
8
|
+
],
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"applicationId": {
|
|
12
|
+
"minLength": 1,
|
|
13
|
+
"type": "string",
|
|
14
|
+
"format": "uuid"
|
|
15
|
+
},
|
|
16
|
+
"name": {
|
|
17
|
+
"maxLength": 256,
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"code": {
|
|
22
|
+
"maxLength": 32,
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"actorUserId": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "uuid",
|
|
30
|
+
"nullable": true
|
|
31
|
+
},
|
|
32
|
+
"actorPositionId": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "uuid",
|
|
35
|
+
"nullable": true
|
|
36
|
+
},
|
|
37
|
+
"input": {
|
|
38
|
+
"minLength": 1,
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"expectedCapabilities": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"nullable": true
|
|
47
|
+
},
|
|
48
|
+
"expectedFields": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"nullable": true
|
|
54
|
+
},
|
|
55
|
+
"expectedSource": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"nullable": true
|
|
58
|
+
},
|
|
59
|
+
"expectedRefusal": {
|
|
60
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Scenarios.AssistantRefusalKind"
|
|
61
|
+
},
|
|
62
|
+
"isLeakProbe": {
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
},
|
|
68
|
+
"components": {
|
|
69
|
+
"schemas": {
|
|
70
|
+
"NgApps.Domain.Contexts.Assistant.Scenarios.AssistantRefusalKind": {
|
|
71
|
+
"enum": [
|
|
72
|
+
"person-judgement",
|
|
73
|
+
"prediction",
|
|
74
|
+
"no-evidence"
|
|
75
|
+
],
|
|
76
|
+
"type": "string",
|
|
77
|
+
"format": ""
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"applicationId",
|
|
5
|
+
"capabilityIds",
|
|
6
|
+
"name",
|
|
7
|
+
"slug",
|
|
8
|
+
"trigger"
|
|
9
|
+
],
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"applicationId": {
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "uuid"
|
|
16
|
+
},
|
|
17
|
+
"name": {
|
|
18
|
+
"maxLength": 256,
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"slug": {
|
|
23
|
+
"maxLength": 128,
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"trigger": {
|
|
29
|
+
"maxLength": 1024,
|
|
30
|
+
"minLength": 1,
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"instructions": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"nullable": true
|
|
36
|
+
},
|
|
37
|
+
"outputFormat": {
|
|
38
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Skills.AssistantSkillOutputFormat"
|
|
39
|
+
},
|
|
40
|
+
"autonomy": {
|
|
41
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Skills.AssistantSkillAutonomy"
|
|
42
|
+
},
|
|
43
|
+
"languages": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"nullable": true
|
|
49
|
+
},
|
|
50
|
+
"capabilityIds": {
|
|
51
|
+
"minItems": 1,
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"format": "uuid"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
"components": {
|
|
62
|
+
"schemas": {
|
|
63
|
+
"NgApps.Domain.Contexts.Assistant.Skills.AssistantSkillOutputFormat": {
|
|
64
|
+
"enum": [
|
|
65
|
+
"suggestion-card",
|
|
66
|
+
"list",
|
|
67
|
+
"findings",
|
|
68
|
+
"text"
|
|
69
|
+
],
|
|
70
|
+
"type": "string",
|
|
71
|
+
"format": ""
|
|
72
|
+
},
|
|
73
|
+
"NgApps.Domain.Contexts.Assistant.Skills.AssistantSkillAutonomy": {
|
|
74
|
+
"enum": [
|
|
75
|
+
"suggest",
|
|
76
|
+
"execute"
|
|
77
|
+
],
|
|
78
|
+
"type": "string",
|
|
79
|
+
"format": ""
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -22,6 +22,22 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"nullable": true
|
|
24
24
|
},
|
|
25
|
+
"assistantDescription": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"nullable": true
|
|
30
|
+
},
|
|
31
|
+
"nullable": true
|
|
32
|
+
},
|
|
33
|
+
"assistantCaution": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"nullable": true
|
|
38
|
+
},
|
|
39
|
+
"nullable": true
|
|
40
|
+
},
|
|
25
41
|
"slug": {
|
|
26
42
|
"type": "string",
|
|
27
43
|
"nullable": true
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"microserviceId": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid"
|
|
8
|
+
},
|
|
9
|
+
"assistantDescription": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"additionalProperties": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"nullable": true
|
|
14
|
+
},
|
|
15
|
+
"nullable": true
|
|
16
|
+
},
|
|
17
|
+
"assistantCaution": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"additionalProperties": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"nullable": true
|
|
22
|
+
},
|
|
23
|
+
"nullable": true
|
|
24
|
+
},
|
|
25
|
+
"recordPageId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "uuid",
|
|
28
|
+
"nullable": true
|
|
29
|
+
},
|
|
30
|
+
"recordQuery": {
|
|
31
|
+
"maxLength": 256,
|
|
32
|
+
"type": "string",
|
|
33
|
+
"nullable": true
|
|
34
|
+
},
|
|
35
|
+
"hints": {
|
|
36
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantHintsModel"
|
|
37
|
+
},
|
|
38
|
+
"kindOverride": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"nullable": true
|
|
41
|
+
},
|
|
42
|
+
"formPageId": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "uuid",
|
|
45
|
+
"nullable": true
|
|
46
|
+
},
|
|
47
|
+
"formQuery": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"nullable": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
},
|
|
54
|
+
"components": {
|
|
55
|
+
"schemas": {
|
|
56
|
+
"NgApps.Domain.Contexts.Assistant.Catalog.AssistantHintsModel": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"requiredParameters": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"nullable": true
|
|
65
|
+
},
|
|
66
|
+
"parameterValues": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"nullable": true
|
|
74
|
+
},
|
|
75
|
+
"nullable": true
|
|
76
|
+
},
|
|
77
|
+
"listField": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"nullable": true
|
|
80
|
+
},
|
|
81
|
+
"parameterSources": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": {
|
|
84
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Catalog.AssistantParameterSourceModel"
|
|
85
|
+
},
|
|
86
|
+
"nullable": true
|
|
87
|
+
},
|
|
88
|
+
"parameterLabels": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"additionalProperties": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"nullable": true
|
|
96
|
+
},
|
|
97
|
+
"nullable": true
|
|
98
|
+
},
|
|
99
|
+
"permissionKey": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"nullable": true
|
|
102
|
+
},
|
|
103
|
+
"isEmpty": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"readOnly": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"additionalProperties": false
|
|
109
|
+
},
|
|
110
|
+
"NgApps.Domain.Contexts.Assistant.Catalog.AssistantParameterSourceModel": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"properties": {
|
|
113
|
+
"capabilityId": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"format": "uuid"
|
|
116
|
+
},
|
|
117
|
+
"valueField": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"nullable": true
|
|
120
|
+
},
|
|
121
|
+
"labelField": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"nullable": true
|
|
124
|
+
},
|
|
125
|
+
"searchParameter": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"nullable": true
|
|
128
|
+
},
|
|
129
|
+
"arguments": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"additionalProperties": {
|
|
132
|
+
"nullable": true
|
|
133
|
+
},
|
|
134
|
+
"nullable": true
|
|
135
|
+
},
|
|
136
|
+
"listField": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"nullable": true
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"additionalProperties": false
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -21,6 +21,22 @@
|
|
|
21
21
|
"type": "string",
|
|
22
22
|
"nullable": true
|
|
23
23
|
},
|
|
24
|
+
"assistantDescription": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"nullable": true
|
|
29
|
+
},
|
|
30
|
+
"nullable": true
|
|
31
|
+
},
|
|
32
|
+
"assistantCaution": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"nullable": true
|
|
37
|
+
},
|
|
38
|
+
"nullable": true
|
|
39
|
+
},
|
|
24
40
|
"slug": {
|
|
25
41
|
"type": "string",
|
|
26
42
|
"nullable": true
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"applicationId": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid"
|
|
8
|
+
},
|
|
9
|
+
"scenarioIds": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"format": "uuid"
|
|
14
|
+
},
|
|
15
|
+
"nullable": true
|
|
16
|
+
},
|
|
17
|
+
"actorToken": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"nullable": true
|
|
20
|
+
},
|
|
21
|
+
"actorCookie": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"nullable": true
|
|
24
|
+
},
|
|
25
|
+
"headers": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"nullable": true
|
|
30
|
+
},
|
|
31
|
+
"nullable": true
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
},
|
|
36
|
+
"components": {
|
|
37
|
+
"schemas": {}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"applicationId": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid"
|
|
8
|
+
},
|
|
9
|
+
"message": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"nullable": true
|
|
12
|
+
},
|
|
13
|
+
"actorUserId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "uuid",
|
|
16
|
+
"nullable": true
|
|
17
|
+
},
|
|
18
|
+
"actorToken": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"nullable": true
|
|
21
|
+
},
|
|
22
|
+
"actorCookie": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"nullable": true
|
|
25
|
+
},
|
|
26
|
+
"usePublished": {
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
},
|
|
29
|
+
"history": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Conversation.AssistantTurnModel"
|
|
33
|
+
},
|
|
34
|
+
"nullable": true
|
|
35
|
+
},
|
|
36
|
+
"context": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"nullable": true
|
|
41
|
+
},
|
|
42
|
+
"nullable": true
|
|
43
|
+
},
|
|
44
|
+
"headers": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"additionalProperties": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"nullable": true
|
|
49
|
+
},
|
|
50
|
+
"nullable": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"components": {
|
|
56
|
+
"schemas": {
|
|
57
|
+
"NgApps.Domain.Contexts.Assistant.Conversation.AssistantTurnModel": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"role": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"nullable": true
|
|
63
|
+
},
|
|
64
|
+
"text": {
|
|
65
|
+
"maxLength": 4000,
|
|
66
|
+
"type": "string",
|
|
67
|
+
"nullable": true
|
|
68
|
+
},
|
|
69
|
+
"sources": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": {
|
|
72
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Assistant.Conversation.AssistantTurnSourceModel"
|
|
73
|
+
},
|
|
74
|
+
"nullable": true
|
|
75
|
+
},
|
|
76
|
+
"skill": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"nullable": true
|
|
79
|
+
},
|
|
80
|
+
"isAssistant": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"readOnly": true
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"additionalProperties": false
|
|
86
|
+
},
|
|
87
|
+
"NgApps.Domain.Contexts.Assistant.Conversation.AssistantTurnSourceModel": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"slug": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"nullable": true
|
|
93
|
+
},
|
|
94
|
+
"references": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"nullable": true
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"additionalProperties": false
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|