@@ -416,13 +416,13 @@ paths:
416
416
- Catalog
417
417
/v1alpha/namespaces/{namespaceId}/catalogs/{catalogId}/chunks/retrieve :
418
418
post :
419
- summary : Retrieve similar chunks
420
- operationId : ArtifactPublicService_SimilarityChunksSearch
419
+ summary : View similar chunks
420
+ operationId : ArtifactPublicService_ViewChunks
421
421
responses :
422
422
" 200 " :
423
423
description : A successful response.
424
424
schema :
425
- $ref : ' #/definitions/v1alphaSimilarityChunksSearchResponse '
425
+ $ref : ' #/definitions/v1alphaViewChunksResponse '
426
426
" 401 " :
427
427
description : Returned when the client credentials are not valid.
428
428
schema : {}
@@ -445,7 +445,7 @@ paths:
445
445
in : body
446
446
required : true
447
447
schema :
448
- $ref : ' #/definitions/ArtifactPublicServiceSimilarityChunksSearchBody '
448
+ $ref : ' #/definitions/ArtifactPublicServiceViewChunksBody '
449
449
- name : Instill-Requester-Uid
450
450
description : Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to
451
451
in : header
@@ -577,17 +577,6 @@ definitions:
577
577
format : int32
578
578
title : top k default to 5
579
579
title : QuestionAnsweringRequest
580
- ArtifactPublicServiceSimilarityChunksSearchBody :
581
- type : object
582
- properties :
583
- textPrompt :
584
- type : string
585
- title : text prompt
586
- topK :
587
- type : integer
588
- format : int64
589
- title : top k
590
- title : Similar chunk search request
591
580
ArtifactPublicServiceUpdateCatalogBody :
592
581
type : object
593
582
properties :
@@ -607,6 +596,17 @@ definitions:
607
596
type : boolean
608
597
title : whether the chunk is retrievable
609
598
title : Create chunk response
599
+ ArtifactPublicServiceViewChunksBody :
600
+ type : object
601
+ properties :
602
+ textPrompt :
603
+ type : string
604
+ title : text prompt
605
+ topK :
606
+ type : integer
607
+ format : int64
608
+ title : top k
609
+ title : View chunks request
610
610
GetFileCatalogResponseChunkType :
611
611
type : string
612
612
enum :
@@ -1313,16 +1313,6 @@ definitions:
1313
1313
type : string
1314
1314
title : source file
1315
1315
title : similarity chunks
1316
- v1alphaSimilarityChunksSearchResponse :
1317
- type : object
1318
- properties :
1319
- similarChunks :
1320
- type : array
1321
- items :
1322
- type : object
1323
- $ref : ' #/definitions/v1alphaSimilarityChunk'
1324
- title : chunks
1325
- title : Similar chunk search response
1326
1316
v1alphaSourceFile :
1327
1317
type : object
1328
1318
properties :
@@ -1365,6 +1355,16 @@ definitions:
1365
1355
allOf :
1366
1356
- $ref : ' #/definitions/v1alphaFile'
1367
1357
title : upload file response
1358
+ v1alphaViewChunksResponse :
1359
+ type : object
1360
+ properties :
1361
+ similarChunks :
1362
+ type : array
1363
+ items :
1364
+ type : object
1365
+ $ref : ' #/definitions/v1alphaSimilarityChunk'
1366
+ title : chunks
1367
+ title : View chunks response
1368
1368
securityDefinitions :
1369
1369
Bearer :
1370
1370
type : apiKey
0 commit comments