@digipair/skill-dsp 0.98.0 → 0.98.3
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/index.esm.js +5 -5
- package/package.json +1 -1
- package/schema.fr.json +738 -793
- package/schema.json +738 -793
package/schema.fr.json
CHANGED
|
@@ -43,833 +43,778 @@
|
|
|
43
43
|
"schema": {
|
|
44
44
|
"$ref": "#/components/schemas/AxAIModelInstance"
|
|
45
45
|
}
|
|
46
|
-
"name": "gpt-4o-mini",
|
|
47
|
-
"config": {},
|
|
48
|
-
"options": {}
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
50
|
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
51
|
+
},
|
|
52
|
+
"/modelOpenAI": {
|
|
53
|
+
"post": {
|
|
54
|
+
"tags": [
|
|
55
|
+
"service"
|
|
56
|
+
],
|
|
57
|
+
"summary": "Modèle OpenAI",
|
|
58
|
+
"parameters": [
|
|
59
|
+
{
|
|
60
|
+
"name": "apiKey",
|
|
61
|
+
"summary": "Api Key",
|
|
62
|
+
"required": false,
|
|
63
|
+
"description": "Api Key OpenAI",
|
|
64
|
+
"schema": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "apiURL",
|
|
70
|
+
"summary": "Adresse du serveur",
|
|
71
|
+
"required": false,
|
|
72
|
+
"description": "Adresse du serveur OpenAI",
|
|
73
|
+
"schema": {
|
|
74
|
+
"type": "object"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "config",
|
|
79
|
+
"summary": "Configuration",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Configuration du modèle OpenAI",
|
|
82
|
+
"schema": {
|
|
83
|
+
"type": "object"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "options",
|
|
88
|
+
"summary": "Options",
|
|
89
|
+
"required": false,
|
|
90
|
+
"description": "Options du modèle OpenAI",
|
|
91
|
+
"schema": {
|
|
92
|
+
"type": "object"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "supportFor",
|
|
97
|
+
"summary": "Support pour",
|
|
98
|
+
"required": false,
|
|
99
|
+
"description": "Fonctionnalités supportées par le modèle OpenAI",
|
|
100
|
+
"schema": {
|
|
101
|
+
"type": "object"
|
|
102
|
+
}
|
|
70
103
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
104
|
+
],
|
|
105
|
+
"x-events": [],
|
|
106
|
+
"responses": {
|
|
107
|
+
"200": {
|
|
108
|
+
"description": "Réponse réussie",
|
|
109
|
+
"content": {
|
|
110
|
+
"application/json": {
|
|
111
|
+
"schema": {
|
|
112
|
+
"$ref": "#/components/schemas/AxAIOpenAIModelInstance"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
79
116
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"/modelAzureOpenAi": {
|
|
121
|
+
"post": {
|
|
122
|
+
"tags": [
|
|
123
|
+
"service"
|
|
124
|
+
],
|
|
125
|
+
"summary": "Modèle Azure OpenAI",
|
|
126
|
+
"parameters": [
|
|
127
|
+
{
|
|
128
|
+
"name": "apiKey",
|
|
129
|
+
"summary": "Api Key",
|
|
130
|
+
"required": false,
|
|
131
|
+
"description": "Api Key Azure OpenAI",
|
|
132
|
+
"schema": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "resourceName",
|
|
138
|
+
"summary": "Nom de la ressource",
|
|
139
|
+
"required": false,
|
|
140
|
+
"description": "Nom de la ressource Azure OpenAI",
|
|
141
|
+
"schema": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "deploymentName",
|
|
147
|
+
"summary": "Nom du déploiement",
|
|
148
|
+
"required": false,
|
|
149
|
+
"description": "Nom du déploiement Azure OpenAI",
|
|
150
|
+
"schema": {
|
|
151
|
+
"type": "string"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "version",
|
|
156
|
+
"summary": "Version",
|
|
157
|
+
"required": false,
|
|
158
|
+
"description": "Version d'API OpenAI",
|
|
159
|
+
"schema": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "config",
|
|
165
|
+
"summary": "Configuration",
|
|
166
|
+
"required": false,
|
|
167
|
+
"description": "Configuration du modèle OpenAI",
|
|
168
|
+
"schema": {
|
|
169
|
+
"type": "object"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "options",
|
|
174
|
+
"summary": "Options",
|
|
175
|
+
"required": false,
|
|
176
|
+
"description": "Options du modèle OpenAI",
|
|
177
|
+
"schema": {
|
|
178
|
+
"type": "object"
|
|
179
|
+
}
|
|
88
180
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
181
|
+
],
|
|
182
|
+
"x-events": [],
|
|
183
|
+
"responses": {
|
|
184
|
+
"200": {
|
|
185
|
+
"description": "Réponse réussie",
|
|
186
|
+
"content": {
|
|
187
|
+
"application/json": {
|
|
188
|
+
"schema": {
|
|
189
|
+
"$ref": "#/components/schemas/AxAIAzureOpenAIModelInstance"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
97
193
|
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"/modelOllama": {
|
|
198
|
+
"post": {
|
|
199
|
+
"tags": [
|
|
200
|
+
"service"
|
|
201
|
+
],
|
|
202
|
+
"summary": "Modèle Ollama",
|
|
203
|
+
"parameters": [
|
|
204
|
+
{
|
|
205
|
+
"name": "model",
|
|
206
|
+
"summary": "Modèle",
|
|
207
|
+
"required": true,
|
|
208
|
+
"description": "Nom du modèle Ollama à utiliser pour la génération",
|
|
209
|
+
"schema": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "url",
|
|
215
|
+
"summary": "Adresse du serveur",
|
|
216
|
+
"required": false,
|
|
217
|
+
"description": "Addresse du serveur Ollama à utiliser pour la génération",
|
|
218
|
+
"schema": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "apiKey",
|
|
224
|
+
"summary": "Api Key",
|
|
225
|
+
"required": false,
|
|
226
|
+
"description": "Api Key Ollama",
|
|
227
|
+
"schema": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "config",
|
|
233
|
+
"summary": "Configuration",
|
|
234
|
+
"required": false,
|
|
235
|
+
"description": "Configuration du modèle Ollama",
|
|
236
|
+
"schema": {
|
|
237
|
+
"type": "object"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "options",
|
|
242
|
+
"summary": "Options",
|
|
243
|
+
"required": false,
|
|
244
|
+
"description": "Options du modèle Ollama",
|
|
245
|
+
"schema": {
|
|
246
|
+
"type": "object"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"x-events": [],
|
|
251
|
+
"responses": {
|
|
252
|
+
"200": {
|
|
253
|
+
"description": "Réponse réussie",
|
|
254
|
+
"content": {
|
|
255
|
+
"application/json": {
|
|
256
|
+
"schema": {
|
|
257
|
+
"$ref": "#/components/schemas/AxAIOllamaModelInstance"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"/generate": {
|
|
266
|
+
"post": {
|
|
267
|
+
"tags": [
|
|
268
|
+
"service"
|
|
269
|
+
],
|
|
270
|
+
"summary": "Génération DSP",
|
|
271
|
+
"parameters": [
|
|
272
|
+
{
|
|
273
|
+
"name": "model",
|
|
274
|
+
"summary": "Modèle",
|
|
275
|
+
"required": false,
|
|
276
|
+
"description": "Modèle LLM à utiliser pour la génération",
|
|
277
|
+
"schema": {
|
|
278
|
+
"type": "array",
|
|
279
|
+
"items": {
|
|
280
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "streaming",
|
|
286
|
+
"summary": "Streaming",
|
|
287
|
+
"required": false,
|
|
288
|
+
"description": "Evènement déclenché lors du streaming",
|
|
289
|
+
"schema": {
|
|
290
|
+
"type": "array",
|
|
291
|
+
"items": {
|
|
292
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "signature",
|
|
298
|
+
"summary": "Signature",
|
|
299
|
+
"required": true,
|
|
300
|
+
"description": "Signature des données à extraire",
|
|
301
|
+
"schema": {
|
|
302
|
+
"type": "string"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "input",
|
|
307
|
+
"summary": "Données à traiter",
|
|
308
|
+
"required": true,
|
|
309
|
+
"description": "Données d'entrées à traiter",
|
|
310
|
+
"schema": {
|
|
311
|
+
"type": "object"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "functions",
|
|
316
|
+
"summary": "Fonctions DSP",
|
|
317
|
+
"required": false,
|
|
318
|
+
"description": "Fonctions utilisables pour la génération",
|
|
319
|
+
"schema": {
|
|
320
|
+
"type": "array",
|
|
321
|
+
"items": {
|
|
322
|
+
"$ref": "#/components/schemas/Function"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "options",
|
|
328
|
+
"summary": "Options",
|
|
329
|
+
"required": false,
|
|
330
|
+
"description": "Options de génération",
|
|
331
|
+
"schema": {
|
|
332
|
+
"type": "object"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"x-events": [],
|
|
337
|
+
"responses": {
|
|
338
|
+
"200": {
|
|
339
|
+
"description": "Réponse réussie",
|
|
340
|
+
"content": {
|
|
341
|
+
"application/json": {
|
|
342
|
+
"schema": {
|
|
343
|
+
"$ref": "#/components/schemas/GenerationResult"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"/chainOfThought": {
|
|
352
|
+
"post": {
|
|
353
|
+
"tags": [
|
|
354
|
+
"service"
|
|
355
|
+
],
|
|
356
|
+
"summary": "Chaine de pensée DSP",
|
|
357
|
+
"parameters": [
|
|
358
|
+
{
|
|
359
|
+
"name": "model",
|
|
360
|
+
"summary": "Modèle",
|
|
361
|
+
"required": false,
|
|
362
|
+
"description": "Modèle LLM à utiliser pour la génération",
|
|
363
|
+
"schema": {
|
|
364
|
+
"type": "array",
|
|
365
|
+
"items": {
|
|
366
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "streaming",
|
|
372
|
+
"summary": "Streaming",
|
|
373
|
+
"required": false,
|
|
374
|
+
"description": "Evènement déclenché lors du streaming",
|
|
375
|
+
"schema": {
|
|
376
|
+
"type": "array",
|
|
377
|
+
"items": {
|
|
378
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "signature",
|
|
384
|
+
"summary": "Signature",
|
|
385
|
+
"required": true,
|
|
386
|
+
"description": "Signature des données à extraire",
|
|
387
|
+
"schema": {
|
|
388
|
+
"type": "string"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "input",
|
|
393
|
+
"summary": "Données à traiter",
|
|
394
|
+
"required": true,
|
|
395
|
+
"description": "Données d'entrées à traiter",
|
|
396
|
+
"schema": {
|
|
397
|
+
"type": "object"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "functions",
|
|
402
|
+
"summary": "Fonctions DSP",
|
|
403
|
+
"required": false,
|
|
404
|
+
"description": "Fonctions utilisables pour la chaine de pensée",
|
|
405
|
+
"schema": {
|
|
406
|
+
"type": "array",
|
|
407
|
+
"items": {
|
|
408
|
+
"$ref": "#/components/schemas/Function"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "options",
|
|
414
|
+
"summary": "Options",
|
|
415
|
+
"required": false,
|
|
416
|
+
"description": "Options de génération",
|
|
417
|
+
"schema": {
|
|
418
|
+
"type": "object"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"x-events": [],
|
|
423
|
+
"responses": {
|
|
424
|
+
"200": {
|
|
425
|
+
"description": "Réponse réussie",
|
|
426
|
+
"content": {
|
|
427
|
+
"application/json": {
|
|
428
|
+
"schema": {
|
|
429
|
+
"$ref": "#/components/schemas/ChainOfThoughtResult"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
106
433
|
}
|
|
107
434
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"/agent": {
|
|
438
|
+
"post": {
|
|
439
|
+
"tags": [
|
|
440
|
+
"service"
|
|
441
|
+
],
|
|
442
|
+
"summary": "Agent DSP",
|
|
443
|
+
"parameters": [
|
|
444
|
+
{
|
|
445
|
+
"name": "model",
|
|
446
|
+
"summary": "Modèle",
|
|
447
|
+
"required": false,
|
|
448
|
+
"description": "Modèle LLM à utiliser pour la génération",
|
|
449
|
+
"schema": {
|
|
450
|
+
"type": "array",
|
|
451
|
+
"items": {
|
|
452
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "streaming",
|
|
458
|
+
"summary": "Streaming",
|
|
459
|
+
"required": false,
|
|
460
|
+
"description": "Evènement déclenché lors du streaming",
|
|
461
|
+
"schema": {
|
|
462
|
+
"type": "array",
|
|
463
|
+
"items": {
|
|
464
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "name",
|
|
470
|
+
"summary": "Nom",
|
|
471
|
+
"required": true,
|
|
472
|
+
"description": "Nom de l'agent",
|
|
473
|
+
"schema": {
|
|
474
|
+
"type": "string"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "description",
|
|
479
|
+
"summary": "Description",
|
|
480
|
+
"required": true,
|
|
481
|
+
"description": "Description de l'agent",
|
|
482
|
+
"schema": {
|
|
483
|
+
"type": "string"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "signature",
|
|
488
|
+
"summary": "Signature",
|
|
489
|
+
"required": true,
|
|
490
|
+
"description": "Signature des données à extraire",
|
|
491
|
+
"schema": {
|
|
492
|
+
"type": "string"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "input",
|
|
497
|
+
"summary": "Données à traiter",
|
|
498
|
+
"required": false,
|
|
499
|
+
"description": "Données d'entrées à traiter",
|
|
500
|
+
"schema": {
|
|
501
|
+
"type": "object"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "functions",
|
|
506
|
+
"summary": "Fonctions DSP",
|
|
507
|
+
"required": false,
|
|
508
|
+
"description": "Fonctions utilisables pour la génération",
|
|
509
|
+
"schema": {
|
|
510
|
+
"type": "array",
|
|
511
|
+
"items": {
|
|
512
|
+
"$ref": "#/components/schemas/Function"
|
|
117
513
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "agents",
|
|
518
|
+
"summary": "Agents DSP",
|
|
519
|
+
"required": false,
|
|
520
|
+
"description": "Autres agents utilisables par l'agent",
|
|
521
|
+
"schema": {
|
|
522
|
+
"type": "array",
|
|
523
|
+
"items": {
|
|
524
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "options",
|
|
530
|
+
"summary": "Options",
|
|
531
|
+
"required": false,
|
|
532
|
+
"description": "Options de génération",
|
|
533
|
+
"schema": {
|
|
534
|
+
"type": "object"
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"x-events": [],
|
|
539
|
+
"responses": {
|
|
540
|
+
"200": {
|
|
541
|
+
"description": "Réponse réussie",
|
|
542
|
+
"content": {
|
|
543
|
+
"application/json": {
|
|
544
|
+
"schema": {
|
|
545
|
+
"oneOf": [
|
|
546
|
+
{
|
|
547
|
+
"$ref": "#/components/schemas/AgentResult"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"$ref": "#/components/schemas/AxAgentInstance"
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
}
|
|
129
554
|
}
|
|
130
555
|
}
|
|
131
556
|
}
|
|
132
557
|
}
|
|
133
558
|
}
|
|
134
559
|
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
560
|
+
},
|
|
561
|
+
"components": {
|
|
562
|
+
"schemas": {
|
|
563
|
+
"Function": {
|
|
564
|
+
"tags": [
|
|
565
|
+
"service"
|
|
566
|
+
],
|
|
567
|
+
"summary": "Fonction DSP",
|
|
568
|
+
"type": "object",
|
|
569
|
+
"properties": {
|
|
570
|
+
"name": {
|
|
571
|
+
"type": "string"
|
|
572
|
+
},
|
|
573
|
+
"description": {
|
|
574
|
+
"type": "string"
|
|
575
|
+
},
|
|
576
|
+
"parameters": {
|
|
577
|
+
"type": "object"
|
|
578
|
+
},
|
|
579
|
+
"func": {
|
|
580
|
+
"type": "array",
|
|
581
|
+
"items": {
|
|
582
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"required": [
|
|
587
|
+
"name",
|
|
588
|
+
"description",
|
|
589
|
+
"parameters",
|
|
590
|
+
"func"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"AxAIModelInstance": {
|
|
594
|
+
"tags": [],
|
|
595
|
+
"type": "object",
|
|
596
|
+
"description": "Instance de modèle AxAI générique",
|
|
597
|
+
"properties": {
|
|
598
|
+
"name": {
|
|
599
|
+
"type": "string",
|
|
600
|
+
"description": "Nom du modèle"
|
|
601
|
+
},
|
|
602
|
+
"config": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"description": "Configuration du modèle"
|
|
605
|
+
},
|
|
606
|
+
"options": {
|
|
607
|
+
"type": "object",
|
|
608
|
+
"description": "Options du modèle"
|
|
609
|
+
}
|
|
151
610
|
}
|
|
152
611
|
},
|
|
153
|
-
{
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
612
|
+
"AxAIOpenAIModelInstance": {
|
|
613
|
+
"tags": [],
|
|
614
|
+
"type": "object",
|
|
615
|
+
"description": "Instance de modèle OpenAI",
|
|
616
|
+
"properties": {
|
|
617
|
+
"apiKey": {
|
|
618
|
+
"type": "string",
|
|
619
|
+
"description": "Clé API OpenAI"
|
|
620
|
+
},
|
|
621
|
+
"apiURL": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"description": "URL de l'API OpenAI"
|
|
624
|
+
},
|
|
625
|
+
"modelInfo": {
|
|
626
|
+
"type": "object",
|
|
627
|
+
"description": "Informations du modèle"
|
|
628
|
+
},
|
|
629
|
+
"config": {
|
|
630
|
+
"type": "object",
|
|
631
|
+
"description": "Configuration du modèle"
|
|
632
|
+
},
|
|
633
|
+
"supportFor": {
|
|
634
|
+
"type": "object",
|
|
635
|
+
"description": "Fonctionnalités supportées"
|
|
636
|
+
}
|
|
160
637
|
}
|
|
161
638
|
},
|
|
162
|
-
{
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
639
|
+
"AxAIAzureOpenAIModelInstance": {
|
|
640
|
+
"tags": [],
|
|
641
|
+
"type": "object",
|
|
642
|
+
"description": "Instance de modèle Azure OpenAI",
|
|
643
|
+
"properties": {
|
|
644
|
+
"apiKey": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Clé API Azure OpenAI"
|
|
647
|
+
},
|
|
648
|
+
"resourceName": {
|
|
649
|
+
"type": "string",
|
|
650
|
+
"description": "Nom de la ressource Azure"
|
|
651
|
+
},
|
|
652
|
+
"deploymentName": {
|
|
653
|
+
"type": "string",
|
|
654
|
+
"description": "Nom du déploiement"
|
|
655
|
+
},
|
|
656
|
+
"version": {
|
|
657
|
+
"type": "string",
|
|
658
|
+
"description": "Version de l'API"
|
|
659
|
+
},
|
|
660
|
+
"config": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"description": "Configuration du modèle"
|
|
663
|
+
},
|
|
664
|
+
"options": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"description": "Options du modèle"
|
|
667
|
+
}
|
|
169
668
|
}
|
|
170
669
|
},
|
|
171
|
-
{
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
|
|
177
|
-
|
|
670
|
+
"AxAIOllamaModelInstance": {
|
|
671
|
+
"tags": [],
|
|
672
|
+
"type": "object",
|
|
673
|
+
"description": "Instance de modèle Ollama",
|
|
674
|
+
"properties": {
|
|
675
|
+
"model": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"description": "Nom du modèle"
|
|
678
|
+
},
|
|
679
|
+
"url": {
|
|
680
|
+
"type": "string",
|
|
681
|
+
"description": "URL du serveur Ollama"
|
|
682
|
+
},
|
|
683
|
+
"apiKey": {
|
|
684
|
+
"type": [
|
|
685
|
+
"string",
|
|
686
|
+
"null"
|
|
687
|
+
],
|
|
688
|
+
"description": "Clé API (si requise)"
|
|
689
|
+
},
|
|
690
|
+
"config": {
|
|
691
|
+
"type": "object",
|
|
692
|
+
"description": "Configuration du modèle"
|
|
693
|
+
},
|
|
694
|
+
"options": {
|
|
695
|
+
"type": "object",
|
|
696
|
+
"description": "Options du modèle"
|
|
697
|
+
}
|
|
178
698
|
}
|
|
179
699
|
},
|
|
180
|
-
{
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
700
|
+
"GenerationResult": {
|
|
701
|
+
"tags": [],
|
|
702
|
+
"type": "object",
|
|
703
|
+
"description": "Résultat de génération DSP",
|
|
704
|
+
"properties": {
|
|
705
|
+
"text": {
|
|
706
|
+
"type": "string",
|
|
707
|
+
"description": "Texte généré"
|
|
708
|
+
},
|
|
709
|
+
"data": {
|
|
710
|
+
"type": "object",
|
|
711
|
+
"description": "Données structurées extraites"
|
|
712
|
+
},
|
|
713
|
+
"functions": {
|
|
714
|
+
"type": "array",
|
|
715
|
+
"description": "Appels de fonction effectués pendant la génération",
|
|
716
|
+
"items": {
|
|
717
|
+
"type": "object"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"reasoning": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"description": "Processus de raisonnement"
|
|
723
|
+
}
|
|
187
724
|
}
|
|
188
725
|
},
|
|
189
|
-
{
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
726
|
+
"ChainOfThoughtResult": {
|
|
727
|
+
"tags": [],
|
|
728
|
+
"type": "object",
|
|
729
|
+
"description": "Résultat de chaîne de pensée DSP",
|
|
730
|
+
"properties": {
|
|
731
|
+
"text": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"description": "Texte généré avec raisonnement"
|
|
734
|
+
},
|
|
735
|
+
"data": {
|
|
736
|
+
"type": "object",
|
|
737
|
+
"description": "Données structurées extraites"
|
|
738
|
+
},
|
|
739
|
+
"thoughts": {
|
|
740
|
+
"type": "array",
|
|
741
|
+
"description": "Étapes de la chaîne de pensée",
|
|
742
|
+
"items": {
|
|
743
|
+
"type": "string"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"functions": {
|
|
747
|
+
"type": "array",
|
|
748
|
+
"description": "Appels de fonction effectués pendant la génération",
|
|
749
|
+
"items": {
|
|
750
|
+
"type": "object"
|
|
751
|
+
}
|
|
752
|
+
}
|
|
196
753
|
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
"
|
|
754
|
+
},
|
|
755
|
+
"AgentResult": {
|
|
756
|
+
"tags": [],
|
|
757
|
+
"type": "object",
|
|
758
|
+
"description": "Résultat d'exécution d'agent",
|
|
759
|
+
"properties": {
|
|
760
|
+
"text": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"description": "Texte de réponse de l'agent"
|
|
763
|
+
},
|
|
764
|
+
"data": {
|
|
765
|
+
"type": "object",
|
|
766
|
+
"description": "Données de résultat de tâche"
|
|
767
|
+
},
|
|
768
|
+
"agents_used": {
|
|
769
|
+
"type": "array",
|
|
770
|
+
"description": "Autres agents utilisés dans l'exécution",
|
|
771
|
+
"items": {
|
|
772
|
+
"type": "string"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"functions": {
|
|
776
|
+
"type": "array",
|
|
777
|
+
"description": "Appels de fonction effectués pendant l'exécution",
|
|
778
|
+
"items": {
|
|
779
|
+
"type": "object"
|
|
780
|
+
}
|
|
214
781
|
}
|
|
215
782
|
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"name": "apiKey",
|
|
248
|
-
"summary": "Api Key",
|
|
249
|
-
"required": false,
|
|
250
|
-
"description": "Api Key Ollama",
|
|
251
|
-
"schema": {
|
|
252
|
-
"type": "string"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "config",
|
|
257
|
-
"summary": "Configuration",
|
|
258
|
-
"required": false,
|
|
259
|
-
"description": "Configuration du modèle Ollama",
|
|
260
|
-
"schema": {
|
|
261
|
-
"type": "object"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "options",
|
|
266
|
-
"summary": "Options",
|
|
267
|
-
"required": false,
|
|
268
|
-
"description": "Options du modèle Ollama",
|
|
269
|
-
"schema": {
|
|
270
|
-
"type": "object"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"x-events": [],
|
|
275
|
-
"responses": {
|
|
276
|
-
"200": {
|
|
277
|
-
"description": "Réponse réussie",
|
|
278
|
-
"content": {
|
|
279
|
-
"application/json": {
|
|
280
|
-
"schema": {
|
|
281
|
-
"$ref": "#/components/schemas/AxAIOllamaModelInstance"
|
|
783
|
+
},
|
|
784
|
+
"AxAgentInstance": {
|
|
785
|
+
"tags": [],
|
|
786
|
+
"type": "object",
|
|
787
|
+
"description": "Instance d'agent (quand forward=false)",
|
|
788
|
+
"properties": {
|
|
789
|
+
"name": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"description": "Nom de l'agent"
|
|
792
|
+
},
|
|
793
|
+
"description": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"description": "Description de l'agent"
|
|
796
|
+
},
|
|
797
|
+
"signature": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"description": "Signature de l'agent"
|
|
800
|
+
},
|
|
801
|
+
"functions": {
|
|
802
|
+
"type": "array",
|
|
803
|
+
"description": "Fonctions disponibles",
|
|
804
|
+
"items": {
|
|
805
|
+
"$ref": "#/components/schemas/Function"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"agents": {
|
|
809
|
+
"type": "array",
|
|
810
|
+
"description": "Sous-agents",
|
|
811
|
+
"items": {
|
|
812
|
+
"type": "object"
|
|
813
|
+
}
|
|
282
814
|
}
|
|
283
|
-
"model": "llama2",
|
|
284
|
-
"url": "http://localhost:11434/v1",
|
|
285
|
-
"apiKey": null,
|
|
286
|
-
"config": {},
|
|
287
|
-
"options": {}
|
|
288
815
|
}
|
|
289
816
|
}
|
|
290
817
|
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"/generate": {
|
|
296
|
-
"post": {
|
|
297
|
-
"tags": [
|
|
298
|
-
"service"
|
|
299
|
-
],
|
|
300
|
-
"summary": "Génération DSP",
|
|
301
|
-
"parameters": [
|
|
302
|
-
{
|
|
303
|
-
"name": "model",
|
|
304
|
-
"summary": "Modèle",
|
|
305
|
-
"required": false,
|
|
306
|
-
"description": "Modèle LLM à utiliser pour la génération",
|
|
307
|
-
"schema": {
|
|
308
|
-
"type": "array",
|
|
309
|
-
"items": {
|
|
310
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"name": "streaming",
|
|
316
|
-
"summary": "Streaming",
|
|
317
|
-
"required": false,
|
|
318
|
-
"description": "Evènement déclenché lors du streaming",
|
|
319
|
-
"schema": {
|
|
320
|
-
"type": "array",
|
|
321
|
-
"items": {
|
|
322
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"name": "signature",
|
|
328
|
-
"summary": "Signature",
|
|
329
|
-
"required": true,
|
|
330
|
-
"description": "Signature des données à extraire",
|
|
331
|
-
"schema": {
|
|
332
|
-
"type": "string"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"name": "input",
|
|
337
|
-
"summary": "Données à traiter",
|
|
338
|
-
"required": true,
|
|
339
|
-
"description": "Données d'entrées à traiter",
|
|
340
|
-
"schema": {
|
|
341
|
-
"type": "object"
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"name": "functions",
|
|
346
|
-
"summary": "Fonctions DSP",
|
|
347
|
-
"required": false,
|
|
348
|
-
"description": "Fonctions utilisables pour la génération",
|
|
349
|
-
"schema": {
|
|
350
|
-
"type": "array",
|
|
351
|
-
"items": {
|
|
352
|
-
"$ref": "#/components/schemas/Function"
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
818
|
},
|
|
356
|
-
{
|
|
357
|
-
"name": "options",
|
|
358
|
-
"summary": "Options",
|
|
359
|
-
"required": false,
|
|
360
|
-
"description": "Options de génération",
|
|
361
|
-
"schema": {
|
|
362
|
-
"type": "object"
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
],
|
|
366
|
-
"x-events": [],
|
|
367
|
-
"responses": {
|
|
368
|
-
"200": {
|
|
369
|
-
"description": "Réponse réussie",
|
|
370
|
-
"content": {
|
|
371
|
-
"application/json": {
|
|
372
|
-
"schema": {
|
|
373
|
-
"$ref": "#/components/schemas/GenerationResult"
|
|
374
|
-
}
|
|
375
|
-
"text": "Texte de réponse généré",
|
|
376
|
-
"data": {
|
|
377
|
-
"champ1": "valeur extraite 1",
|
|
378
|
-
"champ2": "valeur extraite 2"
|
|
379
|
-
},
|
|
380
|
-
"functions": [],
|
|
381
|
-
"reasoning": "Processus de raisonnement étape par étape"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
"/chainOfThought": {
|
|
390
|
-
"post": {
|
|
391
|
-
"tags": [
|
|
392
|
-
"service"
|
|
393
|
-
],
|
|
394
|
-
"summary": "Chaine de pensée DSP",
|
|
395
|
-
"parameters": [
|
|
396
|
-
{
|
|
397
|
-
"name": "model",
|
|
398
|
-
"summary": "Modèle",
|
|
399
|
-
"required": false,
|
|
400
|
-
"description": "Modèle LLM à utiliser pour la génération",
|
|
401
|
-
"schema": {
|
|
402
|
-
"type": "array",
|
|
403
|
-
"items": {
|
|
404
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"name": "streaming",
|
|
410
|
-
"summary": "Streaming",
|
|
411
|
-
"required": false,
|
|
412
|
-
"description": "Evènement déclenché lors du streaming",
|
|
413
|
-
"schema": {
|
|
414
|
-
"type": "array",
|
|
415
|
-
"items": {
|
|
416
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"name": "signature",
|
|
422
|
-
"summary": "Signature",
|
|
423
|
-
"required": true,
|
|
424
|
-
"description": "Signature des données à extraire",
|
|
425
|
-
"schema": {
|
|
426
|
-
"type": "string"
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"name": "input",
|
|
431
|
-
"summary": "Données à traiter",
|
|
432
|
-
"required": true,
|
|
433
|
-
"description": "Données d'entrées à traiter",
|
|
434
|
-
"schema": {
|
|
435
|
-
"type": "object"
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"name": "functions",
|
|
440
|
-
"summary": "Fonctions DSP",
|
|
441
|
-
"required": false,
|
|
442
|
-
"description": "Fonctions utilisables pour la chaine de pensée",
|
|
443
|
-
"schema": {
|
|
444
|
-
"type": "array",
|
|
445
|
-
"items": {
|
|
446
|
-
"$ref": "#/components/schemas/Function"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "options",
|
|
452
|
-
"summary": "Options",
|
|
453
|
-
"required": false,
|
|
454
|
-
"description": "Options de génération",
|
|
455
|
-
"schema": {
|
|
456
|
-
"type": "object"
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
],
|
|
460
|
-
"x-events": [],
|
|
461
|
-
"responses": {
|
|
462
|
-
"200": {
|
|
463
|
-
"description": "Réponse réussie",
|
|
464
|
-
"content": {
|
|
465
|
-
"application/json": {
|
|
466
|
-
"schema": {
|
|
467
|
-
"$ref": "#/components/schemas/ChainOfThoughtResult"
|
|
468
|
-
}
|
|
469
|
-
"text": "Réponse de chaîne de pensée",
|
|
470
|
-
"data": {
|
|
471
|
-
"raisonnement": "Étapes de raisonnement détaillées",
|
|
472
|
-
"conclusion": "Conclusion finale"
|
|
473
|
-
},
|
|
474
|
-
"thoughts": [
|
|
475
|
-
"Première pensée",
|
|
476
|
-
"Deuxième pensée",
|
|
477
|
-
"Pensée finale"
|
|
478
|
-
],
|
|
479
|
-
"functions": []
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
"/agent": {
|
|
488
|
-
"post": {
|
|
489
|
-
"tags": [
|
|
490
|
-
"service"
|
|
491
|
-
],
|
|
492
|
-
"summary": "Agent DSP",
|
|
493
|
-
"parameters": [
|
|
494
|
-
{
|
|
495
|
-
"name": "model",
|
|
496
|
-
"summary": "Modèle",
|
|
497
|
-
"required": false,
|
|
498
|
-
"description": "Modèle LLM à utiliser pour la génération",
|
|
499
|
-
"schema": {
|
|
500
|
-
"type": "array",
|
|
501
|
-
"items": {
|
|
502
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"name": "streaming",
|
|
508
|
-
"summary": "Streaming",
|
|
509
|
-
"required": false,
|
|
510
|
-
"description": "Evènement déclenché lors du streaming",
|
|
511
|
-
"schema": {
|
|
512
|
-
"type": "array",
|
|
513
|
-
"items": {
|
|
514
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"name": "name",
|
|
520
|
-
"summary": "Nom",
|
|
521
|
-
"required": true,
|
|
522
|
-
"description": "Nom de l'agent",
|
|
523
|
-
"schema": {
|
|
524
|
-
"type": "string"
|
|
525
|
-
}
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"name": "description",
|
|
529
|
-
"summary": "Description",
|
|
530
|
-
"required": true,
|
|
531
|
-
"description": "Description de l'agent",
|
|
532
|
-
"schema": {
|
|
533
|
-
"type": "string"
|
|
534
|
-
}
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"name": "signature",
|
|
538
|
-
"summary": "Signature",
|
|
539
|
-
"required": true,
|
|
540
|
-
"description": "Signature des données à extraire",
|
|
541
|
-
"schema": {
|
|
542
|
-
"type": "string"
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"name": "input",
|
|
547
|
-
"summary": "Données à traiter",
|
|
548
|
-
"required": false,
|
|
549
|
-
"description": "Données d'entrées à traiter",
|
|
550
|
-
"schema": {
|
|
551
|
-
"type": "object"
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"name": "functions",
|
|
556
|
-
"summary": "Fonctions DSP",
|
|
557
|
-
"required": false,
|
|
558
|
-
"description": "Fonctions utilisables pour la génération",
|
|
559
|
-
"schema": {
|
|
560
|
-
"type": "array",
|
|
561
|
-
"items": {
|
|
562
|
-
"$ref": "#/components/schemas/Function"
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"name": "agents",
|
|
568
|
-
"summary": "Agents DSP",
|
|
569
|
-
"required": false,
|
|
570
|
-
"description": "Autres agents utilisables par l'agent",
|
|
571
|
-
"schema": {
|
|
572
|
-
"type": "array",
|
|
573
|
-
"items": {
|
|
574
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"name": "options",
|
|
580
|
-
"summary": "Options",
|
|
581
|
-
"required": false,
|
|
582
|
-
"description": "Options de génération",
|
|
583
|
-
"schema": {
|
|
584
|
-
"type": "object"
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"x-events": [],
|
|
589
|
-
"responses": {
|
|
590
|
-
"200": {
|
|
591
|
-
"description": "Réponse réussie",
|
|
592
|
-
"content": {
|
|
593
|
-
"application/json": {
|
|
594
|
-
"schema": {
|
|
595
|
-
"oneOf": [
|
|
596
|
-
{
|
|
597
|
-
"$ref": "#/components/schemas/AgentResult"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"$ref": "#/components/schemas/AxAgentInstance"
|
|
601
|
-
}
|
|
602
|
-
]
|
|
603
|
-
}
|
|
604
|
-
"text": "Réponse de l'agent",
|
|
605
|
-
"data": {
|
|
606
|
-
"resultat_tache": "Tâche terminée avec succès",
|
|
607
|
-
"actions_effectuees": [
|
|
608
|
-
"action1",
|
|
609
|
-
"action2"
|
|
610
|
-
]
|
|
611
|
-
},
|
|
612
|
-
"agents_used": [
|
|
613
|
-
"agent_aide_1"
|
|
614
|
-
],
|
|
615
|
-
"functions": []
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
"components": {
|
|
625
|
-
"schemas": {
|
|
626
|
-
"Function": {
|
|
627
|
-
"tags": [
|
|
628
|
-
"service"
|
|
629
|
-
],
|
|
630
|
-
"summary": "Fonction DSP",
|
|
631
|
-
"type": "object",
|
|
632
|
-
"properties": {
|
|
633
|
-
"name": {
|
|
634
|
-
"type": "string"
|
|
635
|
-
},
|
|
636
|
-
"description": {
|
|
637
|
-
"type": "string"
|
|
638
|
-
},
|
|
639
|
-
"parameters": {
|
|
640
|
-
"type": "object"
|
|
641
|
-
},
|
|
642
|
-
"func": {
|
|
643
|
-
"type": "array",
|
|
644
|
-
"items": {
|
|
645
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
"required": [
|
|
650
|
-
"name",
|
|
651
|
-
"description",
|
|
652
|
-
"parameters",
|
|
653
|
-
"func"
|
|
654
|
-
]
|
|
655
|
-
},
|
|
656
|
-
"AxAIModelInstance": {
|
|
657
|
-
"type": "object",
|
|
658
|
-
"description": "Instance de modèle AxAI générique",
|
|
659
|
-
"properties": {
|
|
660
|
-
"name": {
|
|
661
|
-
"type": "string",
|
|
662
|
-
"description": "Nom du modèle"
|
|
663
|
-
},
|
|
664
|
-
"config": {
|
|
665
|
-
"type": "object",
|
|
666
|
-
"description": "Configuration du modèle"
|
|
667
|
-
},
|
|
668
|
-
"options": {
|
|
669
|
-
"type": "object",
|
|
670
|
-
"description": "Options du modèle"
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"AxAIOpenAIModelInstance": {
|
|
675
|
-
"type": "object",
|
|
676
|
-
"description": "Instance de modèle OpenAI",
|
|
677
|
-
"properties": {
|
|
678
|
-
"apiKey": {
|
|
679
|
-
"type": "string",
|
|
680
|
-
"description": "Clé API OpenAI"
|
|
681
|
-
},
|
|
682
|
-
"apiURL": {
|
|
683
|
-
"type": "string",
|
|
684
|
-
"description": "URL de l'API OpenAI"
|
|
685
|
-
},
|
|
686
|
-
"modelInfo": {
|
|
687
|
-
"type": "object",
|
|
688
|
-
"description": "Informations du modèle"
|
|
689
|
-
},
|
|
690
|
-
"config": {
|
|
691
|
-
"type": "object",
|
|
692
|
-
"description": "Configuration du modèle"
|
|
693
|
-
},
|
|
694
|
-
"supportFor": {
|
|
695
|
-
"type": "object",
|
|
696
|
-
"description": "Fonctionnalités supportées"
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
"AxAIAzureOpenAIModelInstance": {
|
|
701
|
-
"type": "object",
|
|
702
|
-
"description": "Instance de modèle Azure OpenAI",
|
|
703
|
-
"properties": {
|
|
704
|
-
"apiKey": {
|
|
705
|
-
"type": "string",
|
|
706
|
-
"description": "Clé API Azure OpenAI"
|
|
707
|
-
},
|
|
708
|
-
"resourceName": {
|
|
709
|
-
"type": "string",
|
|
710
|
-
"description": "Nom de la ressource Azure"
|
|
711
|
-
},
|
|
712
|
-
"deploymentName": {
|
|
713
|
-
"type": "string",
|
|
714
|
-
"description": "Nom du déploiement"
|
|
715
|
-
},
|
|
716
|
-
"version": {
|
|
717
|
-
"type": "string",
|
|
718
|
-
"description": "Version de l'API"
|
|
719
|
-
},
|
|
720
|
-
"config": {
|
|
721
|
-
"type": "object",
|
|
722
|
-
"description": "Configuration du modèle"
|
|
723
|
-
},
|
|
724
|
-
"options": {
|
|
725
|
-
"type": "object",
|
|
726
|
-
"description": "Options du modèle"
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
"AxAIOllamaModelInstance": {
|
|
731
|
-
"type": "object",
|
|
732
|
-
"description": "Instance de modèle Ollama",
|
|
733
|
-
"properties": {
|
|
734
|
-
"model": {
|
|
735
|
-
"type": "string",
|
|
736
|
-
"description": "Nom du modèle"
|
|
737
|
-
},
|
|
738
|
-
"url": {
|
|
739
|
-
"type": "string",
|
|
740
|
-
"description": "URL du serveur Ollama"
|
|
741
|
-
},
|
|
742
|
-
"apiKey": {
|
|
743
|
-
"type": [
|
|
744
|
-
"string",
|
|
745
|
-
"null"
|
|
746
|
-
],
|
|
747
|
-
"description": "Clé API (si requise)"
|
|
748
|
-
},
|
|
749
|
-
"config": {
|
|
750
|
-
"type": "object",
|
|
751
|
-
"description": "Configuration du modèle"
|
|
752
|
-
},
|
|
753
|
-
"options": {
|
|
754
|
-
"type": "object",
|
|
755
|
-
"description": "Options du modèle"
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
"GenerationResult": {
|
|
760
|
-
"type": "object",
|
|
761
|
-
"description": "Résultat de génération DSP",
|
|
762
|
-
"properties": {
|
|
763
|
-
"text": {
|
|
764
|
-
"type": "string",
|
|
765
|
-
"description": "Texte généré"
|
|
766
|
-
},
|
|
767
|
-
"data": {
|
|
768
|
-
"type": "object",
|
|
769
|
-
"description": "Données structurées extraites"
|
|
770
|
-
},
|
|
771
|
-
"functions": {
|
|
772
|
-
"type": "array",
|
|
773
|
-
"description": "Appels de fonction effectués pendant la génération",
|
|
774
|
-
"items": {
|
|
775
|
-
"type": "object"
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
"reasoning": {
|
|
779
|
-
"type": "string",
|
|
780
|
-
"description": "Processus de raisonnement"
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
},
|
|
784
|
-
"ChainOfThoughtResult": {
|
|
785
|
-
"type": "object",
|
|
786
|
-
"description": "Résultat de chaîne de pensée DSP",
|
|
787
|
-
"properties": {
|
|
788
|
-
"text": {
|
|
789
|
-
"type": "string",
|
|
790
|
-
"description": "Texte généré avec raisonnement"
|
|
791
|
-
},
|
|
792
|
-
"data": {
|
|
793
|
-
"type": "object",
|
|
794
|
-
"description": "Données structurées extraites"
|
|
795
|
-
},
|
|
796
|
-
"thoughts": {
|
|
797
|
-
"type": "array",
|
|
798
|
-
"description": "Étapes de la chaîne de pensée",
|
|
799
|
-
"items": {
|
|
800
|
-
"type": "string"
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
"functions": {
|
|
804
|
-
"type": "array",
|
|
805
|
-
"description": "Appels de fonction effectués pendant la génération",
|
|
806
|
-
"items": {
|
|
807
|
-
"type": "object"
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
"AgentResult": {
|
|
813
|
-
"type": "object",
|
|
814
|
-
"description": "Résultat d'exécution d'agent",
|
|
815
|
-
"properties": {
|
|
816
|
-
"text": {
|
|
817
|
-
"type": "string",
|
|
818
|
-
"description": "Texte de réponse de l'agent"
|
|
819
|
-
},
|
|
820
|
-
"data": {
|
|
821
|
-
"type": "object",
|
|
822
|
-
"description": "Données de résultat de tâche"
|
|
823
|
-
},
|
|
824
|
-
"agents_used": {
|
|
825
|
-
"type": "array",
|
|
826
|
-
"description": "Autres agents utilisés dans l'exécution",
|
|
827
|
-
"items": {
|
|
828
|
-
"type": "string"
|
|
829
|
-
}
|
|
830
|
-
},
|
|
831
|
-
"functions": {
|
|
832
|
-
"type": "array",
|
|
833
|
-
"description": "Appels de fonction effectués pendant l'exécution",
|
|
834
|
-
"items": {
|
|
835
|
-
"type": "object"
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
},
|
|
840
|
-
"AxAgentInstance": {
|
|
841
|
-
"type": "object",
|
|
842
|
-
"description": "Instance d'agent (quand forward=false)",
|
|
843
|
-
"properties": {
|
|
844
|
-
"name": {
|
|
845
|
-
"type": "string",
|
|
846
|
-
"description": "Nom de l'agent"
|
|
847
|
-
},
|
|
848
|
-
"description": {
|
|
849
|
-
"type": "string",
|
|
850
|
-
"description": "Description de l'agent"
|
|
851
|
-
},
|
|
852
|
-
"signature": {
|
|
853
|
-
"type": "string",
|
|
854
|
-
"description": "Signature de l'agent"
|
|
855
|
-
},
|
|
856
|
-
"functions": {
|
|
857
|
-
"type": "array",
|
|
858
|
-
"description": "Fonctions disponibles",
|
|
859
|
-
"items": {
|
|
860
|
-
"$ref": "#/components/schemas/Function"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
"agents": {
|
|
864
|
-
"type": "array",
|
|
865
|
-
"description": "Sous-agents",
|
|
866
|
-
"items": {
|
|
867
|
-
"type": "object"
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"x-scene-blocks": {}
|
|
819
|
+
"x-scene-blocks": {}
|
|
875
820
|
}
|