@digipair/skill-chatbot 0.133.1 → 0.133.2

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.
@@ -10,9 +10,7 @@
10
10
  "paths": {
11
11
  "/answer": {
12
12
  "post": {
13
- "tags": [
14
- "boost"
15
- ],
13
+ "tags": ["boost"],
16
14
  "summary": "Réponse du chatbot",
17
15
  "parameters": [
18
16
  {
@@ -196,9 +194,7 @@
196
194
  },
197
195
  "/execute": {
198
196
  "post": {
199
- "tags": [
200
- "boost"
201
- ],
197
+ "tags": ["boost"],
202
198
  "summary": "Execute une étape",
203
199
  "description": "Execute une étape d'un boost",
204
200
  "parameters": [
@@ -227,15 +223,34 @@
227
223
  }
228
224
  }
229
225
  }
226
+ },
227
+ "/boost": {
228
+ "post": {
229
+ "summary": "Boost",
230
+ "description": "Boost proposé par le Digipair",
231
+ "tags": ["boost", "service"],
232
+ "parameters": [
233
+ {
234
+ "name": "steps",
235
+ "summary": "Exécute les étapes suivantes",
236
+ "required": true,
237
+ "description": "Exécute les étapes définies",
238
+ "schema": {
239
+ "type": "array",
240
+ "items": {
241
+ "$ref": "#/components/schemas/Step"
242
+ }
243
+ }
244
+ }
245
+ ]
246
+ }
230
247
  }
231
248
  },
232
249
  "components": {
233
250
  "schemas": {
234
251
  "Step": {
235
252
  "type": "object",
236
- "tags": [
237
- "boost"
238
- ],
253
+ "tags": ["boost"],
239
254
  "summary": "Etape",
240
255
  "properties": {
241
256
  "name": {
@@ -250,16 +265,11 @@
250
265
  }
251
266
  }
252
267
  },
253
- "required": [
254
- "name",
255
- "execute"
256
- ]
268
+ "required": ["name", "execute"]
257
269
  },
258
270
  "Boost": {
259
271
  "type": "object",
260
- "tags": [
261
- "boost"
262
- ],
272
+ "tags": ["boost"],
263
273
  "summary": "Boost",
264
274
  "properties": {
265
275
  "prompt": {
@@ -288,9 +298,7 @@
288
298
  },
289
299
  "ContextParameter": {
290
300
  "type": "object",
291
- "tags": [
292
- "service"
293
- ],
301
+ "tags": ["service"],
294
302
  "summary": "Parametre de contexte",
295
303
  "properties": {
296
304
  "name": {
@@ -314,12 +322,7 @@
314
322
  "type": "string"
315
323
  }
316
324
  },
317
- "required": [
318
- "name",
319
- "summary",
320
- "required",
321
- "schema"
322
- ]
325
+ "required": ["name", "summary", "required", "schema"]
323
326
  }
324
327
  }
325
328
  },
@@ -327,10 +330,7 @@
327
330
  "/boost": {
328
331
  "summary": "Boost",
329
332
  "description": "Boost proposé par le Digipair",
330
- "tags": [
331
- "boost",
332
- "service"
333
- ],
333
+ "tags": ["boost", "service"],
334
334
  "metadata": [
335
335
  {
336
336
  "name": "standalone",
@@ -388,4 +388,4 @@
388
388
  ]
389
389
  }
390
390
  }
391
- }
391
+ }
package/dist/schema.json CHANGED
@@ -10,9 +10,7 @@
10
10
  "paths": {
11
11
  "/answer": {
12
12
  "post": {
13
- "tags": [
14
- "boost"
15
- ],
13
+ "tags": ["boost"],
16
14
  "summary": "Chatbot response",
17
15
  "parameters": [
18
16
  {
@@ -196,9 +194,7 @@
196
194
  },
197
195
  "/execute": {
198
196
  "post": {
199
- "tags": [
200
- "boost"
201
- ],
197
+ "tags": ["boost"],
202
198
  "summary": "Execute a step",
203
199
  "description": "Execute a step of a boost",
204
200
  "parameters": [
@@ -227,15 +223,34 @@
227
223
  }
228
224
  }
229
225
  }
226
+ },
227
+ "/boost": {
228
+ "post": {
229
+ "summary": "Boost",
230
+ "description": "Boost proposed by Digipair",
231
+ "tags": ["boost", "service"],
232
+ "parameters": [
233
+ {
234
+ "name": "steps",
235
+ "summary": "Execute the following steps",
236
+ "required": true,
237
+ "description": "Execute the defined steps",
238
+ "schema": {
239
+ "type": "array",
240
+ "items": {
241
+ "$ref": "#/components/schemas/Step"
242
+ }
243
+ }
244
+ }
245
+ ]
246
+ }
230
247
  }
231
248
  },
232
249
  "components": {
233
250
  "schemas": {
234
251
  "Step": {
235
252
  "type": "object",
236
- "tags": [
237
- "boost"
238
- ],
253
+ "tags": ["boost"],
239
254
  "summary": "Step",
240
255
  "properties": {
241
256
  "name": {
@@ -250,16 +265,11 @@
250
265
  }
251
266
  }
252
267
  },
253
- "required": [
254
- "name",
255
- "execute"
256
- ]
268
+ "required": ["name", "execute"]
257
269
  },
258
270
  "Boost": {
259
271
  "type": "object",
260
- "tags": [
261
- "boost"
262
- ],
272
+ "tags": ["boost"],
263
273
  "summary": "Boost",
264
274
  "properties": {
265
275
  "prompt": {
@@ -288,9 +298,7 @@
288
298
  },
289
299
  "ContextParameter": {
290
300
  "type": "object",
291
- "tags": [
292
- "service"
293
- ],
301
+ "tags": ["service"],
294
302
  "summary": "Context Parameter",
295
303
  "properties": {
296
304
  "name": {
@@ -314,12 +322,7 @@
314
322
  "type": "string"
315
323
  }
316
324
  },
317
- "required": [
318
- "name",
319
- "summary",
320
- "required",
321
- "schema"
322
- ]
325
+ "required": ["name", "summary", "required", "schema"]
323
326
  }
324
327
  }
325
328
  },
@@ -327,10 +330,7 @@
327
330
  "/boost": {
328
331
  "summary": "Boost",
329
332
  "description": "Boost proposed by Digipair",
330
- "tags": [
331
- "boost",
332
- "service"
333
- ],
333
+ "tags": ["boost", "service"],
334
334
  "metadata": [
335
335
  {
336
336
  "name": "standalone",
@@ -388,4 +388,4 @@
388
388
  ]
389
389
  }
390
390
  }
391
- }
391
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-chatbot",
3
- "version": "0.133.1",
3
+ "version": "0.133.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",