@petercatai/whisker-client 0.1.202504211811-dev → 0.1.202504211903-dev
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/dist/api.d.ts +19 -19
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export interface IChunk {
|
|
|
97
97
|
* Metadata
|
|
98
98
|
* Arbitrary metadata associated with the content.
|
|
99
99
|
*/
|
|
100
|
-
metadata?:
|
|
100
|
+
metadata?: object | null;
|
|
101
101
|
/**
|
|
102
102
|
* Gmt Create
|
|
103
103
|
* creation time
|
|
@@ -161,7 +161,7 @@ export interface IGithubRepoCreate {
|
|
|
161
161
|
* additional metadata, user can update it
|
|
162
162
|
* @default {}
|
|
163
163
|
*/
|
|
164
|
-
metadata?:
|
|
164
|
+
metadata?: object;
|
|
165
165
|
/** source type */
|
|
166
166
|
source_type: IKnowledgeSourceEnum;
|
|
167
167
|
/**
|
|
@@ -237,7 +237,7 @@ export interface IImageCreate {
|
|
|
237
237
|
* additional metadata, user can update it
|
|
238
238
|
* @default {}
|
|
239
239
|
*/
|
|
240
|
-
metadata?:
|
|
240
|
+
metadata?: object;
|
|
241
241
|
/** source type */
|
|
242
242
|
source_type: IKnowledgeSourceEnum;
|
|
243
243
|
/**
|
|
@@ -286,7 +286,7 @@ export interface IJSONCreate {
|
|
|
286
286
|
* additional metadata, user can update it
|
|
287
287
|
* @default {}
|
|
288
288
|
*/
|
|
289
|
-
metadata?:
|
|
289
|
+
metadata?: object;
|
|
290
290
|
/** source type */
|
|
291
291
|
source_type: IKnowledgeSourceEnum;
|
|
292
292
|
/**
|
|
@@ -420,7 +420,7 @@ export interface IKnowledgeInput {
|
|
|
420
420
|
* additional metadata, user can update it
|
|
421
421
|
* @default {}
|
|
422
422
|
*/
|
|
423
|
-
metadata?:
|
|
423
|
+
metadata?: object;
|
|
424
424
|
/**
|
|
425
425
|
* Retrieval Count
|
|
426
426
|
* count of the retrieval
|
|
@@ -505,7 +505,7 @@ export interface IKnowledgeOutput {
|
|
|
505
505
|
* Metadata
|
|
506
506
|
* additional metadata, user can update it
|
|
507
507
|
*/
|
|
508
|
-
metadata?:
|
|
508
|
+
metadata?: object | null;
|
|
509
509
|
/**
|
|
510
510
|
* Retrieval Count
|
|
511
511
|
* count of the retrieval
|
|
@@ -602,7 +602,7 @@ export interface IKnowledgeCreate {
|
|
|
602
602
|
* additional metadata, user can update it
|
|
603
603
|
* @default {}
|
|
604
604
|
*/
|
|
605
|
-
metadata?:
|
|
605
|
+
metadata?: object;
|
|
606
606
|
/**
|
|
607
607
|
* Parent Id
|
|
608
608
|
* parent knowledge id
|
|
@@ -639,7 +639,7 @@ export interface IMarkdownCreate {
|
|
|
639
639
|
* additional metadata, user can update it
|
|
640
640
|
* @default {}
|
|
641
641
|
*/
|
|
642
|
-
metadata?:
|
|
642
|
+
metadata?: object;
|
|
643
643
|
/** source type */
|
|
644
644
|
source_type: IKnowledgeSourceEnum;
|
|
645
645
|
/**
|
|
@@ -735,7 +735,7 @@ export interface IPDFCreate {
|
|
|
735
735
|
* additional metadata, user can update it
|
|
736
736
|
* @default {}
|
|
737
737
|
*/
|
|
738
|
-
metadata?:
|
|
738
|
+
metadata?: object;
|
|
739
739
|
/** source type */
|
|
740
740
|
source_type: IKnowledgeSourceEnum;
|
|
741
741
|
/**
|
|
@@ -837,7 +837,7 @@ export interface IPageParamsChunk {
|
|
|
837
837
|
* Eq Conditions
|
|
838
838
|
* list of equality conditions, each as a dict with key and value
|
|
839
839
|
*/
|
|
840
|
-
eq_conditions?:
|
|
840
|
+
eq_conditions?: object | null;
|
|
841
841
|
}
|
|
842
842
|
/** PageParams[Knowledge] */
|
|
843
843
|
export interface IPageParamsKnowledge {
|
|
@@ -871,7 +871,7 @@ export interface IPageParamsKnowledge {
|
|
|
871
871
|
* Eq Conditions
|
|
872
872
|
* list of equality conditions, each as a dict with key and value
|
|
873
873
|
*/
|
|
874
|
-
eq_conditions?:
|
|
874
|
+
eq_conditions?: object | null;
|
|
875
875
|
}
|
|
876
876
|
/** PageParams[Task] */
|
|
877
877
|
export interface IPageParamsTask {
|
|
@@ -905,7 +905,7 @@ export interface IPageParamsTask {
|
|
|
905
905
|
* Eq Conditions
|
|
906
906
|
* list of equality conditions, each as a dict with key and value
|
|
907
907
|
*/
|
|
908
|
-
eq_conditions?:
|
|
908
|
+
eq_conditions?: object | null;
|
|
909
909
|
}
|
|
910
910
|
/** PageResponse[Chunk] */
|
|
911
911
|
export interface IPageResponseChunk {
|
|
@@ -957,7 +957,7 @@ export interface IQACreate {
|
|
|
957
957
|
* additional metadata, user can update it
|
|
958
958
|
* @default {}
|
|
959
959
|
*/
|
|
960
|
-
metadata?:
|
|
960
|
+
metadata?: object;
|
|
961
961
|
/** source type */
|
|
962
962
|
source_type: IKnowledgeSourceEnum;
|
|
963
963
|
/**
|
|
@@ -1113,7 +1113,7 @@ export interface IRetrievalByKnowledgeRequest {
|
|
|
1113
1113
|
* metadata filter
|
|
1114
1114
|
* @default {}
|
|
1115
1115
|
*/
|
|
1116
|
-
metadata_filter?:
|
|
1116
|
+
metadata_filter?: object;
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Knowledge Id List
|
|
1119
1119
|
* knowledge id list
|
|
@@ -1149,7 +1149,7 @@ export interface IRetrievalBySpaceRequest {
|
|
|
1149
1149
|
* metadata filter
|
|
1150
1150
|
* @default {}
|
|
1151
1151
|
*/
|
|
1152
|
-
metadata_filter?:
|
|
1152
|
+
metadata_filter?: object;
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Space Id List
|
|
1155
1155
|
* space id list
|
|
@@ -1197,7 +1197,7 @@ export interface IRetrievalChunk {
|
|
|
1197
1197
|
* Metadata
|
|
1198
1198
|
* Arbitrary metadata associated with the content.
|
|
1199
1199
|
*/
|
|
1200
|
-
metadata?:
|
|
1200
|
+
metadata?: object | null;
|
|
1201
1201
|
/**
|
|
1202
1202
|
* Gmt Create
|
|
1203
1203
|
* creation time
|
|
@@ -1291,7 +1291,7 @@ export interface ITask {
|
|
|
1291
1291
|
* Metadata
|
|
1292
1292
|
* Metadata for the task
|
|
1293
1293
|
*/
|
|
1294
|
-
metadata?:
|
|
1294
|
+
metadata?: object | null;
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Error Message
|
|
1297
1297
|
* Error message (only present if the task failed)
|
|
@@ -1365,7 +1365,7 @@ export interface ITenant {
|
|
|
1365
1365
|
* Metadata
|
|
1366
1366
|
* Metadata for the tenant
|
|
1367
1367
|
*/
|
|
1368
|
-
metadata?:
|
|
1368
|
+
metadata?: object | null;
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Gmt Create
|
|
1371
1371
|
* tenant created time
|
|
@@ -1408,7 +1408,7 @@ export interface ITextCreate {
|
|
|
1408
1408
|
* additional metadata, user can update it
|
|
1409
1409
|
* @default {}
|
|
1410
1410
|
*/
|
|
1411
|
-
metadata?:
|
|
1411
|
+
metadata?: object;
|
|
1412
1412
|
/** source type */
|
|
1413
1413
|
source_type: IKnowledgeSourceEnum;
|
|
1414
1414
|
/**
|