@djangocfg/ext-knowbase 1.0.1 → 1.0.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/README.md +2 -0
- package/dist/config.cjs +154 -0
- package/dist/config.d.cts +8 -0
- package/dist/config.d.ts +8 -0
- package/dist/config.js +130 -0
- package/dist/hooks.cjs +6130 -0
- package/dist/hooks.d.cts +611 -0
- package/dist/hooks.d.ts +611 -0
- package/dist/hooks.js +5914 -0
- package/dist/index.cjs +4577 -0
- package/dist/index.d.cts +4404 -0
- package/dist/index.d.ts +4404 -0
- package/dist/index.js +4434 -0
- package/package.json +9 -4
- package/src/config.ts +0 -1
package/dist/hooks.d.ts
ADDED
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
import { API, ChatResponseRequest as ChatResponseRequest$1, ChatResponse as ChatResponse$1, PatchedChatResponseRequest as PatchedChatResponseRequest$1, ChatQueryRequest as ChatQueryRequest$1, DocumentCreateRequest as DocumentCreateRequest$1, Document as Document$1, DocumentRequest as DocumentRequest$1, PatchedDocumentRequest as PatchedDocumentRequest$1, ArchiveProcessingResult as ArchiveProcessingResult$1, PatchedDocumentArchiveRequest as PatchedDocumentArchiveRequest$1, DocumentArchive as DocumentArchive$1, ChatSessionCreateRequest as ChatSessionCreateRequest$1, ChatSession as ChatSession$1, ChatSessionRequest as ChatSessionRequest$1, PatchedChatSessionRequest as PatchedChatSessionRequest$1, DocumentArchiveRequest, ArchiveSearchRequestRequest, PaginatedArchiveSearchResultList, ChunkRevectorizationRequestRequest, VectorizationResult, ArchiveItemChunkRequest, ArchiveItemChunk, PatchedArchiveItemChunkRequest, ArchiveItemRequest, ArchiveItem, PatchedArchiveItemRequest, ChatWidgetProps, ChatUIState, MessageListProps, MessageInputProps, SessionListProps } from './index.js';
|
|
2
|
+
export { APIClient, APIError, APILogger, APIOptions, ArchiveItemChunkDetail, ArchiveItemChunkDetailSchema, ArchiveItemChunkRequestSchema, ArchiveItemChunkSchema, ArchiveItemDetail, ArchiveItemDetailSchema, ArchiveItemRequestSchema, ArchiveItemSchema, ArchiveProcessingResultSchema, ArchiveSearchRequestRequestSchema, ArchiveSearchResult, ArchiveSearchResultSchema, ArchiveStatistics, ArchiveStatisticsSchema, ChatHistory, ChatHistorySchema, ChatMessage, ChatMessageSchema, ChatMessageWithSources, ChatQueryRequestSchema, ChatResponseRequestSchema, ChatResponseSchema, ChatSessionCreateRequestSchema, ChatSessionRequestSchema, ChatSessionSchema, ChatSource, ChatSourceRequest, ChatSourceRequestSchema, ChatSourceSchema, ChunkRevectorizationRequestRequestSchema, CookieStorageAdapter, DEFAULT_RETRY_CONFIG, DocumentArchiveDetail, DocumentArchiveDetailSchema, DocumentArchiveList, DocumentArchiveListSchema, DocumentArchiveRequestSchema, DocumentArchiveSchema, DocumentCategory, DocumentCategoryRequest, DocumentCategoryRequestSchema, DocumentCategorySchema, DocumentCreateRequestSchema, DocumentProcessingStatus, DocumentProcessingStatusSchema, DocumentRequestSchema, DocumentSchema, DocumentStats, DocumentStatsSchema, Enums, ErrorLog, ExtKnowbaseKnowbaseTypes, FailedAttemptInfo, FetchAdapter, Fetchers, HttpClientAdapter, HttpRequest, HttpResponse, LocalStorageAdapter, LoggerConfig, MemoryStorageAdapter, NetworkError, PaginatedArchiveItemChunkList, PaginatedArchiveItemChunkListSchema, PaginatedArchiveItemList, PaginatedArchiveItemListSchema, PaginatedArchiveSearchResultListSchema, PaginatedChatResponseList, PaginatedChatResponseListSchema, PaginatedChatSessionList, PaginatedChatSessionListSchema, PaginatedDocumentArchiveListList, PaginatedDocumentArchiveListListSchema, PaginatedDocumentList, PaginatedDocumentListSchema, PaginatedPublicCategoryList, PaginatedPublicCategoryListSchema, PaginatedPublicDocumentListList, PaginatedPublicDocumentListListSchema, PatchedArchiveItemChunkRequestSchema, PatchedArchiveItemRequestSchema, PatchedChatResponseRequestSchema, PatchedChatSessionRequestSchema, PatchedDocumentArchiveRequestSchema, PatchedDocumentRequestSchema, PublicCategory, PublicCategorySchema, PublicDocument, PublicDocumentList, PublicDocumentListSchema, PublicDocumentSchema, REFRESH_TOKEN_KEY, RequestLog, ResponseLog, RetryConfig, Schemas, StorageAdapter, TOKEN_KEY, ValidationErrorDetail, ValidationErrorEvent, VectorizationResultSchema, VectorizationStatistics, VectorizationStatisticsSchema, apiKnowbase, clearAPITokens, configureAPI, createKnowbaseAdminChatCreate, createKnowbaseAdminChatQueryCreate, createKnowbaseAdminDocumentsCreate, createKnowbaseAdminDocumentsReprocessCreate, createKnowbaseAdminSessionsActivateCreate, createKnowbaseAdminSessionsArchiveCreate, createKnowbaseAdminSessionsCreate, createKnowbaseSystemArchivesCreate, createKnowbaseSystemArchivesRevectorizeCreate, createKnowbaseSystemArchivesSearchCreate, createKnowbaseSystemChunksCreate, createKnowbaseSystemChunksVectorizeCreate, createKnowbaseSystemItemsCreate, deleteKnowbaseAdminChatDestroy, deleteKnowbaseAdminDocumentsDestroy, deleteKnowbaseAdminSessionsDestroy, deleteKnowbaseSystemArchivesDestroy, deleteKnowbaseSystemChunksDestroy, deleteKnowbaseSystemItemsDestroy, dispatchValidationError, extensionConfig, formatZodError, getAPIInstance, getKnowbaseAdminChatHistoryRetrieve, getKnowbaseAdminChatList, getKnowbaseAdminChatRetrieve, getKnowbaseAdminDocumentsList, getKnowbaseAdminDocumentsRetrieve, getKnowbaseAdminDocumentsStatsRetrieve, getKnowbaseAdminDocumentsStatusRetrieve, getKnowbaseAdminSessionsList, getKnowbaseAdminSessionsRetrieve, getKnowbaseCategoriesList, getKnowbaseCategoriesRetrieve, getKnowbaseDocumentsList, getKnowbaseDocumentsRetrieve, getKnowbaseSystemArchivesFileTreeRetrieve, getKnowbaseSystemArchivesItemsList, getKnowbaseSystemArchivesList, getKnowbaseSystemArchivesRetrieve, getKnowbaseSystemArchivesStatisticsRetrieve, getKnowbaseSystemArchivesVectorizationStatsRetrieve, getKnowbaseSystemChunksContextRetrieve, getKnowbaseSystemChunksList, getKnowbaseSystemChunksRetrieve, getKnowbaseSystemItemsChunksList, getKnowbaseSystemItemsContentRetrieve, getKnowbaseSystemItemsList, getKnowbaseSystemItemsRetrieve, isAPIConfigured, onValidationError, partialUpdateKnowbaseAdminChatPartialUpdate, partialUpdateKnowbaseAdminDocumentsPartialUpdate, partialUpdateKnowbaseAdminSessionsPartialUpdate, partialUpdateKnowbaseSystemArchivesPartialUpdate, partialUpdateKnowbaseSystemChunksPartialUpdate, partialUpdateKnowbaseSystemItemsPartialUpdate, reconfigureAPI, resetAPI, shouldRetry, updateKnowbaseAdminChatUpdate, updateKnowbaseAdminDocumentsUpdate, updateKnowbaseAdminSessionsUpdate, updateKnowbaseSystemArchivesUpdate, updateKnowbaseSystemChunksUpdate, updateKnowbaseSystemItemsUpdate, withRetry } from './index.js';
|
|
3
|
+
import useSWR from 'swr';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import React, { ReactNode } from 'react';
|
|
6
|
+
import 'consola';
|
|
7
|
+
import '@djangocfg/ext-base';
|
|
8
|
+
import 'zod';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* SWR Hooks for Knowbase
|
|
12
|
+
*
|
|
13
|
+
* React hooks powered by SWR for data fetching with automatic caching,
|
|
14
|
+
* revalidation, and optimistic updates.
|
|
15
|
+
*
|
|
16
|
+
* Usage:
|
|
17
|
+
* ```typescript
|
|
18
|
+
* // Query hooks (GET)
|
|
19
|
+
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
20
|
+
*
|
|
21
|
+
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
22
|
+
* const createUser = useCreateUser()
|
|
23
|
+
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* API operation
|
|
29
|
+
*
|
|
30
|
+
* @method GET
|
|
31
|
+
* @path /cfg/knowbase/admin/chat/
|
|
32
|
+
*/
|
|
33
|
+
declare function useKnowbaseAdminChatList(params?: {
|
|
34
|
+
page?: number;
|
|
35
|
+
page_size?: number;
|
|
36
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedChatResponseList>>;
|
|
37
|
+
/**
|
|
38
|
+
* API operation
|
|
39
|
+
*
|
|
40
|
+
* @method POST
|
|
41
|
+
* @path /cfg/knowbase/admin/chat/
|
|
42
|
+
*/
|
|
43
|
+
declare function useCreateKnowbaseAdminChatCreate(): (data: ChatResponseRequest$1, client?: API) => Promise<ChatResponse$1>;
|
|
44
|
+
/**
|
|
45
|
+
* API operation
|
|
46
|
+
*
|
|
47
|
+
* @method GET
|
|
48
|
+
* @path /cfg/knowbase/admin/chat/{id}/
|
|
49
|
+
*/
|
|
50
|
+
declare function useKnowbaseAdminChatRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ChatResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
* API operation
|
|
53
|
+
*
|
|
54
|
+
* @method PUT
|
|
55
|
+
* @path /cfg/knowbase/admin/chat/{id}/
|
|
56
|
+
*/
|
|
57
|
+
declare function useUpdateKnowbaseAdminChatUpdate(): (id: string, data: ChatResponseRequest$1, client?: API) => Promise<ChatResponse$1>;
|
|
58
|
+
/**
|
|
59
|
+
* API operation
|
|
60
|
+
*
|
|
61
|
+
* @method PATCH
|
|
62
|
+
* @path /cfg/knowbase/admin/chat/{id}/
|
|
63
|
+
*/
|
|
64
|
+
declare function usePartialUpdateKnowbaseAdminChatPartialUpdate(): (id: string, data?: PatchedChatResponseRequest$1, client?: API) => Promise<ChatResponse$1>;
|
|
65
|
+
/**
|
|
66
|
+
* API operation
|
|
67
|
+
*
|
|
68
|
+
* @method DELETE
|
|
69
|
+
* @path /cfg/knowbase/admin/chat/{id}/
|
|
70
|
+
*/
|
|
71
|
+
declare function useDeleteKnowbaseAdminChatDestroy(): (id: string, client?: API) => Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Get chat history
|
|
74
|
+
*
|
|
75
|
+
* @method GET
|
|
76
|
+
* @path /cfg/knowbase/admin/chat/{id}/history/
|
|
77
|
+
*/
|
|
78
|
+
declare function useKnowbaseAdminChatHistoryRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ChatHistory>>;
|
|
79
|
+
/**
|
|
80
|
+
* Process chat query with RAG
|
|
81
|
+
*
|
|
82
|
+
* @method POST
|
|
83
|
+
* @path /cfg/knowbase/admin/chat/query/
|
|
84
|
+
*/
|
|
85
|
+
declare function useCreateKnowbaseAdminChatQueryCreate(): (data: ChatQueryRequest$1, client?: API) => Promise<ChatResponse$1>;
|
|
86
|
+
/**
|
|
87
|
+
* List user documents
|
|
88
|
+
*
|
|
89
|
+
* @method GET
|
|
90
|
+
* @path /cfg/knowbase/admin/documents/
|
|
91
|
+
*/
|
|
92
|
+
declare function useKnowbaseAdminDocumentsList(params?: {
|
|
93
|
+
page?: number;
|
|
94
|
+
page_size?: number;
|
|
95
|
+
status?: string;
|
|
96
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedDocumentList>>;
|
|
97
|
+
/**
|
|
98
|
+
* Upload new document
|
|
99
|
+
*
|
|
100
|
+
* @method POST
|
|
101
|
+
* @path /cfg/knowbase/admin/documents/
|
|
102
|
+
*/
|
|
103
|
+
declare function useCreateKnowbaseAdminDocumentsCreate(): (data: DocumentCreateRequest$1, client?: API) => Promise<Document$1>;
|
|
104
|
+
/**
|
|
105
|
+
* Get document details
|
|
106
|
+
*
|
|
107
|
+
* @method GET
|
|
108
|
+
* @path /cfg/knowbase/admin/documents/{id}/
|
|
109
|
+
*/
|
|
110
|
+
declare function useKnowbaseAdminDocumentsRetrieve(id: string, client?: API): ReturnType<typeof useSWR<Document>>;
|
|
111
|
+
/**
|
|
112
|
+
* API operation
|
|
113
|
+
*
|
|
114
|
+
* @method PUT
|
|
115
|
+
* @path /cfg/knowbase/admin/documents/{id}/
|
|
116
|
+
*/
|
|
117
|
+
declare function useUpdateKnowbaseAdminDocumentsUpdate(): (id: string, data: DocumentRequest$1, client?: API) => Promise<Document$1>;
|
|
118
|
+
/**
|
|
119
|
+
* API operation
|
|
120
|
+
*
|
|
121
|
+
* @method PATCH
|
|
122
|
+
* @path /cfg/knowbase/admin/documents/{id}/
|
|
123
|
+
*/
|
|
124
|
+
declare function usePartialUpdateKnowbaseAdminDocumentsPartialUpdate(): (id: string, data?: PatchedDocumentRequest$1, client?: API) => Promise<Document$1>;
|
|
125
|
+
/**
|
|
126
|
+
* Delete document
|
|
127
|
+
*
|
|
128
|
+
* @method DELETE
|
|
129
|
+
* @path /cfg/knowbase/admin/documents/{id}/
|
|
130
|
+
*/
|
|
131
|
+
declare function useDeleteKnowbaseAdminDocumentsDestroy(): (id: string, client?: API) => Promise<void>;
|
|
132
|
+
/**
|
|
133
|
+
* Reprocess document
|
|
134
|
+
*
|
|
135
|
+
* @method POST
|
|
136
|
+
* @path /cfg/knowbase/admin/documents/{id}/reprocess/
|
|
137
|
+
*/
|
|
138
|
+
declare function useCreateKnowbaseAdminDocumentsReprocessCreate(): (id: string, data: DocumentRequest$1, client?: API) => Promise<Document$1>;
|
|
139
|
+
/**
|
|
140
|
+
* Get document processing status
|
|
141
|
+
*
|
|
142
|
+
* @method GET
|
|
143
|
+
* @path /cfg/knowbase/admin/documents/{id}/status/
|
|
144
|
+
*/
|
|
145
|
+
declare function useKnowbaseAdminDocumentsStatusRetrieve(id: string, client?: API): ReturnType<typeof useSWR<DocumentProcessingStatus>>;
|
|
146
|
+
/**
|
|
147
|
+
* Get processing statistics
|
|
148
|
+
*
|
|
149
|
+
* @method GET
|
|
150
|
+
* @path /cfg/knowbase/admin/documents/stats/
|
|
151
|
+
*/
|
|
152
|
+
declare function useKnowbaseAdminDocumentsStatsRetrieve(client?: API): ReturnType<typeof useSWR<DocumentStats>>;
|
|
153
|
+
/**
|
|
154
|
+
* List user chat sessions
|
|
155
|
+
*
|
|
156
|
+
* @method GET
|
|
157
|
+
* @path /cfg/knowbase/admin/sessions/
|
|
158
|
+
*/
|
|
159
|
+
declare function useKnowbaseAdminSessionsList(params?: {
|
|
160
|
+
page?: number;
|
|
161
|
+
page_size?: number;
|
|
162
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedChatSessionList>>;
|
|
163
|
+
/**
|
|
164
|
+
* Create new chat session
|
|
165
|
+
*
|
|
166
|
+
* @method POST
|
|
167
|
+
* @path /cfg/knowbase/admin/sessions/
|
|
168
|
+
*/
|
|
169
|
+
declare function useCreateKnowbaseAdminSessionsCreate(): (data: ChatSessionCreateRequest$1, client?: API) => Promise<ChatSession$1>;
|
|
170
|
+
/**
|
|
171
|
+
* API operation
|
|
172
|
+
*
|
|
173
|
+
* @method GET
|
|
174
|
+
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
175
|
+
*/
|
|
176
|
+
declare function useKnowbaseAdminSessionsRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ChatSession>>;
|
|
177
|
+
/**
|
|
178
|
+
* API operation
|
|
179
|
+
*
|
|
180
|
+
* @method PUT
|
|
181
|
+
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
182
|
+
*/
|
|
183
|
+
declare function useUpdateKnowbaseAdminSessionsUpdate(): (id: string, data: ChatSessionRequest$1, client?: API) => Promise<ChatSession$1>;
|
|
184
|
+
/**
|
|
185
|
+
* API operation
|
|
186
|
+
*
|
|
187
|
+
* @method PATCH
|
|
188
|
+
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
189
|
+
*/
|
|
190
|
+
declare function usePartialUpdateKnowbaseAdminSessionsPartialUpdate(): (id: string, data?: PatchedChatSessionRequest$1, client?: API) => Promise<ChatSession$1>;
|
|
191
|
+
/**
|
|
192
|
+
* API operation
|
|
193
|
+
*
|
|
194
|
+
* @method DELETE
|
|
195
|
+
* @path /cfg/knowbase/admin/sessions/{id}/
|
|
196
|
+
*/
|
|
197
|
+
declare function useDeleteKnowbaseAdminSessionsDestroy(): (id: string, client?: API) => Promise<void>;
|
|
198
|
+
/**
|
|
199
|
+
* Activate chat session
|
|
200
|
+
*
|
|
201
|
+
* @method POST
|
|
202
|
+
* @path /cfg/knowbase/admin/sessions/{id}/activate/
|
|
203
|
+
*/
|
|
204
|
+
declare function useCreateKnowbaseAdminSessionsActivateCreate(): (id: string, data: ChatSessionRequest$1, client?: API) => Promise<ChatSession$1>;
|
|
205
|
+
/**
|
|
206
|
+
* Archive chat session
|
|
207
|
+
*
|
|
208
|
+
* @method POST
|
|
209
|
+
* @path /cfg/knowbase/admin/sessions/{id}/archive/
|
|
210
|
+
*/
|
|
211
|
+
declare function useCreateKnowbaseAdminSessionsArchiveCreate(): (id: string, data: ChatSessionRequest$1, client?: API) => Promise<ChatSession$1>;
|
|
212
|
+
/**
|
|
213
|
+
* List public categories
|
|
214
|
+
*
|
|
215
|
+
* @method GET
|
|
216
|
+
* @path /cfg/knowbase/categories/
|
|
217
|
+
*/
|
|
218
|
+
declare function useKnowbaseCategoriesList(params?: {
|
|
219
|
+
page?: number;
|
|
220
|
+
page_size?: number;
|
|
221
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedPublicCategoryList>>;
|
|
222
|
+
/**
|
|
223
|
+
* Get public category details
|
|
224
|
+
*
|
|
225
|
+
* @method GET
|
|
226
|
+
* @path /cfg/knowbase/categories/{id}/
|
|
227
|
+
*/
|
|
228
|
+
declare function useKnowbaseCategoriesRetrieve(id: string, client?: API): ReturnType<typeof useSWR<PublicCategory>>;
|
|
229
|
+
/**
|
|
230
|
+
* List public documents
|
|
231
|
+
*
|
|
232
|
+
* @method GET
|
|
233
|
+
* @path /cfg/knowbase/documents/
|
|
234
|
+
*/
|
|
235
|
+
declare function useKnowbaseDocumentsList(params?: {
|
|
236
|
+
category?: string;
|
|
237
|
+
page?: number;
|
|
238
|
+
page_size?: number;
|
|
239
|
+
search?: string;
|
|
240
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedPublicDocumentListList>>;
|
|
241
|
+
/**
|
|
242
|
+
* Get public document details
|
|
243
|
+
*
|
|
244
|
+
* @method GET
|
|
245
|
+
* @path /cfg/knowbase/documents/{id}/
|
|
246
|
+
*/
|
|
247
|
+
declare function useKnowbaseDocumentsRetrieve(id: string, client?: API): ReturnType<typeof useSWR<PublicDocument>>;
|
|
248
|
+
/**
|
|
249
|
+
* API operation
|
|
250
|
+
*
|
|
251
|
+
* @method GET
|
|
252
|
+
* @path /cfg/knowbase/system/archives/
|
|
253
|
+
*/
|
|
254
|
+
declare function useKnowbaseSystemArchivesList(params?: {
|
|
255
|
+
page?: number;
|
|
256
|
+
page_size?: number;
|
|
257
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedDocumentArchiveListList>>;
|
|
258
|
+
/**
|
|
259
|
+
* Upload and process archive
|
|
260
|
+
*
|
|
261
|
+
* @method POST
|
|
262
|
+
* @path /cfg/knowbase/system/archives/
|
|
263
|
+
*/
|
|
264
|
+
declare function useCreateKnowbaseSystemArchivesCreate(): (data: any, client?: API) => Promise<ArchiveProcessingResult$1>;
|
|
265
|
+
/**
|
|
266
|
+
* API operation
|
|
267
|
+
*
|
|
268
|
+
* @method GET
|
|
269
|
+
* @path /cfg/knowbase/system/archives/{id}/
|
|
270
|
+
*/
|
|
271
|
+
declare function useKnowbaseSystemArchivesRetrieve(id: string, client?: API): ReturnType<typeof useSWR<DocumentArchiveDetail>>;
|
|
272
|
+
/**
|
|
273
|
+
* API operation
|
|
274
|
+
*
|
|
275
|
+
* @method PUT
|
|
276
|
+
* @path /cfg/knowbase/system/archives/{id}/
|
|
277
|
+
*/
|
|
278
|
+
declare function useUpdateKnowbaseSystemArchivesUpdate(): (id: string, data: DocumentArchiveRequest, client?: API) => Promise<DocumentArchive$1>;
|
|
279
|
+
/**
|
|
280
|
+
* API operation
|
|
281
|
+
*
|
|
282
|
+
* @method PATCH
|
|
283
|
+
* @path /cfg/knowbase/system/archives/{id}/
|
|
284
|
+
*/
|
|
285
|
+
declare function usePartialUpdateKnowbaseSystemArchivesPartialUpdate(): (id: string, data?: PatchedDocumentArchiveRequest$1, client?: API) => Promise<DocumentArchive$1>;
|
|
286
|
+
/**
|
|
287
|
+
* API operation
|
|
288
|
+
*
|
|
289
|
+
* @method DELETE
|
|
290
|
+
* @path /cfg/knowbase/system/archives/{id}/
|
|
291
|
+
*/
|
|
292
|
+
declare function useDeleteKnowbaseSystemArchivesDestroy(): (id: string, client?: API) => Promise<void>;
|
|
293
|
+
/**
|
|
294
|
+
* Get archive file tree
|
|
295
|
+
*
|
|
296
|
+
* @method GET
|
|
297
|
+
* @path /cfg/knowbase/system/archives/{id}/file_tree/
|
|
298
|
+
*/
|
|
299
|
+
declare function useKnowbaseSystemArchivesFileTreeRetrieve(id: string, client?: API): ReturnType<typeof useSWR<any>>;
|
|
300
|
+
/**
|
|
301
|
+
* Get archive items
|
|
302
|
+
*
|
|
303
|
+
* @method GET
|
|
304
|
+
* @path /cfg/knowbase/system/archives/{id}/items/
|
|
305
|
+
*/
|
|
306
|
+
declare function useKnowbaseSystemArchivesItemsList(id: string, params?: {
|
|
307
|
+
page?: number;
|
|
308
|
+
page_size?: number;
|
|
309
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedArchiveItemList>>;
|
|
310
|
+
/**
|
|
311
|
+
* Search archive chunks
|
|
312
|
+
*
|
|
313
|
+
* @method POST
|
|
314
|
+
* @path /cfg/knowbase/system/archives/{id}/search/
|
|
315
|
+
*/
|
|
316
|
+
declare function useCreateKnowbaseSystemArchivesSearchCreate(): (id: string, data: ArchiveSearchRequestRequest, params?: {
|
|
317
|
+
page?: number;
|
|
318
|
+
page_size?: number;
|
|
319
|
+
}, client?: API) => Promise<PaginatedArchiveSearchResultList>;
|
|
320
|
+
/**
|
|
321
|
+
* Re-vectorize chunks
|
|
322
|
+
*
|
|
323
|
+
* @method POST
|
|
324
|
+
* @path /cfg/knowbase/system/archives/revectorize/
|
|
325
|
+
*/
|
|
326
|
+
declare function useCreateKnowbaseSystemArchivesRevectorizeCreate(): (data: ChunkRevectorizationRequestRequest, client?: API) => Promise<VectorizationResult>;
|
|
327
|
+
/**
|
|
328
|
+
* Get archive statistics
|
|
329
|
+
*
|
|
330
|
+
* @method GET
|
|
331
|
+
* @path /cfg/knowbase/system/archives/statistics/
|
|
332
|
+
*/
|
|
333
|
+
declare function useKnowbaseSystemArchivesStatisticsRetrieve(client?: API): ReturnType<typeof useSWR<ArchiveStatistics>>;
|
|
334
|
+
/**
|
|
335
|
+
* Get vectorization statistics
|
|
336
|
+
*
|
|
337
|
+
* @method GET
|
|
338
|
+
* @path /cfg/knowbase/system/archives/vectorization_stats/
|
|
339
|
+
*/
|
|
340
|
+
declare function useKnowbaseSystemArchivesVectorizationStatsRetrieve(client?: API): ReturnType<typeof useSWR<VectorizationStatistics>>;
|
|
341
|
+
/**
|
|
342
|
+
* API operation
|
|
343
|
+
*
|
|
344
|
+
* @method GET
|
|
345
|
+
* @path /cfg/knowbase/system/chunks/
|
|
346
|
+
*/
|
|
347
|
+
declare function useKnowbaseSystemChunksList(params?: {
|
|
348
|
+
page?: number;
|
|
349
|
+
page_size?: number;
|
|
350
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedArchiveItemChunkList>>;
|
|
351
|
+
/**
|
|
352
|
+
* API operation
|
|
353
|
+
*
|
|
354
|
+
* @method POST
|
|
355
|
+
* @path /cfg/knowbase/system/chunks/
|
|
356
|
+
*/
|
|
357
|
+
declare function useCreateKnowbaseSystemChunksCreate(): (data: ArchiveItemChunkRequest, client?: API) => Promise<ArchiveItemChunk>;
|
|
358
|
+
/**
|
|
359
|
+
* API operation
|
|
360
|
+
*
|
|
361
|
+
* @method GET
|
|
362
|
+
* @path /cfg/knowbase/system/chunks/{id}/
|
|
363
|
+
*/
|
|
364
|
+
declare function useKnowbaseSystemChunksRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ArchiveItemChunkDetail>>;
|
|
365
|
+
/**
|
|
366
|
+
* API operation
|
|
367
|
+
*
|
|
368
|
+
* @method PUT
|
|
369
|
+
* @path /cfg/knowbase/system/chunks/{id}/
|
|
370
|
+
*/
|
|
371
|
+
declare function useUpdateKnowbaseSystemChunksUpdate(): (id: string, data: ArchiveItemChunkRequest, client?: API) => Promise<ArchiveItemChunk>;
|
|
372
|
+
/**
|
|
373
|
+
* API operation
|
|
374
|
+
*
|
|
375
|
+
* @method PATCH
|
|
376
|
+
* @path /cfg/knowbase/system/chunks/{id}/
|
|
377
|
+
*/
|
|
378
|
+
declare function usePartialUpdateKnowbaseSystemChunksPartialUpdate(): (id: string, data?: PatchedArchiveItemChunkRequest, client?: API) => Promise<ArchiveItemChunk>;
|
|
379
|
+
/**
|
|
380
|
+
* API operation
|
|
381
|
+
*
|
|
382
|
+
* @method DELETE
|
|
383
|
+
* @path /cfg/knowbase/system/chunks/{id}/
|
|
384
|
+
*/
|
|
385
|
+
declare function useDeleteKnowbaseSystemChunksDestroy(): (id: string, client?: API) => Promise<void>;
|
|
386
|
+
/**
|
|
387
|
+
* Get chunk context
|
|
388
|
+
*
|
|
389
|
+
* @method GET
|
|
390
|
+
* @path /cfg/knowbase/system/chunks/{id}/context/
|
|
391
|
+
*/
|
|
392
|
+
declare function useKnowbaseSystemChunksContextRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ArchiveItemChunkDetail>>;
|
|
393
|
+
/**
|
|
394
|
+
* Vectorize chunk
|
|
395
|
+
*
|
|
396
|
+
* @method POST
|
|
397
|
+
* @path /cfg/knowbase/system/chunks/{id}/vectorize/
|
|
398
|
+
*/
|
|
399
|
+
declare function useCreateKnowbaseSystemChunksVectorizeCreate(): (id: string, data: ArchiveItemChunkRequest, client?: API) => Promise<any>;
|
|
400
|
+
/**
|
|
401
|
+
* API operation
|
|
402
|
+
*
|
|
403
|
+
* @method GET
|
|
404
|
+
* @path /cfg/knowbase/system/items/
|
|
405
|
+
*/
|
|
406
|
+
declare function useKnowbaseSystemItemsList(params?: {
|
|
407
|
+
page?: number;
|
|
408
|
+
page_size?: number;
|
|
409
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedArchiveItemList>>;
|
|
410
|
+
/**
|
|
411
|
+
* API operation
|
|
412
|
+
*
|
|
413
|
+
* @method POST
|
|
414
|
+
* @path /cfg/knowbase/system/items/
|
|
415
|
+
*/
|
|
416
|
+
declare function useCreateKnowbaseSystemItemsCreate(): (data: ArchiveItemRequest, client?: API) => Promise<ArchiveItem>;
|
|
417
|
+
/**
|
|
418
|
+
* API operation
|
|
419
|
+
*
|
|
420
|
+
* @method GET
|
|
421
|
+
* @path /cfg/knowbase/system/items/{id}/
|
|
422
|
+
*/
|
|
423
|
+
declare function useKnowbaseSystemItemsRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ArchiveItemDetail>>;
|
|
424
|
+
/**
|
|
425
|
+
* API operation
|
|
426
|
+
*
|
|
427
|
+
* @method PUT
|
|
428
|
+
* @path /cfg/knowbase/system/items/{id}/
|
|
429
|
+
*/
|
|
430
|
+
declare function useUpdateKnowbaseSystemItemsUpdate(): (id: string, data: ArchiveItemRequest, client?: API) => Promise<ArchiveItem>;
|
|
431
|
+
/**
|
|
432
|
+
* API operation
|
|
433
|
+
*
|
|
434
|
+
* @method PATCH
|
|
435
|
+
* @path /cfg/knowbase/system/items/{id}/
|
|
436
|
+
*/
|
|
437
|
+
declare function usePartialUpdateKnowbaseSystemItemsPartialUpdate(): (id: string, data?: PatchedArchiveItemRequest, client?: API) => Promise<ArchiveItem>;
|
|
438
|
+
/**
|
|
439
|
+
* API operation
|
|
440
|
+
*
|
|
441
|
+
* @method DELETE
|
|
442
|
+
* @path /cfg/knowbase/system/items/{id}/
|
|
443
|
+
*/
|
|
444
|
+
declare function useDeleteKnowbaseSystemItemsDestroy(): (id: string, client?: API) => Promise<void>;
|
|
445
|
+
/**
|
|
446
|
+
* Get item chunks
|
|
447
|
+
*
|
|
448
|
+
* @method GET
|
|
449
|
+
* @path /cfg/knowbase/system/items/{id}/chunks/
|
|
450
|
+
*/
|
|
451
|
+
declare function useKnowbaseSystemItemsChunksList(id: string, params?: {
|
|
452
|
+
page?: number;
|
|
453
|
+
page_size?: number;
|
|
454
|
+
}, client?: API): ReturnType<typeof useSWR<PaginatedArchiveItemChunkList>>;
|
|
455
|
+
/**
|
|
456
|
+
* Get item content
|
|
457
|
+
*
|
|
458
|
+
* @method GET
|
|
459
|
+
* @path /cfg/knowbase/system/items/{id}/content/
|
|
460
|
+
*/
|
|
461
|
+
declare function useKnowbaseSystemItemsContentRetrieve(id: string, client?: API): ReturnType<typeof useSWR<ArchiveItemDetail>>;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Knowbase Types
|
|
465
|
+
* Centralized type definitions for knowbase contexts
|
|
466
|
+
*/
|
|
467
|
+
|
|
468
|
+
type PaginatedChatResponseList = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminChatList>>['data']>;
|
|
469
|
+
type ChatResponse = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminChatRetrieve>>['data']>;
|
|
470
|
+
type ChatResponseRequest = Parameters<ReturnType<typeof useCreateKnowbaseAdminChatCreate>>[0];
|
|
471
|
+
type PatchedChatResponseRequest = Parameters<ReturnType<typeof usePartialUpdateKnowbaseAdminChatPartialUpdate>>[1];
|
|
472
|
+
type ChatHistory = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminChatHistoryRetrieve>>['data']>;
|
|
473
|
+
type ChatQueryRequest = Parameters<ReturnType<typeof useCreateKnowbaseAdminChatQueryCreate>>[0];
|
|
474
|
+
type PaginatedDocumentList = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminDocumentsList>>['data']>;
|
|
475
|
+
type Document = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminDocumentsRetrieve>>['data']>;
|
|
476
|
+
type DocumentCreateRequest = Parameters<ReturnType<typeof useCreateKnowbaseAdminDocumentsCreate>>[0];
|
|
477
|
+
type DocumentRequest = Parameters<ReturnType<typeof useUpdateKnowbaseAdminDocumentsUpdate>>[1];
|
|
478
|
+
type PatchedDocumentRequest = Parameters<ReturnType<typeof usePartialUpdateKnowbaseAdminDocumentsPartialUpdate>>[1];
|
|
479
|
+
type DocumentProcessingStatus = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminDocumentsStatusRetrieve>>['data']>;
|
|
480
|
+
type DocumentStats = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminDocumentsStatsRetrieve>>['data']>;
|
|
481
|
+
type PaginatedDocumentArchiveListList = NonNullable<Awaited<ReturnType<typeof useKnowbaseSystemArchivesList>>['data']>;
|
|
482
|
+
type DocumentArchive = NonNullable<Awaited<ReturnType<typeof useKnowbaseSystemArchivesRetrieve>>['data']>;
|
|
483
|
+
type DocumentArchiveDetail = NonNullable<Awaited<ReturnType<typeof useKnowbaseSystemArchivesRetrieve>>['data']>;
|
|
484
|
+
type PatchedDocumentArchiveRequest = Parameters<ReturnType<typeof usePartialUpdateKnowbaseSystemArchivesPartialUpdate>>[1];
|
|
485
|
+
type ArchiveProcessingResult = Awaited<ReturnType<ReturnType<typeof useCreateKnowbaseSystemArchivesCreate>>>;
|
|
486
|
+
type ArchiveStatistics = NonNullable<Awaited<ReturnType<typeof useKnowbaseSystemArchivesStatisticsRetrieve>>['data']>;
|
|
487
|
+
type PaginatedChatSessionList = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminSessionsList>>['data']>;
|
|
488
|
+
type ChatSession = NonNullable<Awaited<ReturnType<typeof useKnowbaseAdminSessionsRetrieve>>['data']>;
|
|
489
|
+
type ChatSessionCreateRequest = Parameters<ReturnType<typeof useCreateKnowbaseAdminSessionsCreate>>[0];
|
|
490
|
+
type ChatSessionRequest = Parameters<ReturnType<typeof useUpdateKnowbaseAdminSessionsUpdate>>[1];
|
|
491
|
+
type PatchedChatSessionRequest = Parameters<ReturnType<typeof usePartialUpdateKnowbaseAdminSessionsPartialUpdate>>[1];
|
|
492
|
+
|
|
493
|
+
interface KnowbaseChatContextValue {
|
|
494
|
+
chats: PaginatedChatResponseList | undefined;
|
|
495
|
+
isLoadingChats: boolean;
|
|
496
|
+
chatsError: Error | undefined;
|
|
497
|
+
refreshChats: () => Promise<void>;
|
|
498
|
+
getChat: (id: string) => Promise<ChatResponse | undefined>;
|
|
499
|
+
getChatHistory: (id: string) => Promise<ChatHistory | undefined>;
|
|
500
|
+
createChat: (data: ChatResponseRequest) => Promise<ChatResponse>;
|
|
501
|
+
updateChat: (id: string, data: ChatResponseRequest) => Promise<ChatResponse>;
|
|
502
|
+
partialUpdateChat: (id: string, data: PatchedChatResponseRequest) => Promise<ChatResponse>;
|
|
503
|
+
deleteChat: (id: string) => Promise<void>;
|
|
504
|
+
sendQuery: (data: ChatQueryRequest) => Promise<ChatResponse>;
|
|
505
|
+
}
|
|
506
|
+
declare function KnowbaseChatProvider({ children }: {
|
|
507
|
+
children: ReactNode;
|
|
508
|
+
}): react_jsx_runtime.JSX.Element;
|
|
509
|
+
declare function useKnowbaseChatContext(): KnowbaseChatContextValue;
|
|
510
|
+
|
|
511
|
+
interface KnowbaseDocumentsContextValue {
|
|
512
|
+
documents: PaginatedDocumentList | undefined;
|
|
513
|
+
isLoadingDocuments: boolean;
|
|
514
|
+
documentsError: Error | undefined;
|
|
515
|
+
refreshDocuments: () => Promise<void>;
|
|
516
|
+
getDocument: (id: string) => Promise<Document | undefined>;
|
|
517
|
+
getDocumentStatus: (id: string) => Promise<DocumentProcessingStatus | undefined>;
|
|
518
|
+
getDocumentStats: () => Promise<DocumentStats | undefined>;
|
|
519
|
+
createDocument: (data: DocumentCreateRequest) => Promise<Document>;
|
|
520
|
+
updateDocument: (id: string, data: DocumentRequest) => Promise<Document>;
|
|
521
|
+
partialUpdateDocument: (id: string, data: PatchedDocumentRequest) => Promise<Document>;
|
|
522
|
+
deleteDocument: (id: string) => Promise<void>;
|
|
523
|
+
reprocessDocument: (id: string, data: DocumentRequest) => Promise<Document>;
|
|
524
|
+
archives: PaginatedDocumentArchiveListList | undefined;
|
|
525
|
+
isLoadingArchives: boolean;
|
|
526
|
+
archivesError: Error | undefined;
|
|
527
|
+
refreshArchives: () => Promise<void>;
|
|
528
|
+
getArchive: (id: string) => Promise<DocumentArchiveDetail | undefined>;
|
|
529
|
+
getArchiveStatistics: () => Promise<ArchiveStatistics | undefined>;
|
|
530
|
+
createArchive: (data: FormData) => Promise<ArchiveProcessingResult>;
|
|
531
|
+
updateArchive: (id: string, title: string, archive_file: File | Blob, description?: string, is_public?: boolean) => Promise<DocumentArchive>;
|
|
532
|
+
partialUpdateArchive: (id: string, data: PatchedDocumentArchiveRequest) => Promise<DocumentArchive>;
|
|
533
|
+
deleteArchive: (id: string) => Promise<void>;
|
|
534
|
+
}
|
|
535
|
+
declare function KnowbaseDocumentsProvider({ children }: {
|
|
536
|
+
children: ReactNode;
|
|
537
|
+
}): react_jsx_runtime.JSX.Element;
|
|
538
|
+
declare function useKnowbaseDocumentsContext(): KnowbaseDocumentsContextValue;
|
|
539
|
+
|
|
540
|
+
interface KnowbaseSessionsContextValue {
|
|
541
|
+
sessions: PaginatedChatSessionList | undefined;
|
|
542
|
+
isLoadingSessions: boolean;
|
|
543
|
+
sessionsError: Error | undefined;
|
|
544
|
+
refreshSessions: () => Promise<void>;
|
|
545
|
+
getSession: (id: string) => Promise<ChatSession | undefined>;
|
|
546
|
+
createSession: (data: ChatSessionCreateRequest) => Promise<ChatSession>;
|
|
547
|
+
updateSession: (id: string, data: ChatSessionRequest) => Promise<ChatSession>;
|
|
548
|
+
partialUpdateSession: (id: string, data: PatchedChatSessionRequest) => Promise<ChatSession>;
|
|
549
|
+
deleteSession: (id: string) => Promise<void>;
|
|
550
|
+
activateSession: (id: string, data: ChatSessionRequest) => Promise<ChatSession>;
|
|
551
|
+
archiveSession: (id: string, data: ChatSessionRequest) => Promise<ChatSession>;
|
|
552
|
+
}
|
|
553
|
+
declare function KnowbaseSessionsProvider({ children }: {
|
|
554
|
+
children: ReactNode;
|
|
555
|
+
}): react_jsx_runtime.JSX.Element;
|
|
556
|
+
declare function useKnowbaseSessionsContext(): KnowbaseSessionsContextValue;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Chat Widget Component
|
|
560
|
+
* RAG-powered chat interface with session management
|
|
561
|
+
*/
|
|
562
|
+
|
|
563
|
+
declare const ChatWidget: React.FC<ChatWidgetProps>;
|
|
564
|
+
|
|
565
|
+
interface ChatUIContextValue {
|
|
566
|
+
uiState: ChatUIState;
|
|
567
|
+
toggleChat: () => void;
|
|
568
|
+
openChat: () => void;
|
|
569
|
+
closeChat: () => void;
|
|
570
|
+
expandChat: () => void;
|
|
571
|
+
collapseChat: () => void;
|
|
572
|
+
minimizeChat: () => void;
|
|
573
|
+
toggleSources: () => void;
|
|
574
|
+
toggleTimestamps: () => void;
|
|
575
|
+
}
|
|
576
|
+
interface ChatUIProviderProps {
|
|
577
|
+
children: ReactNode;
|
|
578
|
+
initialState?: Partial<ChatUIState>;
|
|
579
|
+
}
|
|
580
|
+
declare function ChatUIProvider({ children, initialState }: ChatUIProviderProps): react_jsx_runtime.JSX.Element;
|
|
581
|
+
declare function useChatUI(): ChatUIContextValue;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Message List Component
|
|
585
|
+
* Displays chat messages with markdown support and sources
|
|
586
|
+
*/
|
|
587
|
+
|
|
588
|
+
declare const MessageList: React.FC<MessageListProps>;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Message Input Component
|
|
592
|
+
* Input field for sending chat messages
|
|
593
|
+
*/
|
|
594
|
+
|
|
595
|
+
declare const MessageInput: React.FC<MessageInputProps>;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Session List Component
|
|
599
|
+
* Drawer with list of chat sessions
|
|
600
|
+
*/
|
|
601
|
+
|
|
602
|
+
declare const SessionList: React.FC<SessionListProps>;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Knowledge Chat Module
|
|
606
|
+
* Complete RAG-powered chat widget with context providers
|
|
607
|
+
*/
|
|
608
|
+
|
|
609
|
+
declare const KnowledgeChat: React.FC<ChatWidgetProps>;
|
|
610
|
+
|
|
611
|
+
export { API, ArchiveItem, ArchiveItemChunk, ArchiveItemChunkRequest, ArchiveItemRequest, ArchiveProcessingResult$1 as ArchiveProcessingResult, ArchiveSearchRequestRequest, KnowledgeChat as Chat, ChatQueryRequest$1 as ChatQueryRequest, ChatResponse$1 as ChatResponse, ChatResponseRequest$1 as ChatResponseRequest, ChatSession$1 as ChatSession, ChatSessionCreateRequest$1 as ChatSessionCreateRequest, ChatSessionRequest$1 as ChatSessionRequest, ChatUIProvider, ChatUIState, ChatWidget, ChatWidgetProps, ChunkRevectorizationRequestRequest, Document$1 as Document, DocumentArchive$1 as DocumentArchive, DocumentArchiveRequest, DocumentCreateRequest$1 as DocumentCreateRequest, DocumentRequest$1 as DocumentRequest, KnowbaseChatProvider, KnowbaseDocumentsProvider, KnowbaseSessionsProvider, KnowledgeChat, MessageInput, MessageInputProps, MessageList, MessageListProps, PaginatedArchiveSearchResultList, PatchedArchiveItemChunkRequest, PatchedArchiveItemRequest, PatchedChatResponseRequest$1 as PatchedChatResponseRequest, PatchedChatSessionRequest$1 as PatchedChatSessionRequest, PatchedDocumentArchiveRequest$1 as PatchedDocumentArchiveRequest, PatchedDocumentRequest$1 as PatchedDocumentRequest, SessionList, SessionListProps, VectorizationResult, useChatUI, useCreateKnowbaseAdminChatCreate, useCreateKnowbaseAdminChatQueryCreate, useCreateKnowbaseAdminDocumentsCreate, useCreateKnowbaseAdminDocumentsReprocessCreate, useCreateKnowbaseAdminSessionsActivateCreate, useCreateKnowbaseAdminSessionsArchiveCreate, useCreateKnowbaseAdminSessionsCreate, useCreateKnowbaseSystemArchivesCreate, useCreateKnowbaseSystemArchivesRevectorizeCreate, useCreateKnowbaseSystemArchivesSearchCreate, useCreateKnowbaseSystemChunksCreate, useCreateKnowbaseSystemChunksVectorizeCreate, useCreateKnowbaseSystemItemsCreate, useDeleteKnowbaseAdminChatDestroy, useDeleteKnowbaseAdminDocumentsDestroy, useDeleteKnowbaseAdminSessionsDestroy, useDeleteKnowbaseSystemArchivesDestroy, useDeleteKnowbaseSystemChunksDestroy, useDeleteKnowbaseSystemItemsDestroy, useKnowbaseAdminChatHistoryRetrieve, useKnowbaseAdminChatList, useKnowbaseAdminChatRetrieve, useKnowbaseAdminDocumentsList, useKnowbaseAdminDocumentsRetrieve, useKnowbaseAdminDocumentsStatsRetrieve, useKnowbaseAdminDocumentsStatusRetrieve, useKnowbaseAdminSessionsList, useKnowbaseAdminSessionsRetrieve, useKnowbaseCategoriesList, useKnowbaseCategoriesRetrieve, useKnowbaseChatContext, useKnowbaseDocumentsContext, useKnowbaseDocumentsList, useKnowbaseDocumentsRetrieve, useKnowbaseSessionsContext, useKnowbaseSystemArchivesFileTreeRetrieve, useKnowbaseSystemArchivesItemsList, useKnowbaseSystemArchivesList, useKnowbaseSystemArchivesRetrieve, useKnowbaseSystemArchivesStatisticsRetrieve, useKnowbaseSystemArchivesVectorizationStatsRetrieve, useKnowbaseSystemChunksContextRetrieve, useKnowbaseSystemChunksList, useKnowbaseSystemChunksRetrieve, useKnowbaseSystemItemsChunksList, useKnowbaseSystemItemsContentRetrieve, useKnowbaseSystemItemsList, useKnowbaseSystemItemsRetrieve, usePartialUpdateKnowbaseAdminChatPartialUpdate, usePartialUpdateKnowbaseAdminDocumentsPartialUpdate, usePartialUpdateKnowbaseAdminSessionsPartialUpdate, usePartialUpdateKnowbaseSystemArchivesPartialUpdate, usePartialUpdateKnowbaseSystemChunksPartialUpdate, usePartialUpdateKnowbaseSystemItemsPartialUpdate, useUpdateKnowbaseAdminChatUpdate, useUpdateKnowbaseAdminDocumentsUpdate, useUpdateKnowbaseAdminSessionsUpdate, useUpdateKnowbaseSystemArchivesUpdate, useUpdateKnowbaseSystemChunksUpdate, useUpdateKnowbaseSystemItemsUpdate };
|