@digipair/skill-dsp 0.25.6 → 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/index.esm.js +5 -5
- package/package.json +1 -1
- package/schema.fr.json +463 -0
- package/schema.json +69 -69
package/index.esm.js
CHANGED
|
@@ -23499,14 +23499,14 @@ function indent(str, spaces) {
|
|
|
23499
23499
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23500
23500
|
// match is required
|
|
23501
23501
|
if (!match) {
|
|
23502
|
-
return
|
|
23502
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
23503
23503
|
v: nextMatch1
|
|
23504
23504
|
};
|
|
23505
23505
|
}
|
|
23506
23506
|
var token = match.token, offset = match.offset;
|
|
23507
23507
|
i1 += offset;
|
|
23508
23508
|
if (token === " ") {
|
|
23509
|
-
return
|
|
23509
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
23510
23510
|
}
|
|
23511
23511
|
tokens1 = _to_consumable_array$6(tokens1).concat([
|
|
23512
23512
|
token
|
|
@@ -23525,7 +23525,7 @@ function indent(str, spaces) {
|
|
|
23525
23525
|
if (contextKeys.some(function(el) {
|
|
23526
23526
|
return el.startsWith(name);
|
|
23527
23527
|
})) {
|
|
23528
|
-
return
|
|
23528
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
23529
23529
|
}
|
|
23530
23530
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23531
23531
|
return el === name;
|
|
@@ -23544,9 +23544,9 @@ function indent(str, spaces) {
|
|
|
23544
23544
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23545
23545
|
return el.startsWith(name);
|
|
23546
23546
|
})) {
|
|
23547
|
-
return
|
|
23547
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
23548
23548
|
}
|
|
23549
|
-
return
|
|
23549
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
23550
23550
|
v: nextMatch1
|
|
23551
23551
|
};
|
|
23552
23552
|
};
|
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-dsp",
|
|
5
|
+
"summary": "LLM via DSP de Stanford",
|
|
6
|
+
"description": "La compétence permet de gérer la communication avec le LLM en suivant le DSP de Stanford.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🚀"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/model": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Modèle Générique",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "name",
|
|
18
|
+
"summary": "Nom du model",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "Nom du model LLM à utiliser pour le résumé système",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "options",
|
|
27
|
+
"summary": "Options",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Options du modèle LLM",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "object"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"x-events": []
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"/modelOpenAi": {
|
|
39
|
+
"post": {
|
|
40
|
+
"tags": ["service"],
|
|
41
|
+
"summary": "Modèle OpenAI",
|
|
42
|
+
"parameters": [
|
|
43
|
+
{
|
|
44
|
+
"name": "apiKey",
|
|
45
|
+
"summary": "Api Key",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "Api Key OpenAI",
|
|
48
|
+
"schema": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "apiURL",
|
|
54
|
+
"summary": "Adresse du serveur",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Adresse du serveur OpenAI",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "object"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "config",
|
|
63
|
+
"summary": "Configuration",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Configuration du modèle OpenAI",
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "object"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "options",
|
|
72
|
+
"summary": "Options",
|
|
73
|
+
"required": false,
|
|
74
|
+
"description": "Options du modèle OpenAI",
|
|
75
|
+
"schema": {
|
|
76
|
+
"type": "object"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"x-events": []
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"/modelAzureOpenAi": {
|
|
84
|
+
"post": {
|
|
85
|
+
"tags": ["service"],
|
|
86
|
+
"summary": "Modèle Azure OpenAI",
|
|
87
|
+
"parameters": [
|
|
88
|
+
{
|
|
89
|
+
"name": "apiKey",
|
|
90
|
+
"summary": "Api Key",
|
|
91
|
+
"required": false,
|
|
92
|
+
"description": "Api Key Azure OpenAI",
|
|
93
|
+
"schema": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "resourceName",
|
|
99
|
+
"summary": "Nom de la ressource",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "Nom de la ressource Azure OpenAI",
|
|
102
|
+
"schema": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "deploymentName",
|
|
108
|
+
"summary": "Nom du déploiement",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "Nom du déploiement Azure OpenAI",
|
|
111
|
+
"schema": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "version",
|
|
117
|
+
"summary": "Version",
|
|
118
|
+
"required": false,
|
|
119
|
+
"description": "Version d'API OpenAI",
|
|
120
|
+
"schema": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "config",
|
|
126
|
+
"summary": "Configuration",
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": "Configuration du modèle OpenAI",
|
|
129
|
+
"schema": {
|
|
130
|
+
"type": "object"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "options",
|
|
135
|
+
"summary": "Options",
|
|
136
|
+
"required": false,
|
|
137
|
+
"description": "Options du modèle OpenAI",
|
|
138
|
+
"schema": {
|
|
139
|
+
"type": "object"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"x-events": []
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"/modelOllama": {
|
|
147
|
+
"post": {
|
|
148
|
+
"tags": ["service"],
|
|
149
|
+
"summary": "Modèle Ollama",
|
|
150
|
+
"parameters": [
|
|
151
|
+
{
|
|
152
|
+
"name": "model",
|
|
153
|
+
"summary": "Modèle",
|
|
154
|
+
"required": true,
|
|
155
|
+
"description": "Nom du modèle Ollama à utiliser pour la génération",
|
|
156
|
+
"schema": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "url",
|
|
162
|
+
"summary": "Adresse du serveur",
|
|
163
|
+
"required": false,
|
|
164
|
+
"description": "Addresse du serveur Ollama à utiliser pour la génération",
|
|
165
|
+
"schema": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "apiKey",
|
|
171
|
+
"summary": "Api Key",
|
|
172
|
+
"required": false,
|
|
173
|
+
"description": "Api Key Ollama",
|
|
174
|
+
"schema": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "config",
|
|
180
|
+
"summary": "Configuration",
|
|
181
|
+
"required": false,
|
|
182
|
+
"description": "Configuration du modèle Ollama",
|
|
183
|
+
"schema": {
|
|
184
|
+
"type": "object"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "options",
|
|
189
|
+
"summary": "Options",
|
|
190
|
+
"required": false,
|
|
191
|
+
"description": "Options du modèle Ollama",
|
|
192
|
+
"schema": {
|
|
193
|
+
"type": "object"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"x-events": []
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"/generate": {
|
|
201
|
+
"post": {
|
|
202
|
+
"tags": ["service"],
|
|
203
|
+
"summary": "Génération DSP",
|
|
204
|
+
"parameters": [
|
|
205
|
+
{
|
|
206
|
+
"name": "model",
|
|
207
|
+
"summary": "Modèle",
|
|
208
|
+
"required": false,
|
|
209
|
+
"description": "Modèle LLM à utiliser pour la génération",
|
|
210
|
+
"schema": {
|
|
211
|
+
"type": "array",
|
|
212
|
+
"items": {
|
|
213
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "signature",
|
|
219
|
+
"summary": "Signature",
|
|
220
|
+
"required": true,
|
|
221
|
+
"description": "Signature des données à extraire",
|
|
222
|
+
"schema": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "input",
|
|
228
|
+
"summary": "Données à traiter",
|
|
229
|
+
"required": true,
|
|
230
|
+
"description": "Données d'entrées à traiter",
|
|
231
|
+
"schema": {
|
|
232
|
+
"type": "object"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "functions",
|
|
237
|
+
"summary": "Fonctions DSP",
|
|
238
|
+
"required": false,
|
|
239
|
+
"description": "Fonctions utilisables pour la génération",
|
|
240
|
+
"schema": {
|
|
241
|
+
"type": "array",
|
|
242
|
+
"items": {
|
|
243
|
+
"$ref": "#/components/schemas/Function"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"x-events": []
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"/chainOfThought": {
|
|
252
|
+
"post": {
|
|
253
|
+
"tags": ["service"],
|
|
254
|
+
"summary": "Chaine de pensée DSP",
|
|
255
|
+
"parameters": [
|
|
256
|
+
{
|
|
257
|
+
"name": "model",
|
|
258
|
+
"summary": "Modèle",
|
|
259
|
+
"required": false,
|
|
260
|
+
"description": "Modèle LLM à utiliser pour la génération",
|
|
261
|
+
"schema": {
|
|
262
|
+
"type": "array",
|
|
263
|
+
"items": {
|
|
264
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "signature",
|
|
270
|
+
"summary": "Signature",
|
|
271
|
+
"required": true,
|
|
272
|
+
"description": "Signature des données à extraire",
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "input",
|
|
279
|
+
"summary": "Données à traiter",
|
|
280
|
+
"required": true,
|
|
281
|
+
"description": "Données d'entrées à traiter",
|
|
282
|
+
"schema": {
|
|
283
|
+
"type": "object"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "functions",
|
|
288
|
+
"summary": "Fonctions DSP",
|
|
289
|
+
"required": false,
|
|
290
|
+
"description": "Fonctions utilisables pour la chaine de pensée",
|
|
291
|
+
"schema": {
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"$ref": "#/components/schemas/Function"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"x-events": []
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"/react": {
|
|
303
|
+
"post": {
|
|
304
|
+
"tags": ["service"],
|
|
305
|
+
"summary": "ReAct DSP",
|
|
306
|
+
"parameters": [
|
|
307
|
+
{
|
|
308
|
+
"name": "model",
|
|
309
|
+
"summary": "Modèle",
|
|
310
|
+
"required": false,
|
|
311
|
+
"description": "Modèle LLM à utiliser pour la génération",
|
|
312
|
+
"schema": {
|
|
313
|
+
"type": "array",
|
|
314
|
+
"items": {
|
|
315
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "signature",
|
|
321
|
+
"summary": "Signature",
|
|
322
|
+
"required": true,
|
|
323
|
+
"description": "Signature des données à extraire",
|
|
324
|
+
"schema": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "input",
|
|
330
|
+
"summary": "Données à traiter",
|
|
331
|
+
"required": true,
|
|
332
|
+
"description": "Données d'entrées à traiter",
|
|
333
|
+
"schema": {
|
|
334
|
+
"type": "object"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "functions",
|
|
339
|
+
"summary": "Fonctions DSP",
|
|
340
|
+
"required": false,
|
|
341
|
+
"description": "Fonctions utilisables pour la génération",
|
|
342
|
+
"schema": {
|
|
343
|
+
"type": "array",
|
|
344
|
+
"items": {
|
|
345
|
+
"$ref": "#/components/schemas/Function"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"x-events": []
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"/agent": {
|
|
354
|
+
"post": {
|
|
355
|
+
"tags": ["service"],
|
|
356
|
+
"summary": "Agent 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": "name",
|
|
372
|
+
"summary": "Nom",
|
|
373
|
+
"required": true,
|
|
374
|
+
"description": "Nom de l'agent",
|
|
375
|
+
"schema": {
|
|
376
|
+
"type": "string"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "description",
|
|
381
|
+
"summary": "Description",
|
|
382
|
+
"required": true,
|
|
383
|
+
"description": "Description de l'agent",
|
|
384
|
+
"schema": {
|
|
385
|
+
"type": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "signature",
|
|
390
|
+
"summary": "Signature",
|
|
391
|
+
"required": true,
|
|
392
|
+
"description": "Signature des données à extraire",
|
|
393
|
+
"schema": {
|
|
394
|
+
"type": "string"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "input",
|
|
399
|
+
"summary": "Données à traiter",
|
|
400
|
+
"required": false,
|
|
401
|
+
"description": "Données d'entrées à traiter",
|
|
402
|
+
"schema": {
|
|
403
|
+
"type": "object"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "functions",
|
|
408
|
+
"summary": "Fonctions DSP",
|
|
409
|
+
"required": false,
|
|
410
|
+
"description": "Fonctions utilisables pour la génération",
|
|
411
|
+
"schema": {
|
|
412
|
+
"type": "array",
|
|
413
|
+
"items": {
|
|
414
|
+
"$ref": "#/components/schemas/Function"
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "agents",
|
|
420
|
+
"summary": "Agents DSP",
|
|
421
|
+
"required": false,
|
|
422
|
+
"description": "Autres agents utilisables par l'agent",
|
|
423
|
+
"schema": {
|
|
424
|
+
"type": "array",
|
|
425
|
+
"items": {
|
|
426
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"x-events": []
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"components": {
|
|
436
|
+
"schemas": {
|
|
437
|
+
"Function": {
|
|
438
|
+
"tags": ["service"],
|
|
439
|
+
"summary": "Fonction DSP",
|
|
440
|
+
"type": "object",
|
|
441
|
+
"properties": {
|
|
442
|
+
"name": {
|
|
443
|
+
"type": "string"
|
|
444
|
+
},
|
|
445
|
+
"description": {
|
|
446
|
+
"type": "string"
|
|
447
|
+
},
|
|
448
|
+
"parameters": {
|
|
449
|
+
"type": "object"
|
|
450
|
+
},
|
|
451
|
+
"func": {
|
|
452
|
+
"type": "array",
|
|
453
|
+
"items": {
|
|
454
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"required": ["name", "description", "parameters", "func"]
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"x-scene-blocks": {}
|
|
463
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-dsp",
|
|
5
|
-
"summary": "LLM via DSP
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "LLM via Stanford DSP",
|
|
6
|
+
"description": "The skill allows managing communication with the LLM following the Stanford DSP.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "🚀"
|
|
9
9
|
},
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"/model": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["service"],
|
|
14
|
-
"summary": "
|
|
14
|
+
"summary": "Generic Model",
|
|
15
15
|
"parameters": [
|
|
16
16
|
{
|
|
17
17
|
"name": "name",
|
|
18
|
-
"summary": "
|
|
18
|
+
"summary": "Model Name",
|
|
19
19
|
"required": false,
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Name of the LLM model to use for system summary",
|
|
21
21
|
"schema": {
|
|
22
22
|
"type": "string"
|
|
23
23
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"name": "options",
|
|
27
27
|
"summary": "Options",
|
|
28
28
|
"required": false,
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "LLM model options",
|
|
30
30
|
"schema": {
|
|
31
31
|
"type": "object"
|
|
32
32
|
}
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"/modelOpenAi": {
|
|
39
39
|
"post": {
|
|
40
40
|
"tags": ["service"],
|
|
41
|
-
"summary": "
|
|
41
|
+
"summary": "OpenAI Model",
|
|
42
42
|
"parameters": [
|
|
43
43
|
{
|
|
44
44
|
"name": "apiKey",
|
|
45
|
-
"summary": "
|
|
45
|
+
"summary": "API Key",
|
|
46
46
|
"required": false,
|
|
47
|
-
"description": "
|
|
47
|
+
"description": "OpenAI API Key",
|
|
48
48
|
"schema": {
|
|
49
49
|
"type": "string"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "apiURL",
|
|
54
|
-
"summary": "
|
|
54
|
+
"summary": "Server Address",
|
|
55
55
|
"required": false,
|
|
56
|
-
"description": "
|
|
56
|
+
"description": "OpenAI server address",
|
|
57
57
|
"schema": {
|
|
58
58
|
"type": "object"
|
|
59
59
|
}
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"name": "config",
|
|
63
63
|
"summary": "Configuration",
|
|
64
64
|
"required": false,
|
|
65
|
-
"description": "
|
|
65
|
+
"description": "OpenAI model configuration",
|
|
66
66
|
"schema": {
|
|
67
67
|
"type": "object"
|
|
68
68
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"name": "options",
|
|
72
72
|
"summary": "Options",
|
|
73
73
|
"required": false,
|
|
74
|
-
"description": "
|
|
74
|
+
"description": "OpenAI model options",
|
|
75
75
|
"schema": {
|
|
76
76
|
"type": "object"
|
|
77
77
|
}
|
|
@@ -83,31 +83,31 @@
|
|
|
83
83
|
"/modelAzureOpenAi": {
|
|
84
84
|
"post": {
|
|
85
85
|
"tags": ["service"],
|
|
86
|
-
"summary": "
|
|
86
|
+
"summary": "Azure OpenAI Model",
|
|
87
87
|
"parameters": [
|
|
88
88
|
{
|
|
89
89
|
"name": "apiKey",
|
|
90
|
-
"summary": "
|
|
90
|
+
"summary": "API Key",
|
|
91
91
|
"required": false,
|
|
92
|
-
"description": "
|
|
92
|
+
"description": "Azure OpenAI API Key",
|
|
93
93
|
"schema": {
|
|
94
94
|
"type": "string"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"name": "resourceName",
|
|
99
|
-
"summary": "
|
|
99
|
+
"summary": "Resource Name",
|
|
100
100
|
"required": false,
|
|
101
|
-
"description": "
|
|
101
|
+
"description": "Azure OpenAI resource name",
|
|
102
102
|
"schema": {
|
|
103
103
|
"type": "string"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"name": "deploymentName",
|
|
108
|
-
"summary": "
|
|
108
|
+
"summary": "Deployment Name",
|
|
109
109
|
"required": false,
|
|
110
|
-
"description": "
|
|
110
|
+
"description": "Azure OpenAI deployment name",
|
|
111
111
|
"schema": {
|
|
112
112
|
"type": "string"
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"name": "version",
|
|
117
117
|
"summary": "Version",
|
|
118
118
|
"required": false,
|
|
119
|
-
"description": "
|
|
119
|
+
"description": "OpenAI API version",
|
|
120
120
|
"schema": {
|
|
121
121
|
"type": "string"
|
|
122
122
|
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"name": "config",
|
|
126
126
|
"summary": "Configuration",
|
|
127
127
|
"required": false,
|
|
128
|
-
"description": "
|
|
128
|
+
"description": "OpenAI model configuration",
|
|
129
129
|
"schema": {
|
|
130
130
|
"type": "object"
|
|
131
131
|
}
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"name": "options",
|
|
135
135
|
"summary": "Options",
|
|
136
136
|
"required": false,
|
|
137
|
-
"description": "
|
|
137
|
+
"description": "OpenAI model options",
|
|
138
138
|
"schema": {
|
|
139
139
|
"type": "object"
|
|
140
140
|
}
|
|
@@ -146,31 +146,31 @@
|
|
|
146
146
|
"/modelOllama": {
|
|
147
147
|
"post": {
|
|
148
148
|
"tags": ["service"],
|
|
149
|
-
"summary": "
|
|
149
|
+
"summary": "Ollama Model",
|
|
150
150
|
"parameters": [
|
|
151
151
|
{
|
|
152
152
|
"name": "model",
|
|
153
|
-
"summary": "
|
|
153
|
+
"summary": "Model",
|
|
154
154
|
"required": true,
|
|
155
|
-
"description": "
|
|
155
|
+
"description": "Name of the Ollama model to use for generation",
|
|
156
156
|
"schema": {
|
|
157
157
|
"type": "string"
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"name": "url",
|
|
162
|
-
"summary": "
|
|
162
|
+
"summary": "Server Address",
|
|
163
163
|
"required": false,
|
|
164
|
-
"description": "
|
|
164
|
+
"description": "Address of the Ollama server to use for generation",
|
|
165
165
|
"schema": {
|
|
166
166
|
"type": "string"
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
"name": "apiKey",
|
|
171
|
-
"summary": "
|
|
171
|
+
"summary": "API Key",
|
|
172
172
|
"required": false,
|
|
173
|
-
"description": "
|
|
173
|
+
"description": "Ollama API Key",
|
|
174
174
|
"schema": {
|
|
175
175
|
"type": "string"
|
|
176
176
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"name": "config",
|
|
180
180
|
"summary": "Configuration",
|
|
181
181
|
"required": false,
|
|
182
|
-
"description": "
|
|
182
|
+
"description": "Ollama model configuration",
|
|
183
183
|
"schema": {
|
|
184
184
|
"type": "object"
|
|
185
185
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"name": "options",
|
|
189
189
|
"summary": "Options",
|
|
190
190
|
"required": false,
|
|
191
|
-
"description": "
|
|
191
|
+
"description": "Ollama model options",
|
|
192
192
|
"schema": {
|
|
193
193
|
"type": "object"
|
|
194
194
|
}
|
|
@@ -200,13 +200,13 @@
|
|
|
200
200
|
"/generate": {
|
|
201
201
|
"post": {
|
|
202
202
|
"tags": ["service"],
|
|
203
|
-
"summary": "
|
|
203
|
+
"summary": "DSP Generation",
|
|
204
204
|
"parameters": [
|
|
205
205
|
{
|
|
206
206
|
"name": "model",
|
|
207
|
-
"summary": "
|
|
207
|
+
"summary": "Model",
|
|
208
208
|
"required": false,
|
|
209
|
-
"description": "
|
|
209
|
+
"description": "LLM model to use for generation",
|
|
210
210
|
"schema": {
|
|
211
211
|
"type": "array",
|
|
212
212
|
"items": {
|
|
@@ -218,25 +218,25 @@
|
|
|
218
218
|
"name": "signature",
|
|
219
219
|
"summary": "Signature",
|
|
220
220
|
"required": true,
|
|
221
|
-
"description": "Signature
|
|
221
|
+
"description": "Signature of the data to extract",
|
|
222
222
|
"schema": {
|
|
223
223
|
"type": "string"
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
"name": "input",
|
|
228
|
-
"summary": "
|
|
228
|
+
"summary": "Data to Process",
|
|
229
229
|
"required": true,
|
|
230
|
-
"description": "
|
|
230
|
+
"description": "Input data to process",
|
|
231
231
|
"schema": {
|
|
232
232
|
"type": "object"
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
"name": "functions",
|
|
237
|
-
"summary": "
|
|
237
|
+
"summary": "DSP Functions",
|
|
238
238
|
"required": false,
|
|
239
|
-
"description": "
|
|
239
|
+
"description": "Functions usable for generation",
|
|
240
240
|
"schema": {
|
|
241
241
|
"type": "array",
|
|
242
242
|
"items": {
|
|
@@ -251,13 +251,13 @@
|
|
|
251
251
|
"/chainOfThought": {
|
|
252
252
|
"post": {
|
|
253
253
|
"tags": ["service"],
|
|
254
|
-
"summary": "
|
|
254
|
+
"summary": "DSP Chain of Thought",
|
|
255
255
|
"parameters": [
|
|
256
256
|
{
|
|
257
257
|
"name": "model",
|
|
258
|
-
"summary": "
|
|
258
|
+
"summary": "Model",
|
|
259
259
|
"required": false,
|
|
260
|
-
"description": "
|
|
260
|
+
"description": "LLM model to use for generation",
|
|
261
261
|
"schema": {
|
|
262
262
|
"type": "array",
|
|
263
263
|
"items": {
|
|
@@ -269,25 +269,25 @@
|
|
|
269
269
|
"name": "signature",
|
|
270
270
|
"summary": "Signature",
|
|
271
271
|
"required": true,
|
|
272
|
-
"description": "Signature
|
|
272
|
+
"description": "Signature of the data to extract",
|
|
273
273
|
"schema": {
|
|
274
274
|
"type": "string"
|
|
275
275
|
}
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"name": "input",
|
|
279
|
-
"summary": "
|
|
279
|
+
"summary": "Data to Process",
|
|
280
280
|
"required": true,
|
|
281
|
-
"description": "
|
|
281
|
+
"description": "Input data to process",
|
|
282
282
|
"schema": {
|
|
283
283
|
"type": "object"
|
|
284
284
|
}
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
"name": "functions",
|
|
288
|
-
"summary": "
|
|
288
|
+
"summary": "DSP Functions",
|
|
289
289
|
"required": false,
|
|
290
|
-
"description": "
|
|
290
|
+
"description": "Functions usable for the chain of thought",
|
|
291
291
|
"schema": {
|
|
292
292
|
"type": "array",
|
|
293
293
|
"items": {
|
|
@@ -306,9 +306,9 @@
|
|
|
306
306
|
"parameters": [
|
|
307
307
|
{
|
|
308
308
|
"name": "model",
|
|
309
|
-
"summary": "
|
|
309
|
+
"summary": "Model",
|
|
310
310
|
"required": false,
|
|
311
|
-
"description": "
|
|
311
|
+
"description": "LLM model to use for generation",
|
|
312
312
|
"schema": {
|
|
313
313
|
"type": "array",
|
|
314
314
|
"items": {
|
|
@@ -320,25 +320,25 @@
|
|
|
320
320
|
"name": "signature",
|
|
321
321
|
"summary": "Signature",
|
|
322
322
|
"required": true,
|
|
323
|
-
"description": "Signature
|
|
323
|
+
"description": "Signature of the data to extract",
|
|
324
324
|
"schema": {
|
|
325
325
|
"type": "string"
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"name": "input",
|
|
330
|
-
"summary": "
|
|
330
|
+
"summary": "Data to Process",
|
|
331
331
|
"required": true,
|
|
332
|
-
"description": "
|
|
332
|
+
"description": "Input data to process",
|
|
333
333
|
"schema": {
|
|
334
334
|
"type": "object"
|
|
335
335
|
}
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"name": "functions",
|
|
339
|
-
"summary": "
|
|
339
|
+
"summary": "DSP Functions",
|
|
340
340
|
"required": false,
|
|
341
|
-
"description": "
|
|
341
|
+
"description": "Functions usable for generation",
|
|
342
342
|
"schema": {
|
|
343
343
|
"type": "array",
|
|
344
344
|
"items": {
|
|
@@ -353,13 +353,13 @@
|
|
|
353
353
|
"/agent": {
|
|
354
354
|
"post": {
|
|
355
355
|
"tags": ["service"],
|
|
356
|
-
"summary": "Agent
|
|
356
|
+
"summary": "DSP Agent",
|
|
357
357
|
"parameters": [
|
|
358
358
|
{
|
|
359
359
|
"name": "model",
|
|
360
|
-
"summary": "
|
|
360
|
+
"summary": "Model",
|
|
361
361
|
"required": false,
|
|
362
|
-
"description": "
|
|
362
|
+
"description": "LLM model to use for generation",
|
|
363
363
|
"schema": {
|
|
364
364
|
"type": "array",
|
|
365
365
|
"items": {
|
|
@@ -369,9 +369,9 @@
|
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
"name": "name",
|
|
372
|
-
"summary": "
|
|
372
|
+
"summary": "Name",
|
|
373
373
|
"required": true,
|
|
374
|
-
"description": "
|
|
374
|
+
"description": "Name of the agent",
|
|
375
375
|
"schema": {
|
|
376
376
|
"type": "string"
|
|
377
377
|
}
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"name": "description",
|
|
381
381
|
"summary": "Description",
|
|
382
382
|
"required": true,
|
|
383
|
-
"description": "Description
|
|
383
|
+
"description": "Description of the agent",
|
|
384
384
|
"schema": {
|
|
385
385
|
"type": "string"
|
|
386
386
|
}
|
|
@@ -389,25 +389,25 @@
|
|
|
389
389
|
"name": "signature",
|
|
390
390
|
"summary": "Signature",
|
|
391
391
|
"required": true,
|
|
392
|
-
"description": "Signature
|
|
392
|
+
"description": "Signature of the data to extract",
|
|
393
393
|
"schema": {
|
|
394
394
|
"type": "string"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
"name": "input",
|
|
399
|
-
"summary": "
|
|
399
|
+
"summary": "Data to Process",
|
|
400
400
|
"required": false,
|
|
401
|
-
"description": "
|
|
401
|
+
"description": "Input data to process",
|
|
402
402
|
"schema": {
|
|
403
403
|
"type": "object"
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
407
|
"name": "functions",
|
|
408
|
-
"summary": "
|
|
408
|
+
"summary": "DSP Functions",
|
|
409
409
|
"required": false,
|
|
410
|
-
"description": "
|
|
410
|
+
"description": "Functions usable for generation",
|
|
411
411
|
"schema": {
|
|
412
412
|
"type": "array",
|
|
413
413
|
"items": {
|
|
@@ -417,9 +417,9 @@
|
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"name": "agents",
|
|
420
|
-
"summary": "Agents
|
|
420
|
+
"summary": "DSP Agents",
|
|
421
421
|
"required": false,
|
|
422
|
-
"description": "
|
|
422
|
+
"description": "Other agents usable by the agent",
|
|
423
423
|
"schema": {
|
|
424
424
|
"type": "array",
|
|
425
425
|
"items": {
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
"schemas": {
|
|
437
437
|
"Function": {
|
|
438
438
|
"tags": ["service"],
|
|
439
|
-
"summary": "
|
|
439
|
+
"summary": "DSP Function",
|
|
440
440
|
"type": "object",
|
|
441
441
|
"properties": {
|
|
442
442
|
"name": {
|