@digipair/skill-vespa 0.96.0 → 0.97.1
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 +117 -0
- package/schema.json +117 -0
package/package.json
CHANGED
package/schema.fr.json
CHANGED
|
@@ -78,6 +78,29 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
|
+
"responses": {
|
|
82
|
+
"200": {
|
|
83
|
+
"description": "Documents trouvés dans la base de données Vespa",
|
|
84
|
+
"content": {
|
|
85
|
+
"application/json": {
|
|
86
|
+
"schema": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"items": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"uuid": {"type": "string"},
|
|
92
|
+
"parent_uuid": {"type": "string"},
|
|
93
|
+
"is_parent": {"type": "boolean"},
|
|
94
|
+
"content": {"type": "string"},
|
|
95
|
+
"source": {"type": "string"}
|
|
96
|
+
},
|
|
97
|
+
"additionalProperties": true
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
81
104
|
"x-events": []
|
|
82
105
|
}
|
|
83
106
|
},
|
|
@@ -181,6 +204,30 @@
|
|
|
181
204
|
}
|
|
182
205
|
}
|
|
183
206
|
],
|
|
207
|
+
"responses": {
|
|
208
|
+
"200": {
|
|
209
|
+
"description": "Résultats de recherche sémantique depuis la base Vespa",
|
|
210
|
+
"content": {
|
|
211
|
+
"application/json": {
|
|
212
|
+
"schema": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"properties": {
|
|
217
|
+
"uuid": {"type": "string"},
|
|
218
|
+
"parent_uuid": {"type": "string"},
|
|
219
|
+
"is_parent": {"type": "boolean"},
|
|
220
|
+
"content": {"type": "string"},
|
|
221
|
+
"source": {"type": "string"},
|
|
222
|
+
"matchfeatures": {"type": "object"}
|
|
223
|
+
},
|
|
224
|
+
"additionalProperties": true
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
184
231
|
"x-events": []
|
|
185
232
|
}
|
|
186
233
|
},
|
|
@@ -227,6 +274,26 @@
|
|
|
227
274
|
}
|
|
228
275
|
}
|
|
229
276
|
],
|
|
277
|
+
"responses": {
|
|
278
|
+
"200": {
|
|
279
|
+
"description": "Texte découpé en fragments avec métadonnées source",
|
|
280
|
+
"content": {
|
|
281
|
+
"application/json": {
|
|
282
|
+
"schema": {
|
|
283
|
+
"type": "array",
|
|
284
|
+
"items": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"properties": {
|
|
287
|
+
"source": {"type": "string"},
|
|
288
|
+
"content": {"type": "string"}
|
|
289
|
+
},
|
|
290
|
+
"required": ["source", "content"]
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
230
297
|
"x-events": []
|
|
231
298
|
}
|
|
232
299
|
},
|
|
@@ -297,6 +364,22 @@
|
|
|
297
364
|
}
|
|
298
365
|
}
|
|
299
366
|
],
|
|
367
|
+
"responses": {
|
|
368
|
+
"200": {
|
|
369
|
+
"description": "UUIDs des documents parents ajoutés avec succès dans Vespa",
|
|
370
|
+
"content": {
|
|
371
|
+
"application/json": {
|
|
372
|
+
"schema": {
|
|
373
|
+
"type": "array",
|
|
374
|
+
"items": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "UUID du document parent"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
300
383
|
"x-events": []
|
|
301
384
|
}
|
|
302
385
|
},
|
|
@@ -343,6 +426,23 @@
|
|
|
343
426
|
}
|
|
344
427
|
}
|
|
345
428
|
],
|
|
429
|
+
"responses": {
|
|
430
|
+
"200": {
|
|
431
|
+
"description": "Résultat de la suppression de document dans Vespa",
|
|
432
|
+
"content": {
|
|
433
|
+
"application/json": {
|
|
434
|
+
"schema": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"pathId": {"type": "string"},
|
|
438
|
+
"documentCount": {"type": "number"}
|
|
439
|
+
},
|
|
440
|
+
"additionalProperties": true
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
346
446
|
"x-events": []
|
|
347
447
|
}
|
|
348
448
|
},
|
|
@@ -398,6 +498,23 @@
|
|
|
398
498
|
}
|
|
399
499
|
}
|
|
400
500
|
],
|
|
501
|
+
"responses": {
|
|
502
|
+
"200": {
|
|
503
|
+
"description": "Résultat de la mise à jour du document dans Vespa",
|
|
504
|
+
"content": {
|
|
505
|
+
"application/json": {
|
|
506
|
+
"schema": {
|
|
507
|
+
"type": "object",
|
|
508
|
+
"properties": {
|
|
509
|
+
"pathId": {"type": "string"},
|
|
510
|
+
"id": {"type": "string"}
|
|
511
|
+
},
|
|
512
|
+
"additionalProperties": true
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
401
518
|
"x-events": []
|
|
402
519
|
}
|
|
403
520
|
}
|
package/schema.json
CHANGED
|
@@ -78,6 +78,29 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
|
+
"responses": {
|
|
82
|
+
"200": {
|
|
83
|
+
"description": "Documents found in the Vespa database",
|
|
84
|
+
"content": {
|
|
85
|
+
"application/json": {
|
|
86
|
+
"schema": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"items": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"uuid": {"type": "string"},
|
|
92
|
+
"parent_uuid": {"type": "string"},
|
|
93
|
+
"is_parent": {"type": "boolean"},
|
|
94
|
+
"content": {"type": "string"},
|
|
95
|
+
"source": {"type": "string"}
|
|
96
|
+
},
|
|
97
|
+
"additionalProperties": true
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
81
104
|
"x-events": []
|
|
82
105
|
}
|
|
83
106
|
},
|
|
@@ -181,6 +204,30 @@
|
|
|
181
204
|
}
|
|
182
205
|
}
|
|
183
206
|
],
|
|
207
|
+
"responses": {
|
|
208
|
+
"200": {
|
|
209
|
+
"description": "Semantic search results from Vespa database",
|
|
210
|
+
"content": {
|
|
211
|
+
"application/json": {
|
|
212
|
+
"schema": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"properties": {
|
|
217
|
+
"uuid": {"type": "string"},
|
|
218
|
+
"parent_uuid": {"type": "string"},
|
|
219
|
+
"is_parent": {"type": "boolean"},
|
|
220
|
+
"content": {"type": "string"},
|
|
221
|
+
"source": {"type": "string"},
|
|
222
|
+
"matchfeatures": {"type": "object"}
|
|
223
|
+
},
|
|
224
|
+
"additionalProperties": true
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
184
231
|
"x-events": []
|
|
185
232
|
}
|
|
186
233
|
},
|
|
@@ -227,6 +274,26 @@
|
|
|
227
274
|
}
|
|
228
275
|
}
|
|
229
276
|
],
|
|
277
|
+
"responses": {
|
|
278
|
+
"200": {
|
|
279
|
+
"description": "Text split into chunks with source metadata",
|
|
280
|
+
"content": {
|
|
281
|
+
"application/json": {
|
|
282
|
+
"schema": {
|
|
283
|
+
"type": "array",
|
|
284
|
+
"items": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"properties": {
|
|
287
|
+
"source": {"type": "string"},
|
|
288
|
+
"content": {"type": "string"}
|
|
289
|
+
},
|
|
290
|
+
"required": ["source", "content"]
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
230
297
|
"x-events": []
|
|
231
298
|
}
|
|
232
299
|
},
|
|
@@ -297,6 +364,22 @@
|
|
|
297
364
|
}
|
|
298
365
|
}
|
|
299
366
|
],
|
|
367
|
+
"responses": {
|
|
368
|
+
"200": {
|
|
369
|
+
"description": "UUIDs of parent documents successfully pushed to Vespa",
|
|
370
|
+
"content": {
|
|
371
|
+
"application/json": {
|
|
372
|
+
"schema": {
|
|
373
|
+
"type": "array",
|
|
374
|
+
"items": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "UUID of parent document"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
300
383
|
"x-events": []
|
|
301
384
|
}
|
|
302
385
|
},
|
|
@@ -343,6 +426,23 @@
|
|
|
343
426
|
}
|
|
344
427
|
}
|
|
345
428
|
],
|
|
429
|
+
"responses": {
|
|
430
|
+
"200": {
|
|
431
|
+
"description": "Result of document removal from Vespa",
|
|
432
|
+
"content": {
|
|
433
|
+
"application/json": {
|
|
434
|
+
"schema": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"pathId": {"type": "string"},
|
|
438
|
+
"documentCount": {"type": "number"}
|
|
439
|
+
},
|
|
440
|
+
"additionalProperties": true
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
346
446
|
"x-events": []
|
|
347
447
|
}
|
|
348
448
|
},
|
|
@@ -398,6 +498,23 @@
|
|
|
398
498
|
}
|
|
399
499
|
}
|
|
400
500
|
],
|
|
501
|
+
"responses": {
|
|
502
|
+
"200": {
|
|
503
|
+
"description": "Result of document update in Vespa",
|
|
504
|
+
"content": {
|
|
505
|
+
"application/json": {
|
|
506
|
+
"schema": {
|
|
507
|
+
"type": "object",
|
|
508
|
+
"properties": {
|
|
509
|
+
"pathId": {"type": "string"},
|
|
510
|
+
"id": {"type": "string"}
|
|
511
|
+
},
|
|
512
|
+
"additionalProperties": true
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
401
518
|
"x-events": []
|
|
402
519
|
}
|
|
403
520
|
}
|