@knowledge-stack/ksapi 1.23.5 → 1.25.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/.openapi-generator/FILES +130 -4
- package/.openapi-generator/VERSION +1 -1
- package/README.md +282 -28
- package/dist/apis/AuthApi.d.ts +117 -0
- package/dist/apis/AuthApi.js +137 -47
- package/dist/apis/ChunkLineagesApi.d.ts +38 -0
- package/dist/apis/ChunkLineagesApi.js +42 -15
- package/dist/apis/ChunksApi.d.ts +161 -5
- package/dist/apis/ChunksApi.js +168 -31
- package/dist/apis/DefaultApi.d.ts +20 -0
- package/dist/apis/DefaultApi.js +28 -10
- package/dist/apis/DocumentVersionsApi.d.ts +99 -9
- package/dist/apis/DocumentVersionsApi.js +100 -37
- package/dist/apis/DocumentsApi.d.ts +80 -0
- package/dist/apis/DocumentsApi.js +84 -30
- package/dist/apis/FoldersApi.d.ts +92 -9
- package/dist/apis/FoldersApi.js +86 -32
- package/dist/apis/InvitesApi.d.ts +51 -0
- package/dist/apis/InvitesApi.js +56 -20
- package/dist/apis/PathPartsApi.d.ts +140 -1
- package/dist/apis/PathPartsApi.js +141 -20
- package/dist/apis/SectionsApi.d.ts +49 -0
- package/dist/apis/SectionsApi.js +56 -20
- package/dist/apis/TagsApi.d.ts +62 -0
- package/dist/apis/TagsApi.js +70 -25
- package/dist/apis/TenantsApi.d.ts +103 -0
- package/dist/apis/TenantsApi.js +112 -40
- package/dist/apis/ThreadMessagesApi.d.ts +41 -0
- package/dist/apis/ThreadMessagesApi.js +42 -15
- package/dist/apis/ThreadsApi.d.ts +77 -0
- package/dist/apis/ThreadsApi.js +84 -30
- package/dist/apis/UserPermissionsApi.d.ts +54 -0
- package/dist/apis/UserPermissionsApi.js +56 -20
- package/dist/apis/UsersApi.d.ts +23 -0
- package/dist/apis/UsersApi.js +28 -10
- package/dist/apis/WorkflowsApi.d.ts +38 -0
- package/dist/apis/WorkflowsApi.js +42 -15
- package/dist/esm/apis/AuthApi.d.ts +117 -0
- package/dist/esm/apis/AuthApi.js +137 -47
- package/dist/esm/apis/ChunkLineagesApi.d.ts +38 -0
- package/dist/esm/apis/ChunkLineagesApi.js +42 -15
- package/dist/esm/apis/ChunksApi.d.ts +161 -5
- package/dist/esm/apis/ChunksApi.js +169 -32
- package/dist/esm/apis/DefaultApi.d.ts +20 -0
- package/dist/esm/apis/DefaultApi.js +28 -10
- package/dist/esm/apis/DocumentVersionsApi.d.ts +99 -9
- package/dist/esm/apis/DocumentVersionsApi.js +101 -38
- package/dist/esm/apis/DocumentsApi.d.ts +80 -0
- package/dist/esm/apis/DocumentsApi.js +84 -30
- package/dist/esm/apis/FoldersApi.d.ts +92 -9
- package/dist/esm/apis/FoldersApi.js +87 -33
- package/dist/esm/apis/InvitesApi.d.ts +51 -0
- package/dist/esm/apis/InvitesApi.js +56 -20
- package/dist/esm/apis/PathPartsApi.d.ts +140 -1
- package/dist/esm/apis/PathPartsApi.js +142 -21
- package/dist/esm/apis/SectionsApi.d.ts +49 -0
- package/dist/esm/apis/SectionsApi.js +56 -20
- package/dist/esm/apis/TagsApi.d.ts +62 -0
- package/dist/esm/apis/TagsApi.js +70 -25
- package/dist/esm/apis/TenantsApi.d.ts +103 -0
- package/dist/esm/apis/TenantsApi.js +112 -40
- package/dist/esm/apis/ThreadMessagesApi.d.ts +41 -0
- package/dist/esm/apis/ThreadMessagesApi.js +42 -15
- package/dist/esm/apis/ThreadsApi.d.ts +77 -0
- package/dist/esm/apis/ThreadsApi.js +84 -30
- package/dist/esm/apis/UserPermissionsApi.d.ts +54 -0
- package/dist/esm/apis/UserPermissionsApi.js +56 -20
- package/dist/esm/apis/UsersApi.d.ts +23 -0
- package/dist/esm/apis/UsersApi.js +28 -10
- package/dist/esm/apis/WorkflowsApi.d.ts +38 -0
- package/dist/esm/apis/WorkflowsApi.js +42 -15
- package/dist/esm/models/ChunkBulkResponse.d.ts +139 -0
- package/dist/esm/models/ChunkBulkResponse.js +100 -0
- package/dist/esm/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
- package/dist/esm/models/{DocumentContentPathPart.js → ChunkContentItem.js} +19 -16
- package/dist/esm/models/ChunkSearchRequest.d.ts +14 -2
- package/dist/esm/models/ChunkSearchRequest.js +6 -2
- package/dist/esm/models/DocumentResponse.d.ts +13 -0
- package/dist/esm/models/DocumentResponse.js +10 -0
- package/dist/esm/models/FolderResponse.d.ts +13 -0
- package/dist/esm/models/FolderResponse.js +10 -0
- package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +27 -0
- package/dist/esm/models/FolderResponseOrDocumentResponse.js +47 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +70 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +70 -0
- package/dist/esm/models/SectionContentItem.d.ts +114 -0
- package/dist/esm/models/SectionContentItem.js +88 -0
- package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
- package/dist/esm/models/SectionContentItemOrChunkContentItem.js +47 -0
- package/dist/esm/models/SubtreeChunkGroup.d.ts +62 -0
- package/dist/esm/models/SubtreeChunkGroup.js +52 -0
- package/dist/esm/models/SubtreeChunksResponse.d.ts +48 -0
- package/dist/esm/models/SubtreeChunksResponse.js +45 -0
- package/dist/esm/models/VersionChunkIdsResponse.d.ts +47 -0
- package/dist/esm/models/VersionChunkIdsResponse.js +44 -0
- package/dist/esm/models/index.d.ts +10 -4
- package/dist/esm/models/index.js +10 -4
- package/dist/models/ChunkBulkResponse.d.ts +139 -0
- package/dist/models/ChunkBulkResponse.js +108 -0
- package/dist/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
- package/dist/models/{DocumentContentPathPart.js → ChunkContentItem.js} +25 -22
- package/dist/models/ChunkSearchRequest.d.ts +14 -2
- package/dist/models/ChunkSearchRequest.js +6 -2
- package/dist/models/DocumentResponse.d.ts +13 -0
- package/dist/models/DocumentResponse.js +11 -1
- package/dist/models/FolderResponse.d.ts +13 -0
- package/dist/models/FolderResponse.js +11 -1
- package/dist/models/FolderResponseOrDocumentResponse.d.ts +27 -0
- package/dist/models/FolderResponseOrDocumentResponse.js +53 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +78 -0
- package/dist/models/SectionContentItem.d.ts +114 -0
- package/dist/models/SectionContentItem.js +96 -0
- package/dist/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
- package/dist/models/SectionContentItemOrChunkContentItem.js +53 -0
- package/dist/models/SubtreeChunkGroup.d.ts +62 -0
- package/dist/models/SubtreeChunkGroup.js +60 -0
- package/dist/models/SubtreeChunksResponse.d.ts +48 -0
- package/dist/models/SubtreeChunksResponse.js +53 -0
- package/dist/models/VersionChunkIdsResponse.d.ts +47 -0
- package/dist/models/VersionChunkIdsResponse.js +52 -0
- package/dist/models/index.d.ts +10 -4
- package/dist/models/index.js +10 -4
- package/docs/AuthApi.md +707 -0
- package/docs/BulkTagRequest.md +35 -0
- package/docs/ChunkBulkResponse.md +65 -0
- package/docs/ChunkContentItem.md +59 -0
- package/docs/ChunkLineageResponse.md +41 -0
- package/docs/ChunkLineagesApi.md +230 -0
- package/docs/ChunkMetadataInput.md +37 -0
- package/docs/ChunkMetadataOutput.md +37 -0
- package/docs/ChunkResponse.md +63 -0
- package/docs/ChunkSearchRequest.md +51 -0
- package/docs/ChunkType.md +33 -0
- package/docs/ChunksApi.md +590 -0
- package/docs/ClearVersionContentsResponse.md +35 -0
- package/docs/CreateChunkLineageRequest.md +37 -0
- package/docs/CreateChunkRequest.md +43 -0
- package/docs/CreateDocumentRequest.md +41 -0
- package/docs/CreateFolderRequest.md +37 -0
- package/docs/CreatePasswordUserRequest.md +36 -0
- package/docs/CreatePermissionRequest.md +40 -0
- package/docs/CreateSectionRequest.md +41 -0
- package/docs/CreateTagRequest.md +39 -0
- package/docs/CreateTenantRequest.md +37 -0
- package/docs/CreateThreadMessageRequest.md +37 -0
- package/docs/CreateThreadRequest.md +37 -0
- package/docs/DefaultApi.md +128 -0
- package/docs/DocumentOrigin.md +33 -0
- package/docs/DocumentResponse.md +63 -0
- package/docs/DocumentType.md +33 -0
- package/docs/DocumentVersionMetadata.md +47 -0
- package/docs/DocumentVersionMetadataUpdate.md +47 -0
- package/docs/DocumentVersionResponse.md +57 -0
- package/docs/DocumentVersionsApi.md +530 -0
- package/docs/DocumentsApi.md +464 -0
- package/docs/EmailSentResponse.md +34 -0
- package/docs/EmailVerificationRequest.md +34 -0
- package/docs/EmbeddingModel.md +33 -0
- package/docs/FolderResponse.md +55 -0
- package/docs/FolderResponseOrDocumentResponse.md +62 -0
- package/docs/FoldersApi.md +473 -0
- package/docs/HTTPValidationError.md +34 -0
- package/docs/HealthCheckResponse.md +36 -0
- package/docs/IdpType.md +33 -0
- package/docs/IngestDocumentResponse.md +39 -0
- package/docs/InviteResponse.md +53 -0
- package/docs/InviteStatus.md +32 -0
- package/docs/InviteUserRequest.md +38 -0
- package/docs/InvitesApi.md +305 -0
- package/docs/LineageEdgeResponse.md +37 -0
- package/docs/LineageGraphResponse.md +37 -0
- package/docs/LineageNodeResponse.md +47 -0
- package/docs/LocationInner.md +32 -0
- package/docs/MessageRole.md +33 -0
- package/docs/OAuth2Config.md +41 -0
- package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md +40 -0
- package/docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md +40 -0
- package/docs/PaginatedResponseDocumentResponse.md +40 -0
- package/docs/PaginatedResponseDocumentVersionResponse.md +40 -0
- package/docs/PaginatedResponseFolderResponse.md +40 -0
- package/docs/PaginatedResponseInviteResponse.md +40 -0
- package/docs/PaginatedResponsePathPartResponse.md +40 -0
- package/docs/PaginatedResponsePermissionResponse.md +40 -0
- package/docs/PaginatedResponseTagResponse.md +40 -0
- package/docs/PaginatedResponseTenantResponse.md +40 -0
- package/docs/PaginatedResponseTenantUserResponse.md +40 -0
- package/docs/PaginatedResponseThreadMessageResponse.md +40 -0
- package/docs/PaginatedResponseThreadResponse.md +40 -0
- package/docs/PaginatedResponseWorkflowSummaryResponse.md +40 -0
- package/docs/PartType.md +33 -0
- package/docs/PasswordResetRequest.md +36 -0
- package/docs/PasswordResetWithTokenRequest.md +36 -0
- package/docs/PathOrder.md +33 -0
- package/docs/PathPartResponse.md +53 -0
- package/docs/PathPartTagsResponse.md +35 -0
- package/docs/PathPartsApi.md +461 -0
- package/docs/PermissionCapability.md +33 -0
- package/docs/PermissionResponse.md +48 -0
- package/docs/PipelineState.md +45 -0
- package/docs/PipelineStatus.md +33 -0
- package/docs/Polygon.md +41 -0
- package/docs/PolygonReference.md +37 -0
- package/docs/RootResponse.md +36 -0
- package/docs/ScoredChunkResponse.md +65 -0
- package/docs/SectionContentItem.md +55 -0
- package/docs/SectionContentItemOrChunkContentItem.md +60 -0
- package/docs/SectionResponse.md +57 -0
- package/docs/SectionsApi.md +299 -0
- package/docs/SignInRequest.md +38 -0
- package/docs/SubtreeChunkGroup.md +39 -0
- package/docs/SubtreeChunksResponse.md +35 -0
- package/docs/TagResponse.md +47 -0
- package/docs/TagsApi.md +374 -0
- package/docs/TenantResponse.md +39 -0
- package/docs/TenantUserEditRequest.md +35 -0
- package/docs/TenantUserResponse.md +43 -0
- package/docs/TenantUserRole.md +33 -0
- package/docs/TenantsApi.md +605 -0
- package/docs/ThreadMessageResponse.md +53 -0
- package/docs/ThreadMessagesApi.md +239 -0
- package/docs/ThreadResponse.md +49 -0
- package/docs/ThreadsApi.md +455 -0
- package/docs/UpdateChunkContentRequest.md +37 -0
- package/docs/UpdateChunkMetadataRequest.md +35 -0
- package/docs/UpdateDocumentRequest.md +39 -0
- package/docs/UpdateFolderRequest.md +37 -0
- package/docs/UpdatePermissionRequest.md +36 -0
- package/docs/UpdateSectionRequest.md +41 -0
- package/docs/UpdateTagRequest.md +39 -0
- package/docs/UpdateTenantRequest.md +37 -0
- package/docs/UpdateThreadRequest.md +37 -0
- package/docs/UpdateUserRequest.md +34 -0
- package/docs/UserPermissionsApi.md +314 -0
- package/docs/UserResponse.md +44 -0
- package/docs/UsersApi.md +149 -0
- package/docs/ValidationError.md +42 -0
- package/docs/VersionChunkIdsResponse.md +35 -0
- package/docs/WorkflowAction.md +33 -0
- package/docs/WorkflowActionResponse.md +39 -0
- package/docs/WorkflowDetailResponse.md +63 -0
- package/docs/WorkflowSummaryResponse.md +49 -0
- package/docs/WorkflowsApi.md +230 -0
- package/package.json +1 -1
- package/src/apis/AuthApi.ts +214 -47
- package/src/apis/ChunkLineagesApi.ts +68 -15
- package/src/apis/ChunksApi.ts +298 -33
- package/src/apis/DefaultApi.ts +40 -10
- package/src/apis/DocumentVersionsApi.ts +170 -45
- package/src/apis/DocumentsApi.ts +140 -30
- package/src/apis/FoldersApi.ts +153 -40
- package/src/apis/InvitesApi.ts +91 -20
- package/src/apis/PathPartsApi.ts +260 -20
- package/src/apis/SectionsApi.ts +89 -20
- package/src/apis/TagsApi.ts +112 -25
- package/src/apis/TenantsApi.ts +183 -40
- package/src/apis/ThreadMessagesApi.ts +71 -15
- package/src/apis/ThreadsApi.ts +137 -30
- package/src/apis/UserPermissionsApi.ts +94 -20
- package/src/apis/UsersApi.ts +43 -10
- package/src/apis/WorkflowsApi.ts +68 -15
- package/src/models/ChunkBulkResponse.ts +232 -0
- package/src/models/{DocumentContentPathPart.ts → ChunkContentItem.ts} +43 -53
- package/src/models/ChunkSearchRequest.ts +20 -4
- package/src/models/DocumentResponse.ts +17 -0
- package/src/models/FolderResponse.ts +19 -0
- package/src/models/FolderResponseOrDocumentResponse.ts +72 -0
- package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts +130 -0
- package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +130 -0
- package/src/models/SectionContentItem.ts +182 -0
- package/src/models/SectionContentItemOrChunkContentItem.ts +72 -0
- package/src/models/SubtreeChunkGroup.ts +104 -0
- package/src/models/SubtreeChunksResponse.ts +91 -0
- package/src/models/VersionChunkIdsResponse.ts +83 -0
- package/src/models/index.ts +10 -4
- package/dist/esm/models/FolderDocumentResponse.d.ts +0 -157
- package/dist/esm/models/FolderDocumentResponse.js +0 -99
- package/dist/esm/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
- package/dist/esm/models/PaginatedResponseDocumentContentPathPart.js +0 -70
- package/dist/esm/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
- package/dist/esm/models/PaginatedResponseFolderDocumentResponse.js +0 -70
- package/dist/models/FolderDocumentResponse.d.ts +0 -157
- package/dist/models/FolderDocumentResponse.js +0 -107
- package/dist/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
- package/dist/models/PaginatedResponseDocumentContentPathPart.js +0 -78
- package/dist/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
- package/dist/models/PaginatedResponseFolderDocumentResponse.js +0 -78
- package/src/models/FolderDocumentResponse.ts +0 -267
- package/src/models/PaginatedResponseDocumentContentPathPart.ts +0 -130
- package/src/models/PaginatedResponseFolderDocumentResponse.ts +0 -130
|
@@ -32,6 +32,14 @@ export interface GetChunkLineageRequest {
|
|
|
32
32
|
* @interface ChunkLineagesApiInterface
|
|
33
33
|
*/
|
|
34
34
|
export interface ChunkLineagesApiInterface {
|
|
35
|
+
/**
|
|
36
|
+
* Creates request options for createChunkLineage without sending the request
|
|
37
|
+
* @param {CreateChunkLineageRequest} createChunkLineageRequest
|
|
38
|
+
* @param {string} [ksUat]
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
* @memberof ChunkLineagesApiInterface
|
|
41
|
+
*/
|
|
42
|
+
createChunkLineageRequestOpts(requestParameters: CreateChunkLineageOperationRequest): Promise<runtime.RequestOpts>;
|
|
35
43
|
/**
|
|
36
44
|
* Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
|
|
37
45
|
* @summary Create Chunk Lineage Handler
|
|
@@ -47,6 +55,15 @@ export interface ChunkLineagesApiInterface {
|
|
|
47
55
|
* Create Chunk Lineage Handler
|
|
48
56
|
*/
|
|
49
57
|
createChunkLineage(requestParameters: CreateChunkLineageOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ChunkLineageResponse>>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates request options for deleteChunkLineage without sending the request
|
|
60
|
+
* @param {string} parentChunkId Parent chunk ID
|
|
61
|
+
* @param {string} chunkId Child chunk ID
|
|
62
|
+
* @param {string} [ksUat]
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
* @memberof ChunkLineagesApiInterface
|
|
65
|
+
*/
|
|
66
|
+
deleteChunkLineageRequestOpts(requestParameters: DeleteChunkLineageRequest): Promise<runtime.RequestOpts>;
|
|
50
67
|
/**
|
|
51
68
|
* Delete a single lineage edge between parent and child chunks.
|
|
52
69
|
* @summary Delete Chunk Lineage Handler
|
|
@@ -63,6 +80,15 @@ export interface ChunkLineagesApiInterface {
|
|
|
63
80
|
* Delete Chunk Lineage Handler
|
|
64
81
|
*/
|
|
65
82
|
deleteChunkLineage(requestParameters: DeleteChunkLineageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates request options for getChunkLineage without sending the request
|
|
85
|
+
* @param {string} chunkId
|
|
86
|
+
* @param {number} [maxDepth]
|
|
87
|
+
* @param {string} [ksUat]
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
* @memberof ChunkLineagesApiInterface
|
|
90
|
+
*/
|
|
91
|
+
getChunkLineageRequestOpts(requestParameters: GetChunkLineageRequest): Promise<runtime.RequestOpts>;
|
|
66
92
|
/**
|
|
67
93
|
* Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
|
|
68
94
|
* @summary Get Chunk Lineage Handler
|
|
@@ -84,6 +110,10 @@ export interface ChunkLineagesApiInterface {
|
|
|
84
110
|
*
|
|
85
111
|
*/
|
|
86
112
|
export declare class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLineagesApiInterface {
|
|
113
|
+
/**
|
|
114
|
+
* Creates request options for createChunkLineage without sending the request
|
|
115
|
+
*/
|
|
116
|
+
createChunkLineageRequestOpts(requestParameters: CreateChunkLineageOperationRequest): Promise<runtime.RequestOpts>;
|
|
87
117
|
/**
|
|
88
118
|
* Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
|
|
89
119
|
* Create Chunk Lineage Handler
|
|
@@ -94,6 +124,10 @@ export declare class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLi
|
|
|
94
124
|
* Create Chunk Lineage Handler
|
|
95
125
|
*/
|
|
96
126
|
createChunkLineage(requestParameters: CreateChunkLineageOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ChunkLineageResponse>>;
|
|
127
|
+
/**
|
|
128
|
+
* Creates request options for deleteChunkLineage without sending the request
|
|
129
|
+
*/
|
|
130
|
+
deleteChunkLineageRequestOpts(requestParameters: DeleteChunkLineageRequest): Promise<runtime.RequestOpts>;
|
|
97
131
|
/**
|
|
98
132
|
* Delete a single lineage edge between parent and child chunks.
|
|
99
133
|
* Delete Chunk Lineage Handler
|
|
@@ -104,6 +138,10 @@ export declare class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLi
|
|
|
104
138
|
* Delete Chunk Lineage Handler
|
|
105
139
|
*/
|
|
106
140
|
deleteChunkLineage(requestParameters: DeleteChunkLineageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* Creates request options for getChunkLineage without sending the request
|
|
143
|
+
*/
|
|
144
|
+
getChunkLineageRequestOpts(requestParameters: GetChunkLineageRequest): Promise<runtime.RequestOpts>;
|
|
107
145
|
/**
|
|
108
146
|
* Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
|
|
109
147
|
* Get Chunk Lineage Handler
|
|
@@ -30,10 +30,9 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class ChunkLineagesApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Create Chunk Lineage Handler
|
|
33
|
+
* Creates request options for createChunkLineage without sending the request
|
|
35
34
|
*/
|
|
36
|
-
|
|
35
|
+
createChunkLineageRequestOpts(requestParameters) {
|
|
37
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
37
|
if (requestParameters['createChunkLineageRequest'] == null) {
|
|
39
38
|
throw new runtime.RequiredError('createChunkLineageRequest', 'Required parameter "createChunkLineageRequest" was null or undefined when calling createChunkLineage().');
|
|
@@ -42,13 +41,23 @@ class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
42
41
|
const headerParameters = {};
|
|
43
42
|
headerParameters['Content-Type'] = 'application/json';
|
|
44
43
|
let urlPath = `/v1/chunk-lineages`;
|
|
45
|
-
|
|
44
|
+
return {
|
|
46
45
|
path: urlPath,
|
|
47
46
|
method: 'POST',
|
|
48
47
|
headers: headerParameters,
|
|
49
48
|
query: queryParameters,
|
|
50
49
|
body: (0, index_1.CreateChunkLineageRequestToJSON)(requestParameters['createChunkLineageRequest']),
|
|
51
|
-
}
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
|
|
55
|
+
* Create Chunk Lineage Handler
|
|
56
|
+
*/
|
|
57
|
+
createChunkLineageRaw(requestParameters, initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const requestOptions = yield this.createChunkLineageRequestOpts(requestParameters);
|
|
60
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
52
61
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.ChunkLineageResponseFromJSON));
|
|
53
62
|
});
|
|
54
63
|
}
|
|
@@ -63,10 +72,9 @@ class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
63
72
|
});
|
|
64
73
|
}
|
|
65
74
|
/**
|
|
66
|
-
*
|
|
67
|
-
* Delete Chunk Lineage Handler
|
|
75
|
+
* Creates request options for deleteChunkLineage without sending the request
|
|
68
76
|
*/
|
|
69
|
-
|
|
77
|
+
deleteChunkLineageRequestOpts(requestParameters) {
|
|
70
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
79
|
if (requestParameters['parentChunkId'] == null) {
|
|
72
80
|
throw new runtime.RequiredError('parentChunkId', 'Required parameter "parentChunkId" was null or undefined when calling deleteChunkLineage().');
|
|
@@ -83,12 +91,22 @@ class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
83
91
|
}
|
|
84
92
|
const headerParameters = {};
|
|
85
93
|
let urlPath = `/v1/chunk-lineages`;
|
|
86
|
-
|
|
94
|
+
return {
|
|
87
95
|
path: urlPath,
|
|
88
96
|
method: 'DELETE',
|
|
89
97
|
headers: headerParameters,
|
|
90
98
|
query: queryParameters,
|
|
91
|
-
}
|
|
99
|
+
};
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Delete a single lineage edge between parent and child chunks.
|
|
104
|
+
* Delete Chunk Lineage Handler
|
|
105
|
+
*/
|
|
106
|
+
deleteChunkLineageRaw(requestParameters, initOverrides) {
|
|
107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
const requestOptions = yield this.deleteChunkLineageRequestOpts(requestParameters);
|
|
109
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
92
110
|
return new runtime.VoidApiResponse(response);
|
|
93
111
|
});
|
|
94
112
|
}
|
|
@@ -102,10 +120,9 @@ class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
102
120
|
});
|
|
103
121
|
}
|
|
104
122
|
/**
|
|
105
|
-
*
|
|
106
|
-
* Get Chunk Lineage Handler
|
|
123
|
+
* Creates request options for getChunkLineage without sending the request
|
|
107
124
|
*/
|
|
108
|
-
|
|
125
|
+
getChunkLineageRequestOpts(requestParameters) {
|
|
109
126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
110
127
|
if (requestParameters['chunkId'] == null) {
|
|
111
128
|
throw new runtime.RequiredError('chunkId', 'Required parameter "chunkId" was null or undefined when calling getChunkLineage().');
|
|
@@ -117,12 +134,22 @@ class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
117
134
|
const headerParameters = {};
|
|
118
135
|
let urlPath = `/v1/chunk-lineages/{chunk_id}`;
|
|
119
136
|
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
120
|
-
|
|
137
|
+
return {
|
|
121
138
|
path: urlPath,
|
|
122
139
|
method: 'GET',
|
|
123
140
|
headers: headerParameters,
|
|
124
141
|
query: queryParameters,
|
|
125
|
-
}
|
|
142
|
+
};
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
|
|
147
|
+
* Get Chunk Lineage Handler
|
|
148
|
+
*/
|
|
149
|
+
getChunkLineageRaw(requestParameters, initOverrides) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
const requestOptions = yield this.getChunkLineageRequestOpts(requestParameters);
|
|
152
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
126
153
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.LineageGraphResponseFromJSON)(jsonValue));
|
|
127
154
|
});
|
|
128
155
|
}
|
package/dist/apis/ChunksApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ChunkResponse, ChunkSearchRequest, CreateChunkRequest, ScoredChunkResponse, UpdateChunkContentRequest, UpdateChunkMetadataRequest } from '../models/index';
|
|
13
|
+
import type { ChunkBulkResponse, ChunkResponse, ChunkSearchRequest, CreateChunkRequest, ScoredChunkResponse, UpdateChunkContentRequest, UpdateChunkMetadataRequest, VersionChunkIdsResponse } from '../models/index';
|
|
14
14
|
export interface CreateChunkOperationRequest {
|
|
15
15
|
createChunkRequest: CreateChunkRequest;
|
|
16
16
|
ksUat?: string | null;
|
|
@@ -23,6 +23,14 @@ export interface GetChunkRequest {
|
|
|
23
23
|
chunkId: string;
|
|
24
24
|
ksUat?: string | null;
|
|
25
25
|
}
|
|
26
|
+
export interface GetChunksBulkRequest {
|
|
27
|
+
chunkIds?: Array<string> | null;
|
|
28
|
+
ksUat?: string | null;
|
|
29
|
+
}
|
|
30
|
+
export interface GetVersionChunkIdsRequest {
|
|
31
|
+
documentVersionId: string;
|
|
32
|
+
ksUat?: string | null;
|
|
33
|
+
}
|
|
26
34
|
export interface SearchChunksRequest {
|
|
27
35
|
chunkSearchRequest: ChunkSearchRequest;
|
|
28
36
|
ksUat?: string | null;
|
|
@@ -44,6 +52,14 @@ export interface UpdateChunkMetadataOperationRequest {
|
|
|
44
52
|
* @interface ChunksApiInterface
|
|
45
53
|
*/
|
|
46
54
|
export interface ChunksApiInterface {
|
|
55
|
+
/**
|
|
56
|
+
* Creates request options for createChunk without sending the request
|
|
57
|
+
* @param {CreateChunkRequest} createChunkRequest
|
|
58
|
+
* @param {string} [ksUat]
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
* @memberof ChunksApiInterface
|
|
61
|
+
*/
|
|
62
|
+
createChunkRequestOpts(requestParameters: CreateChunkOperationRequest): Promise<runtime.RequestOpts>;
|
|
47
63
|
/**
|
|
48
64
|
* Create a new chunk with content. The chunk is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). Content is deduplicated by SHA256 hash.
|
|
49
65
|
* @summary Create Chunk Handler
|
|
@@ -59,6 +75,14 @@ export interface ChunksApiInterface {
|
|
|
59
75
|
* Create Chunk Handler
|
|
60
76
|
*/
|
|
61
77
|
createChunk(requestParameters: CreateChunkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChunkResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for deleteChunk without sending the request
|
|
80
|
+
* @param {string} chunkId
|
|
81
|
+
* @param {string} [ksUat]
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof ChunksApiInterface
|
|
84
|
+
*/
|
|
85
|
+
deleteChunkRequestOpts(requestParameters: DeleteChunkRequest): Promise<runtime.RequestOpts>;
|
|
62
86
|
/**
|
|
63
87
|
* Delete a chunk. The chunk is deleted via its PathPart (cascading delete). The associated ChunkContent may remain if shared by other chunks.
|
|
64
88
|
* @summary Delete Chunk Handler
|
|
@@ -74,6 +98,14 @@ export interface ChunksApiInterface {
|
|
|
74
98
|
* Delete Chunk Handler
|
|
75
99
|
*/
|
|
76
100
|
deleteChunk(requestParameters: DeleteChunkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
101
|
+
/**
|
|
102
|
+
* Creates request options for getChunk without sending the request
|
|
103
|
+
* @param {string} chunkId
|
|
104
|
+
* @param {string} [ksUat]
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
* @memberof ChunksApiInterface
|
|
107
|
+
*/
|
|
108
|
+
getChunkRequestOpts(requestParameters: GetChunkRequest): Promise<runtime.RequestOpts>;
|
|
77
109
|
/**
|
|
78
110
|
* Get a chunk by its ID, including content.
|
|
79
111
|
* @summary Get Chunk Handler
|
|
@@ -90,7 +122,61 @@ export interface ChunksApiInterface {
|
|
|
90
122
|
*/
|
|
91
123
|
getChunk(requestParameters: GetChunkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChunkResponse>;
|
|
92
124
|
/**
|
|
93
|
-
*
|
|
125
|
+
* Creates request options for getChunksBulk without sending the request
|
|
126
|
+
* @param {Array<string>} [chunkIds] Chunk IDs to resolve (max 200)
|
|
127
|
+
* @param {string} [ksUat]
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
* @memberof ChunksApiInterface
|
|
130
|
+
*/
|
|
131
|
+
getChunksBulkRequestOpts(requestParameters: GetChunksBulkRequest): Promise<runtime.RequestOpts>;
|
|
132
|
+
/**
|
|
133
|
+
* Batch-fetch chunks with their full ancestor path part IDs. Returns standard chunk data plus path_part_id_segments (the ordered ancestor chain from root to chunk) for each requested chunk. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
134
|
+
* @summary Get Chunks Bulk Handler
|
|
135
|
+
* @param {Array<string>} [chunkIds] Chunk IDs to resolve (max 200)
|
|
136
|
+
* @param {string} [ksUat]
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
* @memberof ChunksApiInterface
|
|
140
|
+
*/
|
|
141
|
+
getChunksBulkRaw(requestParameters: GetChunksBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ChunkBulkResponse>>>;
|
|
142
|
+
/**
|
|
143
|
+
* Batch-fetch chunks with their full ancestor path part IDs. Returns standard chunk data plus path_part_id_segments (the ordered ancestor chain from root to chunk) for each requested chunk. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
144
|
+
* Get Chunks Bulk Handler
|
|
145
|
+
*/
|
|
146
|
+
getChunksBulk(requestParameters: GetChunksBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ChunkBulkResponse>>;
|
|
147
|
+
/**
|
|
148
|
+
* Creates request options for getVersionChunkIds without sending the request
|
|
149
|
+
* @param {string} documentVersionId Document version ID
|
|
150
|
+
* @param {string} [ksUat]
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @memberof ChunksApiInterface
|
|
153
|
+
*/
|
|
154
|
+
getVersionChunkIdsRequestOpts(requestParameters: GetVersionChunkIdsRequest): Promise<runtime.RequestOpts>;
|
|
155
|
+
/**
|
|
156
|
+
* Get all chunk IDs belonging to a document version. Used by the embedding pipeline to discover chunks for a version.
|
|
157
|
+
* @summary Get Version Chunk Ids Handler
|
|
158
|
+
* @param {string} documentVersionId Document version ID
|
|
159
|
+
* @param {string} [ksUat]
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof ChunksApiInterface
|
|
163
|
+
*/
|
|
164
|
+
getVersionChunkIdsRaw(requestParameters: GetVersionChunkIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VersionChunkIdsResponse>>;
|
|
165
|
+
/**
|
|
166
|
+
* Get all chunk IDs belonging to a document version. Used by the embedding pipeline to discover chunks for a version.
|
|
167
|
+
* Get Version Chunk Ids Handler
|
|
168
|
+
*/
|
|
169
|
+
getVersionChunkIds(requestParameters: GetVersionChunkIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VersionChunkIdsResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Creates request options for searchChunks without sending the request
|
|
172
|
+
* @param {ChunkSearchRequest} chunkSearchRequest
|
|
173
|
+
* @param {string} [ksUat]
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
* @memberof ChunksApiInterface
|
|
176
|
+
*/
|
|
177
|
+
searchChunksRequestOpts(requestParameters: SearchChunksRequest): Promise<runtime.RequestOpts>;
|
|
178
|
+
/**
|
|
179
|
+
* Semantic search over chunks using Qdrant vector similarity. Combines vector similarity with path-based authorization and optional metadata filters. Uses Qdrant for vector search and hydrates results from Postgres.
|
|
94
180
|
* @summary Search Chunks Handler
|
|
95
181
|
* @param {ChunkSearchRequest} chunkSearchRequest
|
|
96
182
|
* @param {string} [ksUat]
|
|
@@ -100,10 +186,19 @@ export interface ChunksApiInterface {
|
|
|
100
186
|
*/
|
|
101
187
|
searchChunksRaw(requestParameters: SearchChunksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ScoredChunkResponse>>>;
|
|
102
188
|
/**
|
|
103
|
-
* Semantic search over chunks using vector similarity. Combines
|
|
189
|
+
* Semantic search over chunks using Qdrant vector similarity. Combines vector similarity with path-based authorization and optional metadata filters. Uses Qdrant for vector search and hydrates results from Postgres.
|
|
104
190
|
* Search Chunks Handler
|
|
105
191
|
*/
|
|
106
192
|
searchChunks(requestParameters: SearchChunksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ScoredChunkResponse>>;
|
|
193
|
+
/**
|
|
194
|
+
* Creates request options for updateChunkContent without sending the request
|
|
195
|
+
* @param {string} chunkId
|
|
196
|
+
* @param {UpdateChunkContentRequest} updateChunkContentRequest
|
|
197
|
+
* @param {string} [ksUat]
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
* @memberof ChunksApiInterface
|
|
200
|
+
*/
|
|
201
|
+
updateChunkContentRequestOpts(requestParameters: UpdateChunkContentOperationRequest): Promise<runtime.RequestOpts>;
|
|
107
202
|
/**
|
|
108
203
|
* Update chunk content by creating a new content row. The old content row is preserved (not deleted). If the new content matches an existing content hash, it will be deduplicated.
|
|
109
204
|
* @summary Update Chunk Content Handler
|
|
@@ -120,6 +215,15 @@ export interface ChunksApiInterface {
|
|
|
120
215
|
* Update Chunk Content Handler
|
|
121
216
|
*/
|
|
122
217
|
updateChunkContent(requestParameters: UpdateChunkContentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChunkResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* Creates request options for updateChunkMetadata without sending the request
|
|
220
|
+
* @param {string} chunkId
|
|
221
|
+
* @param {UpdateChunkMetadataRequest} updateChunkMetadataRequest
|
|
222
|
+
* @param {string} [ksUat]
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
* @memberof ChunksApiInterface
|
|
225
|
+
*/
|
|
226
|
+
updateChunkMetadataRequestOpts(requestParameters: UpdateChunkMetadataOperationRequest): Promise<runtime.RequestOpts>;
|
|
123
227
|
/**
|
|
124
228
|
* Update chunk metadata by merging with existing metadata. The provided metadata is shallow-merged into the existing chunk_metadata.
|
|
125
229
|
* @summary Update Chunk Metadata Handler
|
|
@@ -141,6 +245,10 @@ export interface ChunksApiInterface {
|
|
|
141
245
|
*
|
|
142
246
|
*/
|
|
143
247
|
export declare class ChunksApi extends runtime.BaseAPI implements ChunksApiInterface {
|
|
248
|
+
/**
|
|
249
|
+
* Creates request options for createChunk without sending the request
|
|
250
|
+
*/
|
|
251
|
+
createChunkRequestOpts(requestParameters: CreateChunkOperationRequest): Promise<runtime.RequestOpts>;
|
|
144
252
|
/**
|
|
145
253
|
* Create a new chunk with content. The chunk is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). Content is deduplicated by SHA256 hash.
|
|
146
254
|
* Create Chunk Handler
|
|
@@ -151,6 +259,10 @@ export declare class ChunksApi extends runtime.BaseAPI implements ChunksApiInter
|
|
|
151
259
|
* Create Chunk Handler
|
|
152
260
|
*/
|
|
153
261
|
createChunk(requestParameters: CreateChunkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChunkResponse>;
|
|
262
|
+
/**
|
|
263
|
+
* Creates request options for deleteChunk without sending the request
|
|
264
|
+
*/
|
|
265
|
+
deleteChunkRequestOpts(requestParameters: DeleteChunkRequest): Promise<runtime.RequestOpts>;
|
|
154
266
|
/**
|
|
155
267
|
* Delete a chunk. The chunk is deleted via its PathPart (cascading delete). The associated ChunkContent may remain if shared by other chunks.
|
|
156
268
|
* Delete Chunk Handler
|
|
@@ -161,6 +273,10 @@ export declare class ChunksApi extends runtime.BaseAPI implements ChunksApiInter
|
|
|
161
273
|
* Delete Chunk Handler
|
|
162
274
|
*/
|
|
163
275
|
deleteChunk(requestParameters: DeleteChunkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
276
|
+
/**
|
|
277
|
+
* Creates request options for getChunk without sending the request
|
|
278
|
+
*/
|
|
279
|
+
getChunkRequestOpts(requestParameters: GetChunkRequest): Promise<runtime.RequestOpts>;
|
|
164
280
|
/**
|
|
165
281
|
* Get a chunk by its ID, including content.
|
|
166
282
|
* Get Chunk Handler
|
|
@@ -172,15 +288,51 @@ export declare class ChunksApi extends runtime.BaseAPI implements ChunksApiInter
|
|
|
172
288
|
*/
|
|
173
289
|
getChunk(requestParameters: GetChunkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChunkResponse>;
|
|
174
290
|
/**
|
|
175
|
-
*
|
|
291
|
+
* Creates request options for getChunksBulk without sending the request
|
|
292
|
+
*/
|
|
293
|
+
getChunksBulkRequestOpts(requestParameters: GetChunksBulkRequest): Promise<runtime.RequestOpts>;
|
|
294
|
+
/**
|
|
295
|
+
* Batch-fetch chunks with their full ancestor path part IDs. Returns standard chunk data plus path_part_id_segments (the ordered ancestor chain from root to chunk) for each requested chunk. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
296
|
+
* Get Chunks Bulk Handler
|
|
297
|
+
*/
|
|
298
|
+
getChunksBulkRaw(requestParameters: GetChunksBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ChunkBulkResponse>>>;
|
|
299
|
+
/**
|
|
300
|
+
* Batch-fetch chunks with their full ancestor path part IDs. Returns standard chunk data plus path_part_id_segments (the ordered ancestor chain from root to chunk) for each requested chunk. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
301
|
+
* Get Chunks Bulk Handler
|
|
302
|
+
*/
|
|
303
|
+
getChunksBulk(requestParameters?: GetChunksBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ChunkBulkResponse>>;
|
|
304
|
+
/**
|
|
305
|
+
* Creates request options for getVersionChunkIds without sending the request
|
|
306
|
+
*/
|
|
307
|
+
getVersionChunkIdsRequestOpts(requestParameters: GetVersionChunkIdsRequest): Promise<runtime.RequestOpts>;
|
|
308
|
+
/**
|
|
309
|
+
* Get all chunk IDs belonging to a document version. Used by the embedding pipeline to discover chunks for a version.
|
|
310
|
+
* Get Version Chunk Ids Handler
|
|
311
|
+
*/
|
|
312
|
+
getVersionChunkIdsRaw(requestParameters: GetVersionChunkIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VersionChunkIdsResponse>>;
|
|
313
|
+
/**
|
|
314
|
+
* Get all chunk IDs belonging to a document version. Used by the embedding pipeline to discover chunks for a version.
|
|
315
|
+
* Get Version Chunk Ids Handler
|
|
316
|
+
*/
|
|
317
|
+
getVersionChunkIds(requestParameters: GetVersionChunkIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VersionChunkIdsResponse>;
|
|
318
|
+
/**
|
|
319
|
+
* Creates request options for searchChunks without sending the request
|
|
320
|
+
*/
|
|
321
|
+
searchChunksRequestOpts(requestParameters: SearchChunksRequest): Promise<runtime.RequestOpts>;
|
|
322
|
+
/**
|
|
323
|
+
* Semantic search over chunks using Qdrant vector similarity. Combines vector similarity with path-based authorization and optional metadata filters. Uses Qdrant for vector search and hydrates results from Postgres.
|
|
176
324
|
* Search Chunks Handler
|
|
177
325
|
*/
|
|
178
326
|
searchChunksRaw(requestParameters: SearchChunksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ScoredChunkResponse>>>;
|
|
179
327
|
/**
|
|
180
|
-
* Semantic search over chunks using vector similarity. Combines
|
|
328
|
+
* Semantic search over chunks using Qdrant vector similarity. Combines vector similarity with path-based authorization and optional metadata filters. Uses Qdrant for vector search and hydrates results from Postgres.
|
|
181
329
|
* Search Chunks Handler
|
|
182
330
|
*/
|
|
183
331
|
searchChunks(requestParameters: SearchChunksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ScoredChunkResponse>>;
|
|
332
|
+
/**
|
|
333
|
+
* Creates request options for updateChunkContent without sending the request
|
|
334
|
+
*/
|
|
335
|
+
updateChunkContentRequestOpts(requestParameters: UpdateChunkContentOperationRequest): Promise<runtime.RequestOpts>;
|
|
184
336
|
/**
|
|
185
337
|
* Update chunk content by creating a new content row. The old content row is preserved (not deleted). If the new content matches an existing content hash, it will be deduplicated.
|
|
186
338
|
* Update Chunk Content Handler
|
|
@@ -191,6 +343,10 @@ export declare class ChunksApi extends runtime.BaseAPI implements ChunksApiInter
|
|
|
191
343
|
* Update Chunk Content Handler
|
|
192
344
|
*/
|
|
193
345
|
updateChunkContent(requestParameters: UpdateChunkContentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChunkResponse>;
|
|
346
|
+
/**
|
|
347
|
+
* Creates request options for updateChunkMetadata without sending the request
|
|
348
|
+
*/
|
|
349
|
+
updateChunkMetadataRequestOpts(requestParameters: UpdateChunkMetadataOperationRequest): Promise<runtime.RequestOpts>;
|
|
194
350
|
/**
|
|
195
351
|
* Update chunk metadata by merging with existing metadata. The provided metadata is shallow-merged into the existing chunk_metadata.
|
|
196
352
|
* Update Chunk Metadata Handler
|