@digipair/skill-chatbot 0.25.5 → 0.26.0
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/package.json +1 -1
- package/schema.fr.json +454 -0
- package/schema.json +54 -55
package/package.json
CHANGED
package/schema.fr.json
ADDED
@@ -0,0 +1,454 @@
|
|
1
|
+
{
|
2
|
+
"openapi": "3.0.0",
|
3
|
+
"info": {
|
4
|
+
"title": "@digipair/skill-chatbot",
|
5
|
+
"summary": "Communication avec le chatbot",
|
6
|
+
"description": "La compétence permet de gérer la communication avec le chatbot.",
|
7
|
+
"version": "0.1.0",
|
8
|
+
"x-icon": "🤖"
|
9
|
+
},
|
10
|
+
"paths": {
|
11
|
+
"/chatbot": {
|
12
|
+
"post": {
|
13
|
+
"tags": ["boost"],
|
14
|
+
"summary": "Retourner au chatbot",
|
15
|
+
"parameters": [
|
16
|
+
{
|
17
|
+
"name": "assistant",
|
18
|
+
"required": true,
|
19
|
+
"description": "Reponse de l'assistant",
|
20
|
+
"schema": {
|
21
|
+
"type": "string"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "command",
|
26
|
+
"required": false,
|
27
|
+
"description": "Commande exécutée sur le chatbot",
|
28
|
+
"schema": {
|
29
|
+
"type": "array",
|
30
|
+
"items": {
|
31
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"name": "sources",
|
37
|
+
"required": false,
|
38
|
+
"description": "Liste des sources utilisées pour répondre a l'utilisateur",
|
39
|
+
"schema": {
|
40
|
+
"type": "array",
|
41
|
+
"items": {
|
42
|
+
"type": "object"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"name": "logs",
|
48
|
+
"required": false,
|
49
|
+
"description": "Informations utiles pour débogguer le raisonnement",
|
50
|
+
"schema": {
|
51
|
+
"type": "object"
|
52
|
+
}
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"name": "model",
|
56
|
+
"summary": "Modèle LLM",
|
57
|
+
"required": false,
|
58
|
+
"description": "Modèle LLM à charger",
|
59
|
+
"schema": {
|
60
|
+
"type": "array",
|
61
|
+
"items": {
|
62
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"name": "embeddings",
|
68
|
+
"summary": "Modèle d'embeddings",
|
69
|
+
"required": false,
|
70
|
+
"description": "Modèle d'embeddings à charger",
|
71
|
+
"schema": {
|
72
|
+
"type": "array",
|
73
|
+
"items": {
|
74
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"name": "baseUrlVespa",
|
80
|
+
"required": false,
|
81
|
+
"description": "Url du serveur Vespa",
|
82
|
+
"schema": {
|
83
|
+
"type": "string"
|
84
|
+
}
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"name": "promptSummary",
|
88
|
+
"required": false,
|
89
|
+
"description": "Prompt utilisé pour le résumé système",
|
90
|
+
"schema": {
|
91
|
+
"type": "string"
|
92
|
+
}
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"x-events": []
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"/find": {
|
99
|
+
"post": {
|
100
|
+
"tags": ["service"],
|
101
|
+
"summary": "Récupérer dans la conversation",
|
102
|
+
"description": "Récupérer des données dans l'historique de conversation",
|
103
|
+
"parameters": [
|
104
|
+
{
|
105
|
+
"name": "limit",
|
106
|
+
"required": false,
|
107
|
+
"description": "limit",
|
108
|
+
"schema": {
|
109
|
+
"type": "number"
|
110
|
+
}
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"name": "orderby",
|
114
|
+
"required": false,
|
115
|
+
"description": "orderby",
|
116
|
+
"schema": {
|
117
|
+
"type": "string"
|
118
|
+
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"name": "query",
|
122
|
+
"required": true,
|
123
|
+
"description": "query",
|
124
|
+
"schema": {
|
125
|
+
"type": "string"
|
126
|
+
}
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"name": "baseUrl",
|
130
|
+
"required": false,
|
131
|
+
"description": "Url du serveur Vespa",
|
132
|
+
"schema": {
|
133
|
+
"type": "string"
|
134
|
+
}
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"x-events": []
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"/search": {
|
141
|
+
"post": {
|
142
|
+
"tags": ["service"],
|
143
|
+
"summary": "Rechercher dans la conversation",
|
144
|
+
"description": "Rechercher des données dans l'historique de conversation",
|
145
|
+
"parameters": [
|
146
|
+
{
|
147
|
+
"name": "embeddings",
|
148
|
+
"summary": "Modèle d'embeddings",
|
149
|
+
"required": false,
|
150
|
+
"description": "Modèle d'embeddings à charger",
|
151
|
+
"schema": {
|
152
|
+
"type": "array",
|
153
|
+
"items": {
|
154
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
155
|
+
}
|
156
|
+
}
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"name": "limit",
|
160
|
+
"required": false,
|
161
|
+
"description": "limit",
|
162
|
+
"schema": {
|
163
|
+
"type": "number"
|
164
|
+
}
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"name": "orderby",
|
168
|
+
"required": false,
|
169
|
+
"description": "orderby",
|
170
|
+
"schema": {
|
171
|
+
"type": "string"
|
172
|
+
}
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"name": "targetHits",
|
176
|
+
"required": false,
|
177
|
+
"description": "targetHits",
|
178
|
+
"schema": {
|
179
|
+
"type": "number"
|
180
|
+
}
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"name": "query",
|
184
|
+
"required": true,
|
185
|
+
"description": "query",
|
186
|
+
"schema": {
|
187
|
+
"type": "string"
|
188
|
+
}
|
189
|
+
},
|
190
|
+
|
191
|
+
{
|
192
|
+
"name": "baseUrl",
|
193
|
+
"required": false,
|
194
|
+
"description": "Url du serveur Vespa",
|
195
|
+
"schema": {
|
196
|
+
"type": "string"
|
197
|
+
}
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"name": "language",
|
201
|
+
"required": false,
|
202
|
+
"description": "Langue de recherche",
|
203
|
+
"schema": {
|
204
|
+
"type": "string"
|
205
|
+
}
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"name": "filter",
|
209
|
+
"required": false,
|
210
|
+
"description": "Filtre de recherche",
|
211
|
+
"schema": {
|
212
|
+
"type": "string"
|
213
|
+
}
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"x-events": []
|
217
|
+
}
|
218
|
+
},
|
219
|
+
"/history": {
|
220
|
+
"post": {
|
221
|
+
"tags": ["service"],
|
222
|
+
"summary": "Historique",
|
223
|
+
"parameters": [
|
224
|
+
{
|
225
|
+
"name": "baseUrl",
|
226
|
+
"summary": "Url du serveur Vespa",
|
227
|
+
"required": false,
|
228
|
+
"description": "Url du serveur Vespa",
|
229
|
+
"schema": {
|
230
|
+
"type": "string"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"name": "maxHistory",
|
235
|
+
"summary": "Nombre d'éléments maximum",
|
236
|
+
"required": false,
|
237
|
+
"description": "orderby",
|
238
|
+
"schema": {
|
239
|
+
"type": "number"
|
240
|
+
}
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"name": "system",
|
244
|
+
"summary": "Système",
|
245
|
+
"required": false,
|
246
|
+
"description": "targetHits",
|
247
|
+
"schema": {
|
248
|
+
"type": "string"
|
249
|
+
}
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"name": "question",
|
253
|
+
"summary": "Question de l'assistant",
|
254
|
+
"required": false,
|
255
|
+
"description": "Question de l'assistant",
|
256
|
+
"schema": {
|
257
|
+
"type": "string"
|
258
|
+
}
|
259
|
+
}
|
260
|
+
],
|
261
|
+
"x-events": []
|
262
|
+
}
|
263
|
+
},
|
264
|
+
"/getRole": {
|
265
|
+
"post": {
|
266
|
+
"tags": ["service"],
|
267
|
+
"summary": "Récupération du rôle",
|
268
|
+
"parameters": [
|
269
|
+
{
|
270
|
+
"name": "role",
|
271
|
+
"summary": "Nom",
|
272
|
+
"required": true,
|
273
|
+
"description": "Nom du rôle",
|
274
|
+
"schema": {
|
275
|
+
"type": "string"
|
276
|
+
}
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"name": "baseUrl",
|
280
|
+
"summary": "Url du serveur Vespa",
|
281
|
+
"required": false,
|
282
|
+
"description": "Url du serveur Vespa",
|
283
|
+
"schema": {
|
284
|
+
"type": "string"
|
285
|
+
}
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"x-events": []
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"/setRole": {
|
292
|
+
"post": {
|
293
|
+
"tags": ["service"],
|
294
|
+
"summary": "Mise à jour du rôle",
|
295
|
+
"parameters": [
|
296
|
+
{
|
297
|
+
"name": "role",
|
298
|
+
"summary": "Nom",
|
299
|
+
"required": true,
|
300
|
+
"description": "Nom du rôle",
|
301
|
+
"schema": {
|
302
|
+
"type": "string"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"name": "value",
|
307
|
+
"summary": "Valeur",
|
308
|
+
"required": true,
|
309
|
+
"description": "Valeur du rôle",
|
310
|
+
"schema": {
|
311
|
+
"type": "string"
|
312
|
+
}
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"name": "baseUrl",
|
316
|
+
"summary": "Url du serveur Vespa",
|
317
|
+
"required": false,
|
318
|
+
"description": "Url du serveur Vespa",
|
319
|
+
"schema": {
|
320
|
+
"type": "string"
|
321
|
+
}
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"x-events": []
|
325
|
+
}
|
326
|
+
},
|
327
|
+
"/answer": {
|
328
|
+
"post": {
|
329
|
+
"tags": ["boost"],
|
330
|
+
"summary": "Réponse du chatbot",
|
331
|
+
"parameters": [
|
332
|
+
{
|
333
|
+
"name": "assistant",
|
334
|
+
"required": true,
|
335
|
+
"description": "Reponse de l'assistant",
|
336
|
+
"schema": {
|
337
|
+
"type": "string"
|
338
|
+
}
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"name": "command",
|
342
|
+
"required": false,
|
343
|
+
"description": "Commandes exécutées sur le chatbot",
|
344
|
+
"schema": {
|
345
|
+
"type": "array",
|
346
|
+
"items": {
|
347
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
348
|
+
}
|
349
|
+
}
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"name": "boosts",
|
353
|
+
"required": false,
|
354
|
+
"description": "Liste des boosts proposés",
|
355
|
+
"schema": {
|
356
|
+
"type": "object"
|
357
|
+
}
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"name": "sources",
|
361
|
+
"required": false,
|
362
|
+
"description": "Liste des sources utilisées pour répondre a l'utilisateur",
|
363
|
+
"schema": {
|
364
|
+
"type": "array",
|
365
|
+
"items": {
|
366
|
+
"type": "object"
|
367
|
+
}
|
368
|
+
}
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"name": "logs",
|
372
|
+
"required": false,
|
373
|
+
"description": "Informations utiles pour débogguer le raisonnement",
|
374
|
+
"schema": {
|
375
|
+
"type": "object"
|
376
|
+
}
|
377
|
+
}
|
378
|
+
],
|
379
|
+
"x-events": []
|
380
|
+
}
|
381
|
+
}
|
382
|
+
},
|
383
|
+
"components": {
|
384
|
+
"schemas": {
|
385
|
+
"Boost": {
|
386
|
+
"type": "object",
|
387
|
+
"tags": ["boost"],
|
388
|
+
"summary": "Déclencheur",
|
389
|
+
"properties": {
|
390
|
+
"name": {
|
391
|
+
"type": "string"
|
392
|
+
},
|
393
|
+
"prompt": {
|
394
|
+
"type": "boolean"
|
395
|
+
},
|
396
|
+
"required": {
|
397
|
+
"type": "boolean"
|
398
|
+
},
|
399
|
+
"text": {
|
400
|
+
"type": "string"
|
401
|
+
},
|
402
|
+
"selector": {
|
403
|
+
"type": "string"
|
404
|
+
},
|
405
|
+
"url": {
|
406
|
+
"type": "string"
|
407
|
+
},
|
408
|
+
"inputs": {
|
409
|
+
"type": "array",
|
410
|
+
"items": {
|
411
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
412
|
+
}
|
413
|
+
}
|
414
|
+
},
|
415
|
+
"required": []
|
416
|
+
}
|
417
|
+
}
|
418
|
+
},
|
419
|
+
"x-scene-blocks": {
|
420
|
+
"/boost": {
|
421
|
+
"summary": "Boost",
|
422
|
+
"description": "Boost proposé par le Digipair",
|
423
|
+
"tags": ["boost", "service"],
|
424
|
+
"metadata": [
|
425
|
+
{
|
426
|
+
"name": "boosts",
|
427
|
+
"summary": "Liste des déclencheurs",
|
428
|
+
"required": true,
|
429
|
+
"description": "Liste des déclencheurs du boost",
|
430
|
+
"schema": {
|
431
|
+
"type": "array",
|
432
|
+
"items": {
|
433
|
+
"$ref": "#/components/schemas/Boost"
|
434
|
+
}
|
435
|
+
}
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"parameters": [
|
439
|
+
{
|
440
|
+
"name": "execute",
|
441
|
+
"summary": "Exécution des actions",
|
442
|
+
"required": false,
|
443
|
+
"description": "Liste des actions à exécuter",
|
444
|
+
"schema": {
|
445
|
+
"type": "array",
|
446
|
+
"items": {
|
447
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
448
|
+
}
|
449
|
+
}
|
450
|
+
}
|
451
|
+
]
|
452
|
+
}
|
453
|
+
}
|
454
|
+
}
|
package/schema.json
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
"openapi": "3.0.0",
|
3
3
|
"info": {
|
4
4
|
"title": "@digipair/skill-chatbot",
|
5
|
-
"summary": "Communication
|
6
|
-
"description": "
|
5
|
+
"summary": "Communication with the chatbot",
|
6
|
+
"description": "The skill allows managing communication with the chatbot.",
|
7
7
|
"version": "0.1.0",
|
8
8
|
"x-icon": "🤖"
|
9
9
|
},
|
@@ -11,12 +11,12 @@
|
|
11
11
|
"/chatbot": {
|
12
12
|
"post": {
|
13
13
|
"tags": ["boost"],
|
14
|
-
"summary": "
|
14
|
+
"summary": "Return to the chatbot",
|
15
15
|
"parameters": [
|
16
16
|
{
|
17
17
|
"name": "assistant",
|
18
18
|
"required": true,
|
19
|
-
"description": "
|
19
|
+
"description": "Response from the assistant",
|
20
20
|
"schema": {
|
21
21
|
"type": "string"
|
22
22
|
}
|
@@ -24,7 +24,7 @@
|
|
24
24
|
{
|
25
25
|
"name": "command",
|
26
26
|
"required": false,
|
27
|
-
"description": "
|
27
|
+
"description": "Command executed on the chatbot",
|
28
28
|
"schema": {
|
29
29
|
"type": "array",
|
30
30
|
"items": {
|
@@ -35,7 +35,7 @@
|
|
35
35
|
{
|
36
36
|
"name": "sources",
|
37
37
|
"required": false,
|
38
|
-
"description": "
|
38
|
+
"description": "List of sources used to respond to the user",
|
39
39
|
"schema": {
|
40
40
|
"type": "array",
|
41
41
|
"items": {
|
@@ -46,16 +46,16 @@
|
|
46
46
|
{
|
47
47
|
"name": "logs",
|
48
48
|
"required": false,
|
49
|
-
"description": "
|
49
|
+
"description": "Useful information for debugging reasoning",
|
50
50
|
"schema": {
|
51
51
|
"type": "object"
|
52
52
|
}
|
53
53
|
},
|
54
54
|
{
|
55
55
|
"name": "model",
|
56
|
-
"summary": "
|
56
|
+
"summary": "LLM Model",
|
57
57
|
"required": false,
|
58
|
-
"description": "
|
58
|
+
"description": "LLM model to load",
|
59
59
|
"schema": {
|
60
60
|
"type": "array",
|
61
61
|
"items": {
|
@@ -65,9 +65,9 @@
|
|
65
65
|
},
|
66
66
|
{
|
67
67
|
"name": "embeddings",
|
68
|
-
"summary": "
|
68
|
+
"summary": "Embeddings Model",
|
69
69
|
"required": false,
|
70
|
-
"description": "
|
70
|
+
"description": "Embeddings model to load",
|
71
71
|
"schema": {
|
72
72
|
"type": "array",
|
73
73
|
"items": {
|
@@ -78,7 +78,7 @@
|
|
78
78
|
{
|
79
79
|
"name": "baseUrlVespa",
|
80
80
|
"required": false,
|
81
|
-
"description": "
|
81
|
+
"description": "URL of the Vespa server",
|
82
82
|
"schema": {
|
83
83
|
"type": "string"
|
84
84
|
}
|
@@ -86,7 +86,7 @@
|
|
86
86
|
{
|
87
87
|
"name": "promptSummary",
|
88
88
|
"required": false,
|
89
|
-
"description": "Prompt
|
89
|
+
"description": "Prompt used for the system summary",
|
90
90
|
"schema": {
|
91
91
|
"type": "string"
|
92
92
|
}
|
@@ -98,8 +98,8 @@
|
|
98
98
|
"/find": {
|
99
99
|
"post": {
|
100
100
|
"tags": ["service"],
|
101
|
-
"summary": "
|
102
|
-
"description": "
|
101
|
+
"summary": "Retrieve from the conversation",
|
102
|
+
"description": "Retrieve data from the conversation history",
|
103
103
|
"parameters": [
|
104
104
|
{
|
105
105
|
"name": "limit",
|
@@ -128,7 +128,7 @@
|
|
128
128
|
{
|
129
129
|
"name": "baseUrl",
|
130
130
|
"required": false,
|
131
|
-
"description": "
|
131
|
+
"description": "URL of the Vespa server",
|
132
132
|
"schema": {
|
133
133
|
"type": "string"
|
134
134
|
}
|
@@ -140,14 +140,14 @@
|
|
140
140
|
"/search": {
|
141
141
|
"post": {
|
142
142
|
"tags": ["service"],
|
143
|
-
"summary": "
|
144
|
-
"description": "
|
143
|
+
"summary": "Search in the conversation",
|
144
|
+
"description": "Search for data in the conversation history",
|
145
145
|
"parameters": [
|
146
146
|
{
|
147
147
|
"name": "embeddings",
|
148
|
-
"summary": "
|
148
|
+
"summary": "Embeddings Model",
|
149
149
|
"required": false,
|
150
|
-
"description": "
|
150
|
+
"description": "Embeddings model to load",
|
151
151
|
"schema": {
|
152
152
|
"type": "array",
|
153
153
|
"items": {
|
@@ -187,11 +187,10 @@
|
|
187
187
|
"type": "string"
|
188
188
|
}
|
189
189
|
},
|
190
|
-
|
191
190
|
{
|
192
191
|
"name": "baseUrl",
|
193
192
|
"required": false,
|
194
|
-
"description": "
|
193
|
+
"description": "URL of the Vespa server",
|
195
194
|
"schema": {
|
196
195
|
"type": "string"
|
197
196
|
}
|
@@ -199,7 +198,7 @@
|
|
199
198
|
{
|
200
199
|
"name": "language",
|
201
200
|
"required": false,
|
202
|
-
"description": "
|
201
|
+
"description": "Search language",
|
203
202
|
"schema": {
|
204
203
|
"type": "string"
|
205
204
|
}
|
@@ -207,7 +206,7 @@
|
|
207
206
|
{
|
208
207
|
"name": "filter",
|
209
208
|
"required": false,
|
210
|
-
"description": "
|
209
|
+
"description": "Search filter",
|
211
210
|
"schema": {
|
212
211
|
"type": "string"
|
213
212
|
}
|
@@ -219,20 +218,20 @@
|
|
219
218
|
"/history": {
|
220
219
|
"post": {
|
221
220
|
"tags": ["service"],
|
222
|
-
"summary": "
|
221
|
+
"summary": "History",
|
223
222
|
"parameters": [
|
224
223
|
{
|
225
224
|
"name": "baseUrl",
|
226
|
-
"summary": "
|
225
|
+
"summary": "URL of the Vespa server",
|
227
226
|
"required": false,
|
228
|
-
"description": "
|
227
|
+
"description": "URL of the Vespa server",
|
229
228
|
"schema": {
|
230
229
|
"type": "string"
|
231
230
|
}
|
232
231
|
},
|
233
232
|
{
|
234
233
|
"name": "maxHistory",
|
235
|
-
"summary": "
|
234
|
+
"summary": "Maximum number of items",
|
236
235
|
"required": false,
|
237
236
|
"description": "orderby",
|
238
237
|
"schema": {
|
@@ -241,7 +240,7 @@
|
|
241
240
|
},
|
242
241
|
{
|
243
242
|
"name": "system",
|
244
|
-
"summary": "
|
243
|
+
"summary": "System",
|
245
244
|
"required": false,
|
246
245
|
"description": "targetHits",
|
247
246
|
"schema": {
|
@@ -250,9 +249,9 @@
|
|
250
249
|
},
|
251
250
|
{
|
252
251
|
"name": "question",
|
253
|
-
"summary": "
|
252
|
+
"summary": "Assistant's question",
|
254
253
|
"required": false,
|
255
|
-
"description": "
|
254
|
+
"description": "Assistant's question",
|
256
255
|
"schema": {
|
257
256
|
"type": "string"
|
258
257
|
}
|
@@ -264,22 +263,22 @@
|
|
264
263
|
"/getRole": {
|
265
264
|
"post": {
|
266
265
|
"tags": ["service"],
|
267
|
-
"summary": "
|
266
|
+
"summary": "Role retrieval",
|
268
267
|
"parameters": [
|
269
268
|
{
|
270
269
|
"name": "role",
|
271
|
-
"summary": "
|
270
|
+
"summary": "Name",
|
272
271
|
"required": true,
|
273
|
-
"description": "
|
272
|
+
"description": "Role name",
|
274
273
|
"schema": {
|
275
274
|
"type": "string"
|
276
275
|
}
|
277
276
|
},
|
278
277
|
{
|
279
278
|
"name": "baseUrl",
|
280
|
-
"summary": "
|
279
|
+
"summary": "URL of the Vespa server",
|
281
280
|
"required": false,
|
282
|
-
"description": "
|
281
|
+
"description": "URL of the Vespa server",
|
283
282
|
"schema": {
|
284
283
|
"type": "string"
|
285
284
|
}
|
@@ -291,31 +290,31 @@
|
|
291
290
|
"/setRole": {
|
292
291
|
"post": {
|
293
292
|
"tags": ["service"],
|
294
|
-
"summary": "
|
293
|
+
"summary": "Role update",
|
295
294
|
"parameters": [
|
296
295
|
{
|
297
296
|
"name": "role",
|
298
|
-
"summary": "
|
297
|
+
"summary": "Name",
|
299
298
|
"required": true,
|
300
|
-
"description": "
|
299
|
+
"description": "Role name",
|
301
300
|
"schema": {
|
302
301
|
"type": "string"
|
303
302
|
}
|
304
303
|
},
|
305
304
|
{
|
306
305
|
"name": "value",
|
307
|
-
"summary": "
|
306
|
+
"summary": "Value",
|
308
307
|
"required": true,
|
309
|
-
"description": "
|
308
|
+
"description": "Role value",
|
310
309
|
"schema": {
|
311
310
|
"type": "string"
|
312
311
|
}
|
313
312
|
},
|
314
313
|
{
|
315
314
|
"name": "baseUrl",
|
316
|
-
"summary": "
|
315
|
+
"summary": "URL of the Vespa server",
|
317
316
|
"required": false,
|
318
|
-
"description": "
|
317
|
+
"description": "URL of the Vespa server",
|
319
318
|
"schema": {
|
320
319
|
"type": "string"
|
321
320
|
}
|
@@ -327,12 +326,12 @@
|
|
327
326
|
"/answer": {
|
328
327
|
"post": {
|
329
328
|
"tags": ["boost"],
|
330
|
-
"summary": "
|
329
|
+
"summary": "Chatbot response",
|
331
330
|
"parameters": [
|
332
331
|
{
|
333
332
|
"name": "assistant",
|
334
333
|
"required": true,
|
335
|
-
"description": "
|
334
|
+
"description": "Response from the assistant",
|
336
335
|
"schema": {
|
337
336
|
"type": "string"
|
338
337
|
}
|
@@ -340,7 +339,7 @@
|
|
340
339
|
{
|
341
340
|
"name": "command",
|
342
341
|
"required": false,
|
343
|
-
"description": "
|
342
|
+
"description": "Commands executed on the chatbot",
|
344
343
|
"schema": {
|
345
344
|
"type": "array",
|
346
345
|
"items": {
|
@@ -351,7 +350,7 @@
|
|
351
350
|
{
|
352
351
|
"name": "boosts",
|
353
352
|
"required": false,
|
354
|
-
"description": "
|
353
|
+
"description": "List of proposed boosts",
|
355
354
|
"schema": {
|
356
355
|
"type": "object"
|
357
356
|
}
|
@@ -359,7 +358,7 @@
|
|
359
358
|
{
|
360
359
|
"name": "sources",
|
361
360
|
"required": false,
|
362
|
-
"description": "
|
361
|
+
"description": "List of sources used to respond to the user",
|
363
362
|
"schema": {
|
364
363
|
"type": "array",
|
365
364
|
"items": {
|
@@ -370,7 +369,7 @@
|
|
370
369
|
{
|
371
370
|
"name": "logs",
|
372
371
|
"required": false,
|
373
|
-
"description": "
|
372
|
+
"description": "Useful information for debugging reasoning",
|
374
373
|
"schema": {
|
375
374
|
"type": "object"
|
376
375
|
}
|
@@ -385,7 +384,7 @@
|
|
385
384
|
"Boost": {
|
386
385
|
"type": "object",
|
387
386
|
"tags": ["boost"],
|
388
|
-
"summary": "
|
387
|
+
"summary": "Trigger",
|
389
388
|
"properties": {
|
390
389
|
"name": {
|
391
390
|
"type": "string"
|
@@ -419,14 +418,14 @@
|
|
419
418
|
"x-scene-blocks": {
|
420
419
|
"/boost": {
|
421
420
|
"summary": "Boost",
|
422
|
-
"description": "Boost
|
421
|
+
"description": "Boost proposed by Digipair",
|
423
422
|
"tags": ["boost", "service"],
|
424
423
|
"metadata": [
|
425
424
|
{
|
426
425
|
"name": "boosts",
|
427
|
-
"summary": "
|
426
|
+
"summary": "List of triggers",
|
428
427
|
"required": true,
|
429
|
-
"description": "
|
428
|
+
"description": "List of boost triggers",
|
430
429
|
"schema": {
|
431
430
|
"type": "array",
|
432
431
|
"items": {
|
@@ -438,9 +437,9 @@
|
|
438
437
|
"parameters": [
|
439
438
|
{
|
440
439
|
"name": "execute",
|
441
|
-
"summary": "
|
440
|
+
"summary": "Execution of actions",
|
442
441
|
"required": false,
|
443
|
-
"description": "
|
442
|
+
"description": "List of actions to execute",
|
444
443
|
"schema": {
|
445
444
|
"type": "array",
|
446
445
|
"items": {
|