@ondewo/nlu-client-typescript 6.4.0 → 6.6.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/api/google/logging/v2/log_entry_pb.d.ts +172 -0
- package/api/google/logging/v2/log_entry_pb.js +1333 -0
- package/api/ondewo/nlu/rag_grpc_web_pb.d.ts +4 -335
- package/api/ondewo/nlu/rag_grpc_web_pb.js +10 -1705
- package/api/ondewo/nlu/rag_pb.d.ts +351 -2775
- package/api/ondewo/nlu/rag_pb.js +6625 -24411
- package/package.json +1 -1
- package/public-api.d.ts +31 -31
- package/public-api.js +32 -32
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
3
|
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
|
|
5
4
|
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
6
5
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
@@ -78,8 +77,6 @@ export class RagCreateDatasetRequest extends jspb.Message {
|
|
|
78
77
|
|
|
79
78
|
getChunkMethod(): RagChunkMethod;
|
|
80
79
|
setChunkMethod(value: RagChunkMethod): RagCreateDatasetRequest;
|
|
81
|
-
hasChunkMethod(): boolean;
|
|
82
|
-
clearChunkMethod(): RagCreateDatasetRequest;
|
|
83
80
|
|
|
84
81
|
getParserConfig(): RagParserConfig | undefined;
|
|
85
82
|
setParserConfig(value?: RagParserConfig): RagCreateDatasetRequest;
|
|
@@ -101,14 +98,9 @@ export namespace RagCreateDatasetRequest {
|
|
|
101
98
|
name: string,
|
|
102
99
|
description: string,
|
|
103
100
|
avatar: string,
|
|
104
|
-
chunkMethod
|
|
101
|
+
chunkMethod: RagChunkMethod,
|
|
105
102
|
parserConfig?: RagParserConfig.AsObject,
|
|
106
103
|
}
|
|
107
|
-
|
|
108
|
-
export enum ChunkMethodCase {
|
|
109
|
-
_CHUNK_METHOD_NOT_SET = 0,
|
|
110
|
-
CHUNK_METHOD = 6,
|
|
111
|
-
}
|
|
112
104
|
}
|
|
113
105
|
|
|
114
106
|
export class RagParserConfig extends jspb.Message {
|
|
@@ -360,8 +352,6 @@ export class RagDataset extends jspb.Message {
|
|
|
360
352
|
|
|
361
353
|
getChunkMethod(): RagChunkMethod;
|
|
362
354
|
setChunkMethod(value: RagChunkMethod): RagDataset;
|
|
363
|
-
hasChunkMethod(): boolean;
|
|
364
|
-
clearChunkMethod(): RagDataset;
|
|
365
355
|
|
|
366
356
|
getParserConfig(): RagParserConfig | undefined;
|
|
367
357
|
setParserConfig(value?: RagParserConfig): RagDataset;
|
|
@@ -373,6 +363,11 @@ export class RagDataset extends jspb.Message {
|
|
|
373
363
|
hasPagerank(): boolean;
|
|
374
364
|
clearPagerank(): RagDataset;
|
|
375
365
|
|
|
366
|
+
getParsingStatus(): RagDatasetParsingStatus | undefined;
|
|
367
|
+
setParsingStatus(value?: RagDatasetParsingStatus): RagDataset;
|
|
368
|
+
hasParsingStatus(): boolean;
|
|
369
|
+
clearParsingStatus(): RagDataset;
|
|
370
|
+
|
|
376
371
|
getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
377
372
|
setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): RagDataset;
|
|
378
373
|
hasCreateTime(): boolean;
|
|
@@ -400,9 +395,10 @@ export namespace RagDataset {
|
|
|
400
395
|
documentCount?: number,
|
|
401
396
|
tokenNum?: number,
|
|
402
397
|
chunkCount?: number,
|
|
403
|
-
chunkMethod
|
|
398
|
+
chunkMethod: RagChunkMethod,
|
|
404
399
|
parserConfig?: RagParserConfig.AsObject,
|
|
405
400
|
pagerank?: number,
|
|
401
|
+
parsingStatus?: RagDatasetParsingStatus.AsObject,
|
|
406
402
|
createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
407
403
|
updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
408
404
|
}
|
|
@@ -422,17 +418,46 @@ export namespace RagDataset {
|
|
|
422
418
|
CHUNK_COUNT = 7,
|
|
423
419
|
}
|
|
424
420
|
|
|
425
|
-
export enum ChunkMethodCase {
|
|
426
|
-
_CHUNK_METHOD_NOT_SET = 0,
|
|
427
|
-
CHUNK_METHOD = 8,
|
|
428
|
-
}
|
|
429
|
-
|
|
430
421
|
export enum PagerankCase {
|
|
431
422
|
_PAGERANK_NOT_SET = 0,
|
|
432
423
|
PAGERANK = 10,
|
|
433
424
|
}
|
|
434
425
|
}
|
|
435
426
|
|
|
427
|
+
export class RagDatasetParsingStatus extends jspb.Message {
|
|
428
|
+
getUnstart(): number;
|
|
429
|
+
setUnstart(value: number): RagDatasetParsingStatus;
|
|
430
|
+
|
|
431
|
+
getRunning(): number;
|
|
432
|
+
setRunning(value: number): RagDatasetParsingStatus;
|
|
433
|
+
|
|
434
|
+
getCancel(): number;
|
|
435
|
+
setCancel(value: number): RagDatasetParsingStatus;
|
|
436
|
+
|
|
437
|
+
getDone(): number;
|
|
438
|
+
setDone(value: number): RagDatasetParsingStatus;
|
|
439
|
+
|
|
440
|
+
getFail(): number;
|
|
441
|
+
setFail(value: number): RagDatasetParsingStatus;
|
|
442
|
+
|
|
443
|
+
serializeBinary(): Uint8Array;
|
|
444
|
+
toObject(includeInstance?: boolean): RagDatasetParsingStatus.AsObject;
|
|
445
|
+
static toObject(includeInstance: boolean, msg: RagDatasetParsingStatus): RagDatasetParsingStatus.AsObject;
|
|
446
|
+
static serializeBinaryToWriter(message: RagDatasetParsingStatus, writer: jspb.BinaryWriter): void;
|
|
447
|
+
static deserializeBinary(bytes: Uint8Array): RagDatasetParsingStatus;
|
|
448
|
+
static deserializeBinaryFromReader(message: RagDatasetParsingStatus, reader: jspb.BinaryReader): RagDatasetParsingStatus;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export namespace RagDatasetParsingStatus {
|
|
452
|
+
export type AsObject = {
|
|
453
|
+
unstart: number,
|
|
454
|
+
running: number,
|
|
455
|
+
cancel: number,
|
|
456
|
+
done: number,
|
|
457
|
+
fail: number,
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
436
461
|
export class RagUpdateDatasetRequest extends jspb.Message {
|
|
437
462
|
getParent(): string;
|
|
438
463
|
setParent(value: string): RagUpdateDatasetRequest;
|
|
@@ -448,14 +473,16 @@ export class RagUpdateDatasetRequest extends jspb.Message {
|
|
|
448
473
|
|
|
449
474
|
getDescription(): string;
|
|
450
475
|
setDescription(value: string): RagUpdateDatasetRequest;
|
|
476
|
+
hasDescription(): boolean;
|
|
477
|
+
clearDescription(): RagUpdateDatasetRequest;
|
|
451
478
|
|
|
452
479
|
getAvatar(): string;
|
|
453
480
|
setAvatar(value: string): RagUpdateDatasetRequest;
|
|
481
|
+
hasAvatar(): boolean;
|
|
482
|
+
clearAvatar(): RagUpdateDatasetRequest;
|
|
454
483
|
|
|
455
484
|
getChunkMethod(): RagChunkMethod;
|
|
456
485
|
setChunkMethod(value: RagChunkMethod): RagUpdateDatasetRequest;
|
|
457
|
-
hasChunkMethod(): boolean;
|
|
458
|
-
clearChunkMethod(): RagUpdateDatasetRequest;
|
|
459
486
|
|
|
460
487
|
getParserConfig(): RagParserConfig | undefined;
|
|
461
488
|
setParserConfig(value?: RagParserConfig): RagUpdateDatasetRequest;
|
|
@@ -481,16 +508,21 @@ export namespace RagUpdateDatasetRequest {
|
|
|
481
508
|
languageCode: string,
|
|
482
509
|
datasetId: string,
|
|
483
510
|
name: string,
|
|
484
|
-
description
|
|
485
|
-
avatar
|
|
486
|
-
chunkMethod
|
|
511
|
+
description?: string,
|
|
512
|
+
avatar?: string,
|
|
513
|
+
chunkMethod: RagChunkMethod,
|
|
487
514
|
parserConfig?: RagParserConfig.AsObject,
|
|
488
515
|
pagerank?: number,
|
|
489
516
|
}
|
|
490
517
|
|
|
491
|
-
export enum
|
|
492
|
-
|
|
493
|
-
|
|
518
|
+
export enum DescriptionCase {
|
|
519
|
+
_DESCRIPTION_NOT_SET = 0,
|
|
520
|
+
DESCRIPTION = 5,
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export enum AvatarCase {
|
|
524
|
+
_AVATAR_NOT_SET = 0,
|
|
525
|
+
AVATAR = 6,
|
|
494
526
|
}
|
|
495
527
|
|
|
496
528
|
export enum PagerankCase {
|
|
@@ -511,6 +543,9 @@ export class RagDeleteRequest extends jspb.Message {
|
|
|
511
543
|
clearIdsList(): RagDeleteRequest;
|
|
512
544
|
addIds(value: string, index?: number): RagDeleteRequest;
|
|
513
545
|
|
|
546
|
+
getDeleteAll(): boolean;
|
|
547
|
+
setDeleteAll(value: boolean): RagDeleteRequest;
|
|
548
|
+
|
|
514
549
|
serializeBinary(): Uint8Array;
|
|
515
550
|
toObject(includeInstance?: boolean): RagDeleteRequest.AsObject;
|
|
516
551
|
static toObject(includeInstance: boolean, msg: RagDeleteRequest): RagDeleteRequest.AsObject;
|
|
@@ -524,6 +559,7 @@ export namespace RagDeleteRequest {
|
|
|
524
559
|
parent: string,
|
|
525
560
|
languageCode: string,
|
|
526
561
|
idsList: Array<string>,
|
|
562
|
+
deleteAll: boolean,
|
|
527
563
|
}
|
|
528
564
|
}
|
|
529
565
|
|
|
@@ -654,8 +690,6 @@ export class RagDocument extends jspb.Message {
|
|
|
654
690
|
|
|
655
691
|
getChunkMethod(): RagChunkMethod;
|
|
656
692
|
setChunkMethod(value: RagChunkMethod): RagDocument;
|
|
657
|
-
hasChunkMethod(): boolean;
|
|
658
|
-
clearChunkMethod(): RagDocument;
|
|
659
693
|
|
|
660
694
|
getParserConfig(): RagParserConfig | undefined;
|
|
661
695
|
setParserConfig(value?: RagParserConfig): RagDocument;
|
|
@@ -708,8 +742,6 @@ export class RagDocument extends jspb.Message {
|
|
|
708
742
|
|
|
709
743
|
getRun(): RagDocumentStatus;
|
|
710
744
|
setRun(value: RagDocumentStatus): RagDocument;
|
|
711
|
-
hasRun(): boolean;
|
|
712
|
-
clearRun(): RagDocument;
|
|
713
745
|
|
|
714
746
|
getStatus(): string;
|
|
715
747
|
setStatus(value: string): RagDocument;
|
|
@@ -737,7 +769,7 @@ export namespace RagDocument {
|
|
|
737
769
|
id: string,
|
|
738
770
|
thumbnail: string,
|
|
739
771
|
datasetId: string,
|
|
740
|
-
chunkMethod
|
|
772
|
+
chunkMethod: RagChunkMethod,
|
|
741
773
|
parserConfig?: RagParserConfig.AsObject,
|
|
742
774
|
type: RagDocumentType,
|
|
743
775
|
name: string,
|
|
@@ -749,17 +781,12 @@ export namespace RagDocument {
|
|
|
749
781
|
processBeginAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
750
782
|
processDuration?: number,
|
|
751
783
|
metaFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
752
|
-
run
|
|
784
|
+
run: RagDocumentStatus,
|
|
753
785
|
status: string,
|
|
754
786
|
createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
755
787
|
updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
756
788
|
}
|
|
757
789
|
|
|
758
|
-
export enum ChunkMethodCase {
|
|
759
|
-
_CHUNK_METHOD_NOT_SET = 0,
|
|
760
|
-
CHUNK_METHOD = 4,
|
|
761
|
-
}
|
|
762
|
-
|
|
763
790
|
export enum SizeCase {
|
|
764
791
|
_SIZE_NOT_SET = 0,
|
|
765
792
|
SIZE = 8,
|
|
@@ -784,11 +811,6 @@ export namespace RagDocument {
|
|
|
784
811
|
_PROCESS_DURATION_NOT_SET = 0,
|
|
785
812
|
PROCESS_DURATION = 14,
|
|
786
813
|
}
|
|
787
|
-
|
|
788
|
-
export enum RunCase {
|
|
789
|
-
_RUN_NOT_SET = 0,
|
|
790
|
-
RUN = 16,
|
|
791
|
-
}
|
|
792
814
|
}
|
|
793
815
|
|
|
794
816
|
export class RagUpdateDocumentRequest extends jspb.Message {
|
|
@@ -809,8 +831,6 @@ export class RagUpdateDocumentRequest extends jspb.Message {
|
|
|
809
831
|
|
|
810
832
|
getChunkMethod(): RagChunkMethod;
|
|
811
833
|
setChunkMethod(value: RagChunkMethod): RagUpdateDocumentRequest;
|
|
812
|
-
hasChunkMethod(): boolean;
|
|
813
|
-
clearChunkMethod(): RagUpdateDocumentRequest;
|
|
814
834
|
|
|
815
835
|
getParserConfig(): RagParserConfig | undefined;
|
|
816
836
|
setParserConfig(value?: RagParserConfig): RagUpdateDocumentRequest;
|
|
@@ -842,17 +862,12 @@ export namespace RagUpdateDocumentRequest {
|
|
|
842
862
|
datasetId: string,
|
|
843
863
|
documentId: string,
|
|
844
864
|
name: string,
|
|
845
|
-
chunkMethod
|
|
865
|
+
chunkMethod: RagChunkMethod,
|
|
846
866
|
parserConfig?: RagParserConfig.AsObject,
|
|
847
867
|
enabled?: boolean,
|
|
848
868
|
metaFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
849
869
|
}
|
|
850
870
|
|
|
851
|
-
export enum ChunkMethodCase {
|
|
852
|
-
_CHUNK_METHOD_NOT_SET = 0,
|
|
853
|
-
CHUNK_METHOD = 6,
|
|
854
|
-
}
|
|
855
|
-
|
|
856
871
|
export enum EnabledCase {
|
|
857
872
|
_ENABLED_NOT_SET = 0,
|
|
858
873
|
ENABLED = 8,
|
|
@@ -1095,6 +1110,9 @@ export class RagDeleteDocumentsRequest extends jspb.Message {
|
|
|
1095
1110
|
clearIdsList(): RagDeleteDocumentsRequest;
|
|
1096
1111
|
addIds(value: string, index?: number): RagDeleteDocumentsRequest;
|
|
1097
1112
|
|
|
1113
|
+
getDeleteAll(): boolean;
|
|
1114
|
+
setDeleteAll(value: boolean): RagDeleteDocumentsRequest;
|
|
1115
|
+
|
|
1098
1116
|
serializeBinary(): Uint8Array;
|
|
1099
1117
|
toObject(includeInstance?: boolean): RagDeleteDocumentsRequest.AsObject;
|
|
1100
1118
|
static toObject(includeInstance: boolean, msg: RagDeleteDocumentsRequest): RagDeleteDocumentsRequest.AsObject;
|
|
@@ -1109,6 +1127,39 @@ export namespace RagDeleteDocumentsRequest {
|
|
|
1109
1127
|
languageCode: string,
|
|
1110
1128
|
datasetId: string,
|
|
1111
1129
|
idsList: Array<string>,
|
|
1130
|
+
deleteAll: boolean,
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
export class RagDocumentIdsRequest extends jspb.Message {
|
|
1135
|
+
getParent(): string;
|
|
1136
|
+
setParent(value: string): RagDocumentIdsRequest;
|
|
1137
|
+
|
|
1138
|
+
getLanguageCode(): string;
|
|
1139
|
+
setLanguageCode(value: string): RagDocumentIdsRequest;
|
|
1140
|
+
|
|
1141
|
+
getDatasetId(): string;
|
|
1142
|
+
setDatasetId(value: string): RagDocumentIdsRequest;
|
|
1143
|
+
|
|
1144
|
+
getDocumentIdsList(): Array<string>;
|
|
1145
|
+
setDocumentIdsList(value: Array<string>): RagDocumentIdsRequest;
|
|
1146
|
+
clearDocumentIdsList(): RagDocumentIdsRequest;
|
|
1147
|
+
addDocumentIds(value: string, index?: number): RagDocumentIdsRequest;
|
|
1148
|
+
|
|
1149
|
+
serializeBinary(): Uint8Array;
|
|
1150
|
+
toObject(includeInstance?: boolean): RagDocumentIdsRequest.AsObject;
|
|
1151
|
+
static toObject(includeInstance: boolean, msg: RagDocumentIdsRequest): RagDocumentIdsRequest.AsObject;
|
|
1152
|
+
static serializeBinaryToWriter(message: RagDocumentIdsRequest, writer: jspb.BinaryWriter): void;
|
|
1153
|
+
static deserializeBinary(bytes: Uint8Array): RagDocumentIdsRequest;
|
|
1154
|
+
static deserializeBinaryFromReader(message: RagDocumentIdsRequest, reader: jspb.BinaryReader): RagDocumentIdsRequest;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
export namespace RagDocumentIdsRequest {
|
|
1158
|
+
export type AsObject = {
|
|
1159
|
+
parent: string,
|
|
1160
|
+
languageCode: string,
|
|
1161
|
+
datasetId: string,
|
|
1162
|
+
documentIdsList: Array<string>,
|
|
1112
1163
|
}
|
|
1113
1164
|
}
|
|
1114
1165
|
|
|
@@ -1152,6 +1203,8 @@ export class RagRetrievalRequest extends jspb.Message {
|
|
|
1152
1203
|
|
|
1153
1204
|
getSimilarityThreshold(): number;
|
|
1154
1205
|
setSimilarityThreshold(value: number): RagRetrievalRequest;
|
|
1206
|
+
hasSimilarityThreshold(): boolean;
|
|
1207
|
+
clearSimilarityThreshold(): RagRetrievalRequest;
|
|
1155
1208
|
|
|
1156
1209
|
getVectorSimilarityWeight(): number;
|
|
1157
1210
|
setVectorSimilarityWeight(value: number): RagRetrievalRequest;
|
|
@@ -1190,7 +1243,7 @@ export namespace RagRetrievalRequest {
|
|
|
1190
1243
|
useKg?: boolean,
|
|
1191
1244
|
crossLanguagesList: Array<string>,
|
|
1192
1245
|
metadataCondition?: RagMetadataConditions.AsObject,
|
|
1193
|
-
similarityThreshold
|
|
1246
|
+
similarityThreshold?: number,
|
|
1194
1247
|
vectorSimilarityWeight?: number,
|
|
1195
1248
|
topK: number,
|
|
1196
1249
|
highlight?: boolean,
|
|
@@ -1202,6 +1255,11 @@ export namespace RagRetrievalRequest {
|
|
|
1202
1255
|
USE_KG = 7,
|
|
1203
1256
|
}
|
|
1204
1257
|
|
|
1258
|
+
export enum SimilarityThresholdCase {
|
|
1259
|
+
_SIMILARITY_THRESHOLD_NOT_SET = 0,
|
|
1260
|
+
SIMILARITY_THRESHOLD = 10,
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1205
1263
|
export enum VectorSimilarityWeightCase {
|
|
1206
1264
|
_VECTOR_SIMILARITY_WEIGHT_NOT_SET = 0,
|
|
1207
1265
|
VECTOR_SIMILARITY_WEIGHT = 11,
|
|
@@ -1265,9 +1323,6 @@ export class RagChunk extends jspb.Message {
|
|
|
1265
1323
|
getContent(): string;
|
|
1266
1324
|
setContent(value: string): RagChunk;
|
|
1267
1325
|
|
|
1268
|
-
getDocnmKwd(): string;
|
|
1269
|
-
setDocnmKwd(value: string): RagChunk;
|
|
1270
|
-
|
|
1271
1326
|
getImportantKeywordsList(): Array<string>;
|
|
1272
1327
|
setImportantKeywordsList(value: Array<string>): RagChunk;
|
|
1273
1328
|
clearImportantKeywordsList(): RagChunk;
|
|
@@ -1281,11 +1336,6 @@ export class RagChunk extends jspb.Message {
|
|
|
1281
1336
|
getImageId(): string;
|
|
1282
1337
|
setImageId(value: string): RagChunk;
|
|
1283
1338
|
|
|
1284
|
-
getAvailable(): boolean;
|
|
1285
|
-
setAvailable(value: boolean): RagChunk;
|
|
1286
|
-
hasAvailable(): boolean;
|
|
1287
|
-
clearAvailable(): RagChunk;
|
|
1288
|
-
|
|
1289
1339
|
getPositionsList(): Array<google_protobuf_struct_pb.ListValue>;
|
|
1290
1340
|
setPositionsList(value: Array<google_protobuf_struct_pb.ListValue>): RagChunk;
|
|
1291
1341
|
clearPositionsList(): RagChunk;
|
|
@@ -1318,25 +1368,18 @@ export namespace RagChunk {
|
|
|
1318
1368
|
datasetId: string,
|
|
1319
1369
|
documentId: string,
|
|
1320
1370
|
content: string,
|
|
1321
|
-
docnmKwd: string,
|
|
1322
1371
|
importantKeywordsList: Array<string>,
|
|
1323
1372
|
questionsList: Array<string>,
|
|
1324
1373
|
imageId: string,
|
|
1325
|
-
available?: boolean,
|
|
1326
1374
|
positionsList: Array<google_protobuf_struct_pb.ListValue.AsObject>,
|
|
1327
1375
|
createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1328
1376
|
documentKeyword: string,
|
|
1329
1377
|
similarity?: number,
|
|
1330
1378
|
}
|
|
1331
1379
|
|
|
1332
|
-
export enum AvailableCase {
|
|
1333
|
-
_AVAILABLE_NOT_SET = 0,
|
|
1334
|
-
AVAILABLE = 9,
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
1380
|
export enum SimilarityCase {
|
|
1338
1381
|
_SIMILARITY_NOT_SET = 0,
|
|
1339
|
-
SIMILARITY =
|
|
1382
|
+
SIMILARITY = 11,
|
|
1340
1383
|
}
|
|
1341
1384
|
}
|
|
1342
1385
|
|
|
@@ -1366,2628 +1409,222 @@ export namespace RagDocAgg {
|
|
|
1366
1409
|
}
|
|
1367
1410
|
}
|
|
1368
1411
|
|
|
1369
|
-
export class
|
|
1412
|
+
export class RagCreateCrawlerRequest extends jspb.Message {
|
|
1370
1413
|
getParent(): string;
|
|
1371
|
-
setParent(value: string):
|
|
1414
|
+
setParent(value: string): RagCreateCrawlerRequest;
|
|
1372
1415
|
|
|
1373
1416
|
getLanguageCode(): string;
|
|
1374
|
-
setLanguageCode(value: string):
|
|
1417
|
+
setLanguageCode(value: string): RagCreateCrawlerRequest;
|
|
1375
1418
|
|
|
1376
|
-
|
|
1377
|
-
|
|
1419
|
+
getCrawler(): RagCrawler | undefined;
|
|
1420
|
+
setCrawler(value?: RagCrawler): RagCreateCrawlerRequest;
|
|
1421
|
+
hasCrawler(): boolean;
|
|
1422
|
+
clearCrawler(): RagCreateCrawlerRequest;
|
|
1423
|
+
|
|
1424
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
1425
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): RagCreateCrawlerRequest;
|
|
1426
|
+
hasFieldMask(): boolean;
|
|
1427
|
+
clearFieldMask(): RagCreateCrawlerRequest;
|
|
1378
1428
|
|
|
1379
1429
|
serializeBinary(): Uint8Array;
|
|
1380
|
-
toObject(includeInstance?: boolean):
|
|
1381
|
-
static toObject(includeInstance: boolean, msg:
|
|
1382
|
-
static serializeBinaryToWriter(message:
|
|
1383
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1384
|
-
static deserializeBinaryFromReader(message:
|
|
1430
|
+
toObject(includeInstance?: boolean): RagCreateCrawlerRequest.AsObject;
|
|
1431
|
+
static toObject(includeInstance: boolean, msg: RagCreateCrawlerRequest): RagCreateCrawlerRequest.AsObject;
|
|
1432
|
+
static serializeBinaryToWriter(message: RagCreateCrawlerRequest, writer: jspb.BinaryWriter): void;
|
|
1433
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateCrawlerRequest;
|
|
1434
|
+
static deserializeBinaryFromReader(message: RagCreateCrawlerRequest, reader: jspb.BinaryReader): RagCreateCrawlerRequest;
|
|
1385
1435
|
}
|
|
1386
1436
|
|
|
1387
|
-
export namespace
|
|
1437
|
+
export namespace RagCreateCrawlerRequest {
|
|
1388
1438
|
export type AsObject = {
|
|
1389
1439
|
parent: string,
|
|
1390
1440
|
languageCode: string,
|
|
1391
|
-
|
|
1441
|
+
crawler?: RagCrawler.AsObject,
|
|
1442
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
1392
1443
|
}
|
|
1393
1444
|
}
|
|
1394
1445
|
|
|
1395
|
-
export class
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
hasGraph(): boolean;
|
|
1399
|
-
clearGraph(): RagGetKnowledgeGraphResponse;
|
|
1446
|
+
export class RagDeleteCrawlerRequest extends jspb.Message {
|
|
1447
|
+
getName(): string;
|
|
1448
|
+
setName(value: string): RagDeleteCrawlerRequest;
|
|
1400
1449
|
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
hasMindMap(): boolean;
|
|
1404
|
-
clearMindMap(): RagGetKnowledgeGraphResponse;
|
|
1450
|
+
getParent(): string;
|
|
1451
|
+
setParent(value: string): RagDeleteCrawlerRequest;
|
|
1405
1452
|
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
hasAdditionalFields(): boolean;
|
|
1409
|
-
clearAdditionalFields(): RagGetKnowledgeGraphResponse;
|
|
1453
|
+
getLanguageCode(): string;
|
|
1454
|
+
setLanguageCode(value: string): RagDeleteCrawlerRequest;
|
|
1410
1455
|
|
|
1411
1456
|
serializeBinary(): Uint8Array;
|
|
1412
|
-
toObject(includeInstance?: boolean):
|
|
1413
|
-
static toObject(includeInstance: boolean, msg:
|
|
1414
|
-
static serializeBinaryToWriter(message:
|
|
1415
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1416
|
-
static deserializeBinaryFromReader(message:
|
|
1457
|
+
toObject(includeInstance?: boolean): RagDeleteCrawlerRequest.AsObject;
|
|
1458
|
+
static toObject(includeInstance: boolean, msg: RagDeleteCrawlerRequest): RagDeleteCrawlerRequest.AsObject;
|
|
1459
|
+
static serializeBinaryToWriter(message: RagDeleteCrawlerRequest, writer: jspb.BinaryWriter): void;
|
|
1460
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlerRequest;
|
|
1461
|
+
static deserializeBinaryFromReader(message: RagDeleteCrawlerRequest, reader: jspb.BinaryReader): RagDeleteCrawlerRequest;
|
|
1417
1462
|
}
|
|
1418
1463
|
|
|
1419
|
-
export namespace
|
|
1464
|
+
export namespace RagDeleteCrawlerRequest {
|
|
1420
1465
|
export type AsObject = {
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1466
|
+
name: string,
|
|
1467
|
+
parent: string,
|
|
1468
|
+
languageCode: string,
|
|
1424
1469
|
}
|
|
1425
1470
|
}
|
|
1426
1471
|
|
|
1427
|
-
export class
|
|
1428
|
-
|
|
1429
|
-
|
|
1472
|
+
export class RagDeleteCrawlerResponse extends jspb.Message {
|
|
1473
|
+
getName(): string;
|
|
1474
|
+
setName(value: string): RagDeleteCrawlerResponse;
|
|
1475
|
+
|
|
1476
|
+
getErrorMessage(): string;
|
|
1477
|
+
setErrorMessage(value: string): RagDeleteCrawlerResponse;
|
|
1430
1478
|
|
|
1431
1479
|
serializeBinary(): Uint8Array;
|
|
1432
|
-
toObject(includeInstance?: boolean):
|
|
1433
|
-
static toObject(includeInstance: boolean, msg:
|
|
1434
|
-
static serializeBinaryToWriter(message:
|
|
1435
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1436
|
-
static deserializeBinaryFromReader(message:
|
|
1480
|
+
toObject(includeInstance?: boolean): RagDeleteCrawlerResponse.AsObject;
|
|
1481
|
+
static toObject(includeInstance: boolean, msg: RagDeleteCrawlerResponse): RagDeleteCrawlerResponse.AsObject;
|
|
1482
|
+
static serializeBinaryToWriter(message: RagDeleteCrawlerResponse, writer: jspb.BinaryWriter): void;
|
|
1483
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlerResponse;
|
|
1484
|
+
static deserializeBinaryFromReader(message: RagDeleteCrawlerResponse, reader: jspb.BinaryReader): RagDeleteCrawlerResponse;
|
|
1437
1485
|
}
|
|
1438
1486
|
|
|
1439
|
-
export namespace
|
|
1487
|
+
export namespace RagDeleteCrawlerResponse {
|
|
1440
1488
|
export type AsObject = {
|
|
1441
|
-
|
|
1489
|
+
name: string,
|
|
1490
|
+
errorMessage: string,
|
|
1442
1491
|
}
|
|
1443
1492
|
}
|
|
1444
1493
|
|
|
1445
|
-
export class
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
getDocId(): string;
|
|
1450
|
-
setDocId(value: string): RagTaskStatus;
|
|
1451
|
-
|
|
1452
|
-
getFromPage(): number;
|
|
1453
|
-
setFromPage(value: number): RagTaskStatus;
|
|
1454
|
-
hasFromPage(): boolean;
|
|
1455
|
-
clearFromPage(): RagTaskStatus;
|
|
1456
|
-
|
|
1457
|
-
getToPage(): number;
|
|
1458
|
-
setToPage(value: number): RagTaskStatus;
|
|
1459
|
-
hasToPage(): boolean;
|
|
1460
|
-
clearToPage(): RagTaskStatus;
|
|
1461
|
-
|
|
1462
|
-
getTaskType(): string;
|
|
1463
|
-
setTaskType(value: string): RagTaskStatus;
|
|
1464
|
-
|
|
1465
|
-
getPriority(): number;
|
|
1466
|
-
setPriority(value: number): RagTaskStatus;
|
|
1467
|
-
hasPriority(): boolean;
|
|
1468
|
-
clearPriority(): RagTaskStatus;
|
|
1469
|
-
|
|
1470
|
-
getBeginAt(): string;
|
|
1471
|
-
setBeginAt(value: string): RagTaskStatus;
|
|
1472
|
-
|
|
1473
|
-
getProcessDuration(): number;
|
|
1474
|
-
setProcessDuration(value: number): RagTaskStatus;
|
|
1475
|
-
hasProcessDuration(): boolean;
|
|
1476
|
-
clearProcessDuration(): RagTaskStatus;
|
|
1477
|
-
|
|
1478
|
-
getProgress(): number;
|
|
1479
|
-
setProgress(value: number): RagTaskStatus;
|
|
1480
|
-
hasProgress(): boolean;
|
|
1481
|
-
clearProgress(): RagTaskStatus;
|
|
1482
|
-
|
|
1483
|
-
getProgressMsg(): string;
|
|
1484
|
-
setProgressMsg(value: string): RagTaskStatus;
|
|
1485
|
-
|
|
1486
|
-
getRetryCount(): number;
|
|
1487
|
-
setRetryCount(value: number): RagTaskStatus;
|
|
1488
|
-
hasRetryCount(): boolean;
|
|
1489
|
-
clearRetryCount(): RagTaskStatus;
|
|
1494
|
+
export class RagDeleteCrawlersRequest extends jspb.Message {
|
|
1495
|
+
getParent(): string;
|
|
1496
|
+
setParent(value: string): RagDeleteCrawlersRequest;
|
|
1490
1497
|
|
|
1491
|
-
|
|
1492
|
-
|
|
1498
|
+
getLanguageCode(): string;
|
|
1499
|
+
setLanguageCode(value: string): RagDeleteCrawlersRequest;
|
|
1493
1500
|
|
|
1494
|
-
|
|
1495
|
-
|
|
1501
|
+
getNamesList(): Array<string>;
|
|
1502
|
+
setNamesList(value: Array<string>): RagDeleteCrawlersRequest;
|
|
1503
|
+
clearNamesList(): RagDeleteCrawlersRequest;
|
|
1504
|
+
addNames(value: string, index?: number): RagDeleteCrawlersRequest;
|
|
1496
1505
|
|
|
1497
1506
|
serializeBinary(): Uint8Array;
|
|
1498
|
-
toObject(includeInstance?: boolean):
|
|
1499
|
-
static toObject(includeInstance: boolean, msg:
|
|
1500
|
-
static serializeBinaryToWriter(message:
|
|
1501
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1502
|
-
static deserializeBinaryFromReader(message:
|
|
1507
|
+
toObject(includeInstance?: boolean): RagDeleteCrawlersRequest.AsObject;
|
|
1508
|
+
static toObject(includeInstance: boolean, msg: RagDeleteCrawlersRequest): RagDeleteCrawlersRequest.AsObject;
|
|
1509
|
+
static serializeBinaryToWriter(message: RagDeleteCrawlersRequest, writer: jspb.BinaryWriter): void;
|
|
1510
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlersRequest;
|
|
1511
|
+
static deserializeBinaryFromReader(message: RagDeleteCrawlersRequest, reader: jspb.BinaryReader): RagDeleteCrawlersRequest;
|
|
1503
1512
|
}
|
|
1504
1513
|
|
|
1505
|
-
export namespace
|
|
1514
|
+
export namespace RagDeleteCrawlersRequest {
|
|
1506
1515
|
export type AsObject = {
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
toPage?: number,
|
|
1511
|
-
taskType: string,
|
|
1512
|
-
priority?: number,
|
|
1513
|
-
beginAt: string,
|
|
1514
|
-
processDuration?: number,
|
|
1515
|
-
progress?: number,
|
|
1516
|
-
progressMsg: string,
|
|
1517
|
-
retryCount?: number,
|
|
1518
|
-
digest: string,
|
|
1519
|
-
chunkIds: string,
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
export enum FromPageCase {
|
|
1523
|
-
_FROM_PAGE_NOT_SET = 0,
|
|
1524
|
-
FROM_PAGE = 3,
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
export enum ToPageCase {
|
|
1528
|
-
_TO_PAGE_NOT_SET = 0,
|
|
1529
|
-
TO_PAGE = 4,
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
export enum PriorityCase {
|
|
1533
|
-
_PRIORITY_NOT_SET = 0,
|
|
1534
|
-
PRIORITY = 6,
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
export enum ProcessDurationCase {
|
|
1538
|
-
_PROCESS_DURATION_NOT_SET = 0,
|
|
1539
|
-
PROCESS_DURATION = 8,
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
export enum ProgressCase {
|
|
1543
|
-
_PROGRESS_NOT_SET = 0,
|
|
1544
|
-
PROGRESS = 9,
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
export enum RetryCountCase {
|
|
1548
|
-
_RETRY_COUNT_NOT_SET = 0,
|
|
1549
|
-
RETRY_COUNT = 11,
|
|
1516
|
+
parent: string,
|
|
1517
|
+
languageCode: string,
|
|
1518
|
+
namesList: Array<string>,
|
|
1550
1519
|
}
|
|
1551
1520
|
}
|
|
1552
1521
|
|
|
1553
|
-
export class
|
|
1554
|
-
|
|
1555
|
-
|
|
1522
|
+
export class RagDeleteCrawlersResponse extends jspb.Message {
|
|
1523
|
+
getDeleteCrawlerResponsesList(): Array<RagDeleteCrawlerResponse>;
|
|
1524
|
+
setDeleteCrawlerResponsesList(value: Array<RagDeleteCrawlerResponse>): RagDeleteCrawlersResponse;
|
|
1525
|
+
clearDeleteCrawlerResponsesList(): RagDeleteCrawlersResponse;
|
|
1526
|
+
addDeleteCrawlerResponses(value?: RagDeleteCrawlerResponse, index?: number): RagDeleteCrawlerResponse;
|
|
1527
|
+
|
|
1528
|
+
getErrorMessage(): string;
|
|
1529
|
+
setErrorMessage(value: string): RagDeleteCrawlersResponse;
|
|
1556
1530
|
|
|
1557
1531
|
serializeBinary(): Uint8Array;
|
|
1558
|
-
toObject(includeInstance?: boolean):
|
|
1559
|
-
static toObject(includeInstance: boolean, msg:
|
|
1560
|
-
static serializeBinaryToWriter(message:
|
|
1561
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1562
|
-
static deserializeBinaryFromReader(message:
|
|
1532
|
+
toObject(includeInstance?: boolean): RagDeleteCrawlersResponse.AsObject;
|
|
1533
|
+
static toObject(includeInstance: boolean, msg: RagDeleteCrawlersResponse): RagDeleteCrawlersResponse.AsObject;
|
|
1534
|
+
static serializeBinaryToWriter(message: RagDeleteCrawlersResponse, writer: jspb.BinaryWriter): void;
|
|
1535
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlersResponse;
|
|
1536
|
+
static deserializeBinaryFromReader(message: RagDeleteCrawlersResponse, reader: jspb.BinaryReader): RagDeleteCrawlersResponse;
|
|
1563
1537
|
}
|
|
1564
1538
|
|
|
1565
|
-
export namespace
|
|
1539
|
+
export namespace RagDeleteCrawlersResponse {
|
|
1566
1540
|
export type AsObject = {
|
|
1567
|
-
|
|
1541
|
+
deleteCrawlerResponsesList: Array<RagDeleteCrawlerResponse.AsObject>,
|
|
1542
|
+
errorMessage: string,
|
|
1568
1543
|
}
|
|
1569
1544
|
}
|
|
1570
1545
|
|
|
1571
|
-
export class
|
|
1546
|
+
export class RagListCrawlersRequest extends jspb.Message {
|
|
1572
1547
|
getParent(): string;
|
|
1573
|
-
setParent(value: string):
|
|
1548
|
+
setParent(value: string): RagListCrawlersRequest;
|
|
1574
1549
|
|
|
1575
1550
|
getLanguageCode(): string;
|
|
1576
|
-
setLanguageCode(value: string):
|
|
1551
|
+
setLanguageCode(value: string): RagListCrawlersRequest;
|
|
1577
1552
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1553
|
+
getPageToken(): string;
|
|
1554
|
+
setPageToken(value: string): RagListCrawlersRequest;
|
|
1580
1555
|
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1556
|
+
getDatasetName(): string;
|
|
1557
|
+
setDatasetName(value: string): RagListCrawlersRequest;
|
|
1558
|
+
|
|
1559
|
+
getCrawlerName(): string;
|
|
1560
|
+
setCrawlerName(value: string): RagListCrawlersRequest;
|
|
1561
|
+
|
|
1562
|
+
getOrderby(): string;
|
|
1563
|
+
setOrderby(value: string): RagListCrawlersRequest;
|
|
1564
|
+
|
|
1565
|
+
getSortingMode(): ondewo_nlu_common_pb.SortingMode;
|
|
1566
|
+
setSortingMode(value: ondewo_nlu_common_pb.SortingMode): RagListCrawlersRequest;
|
|
1567
|
+
hasSortingMode(): boolean;
|
|
1568
|
+
clearSortingMode(): RagListCrawlersRequest;
|
|
1585
1569
|
|
|
1586
1570
|
serializeBinary(): Uint8Array;
|
|
1587
|
-
toObject(includeInstance?: boolean):
|
|
1588
|
-
static toObject(includeInstance: boolean, msg:
|
|
1589
|
-
static serializeBinaryToWriter(message:
|
|
1590
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1591
|
-
static deserializeBinaryFromReader(message:
|
|
1571
|
+
toObject(includeInstance?: boolean): RagListCrawlersRequest.AsObject;
|
|
1572
|
+
static toObject(includeInstance: boolean, msg: RagListCrawlersRequest): RagListCrawlersRequest.AsObject;
|
|
1573
|
+
static serializeBinaryToWriter(message: RagListCrawlersRequest, writer: jspb.BinaryWriter): void;
|
|
1574
|
+
static deserializeBinary(bytes: Uint8Array): RagListCrawlersRequest;
|
|
1575
|
+
static deserializeBinaryFromReader(message: RagListCrawlersRequest, reader: jspb.BinaryReader): RagListCrawlersRequest;
|
|
1592
1576
|
}
|
|
1593
1577
|
|
|
1594
|
-
export namespace
|
|
1578
|
+
export namespace RagListCrawlersRequest {
|
|
1595
1579
|
export type AsObject = {
|
|
1596
1580
|
parent: string,
|
|
1597
1581
|
languageCode: string,
|
|
1598
|
-
|
|
1599
|
-
|
|
1582
|
+
pageToken: string,
|
|
1583
|
+
datasetName: string,
|
|
1584
|
+
crawlerName: string,
|
|
1585
|
+
orderby: string,
|
|
1586
|
+
sortingMode?: ondewo_nlu_common_pb.SortingMode,
|
|
1600
1587
|
}
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
export class RagStopParsingRequest extends jspb.Message {
|
|
1604
|
-
getParent(): string;
|
|
1605
|
-
setParent(value: string): RagStopParsingRequest;
|
|
1606
1588
|
|
|
1607
|
-
|
|
1608
|
-
|
|
1589
|
+
export enum SortingModeCase {
|
|
1590
|
+
_SORTING_MODE_NOT_SET = 0,
|
|
1591
|
+
SORTING_MODE = 7,
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1609
1594
|
|
|
1610
|
-
|
|
1611
|
-
|
|
1595
|
+
export class RagListCrawlersResponse extends jspb.Message {
|
|
1596
|
+
getCrawlersList(): Array<RagCrawler>;
|
|
1597
|
+
setCrawlersList(value: Array<RagCrawler>): RagListCrawlersResponse;
|
|
1598
|
+
clearCrawlersList(): RagListCrawlersResponse;
|
|
1599
|
+
addCrawlers(value?: RagCrawler, index?: number): RagCrawler;
|
|
1612
1600
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
clearDocumentIdsList(): RagStopParsingRequest;
|
|
1616
|
-
addDocumentIds(value: string, index?: number): RagStopParsingRequest;
|
|
1601
|
+
getNextPageToken(): string;
|
|
1602
|
+
setNextPageToken(value: string): RagListCrawlersResponse;
|
|
1617
1603
|
|
|
1618
1604
|
serializeBinary(): Uint8Array;
|
|
1619
|
-
toObject(includeInstance?: boolean):
|
|
1620
|
-
static toObject(includeInstance: boolean, msg:
|
|
1621
|
-
static serializeBinaryToWriter(message:
|
|
1622
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1623
|
-
static deserializeBinaryFromReader(message:
|
|
1605
|
+
toObject(includeInstance?: boolean): RagListCrawlersResponse.AsObject;
|
|
1606
|
+
static toObject(includeInstance: boolean, msg: RagListCrawlersResponse): RagListCrawlersResponse.AsObject;
|
|
1607
|
+
static serializeBinaryToWriter(message: RagListCrawlersResponse, writer: jspb.BinaryWriter): void;
|
|
1608
|
+
static deserializeBinary(bytes: Uint8Array): RagListCrawlersResponse;
|
|
1609
|
+
static deserializeBinaryFromReader(message: RagListCrawlersResponse, reader: jspb.BinaryReader): RagListCrawlersResponse;
|
|
1624
1610
|
}
|
|
1625
1611
|
|
|
1626
|
-
export namespace
|
|
1612
|
+
export namespace RagListCrawlersResponse {
|
|
1627
1613
|
export type AsObject = {
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
datasetId: string,
|
|
1631
|
-
documentIdsList: Array<string>,
|
|
1614
|
+
crawlersList: Array<RagCrawler.AsObject>,
|
|
1615
|
+
nextPageToken: string,
|
|
1632
1616
|
}
|
|
1633
1617
|
}
|
|
1634
1618
|
|
|
1635
|
-
export class
|
|
1619
|
+
export class RagGetCrawlerRequest extends jspb.Message {
|
|
1620
|
+
getName(): string;
|
|
1621
|
+
setName(value: string): RagGetCrawlerRequest;
|
|
1622
|
+
|
|
1636
1623
|
getParent(): string;
|
|
1637
|
-
setParent(value: string):
|
|
1624
|
+
setParent(value: string): RagGetCrawlerRequest;
|
|
1638
1625
|
|
|
1639
1626
|
getLanguageCode(): string;
|
|
1640
|
-
setLanguageCode(value: string):
|
|
1641
|
-
|
|
1642
|
-
getDatasetId(): string;
|
|
1643
|
-
setDatasetId(value: string): RagListChunksRequest;
|
|
1644
|
-
|
|
1645
|
-
getDocumentId(): string;
|
|
1646
|
-
setDocumentId(value: string): RagListChunksRequest;
|
|
1647
|
-
|
|
1648
|
-
getPagination(): string;
|
|
1649
|
-
setPagination(value: string): RagListChunksRequest;
|
|
1650
|
-
|
|
1651
|
-
getKeywords(): string;
|
|
1652
|
-
setKeywords(value: string): RagListChunksRequest;
|
|
1653
|
-
|
|
1654
|
-
getId(): string;
|
|
1655
|
-
setId(value: string): RagListChunksRequest;
|
|
1656
|
-
|
|
1657
|
-
serializeBinary(): Uint8Array;
|
|
1658
|
-
toObject(includeInstance?: boolean): RagListChunksRequest.AsObject;
|
|
1659
|
-
static toObject(includeInstance: boolean, msg: RagListChunksRequest): RagListChunksRequest.AsObject;
|
|
1660
|
-
static serializeBinaryToWriter(message: RagListChunksRequest, writer: jspb.BinaryWriter): void;
|
|
1661
|
-
static deserializeBinary(bytes: Uint8Array): RagListChunksRequest;
|
|
1662
|
-
static deserializeBinaryFromReader(message: RagListChunksRequest, reader: jspb.BinaryReader): RagListChunksRequest;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
export namespace RagListChunksRequest {
|
|
1666
|
-
export type AsObject = {
|
|
1667
|
-
parent: string,
|
|
1668
|
-
languageCode: string,
|
|
1669
|
-
datasetId: string,
|
|
1670
|
-
documentId: string,
|
|
1671
|
-
pagination: string,
|
|
1672
|
-
keywords: string,
|
|
1673
|
-
id: string,
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
export class RagListChunksResponse extends jspb.Message {
|
|
1678
|
-
getTotal(): number;
|
|
1679
|
-
setTotal(value: number): RagListChunksResponse;
|
|
1680
|
-
hasTotal(): boolean;
|
|
1681
|
-
clearTotal(): RagListChunksResponse;
|
|
1682
|
-
|
|
1683
|
-
getChunksList(): Array<RagChunk>;
|
|
1684
|
-
setChunksList(value: Array<RagChunk>): RagListChunksResponse;
|
|
1685
|
-
clearChunksList(): RagListChunksResponse;
|
|
1686
|
-
addChunks(value?: RagChunk, index?: number): RagChunk;
|
|
1687
|
-
|
|
1688
|
-
getDoc(): RagDocument | undefined;
|
|
1689
|
-
setDoc(value?: RagDocument): RagListChunksResponse;
|
|
1690
|
-
hasDoc(): boolean;
|
|
1691
|
-
clearDoc(): RagListChunksResponse;
|
|
1692
|
-
|
|
1693
|
-
serializeBinary(): Uint8Array;
|
|
1694
|
-
toObject(includeInstance?: boolean): RagListChunksResponse.AsObject;
|
|
1695
|
-
static toObject(includeInstance: boolean, msg: RagListChunksResponse): RagListChunksResponse.AsObject;
|
|
1696
|
-
static serializeBinaryToWriter(message: RagListChunksResponse, writer: jspb.BinaryWriter): void;
|
|
1697
|
-
static deserializeBinary(bytes: Uint8Array): RagListChunksResponse;
|
|
1698
|
-
static deserializeBinaryFromReader(message: RagListChunksResponse, reader: jspb.BinaryReader): RagListChunksResponse;
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
export namespace RagListChunksResponse {
|
|
1702
|
-
export type AsObject = {
|
|
1703
|
-
total?: number,
|
|
1704
|
-
chunksList: Array<RagChunk.AsObject>,
|
|
1705
|
-
doc?: RagDocument.AsObject,
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
export enum TotalCase {
|
|
1709
|
-
_TOTAL_NOT_SET = 0,
|
|
1710
|
-
TOTAL = 1,
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
export class RagAddChunkRequest extends jspb.Message {
|
|
1715
|
-
getParent(): string;
|
|
1716
|
-
setParent(value: string): RagAddChunkRequest;
|
|
1717
|
-
|
|
1718
|
-
getLanguageCode(): string;
|
|
1719
|
-
setLanguageCode(value: string): RagAddChunkRequest;
|
|
1720
|
-
|
|
1721
|
-
getDatasetId(): string;
|
|
1722
|
-
setDatasetId(value: string): RagAddChunkRequest;
|
|
1723
|
-
|
|
1724
|
-
getDocumentId(): string;
|
|
1725
|
-
setDocumentId(value: string): RagAddChunkRequest;
|
|
1726
|
-
|
|
1727
|
-
getContent(): string;
|
|
1728
|
-
setContent(value: string): RagAddChunkRequest;
|
|
1729
|
-
|
|
1730
|
-
getImportantKeywordsList(): Array<string>;
|
|
1731
|
-
setImportantKeywordsList(value: Array<string>): RagAddChunkRequest;
|
|
1732
|
-
clearImportantKeywordsList(): RagAddChunkRequest;
|
|
1733
|
-
addImportantKeywords(value: string, index?: number): RagAddChunkRequest;
|
|
1734
|
-
|
|
1735
|
-
getQuestionsList(): Array<string>;
|
|
1736
|
-
setQuestionsList(value: Array<string>): RagAddChunkRequest;
|
|
1737
|
-
clearQuestionsList(): RagAddChunkRequest;
|
|
1738
|
-
addQuestions(value: string, index?: number): RagAddChunkRequest;
|
|
1739
|
-
|
|
1740
|
-
serializeBinary(): Uint8Array;
|
|
1741
|
-
toObject(includeInstance?: boolean): RagAddChunkRequest.AsObject;
|
|
1742
|
-
static toObject(includeInstance: boolean, msg: RagAddChunkRequest): RagAddChunkRequest.AsObject;
|
|
1743
|
-
static serializeBinaryToWriter(message: RagAddChunkRequest, writer: jspb.BinaryWriter): void;
|
|
1744
|
-
static deserializeBinary(bytes: Uint8Array): RagAddChunkRequest;
|
|
1745
|
-
static deserializeBinaryFromReader(message: RagAddChunkRequest, reader: jspb.BinaryReader): RagAddChunkRequest;
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
export namespace RagAddChunkRequest {
|
|
1749
|
-
export type AsObject = {
|
|
1750
|
-
parent: string,
|
|
1751
|
-
languageCode: string,
|
|
1752
|
-
datasetId: string,
|
|
1753
|
-
documentId: string,
|
|
1754
|
-
content: string,
|
|
1755
|
-
importantKeywordsList: Array<string>,
|
|
1756
|
-
questionsList: Array<string>,
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
export class RagAddChunkResponse extends jspb.Message {
|
|
1761
|
-
getChunk(): RagChunk | undefined;
|
|
1762
|
-
setChunk(value?: RagChunk): RagAddChunkResponse;
|
|
1763
|
-
hasChunk(): boolean;
|
|
1764
|
-
clearChunk(): RagAddChunkResponse;
|
|
1765
|
-
|
|
1766
|
-
serializeBinary(): Uint8Array;
|
|
1767
|
-
toObject(includeInstance?: boolean): RagAddChunkResponse.AsObject;
|
|
1768
|
-
static toObject(includeInstance: boolean, msg: RagAddChunkResponse): RagAddChunkResponse.AsObject;
|
|
1769
|
-
static serializeBinaryToWriter(message: RagAddChunkResponse, writer: jspb.BinaryWriter): void;
|
|
1770
|
-
static deserializeBinary(bytes: Uint8Array): RagAddChunkResponse;
|
|
1771
|
-
static deserializeBinaryFromReader(message: RagAddChunkResponse, reader: jspb.BinaryReader): RagAddChunkResponse;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
export namespace RagAddChunkResponse {
|
|
1775
|
-
export type AsObject = {
|
|
1776
|
-
chunk?: RagChunk.AsObject,
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
|
-
export class RagRemoveChunksRequest extends jspb.Message {
|
|
1781
|
-
getParent(): string;
|
|
1782
|
-
setParent(value: string): RagRemoveChunksRequest;
|
|
1783
|
-
|
|
1784
|
-
getLanguageCode(): string;
|
|
1785
|
-
setLanguageCode(value: string): RagRemoveChunksRequest;
|
|
1786
|
-
|
|
1787
|
-
getDatasetId(): string;
|
|
1788
|
-
setDatasetId(value: string): RagRemoveChunksRequest;
|
|
1789
|
-
|
|
1790
|
-
getDocumentId(): string;
|
|
1791
|
-
setDocumentId(value: string): RagRemoveChunksRequest;
|
|
1792
|
-
|
|
1793
|
-
getChunkIdsList(): Array<string>;
|
|
1794
|
-
setChunkIdsList(value: Array<string>): RagRemoveChunksRequest;
|
|
1795
|
-
clearChunkIdsList(): RagRemoveChunksRequest;
|
|
1796
|
-
addChunkIds(value: string, index?: number): RagRemoveChunksRequest;
|
|
1797
|
-
|
|
1798
|
-
serializeBinary(): Uint8Array;
|
|
1799
|
-
toObject(includeInstance?: boolean): RagRemoveChunksRequest.AsObject;
|
|
1800
|
-
static toObject(includeInstance: boolean, msg: RagRemoveChunksRequest): RagRemoveChunksRequest.AsObject;
|
|
1801
|
-
static serializeBinaryToWriter(message: RagRemoveChunksRequest, writer: jspb.BinaryWriter): void;
|
|
1802
|
-
static deserializeBinary(bytes: Uint8Array): RagRemoveChunksRequest;
|
|
1803
|
-
static deserializeBinaryFromReader(message: RagRemoveChunksRequest, reader: jspb.BinaryReader): RagRemoveChunksRequest;
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
export namespace RagRemoveChunksRequest {
|
|
1807
|
-
export type AsObject = {
|
|
1808
|
-
parent: string,
|
|
1809
|
-
languageCode: string,
|
|
1810
|
-
datasetId: string,
|
|
1811
|
-
documentId: string,
|
|
1812
|
-
chunkIdsList: Array<string>,
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
|
-
export class RagUpdateChunkRequest extends jspb.Message {
|
|
1817
|
-
getParent(): string;
|
|
1818
|
-
setParent(value: string): RagUpdateChunkRequest;
|
|
1819
|
-
|
|
1820
|
-
getLanguageCode(): string;
|
|
1821
|
-
setLanguageCode(value: string): RagUpdateChunkRequest;
|
|
1822
|
-
|
|
1823
|
-
getDatasetId(): string;
|
|
1824
|
-
setDatasetId(value: string): RagUpdateChunkRequest;
|
|
1825
|
-
|
|
1826
|
-
getDocumentId(): string;
|
|
1827
|
-
setDocumentId(value: string): RagUpdateChunkRequest;
|
|
1828
|
-
|
|
1829
|
-
getChunkId(): string;
|
|
1830
|
-
setChunkId(value: string): RagUpdateChunkRequest;
|
|
1831
|
-
|
|
1832
|
-
getContent(): string;
|
|
1833
|
-
setContent(value: string): RagUpdateChunkRequest;
|
|
1834
|
-
|
|
1835
|
-
getImportantKeywordsList(): Array<string>;
|
|
1836
|
-
setImportantKeywordsList(value: Array<string>): RagUpdateChunkRequest;
|
|
1837
|
-
clearImportantKeywordsList(): RagUpdateChunkRequest;
|
|
1838
|
-
addImportantKeywords(value: string, index?: number): RagUpdateChunkRequest;
|
|
1839
|
-
|
|
1840
|
-
getQuestionsList(): Array<string>;
|
|
1841
|
-
setQuestionsList(value: Array<string>): RagUpdateChunkRequest;
|
|
1842
|
-
clearQuestionsList(): RagUpdateChunkRequest;
|
|
1843
|
-
addQuestions(value: string, index?: number): RagUpdateChunkRequest;
|
|
1844
|
-
|
|
1845
|
-
getAvailable(): boolean;
|
|
1846
|
-
setAvailable(value: boolean): RagUpdateChunkRequest;
|
|
1847
|
-
hasAvailable(): boolean;
|
|
1848
|
-
clearAvailable(): RagUpdateChunkRequest;
|
|
1849
|
-
|
|
1850
|
-
getPositionsList(): Array<google_protobuf_struct_pb.ListValue>;
|
|
1851
|
-
setPositionsList(value: Array<google_protobuf_struct_pb.ListValue>): RagUpdateChunkRequest;
|
|
1852
|
-
clearPositionsList(): RagUpdateChunkRequest;
|
|
1853
|
-
addPositions(value?: google_protobuf_struct_pb.ListValue, index?: number): google_protobuf_struct_pb.ListValue;
|
|
1854
|
-
|
|
1855
|
-
serializeBinary(): Uint8Array;
|
|
1856
|
-
toObject(includeInstance?: boolean): RagUpdateChunkRequest.AsObject;
|
|
1857
|
-
static toObject(includeInstance: boolean, msg: RagUpdateChunkRequest): RagUpdateChunkRequest.AsObject;
|
|
1858
|
-
static serializeBinaryToWriter(message: RagUpdateChunkRequest, writer: jspb.BinaryWriter): void;
|
|
1859
|
-
static deserializeBinary(bytes: Uint8Array): RagUpdateChunkRequest;
|
|
1860
|
-
static deserializeBinaryFromReader(message: RagUpdateChunkRequest, reader: jspb.BinaryReader): RagUpdateChunkRequest;
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
export namespace RagUpdateChunkRequest {
|
|
1864
|
-
export type AsObject = {
|
|
1865
|
-
parent: string,
|
|
1866
|
-
languageCode: string,
|
|
1867
|
-
datasetId: string,
|
|
1868
|
-
documentId: string,
|
|
1869
|
-
chunkId: string,
|
|
1870
|
-
content: string,
|
|
1871
|
-
importantKeywordsList: Array<string>,
|
|
1872
|
-
questionsList: Array<string>,
|
|
1873
|
-
available?: boolean,
|
|
1874
|
-
positionsList: Array<google_protobuf_struct_pb.ListValue.AsObject>,
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
|
-
export enum AvailableCase {
|
|
1878
|
-
_AVAILABLE_NOT_SET = 0,
|
|
1879
|
-
AVAILABLE = 9,
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
export class RagCreateChatAssistantRequest extends jspb.Message {
|
|
1884
|
-
getParent(): string;
|
|
1885
|
-
setParent(value: string): RagCreateChatAssistantRequest;
|
|
1886
|
-
|
|
1887
|
-
getLanguageCode(): string;
|
|
1888
|
-
setLanguageCode(value: string): RagCreateChatAssistantRequest;
|
|
1889
|
-
|
|
1890
|
-
getName(): string;
|
|
1891
|
-
setName(value: string): RagCreateChatAssistantRequest;
|
|
1892
|
-
|
|
1893
|
-
getDescription(): string;
|
|
1894
|
-
setDescription(value: string): RagCreateChatAssistantRequest;
|
|
1895
|
-
|
|
1896
|
-
getAvatar(): string;
|
|
1897
|
-
setAvatar(value: string): RagCreateChatAssistantRequest;
|
|
1898
|
-
|
|
1899
|
-
getDatasetIdsList(): Array<string>;
|
|
1900
|
-
setDatasetIdsList(value: Array<string>): RagCreateChatAssistantRequest;
|
|
1901
|
-
clearDatasetIdsList(): RagCreateChatAssistantRequest;
|
|
1902
|
-
addDatasetIds(value: string, index?: number): RagCreateChatAssistantRequest;
|
|
1903
|
-
|
|
1904
|
-
getLlm(): RagLlmSetting | undefined;
|
|
1905
|
-
setLlm(value?: RagLlmSetting): RagCreateChatAssistantRequest;
|
|
1906
|
-
hasLlm(): boolean;
|
|
1907
|
-
clearLlm(): RagCreateChatAssistantRequest;
|
|
1908
|
-
|
|
1909
|
-
getPrompt(): RagPromptConfig | undefined;
|
|
1910
|
-
setPrompt(value?: RagPromptConfig): RagCreateChatAssistantRequest;
|
|
1911
|
-
hasPrompt(): boolean;
|
|
1912
|
-
clearPrompt(): RagCreateChatAssistantRequest;
|
|
1913
|
-
|
|
1914
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1915
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateChatAssistantRequest;
|
|
1916
|
-
hasAdditionalFields(): boolean;
|
|
1917
|
-
clearAdditionalFields(): RagCreateChatAssistantRequest;
|
|
1918
|
-
|
|
1919
|
-
serializeBinary(): Uint8Array;
|
|
1920
|
-
toObject(includeInstance?: boolean): RagCreateChatAssistantRequest.AsObject;
|
|
1921
|
-
static toObject(includeInstance: boolean, msg: RagCreateChatAssistantRequest): RagCreateChatAssistantRequest.AsObject;
|
|
1922
|
-
static serializeBinaryToWriter(message: RagCreateChatAssistantRequest, writer: jspb.BinaryWriter): void;
|
|
1923
|
-
static deserializeBinary(bytes: Uint8Array): RagCreateChatAssistantRequest;
|
|
1924
|
-
static deserializeBinaryFromReader(message: RagCreateChatAssistantRequest, reader: jspb.BinaryReader): RagCreateChatAssistantRequest;
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
export namespace RagCreateChatAssistantRequest {
|
|
1928
|
-
export type AsObject = {
|
|
1929
|
-
parent: string,
|
|
1930
|
-
languageCode: string,
|
|
1931
|
-
name: string,
|
|
1932
|
-
description: string,
|
|
1933
|
-
avatar: string,
|
|
1934
|
-
datasetIdsList: Array<string>,
|
|
1935
|
-
llm?: RagLlmSetting.AsObject,
|
|
1936
|
-
prompt?: RagPromptConfig.AsObject,
|
|
1937
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1938
|
-
}
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
export class RagLlmSetting extends jspb.Message {
|
|
1942
|
-
getModelName(): string;
|
|
1943
|
-
setModelName(value: string): RagLlmSetting;
|
|
1944
|
-
|
|
1945
|
-
getTemperature(): number;
|
|
1946
|
-
setTemperature(value: number): RagLlmSetting;
|
|
1947
|
-
hasTemperature(): boolean;
|
|
1948
|
-
clearTemperature(): RagLlmSetting;
|
|
1949
|
-
|
|
1950
|
-
getTopP(): number;
|
|
1951
|
-
setTopP(value: number): RagLlmSetting;
|
|
1952
|
-
hasTopP(): boolean;
|
|
1953
|
-
clearTopP(): RagLlmSetting;
|
|
1954
|
-
|
|
1955
|
-
getFrequencyPenalty(): number;
|
|
1956
|
-
setFrequencyPenalty(value: number): RagLlmSetting;
|
|
1957
|
-
hasFrequencyPenalty(): boolean;
|
|
1958
|
-
clearFrequencyPenalty(): RagLlmSetting;
|
|
1959
|
-
|
|
1960
|
-
getPresencePenalty(): number;
|
|
1961
|
-
setPresencePenalty(value: number): RagLlmSetting;
|
|
1962
|
-
hasPresencePenalty(): boolean;
|
|
1963
|
-
clearPresencePenalty(): RagLlmSetting;
|
|
1964
|
-
|
|
1965
|
-
getMaxTokens(): number;
|
|
1966
|
-
setMaxTokens(value: number): RagLlmSetting;
|
|
1967
|
-
|
|
1968
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1969
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagLlmSetting;
|
|
1970
|
-
hasAdditionalFields(): boolean;
|
|
1971
|
-
clearAdditionalFields(): RagLlmSetting;
|
|
1972
|
-
|
|
1973
|
-
serializeBinary(): Uint8Array;
|
|
1974
|
-
toObject(includeInstance?: boolean): RagLlmSetting.AsObject;
|
|
1975
|
-
static toObject(includeInstance: boolean, msg: RagLlmSetting): RagLlmSetting.AsObject;
|
|
1976
|
-
static serializeBinaryToWriter(message: RagLlmSetting, writer: jspb.BinaryWriter): void;
|
|
1977
|
-
static deserializeBinary(bytes: Uint8Array): RagLlmSetting;
|
|
1978
|
-
static deserializeBinaryFromReader(message: RagLlmSetting, reader: jspb.BinaryReader): RagLlmSetting;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
export namespace RagLlmSetting {
|
|
1982
|
-
export type AsObject = {
|
|
1983
|
-
modelName: string,
|
|
1984
|
-
temperature?: number,
|
|
1985
|
-
topP?: number,
|
|
1986
|
-
frequencyPenalty?: number,
|
|
1987
|
-
presencePenalty?: number,
|
|
1988
|
-
maxTokens: number,
|
|
1989
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1990
|
-
}
|
|
1991
|
-
|
|
1992
|
-
export enum TemperatureCase {
|
|
1993
|
-
_TEMPERATURE_NOT_SET = 0,
|
|
1994
|
-
TEMPERATURE = 2,
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
export enum TopPCase {
|
|
1998
|
-
_TOP_P_NOT_SET = 0,
|
|
1999
|
-
TOP_P = 3,
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
export enum FrequencyPenaltyCase {
|
|
2003
|
-
_FREQUENCY_PENALTY_NOT_SET = 0,
|
|
2004
|
-
FREQUENCY_PENALTY = 4,
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
|
-
export enum PresencePenaltyCase {
|
|
2008
|
-
_PRESENCE_PENALTY_NOT_SET = 0,
|
|
2009
|
-
PRESENCE_PENALTY = 5,
|
|
2010
|
-
}
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
export class RagPromptConfig extends jspb.Message {
|
|
2014
|
-
getPrompt(): string;
|
|
2015
|
-
setPrompt(value: string): RagPromptConfig;
|
|
2016
|
-
|
|
2017
|
-
getVariablesList(): Array<RagPromptVariable>;
|
|
2018
|
-
setVariablesList(value: Array<RagPromptVariable>): RagPromptConfig;
|
|
2019
|
-
clearVariablesList(): RagPromptConfig;
|
|
2020
|
-
addVariables(value?: RagPromptVariable, index?: number): RagPromptVariable;
|
|
2021
|
-
|
|
2022
|
-
getOpener(): string;
|
|
2023
|
-
setOpener(value: string): RagPromptConfig;
|
|
2024
|
-
|
|
2025
|
-
getShowQuote(): boolean;
|
|
2026
|
-
setShowQuote(value: boolean): RagPromptConfig;
|
|
2027
|
-
hasShowQuote(): boolean;
|
|
2028
|
-
clearShowQuote(): RagPromptConfig;
|
|
2029
|
-
|
|
2030
|
-
getEmptyResponse(): string;
|
|
2031
|
-
setEmptyResponse(value: string): RagPromptConfig;
|
|
2032
|
-
|
|
2033
|
-
getTts(): boolean;
|
|
2034
|
-
setTts(value: boolean): RagPromptConfig;
|
|
2035
|
-
hasTts(): boolean;
|
|
2036
|
-
clearTts(): RagPromptConfig;
|
|
2037
|
-
|
|
2038
|
-
getRefineMultiturn(): boolean;
|
|
2039
|
-
setRefineMultiturn(value: boolean): RagPromptConfig;
|
|
2040
|
-
hasRefineMultiturn(): boolean;
|
|
2041
|
-
clearRefineMultiturn(): RagPromptConfig;
|
|
2042
|
-
|
|
2043
|
-
getSimilarityThreshold(): number;
|
|
2044
|
-
setSimilarityThreshold(value: number): RagPromptConfig;
|
|
2045
|
-
hasSimilarityThreshold(): boolean;
|
|
2046
|
-
clearSimilarityThreshold(): RagPromptConfig;
|
|
2047
|
-
|
|
2048
|
-
getKeywordsSimilarityWeight(): number;
|
|
2049
|
-
setKeywordsSimilarityWeight(value: number): RagPromptConfig;
|
|
2050
|
-
hasKeywordsSimilarityWeight(): boolean;
|
|
2051
|
-
clearKeywordsSimilarityWeight(): RagPromptConfig;
|
|
2052
|
-
|
|
2053
|
-
getTopN(): number;
|
|
2054
|
-
setTopN(value: number): RagPromptConfig;
|
|
2055
|
-
|
|
2056
|
-
getTopK(): number;
|
|
2057
|
-
setTopK(value: number): RagPromptConfig;
|
|
2058
|
-
|
|
2059
|
-
getRerankModel(): string;
|
|
2060
|
-
setRerankModel(value: string): RagPromptConfig;
|
|
2061
|
-
|
|
2062
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2063
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagPromptConfig;
|
|
2064
|
-
hasAdditionalFields(): boolean;
|
|
2065
|
-
clearAdditionalFields(): RagPromptConfig;
|
|
2066
|
-
|
|
2067
|
-
serializeBinary(): Uint8Array;
|
|
2068
|
-
toObject(includeInstance?: boolean): RagPromptConfig.AsObject;
|
|
2069
|
-
static toObject(includeInstance: boolean, msg: RagPromptConfig): RagPromptConfig.AsObject;
|
|
2070
|
-
static serializeBinaryToWriter(message: RagPromptConfig, writer: jspb.BinaryWriter): void;
|
|
2071
|
-
static deserializeBinary(bytes: Uint8Array): RagPromptConfig;
|
|
2072
|
-
static deserializeBinaryFromReader(message: RagPromptConfig, reader: jspb.BinaryReader): RagPromptConfig;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
export namespace RagPromptConfig {
|
|
2076
|
-
export type AsObject = {
|
|
2077
|
-
prompt: string,
|
|
2078
|
-
variablesList: Array<RagPromptVariable.AsObject>,
|
|
2079
|
-
opener: string,
|
|
2080
|
-
showQuote?: boolean,
|
|
2081
|
-
emptyResponse: string,
|
|
2082
|
-
tts?: boolean,
|
|
2083
|
-
refineMultiturn?: boolean,
|
|
2084
|
-
similarityThreshold?: number,
|
|
2085
|
-
keywordsSimilarityWeight?: number,
|
|
2086
|
-
topN: number,
|
|
2087
|
-
topK: number,
|
|
2088
|
-
rerankModel: string,
|
|
2089
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
export enum ShowQuoteCase {
|
|
2093
|
-
_SHOW_QUOTE_NOT_SET = 0,
|
|
2094
|
-
SHOW_QUOTE = 4,
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
export enum TtsCase {
|
|
2098
|
-
_TTS_NOT_SET = 0,
|
|
2099
|
-
TTS = 6,
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
export enum RefineMultiturnCase {
|
|
2103
|
-
_REFINE_MULTITURN_NOT_SET = 0,
|
|
2104
|
-
REFINE_MULTITURN = 7,
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
export enum SimilarityThresholdCase {
|
|
2108
|
-
_SIMILARITY_THRESHOLD_NOT_SET = 0,
|
|
2109
|
-
SIMILARITY_THRESHOLD = 8,
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
export enum KeywordsSimilarityWeightCase {
|
|
2113
|
-
_KEYWORDS_SIMILARITY_WEIGHT_NOT_SET = 0,
|
|
2114
|
-
KEYWORDS_SIMILARITY_WEIGHT = 9,
|
|
2115
|
-
}
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
|
-
export class RagPromptVariable extends jspb.Message {
|
|
2119
|
-
getKey(): string;
|
|
2120
|
-
setKey(value: string): RagPromptVariable;
|
|
2121
|
-
|
|
2122
|
-
getOptional(): boolean;
|
|
2123
|
-
setOptional(value: boolean): RagPromptVariable;
|
|
2124
|
-
hasOptional(): boolean;
|
|
2125
|
-
clearOptional(): RagPromptVariable;
|
|
2126
|
-
|
|
2127
|
-
serializeBinary(): Uint8Array;
|
|
2128
|
-
toObject(includeInstance?: boolean): RagPromptVariable.AsObject;
|
|
2129
|
-
static toObject(includeInstance: boolean, msg: RagPromptVariable): RagPromptVariable.AsObject;
|
|
2130
|
-
static serializeBinaryToWriter(message: RagPromptVariable, writer: jspb.BinaryWriter): void;
|
|
2131
|
-
static deserializeBinary(bytes: Uint8Array): RagPromptVariable;
|
|
2132
|
-
static deserializeBinaryFromReader(message: RagPromptVariable, reader: jspb.BinaryReader): RagPromptVariable;
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
|
-
export namespace RagPromptVariable {
|
|
2136
|
-
export type AsObject = {
|
|
2137
|
-
key: string,
|
|
2138
|
-
optional?: boolean,
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
|
-
export enum OptionalCase {
|
|
2142
|
-
_OPTIONAL_NOT_SET = 0,
|
|
2143
|
-
OPTIONAL = 2,
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
export class RagChatAssistant extends jspb.Message {
|
|
2148
|
-
getId(): string;
|
|
2149
|
-
setId(value: string): RagChatAssistant;
|
|
2150
|
-
|
|
2151
|
-
getTenantId(): string;
|
|
2152
|
-
setTenantId(value: string): RagChatAssistant;
|
|
2153
|
-
|
|
2154
|
-
getName(): string;
|
|
2155
|
-
setName(value: string): RagChatAssistant;
|
|
2156
|
-
|
|
2157
|
-
getDescription(): string;
|
|
2158
|
-
setDescription(value: string): RagChatAssistant;
|
|
2159
|
-
|
|
2160
|
-
getAvatar(): string;
|
|
2161
|
-
setAvatar(value: string): RagChatAssistant;
|
|
2162
|
-
|
|
2163
|
-
getLanguage(): string;
|
|
2164
|
-
setLanguage(value: string): RagChatAssistant;
|
|
2165
|
-
|
|
2166
|
-
getDatasetIdsList(): Array<string>;
|
|
2167
|
-
setDatasetIdsList(value: Array<string>): RagChatAssistant;
|
|
2168
|
-
clearDatasetIdsList(): RagChatAssistant;
|
|
2169
|
-
addDatasetIds(value: string, index?: number): RagChatAssistant;
|
|
2170
|
-
|
|
2171
|
-
getDatasetsList(): Array<RagDataset>;
|
|
2172
|
-
setDatasetsList(value: Array<RagDataset>): RagChatAssistant;
|
|
2173
|
-
clearDatasetsList(): RagChatAssistant;
|
|
2174
|
-
addDatasets(value?: RagDataset, index?: number): RagDataset;
|
|
2175
|
-
|
|
2176
|
-
getLlm(): RagLlmSetting | undefined;
|
|
2177
|
-
setLlm(value?: RagLlmSetting): RagChatAssistant;
|
|
2178
|
-
hasLlm(): boolean;
|
|
2179
|
-
clearLlm(): RagChatAssistant;
|
|
2180
|
-
|
|
2181
|
-
getPromptType(): RagPromptType;
|
|
2182
|
-
setPromptType(value: RagPromptType): RagChatAssistant;
|
|
2183
|
-
hasPromptType(): boolean;
|
|
2184
|
-
clearPromptType(): RagChatAssistant;
|
|
2185
|
-
|
|
2186
|
-
getPrompt(): RagPromptConfig | undefined;
|
|
2187
|
-
setPrompt(value?: RagPromptConfig): RagChatAssistant;
|
|
2188
|
-
hasPrompt(): boolean;
|
|
2189
|
-
clearPrompt(): RagChatAssistant;
|
|
2190
|
-
|
|
2191
|
-
getMetaDataFilter(): google_protobuf_struct_pb.Struct | undefined;
|
|
2192
|
-
setMetaDataFilter(value?: google_protobuf_struct_pb.Struct): RagChatAssistant;
|
|
2193
|
-
hasMetaDataFilter(): boolean;
|
|
2194
|
-
clearMetaDataFilter(): RagChatAssistant;
|
|
2195
|
-
|
|
2196
|
-
getDoRefer(): string;
|
|
2197
|
-
setDoRefer(value: string): RagChatAssistant;
|
|
2198
|
-
|
|
2199
|
-
getStatus(): string;
|
|
2200
|
-
setStatus(value: string): RagChatAssistant;
|
|
2201
|
-
|
|
2202
|
-
getCreateTime(): number;
|
|
2203
|
-
setCreateTime(value: number): RagChatAssistant;
|
|
2204
|
-
|
|
2205
|
-
getCreateDate(): string;
|
|
2206
|
-
setCreateDate(value: string): RagChatAssistant;
|
|
2207
|
-
|
|
2208
|
-
getUpdateTime(): number;
|
|
2209
|
-
setUpdateTime(value: number): RagChatAssistant;
|
|
2210
|
-
|
|
2211
|
-
getUpdateDate(): string;
|
|
2212
|
-
setUpdateDate(value: string): RagChatAssistant;
|
|
2213
|
-
|
|
2214
|
-
serializeBinary(): Uint8Array;
|
|
2215
|
-
toObject(includeInstance?: boolean): RagChatAssistant.AsObject;
|
|
2216
|
-
static toObject(includeInstance: boolean, msg: RagChatAssistant): RagChatAssistant.AsObject;
|
|
2217
|
-
static serializeBinaryToWriter(message: RagChatAssistant, writer: jspb.BinaryWriter): void;
|
|
2218
|
-
static deserializeBinary(bytes: Uint8Array): RagChatAssistant;
|
|
2219
|
-
static deserializeBinaryFromReader(message: RagChatAssistant, reader: jspb.BinaryReader): RagChatAssistant;
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
export namespace RagChatAssistant {
|
|
2223
|
-
export type AsObject = {
|
|
2224
|
-
id: string,
|
|
2225
|
-
tenantId: string,
|
|
2226
|
-
name: string,
|
|
2227
|
-
description: string,
|
|
2228
|
-
avatar: string,
|
|
2229
|
-
language: string,
|
|
2230
|
-
datasetIdsList: Array<string>,
|
|
2231
|
-
datasetsList: Array<RagDataset.AsObject>,
|
|
2232
|
-
llm?: RagLlmSetting.AsObject,
|
|
2233
|
-
promptType?: RagPromptType,
|
|
2234
|
-
prompt?: RagPromptConfig.AsObject,
|
|
2235
|
-
metaDataFilter?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2236
|
-
doRefer: string,
|
|
2237
|
-
status: string,
|
|
2238
|
-
createTime: number,
|
|
2239
|
-
createDate: string,
|
|
2240
|
-
updateTime: number,
|
|
2241
|
-
updateDate: string,
|
|
2242
|
-
}
|
|
2243
|
-
|
|
2244
|
-
export enum PromptTypeCase {
|
|
2245
|
-
_PROMPT_TYPE_NOT_SET = 0,
|
|
2246
|
-
PROMPT_TYPE = 10,
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
|
|
2250
|
-
export class RagUpdateChatAssistantRequest extends jspb.Message {
|
|
2251
|
-
getParent(): string;
|
|
2252
|
-
setParent(value: string): RagUpdateChatAssistantRequest;
|
|
2253
|
-
|
|
2254
|
-
getLanguageCode(): string;
|
|
2255
|
-
setLanguageCode(value: string): RagUpdateChatAssistantRequest;
|
|
2256
|
-
|
|
2257
|
-
getChatId(): string;
|
|
2258
|
-
setChatId(value: string): RagUpdateChatAssistantRequest;
|
|
2259
|
-
|
|
2260
|
-
getName(): string;
|
|
2261
|
-
setName(value: string): RagUpdateChatAssistantRequest;
|
|
2262
|
-
|
|
2263
|
-
getDescription(): string;
|
|
2264
|
-
setDescription(value: string): RagUpdateChatAssistantRequest;
|
|
2265
|
-
|
|
2266
|
-
getAvatar(): string;
|
|
2267
|
-
setAvatar(value: string): RagUpdateChatAssistantRequest;
|
|
2268
|
-
|
|
2269
|
-
getDatasetIdsList(): Array<string>;
|
|
2270
|
-
setDatasetIdsList(value: Array<string>): RagUpdateChatAssistantRequest;
|
|
2271
|
-
clearDatasetIdsList(): RagUpdateChatAssistantRequest;
|
|
2272
|
-
addDatasetIds(value: string, index?: number): RagUpdateChatAssistantRequest;
|
|
2273
|
-
|
|
2274
|
-
getLlm(): RagLlmSetting | undefined;
|
|
2275
|
-
setLlm(value?: RagLlmSetting): RagUpdateChatAssistantRequest;
|
|
2276
|
-
hasLlm(): boolean;
|
|
2277
|
-
clearLlm(): RagUpdateChatAssistantRequest;
|
|
2278
|
-
|
|
2279
|
-
getPrompt(): RagPromptConfig | undefined;
|
|
2280
|
-
setPrompt(value?: RagPromptConfig): RagUpdateChatAssistantRequest;
|
|
2281
|
-
hasPrompt(): boolean;
|
|
2282
|
-
clearPrompt(): RagUpdateChatAssistantRequest;
|
|
2283
|
-
|
|
2284
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2285
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateChatAssistantRequest;
|
|
2286
|
-
hasAdditionalFields(): boolean;
|
|
2287
|
-
clearAdditionalFields(): RagUpdateChatAssistantRequest;
|
|
2288
|
-
|
|
2289
|
-
serializeBinary(): Uint8Array;
|
|
2290
|
-
toObject(includeInstance?: boolean): RagUpdateChatAssistantRequest.AsObject;
|
|
2291
|
-
static toObject(includeInstance: boolean, msg: RagUpdateChatAssistantRequest): RagUpdateChatAssistantRequest.AsObject;
|
|
2292
|
-
static serializeBinaryToWriter(message: RagUpdateChatAssistantRequest, writer: jspb.BinaryWriter): void;
|
|
2293
|
-
static deserializeBinary(bytes: Uint8Array): RagUpdateChatAssistantRequest;
|
|
2294
|
-
static deserializeBinaryFromReader(message: RagUpdateChatAssistantRequest, reader: jspb.BinaryReader): RagUpdateChatAssistantRequest;
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
export namespace RagUpdateChatAssistantRequest {
|
|
2298
|
-
export type AsObject = {
|
|
2299
|
-
parent: string,
|
|
2300
|
-
languageCode: string,
|
|
2301
|
-
chatId: string,
|
|
2302
|
-
name: string,
|
|
2303
|
-
description: string,
|
|
2304
|
-
avatar: string,
|
|
2305
|
-
datasetIdsList: Array<string>,
|
|
2306
|
-
llm?: RagLlmSetting.AsObject,
|
|
2307
|
-
prompt?: RagPromptConfig.AsObject,
|
|
2308
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
|
-
export class RagListChatAssistantsRequest extends jspb.Message {
|
|
2313
|
-
getParent(): string;
|
|
2314
|
-
setParent(value: string): RagListChatAssistantsRequest;
|
|
2315
|
-
|
|
2316
|
-
getLanguageCode(): string;
|
|
2317
|
-
setLanguageCode(value: string): RagListChatAssistantsRequest;
|
|
2318
|
-
|
|
2319
|
-
getPagination(): string;
|
|
2320
|
-
setPagination(value: string): RagListChatAssistantsRequest;
|
|
2321
|
-
|
|
2322
|
-
getId(): string;
|
|
2323
|
-
setId(value: string): RagListChatAssistantsRequest;
|
|
2324
|
-
|
|
2325
|
-
getName(): string;
|
|
2326
|
-
setName(value: string): RagListChatAssistantsRequest;
|
|
2327
|
-
|
|
2328
|
-
getOrderby(): string;
|
|
2329
|
-
setOrderby(value: string): RagListChatAssistantsRequest;
|
|
2330
|
-
|
|
2331
|
-
getDesc(): boolean;
|
|
2332
|
-
setDesc(value: boolean): RagListChatAssistantsRequest;
|
|
2333
|
-
hasDesc(): boolean;
|
|
2334
|
-
clearDesc(): RagListChatAssistantsRequest;
|
|
2335
|
-
|
|
2336
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2337
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListChatAssistantsRequest;
|
|
2338
|
-
hasAdditionalFields(): boolean;
|
|
2339
|
-
clearAdditionalFields(): RagListChatAssistantsRequest;
|
|
2340
|
-
|
|
2341
|
-
serializeBinary(): Uint8Array;
|
|
2342
|
-
toObject(includeInstance?: boolean): RagListChatAssistantsRequest.AsObject;
|
|
2343
|
-
static toObject(includeInstance: boolean, msg: RagListChatAssistantsRequest): RagListChatAssistantsRequest.AsObject;
|
|
2344
|
-
static serializeBinaryToWriter(message: RagListChatAssistantsRequest, writer: jspb.BinaryWriter): void;
|
|
2345
|
-
static deserializeBinary(bytes: Uint8Array): RagListChatAssistantsRequest;
|
|
2346
|
-
static deserializeBinaryFromReader(message: RagListChatAssistantsRequest, reader: jspb.BinaryReader): RagListChatAssistantsRequest;
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
export namespace RagListChatAssistantsRequest {
|
|
2350
|
-
export type AsObject = {
|
|
2351
|
-
parent: string,
|
|
2352
|
-
languageCode: string,
|
|
2353
|
-
pagination: string,
|
|
2354
|
-
id: string,
|
|
2355
|
-
name: string,
|
|
2356
|
-
orderby: string,
|
|
2357
|
-
desc?: boolean,
|
|
2358
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2359
|
-
}
|
|
2360
|
-
|
|
2361
|
-
export enum DescCase {
|
|
2362
|
-
_DESC_NOT_SET = 0,
|
|
2363
|
-
DESC = 7,
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
|
|
2367
|
-
export class RagChatAssistantList extends jspb.Message {
|
|
2368
|
-
getChatsList(): Array<RagChatAssistant>;
|
|
2369
|
-
setChatsList(value: Array<RagChatAssistant>): RagChatAssistantList;
|
|
2370
|
-
clearChatsList(): RagChatAssistantList;
|
|
2371
|
-
addChats(value?: RagChatAssistant, index?: number): RagChatAssistant;
|
|
2372
|
-
|
|
2373
|
-
serializeBinary(): Uint8Array;
|
|
2374
|
-
toObject(includeInstance?: boolean): RagChatAssistantList.AsObject;
|
|
2375
|
-
static toObject(includeInstance: boolean, msg: RagChatAssistantList): RagChatAssistantList.AsObject;
|
|
2376
|
-
static serializeBinaryToWriter(message: RagChatAssistantList, writer: jspb.BinaryWriter): void;
|
|
2377
|
-
static deserializeBinary(bytes: Uint8Array): RagChatAssistantList;
|
|
2378
|
-
static deserializeBinaryFromReader(message: RagChatAssistantList, reader: jspb.BinaryReader): RagChatAssistantList;
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
export namespace RagChatAssistantList {
|
|
2382
|
-
export type AsObject = {
|
|
2383
|
-
chatsList: Array<RagChatAssistant.AsObject>,
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
|
|
2387
|
-
export class RagCreateAgentRequest extends jspb.Message {
|
|
2388
|
-
getParent(): string;
|
|
2389
|
-
setParent(value: string): RagCreateAgentRequest;
|
|
2390
|
-
|
|
2391
|
-
getLanguageCode(): string;
|
|
2392
|
-
setLanguageCode(value: string): RagCreateAgentRequest;
|
|
2393
|
-
|
|
2394
|
-
getAvatar(): string;
|
|
2395
|
-
setAvatar(value: string): RagCreateAgentRequest;
|
|
2396
|
-
|
|
2397
|
-
getTitle(): string;
|
|
2398
|
-
setTitle(value: string): RagCreateAgentRequest;
|
|
2399
|
-
|
|
2400
|
-
getPermission(): RagPermission;
|
|
2401
|
-
setPermission(value: RagPermission): RagCreateAgentRequest;
|
|
2402
|
-
hasPermission(): boolean;
|
|
2403
|
-
clearPermission(): RagCreateAgentRequest;
|
|
2404
|
-
|
|
2405
|
-
getDescription(): string;
|
|
2406
|
-
setDescription(value: string): RagCreateAgentRequest;
|
|
2407
|
-
|
|
2408
|
-
getCanvasType(): string;
|
|
2409
|
-
setCanvasType(value: string): RagCreateAgentRequest;
|
|
2410
|
-
hasCanvasType(): boolean;
|
|
2411
|
-
clearCanvasType(): RagCreateAgentRequest;
|
|
2412
|
-
|
|
2413
|
-
getCanvasCategory(): RagCanvasCategory;
|
|
2414
|
-
setCanvasCategory(value: RagCanvasCategory): RagCreateAgentRequest;
|
|
2415
|
-
hasCanvasCategory(): boolean;
|
|
2416
|
-
clearCanvasCategory(): RagCreateAgentRequest;
|
|
2417
|
-
|
|
2418
|
-
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
2419
|
-
setDsl(value?: google_protobuf_struct_pb.Struct): RagCreateAgentRequest;
|
|
2420
|
-
hasDsl(): boolean;
|
|
2421
|
-
clearDsl(): RagCreateAgentRequest;
|
|
2422
|
-
|
|
2423
|
-
serializeBinary(): Uint8Array;
|
|
2424
|
-
toObject(includeInstance?: boolean): RagCreateAgentRequest.AsObject;
|
|
2425
|
-
static toObject(includeInstance: boolean, msg: RagCreateAgentRequest): RagCreateAgentRequest.AsObject;
|
|
2426
|
-
static serializeBinaryToWriter(message: RagCreateAgentRequest, writer: jspb.BinaryWriter): void;
|
|
2427
|
-
static deserializeBinary(bytes: Uint8Array): RagCreateAgentRequest;
|
|
2428
|
-
static deserializeBinaryFromReader(message: RagCreateAgentRequest, reader: jspb.BinaryReader): RagCreateAgentRequest;
|
|
2429
|
-
}
|
|
2430
|
-
|
|
2431
|
-
export namespace RagCreateAgentRequest {
|
|
2432
|
-
export type AsObject = {
|
|
2433
|
-
parent: string,
|
|
2434
|
-
languageCode: string,
|
|
2435
|
-
avatar: string,
|
|
2436
|
-
title: string,
|
|
2437
|
-
permission?: RagPermission,
|
|
2438
|
-
description: string,
|
|
2439
|
-
canvasType?: string,
|
|
2440
|
-
canvasCategory?: RagCanvasCategory,
|
|
2441
|
-
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2442
|
-
}
|
|
2443
|
-
|
|
2444
|
-
export enum PermissionCase {
|
|
2445
|
-
_PERMISSION_NOT_SET = 0,
|
|
2446
|
-
PERMISSION = 5,
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
export enum CanvasTypeCase {
|
|
2450
|
-
_CANVAS_TYPE_NOT_SET = 0,
|
|
2451
|
-
CANVAS_TYPE = 7,
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
export enum CanvasCategoryCase {
|
|
2455
|
-
_CANVAS_CATEGORY_NOT_SET = 0,
|
|
2456
|
-
CANVAS_CATEGORY = 8,
|
|
2457
|
-
}
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
|
-
export class RagUpdateAgentRequest extends jspb.Message {
|
|
2461
|
-
getParent(): string;
|
|
2462
|
-
setParent(value: string): RagUpdateAgentRequest;
|
|
2463
|
-
|
|
2464
|
-
getLanguageCode(): string;
|
|
2465
|
-
setLanguageCode(value: string): RagUpdateAgentRequest;
|
|
2466
|
-
|
|
2467
|
-
getAgentId(): string;
|
|
2468
|
-
setAgentId(value: string): RagUpdateAgentRequest;
|
|
2469
|
-
|
|
2470
|
-
getAvatar(): string;
|
|
2471
|
-
setAvatar(value: string): RagUpdateAgentRequest;
|
|
2472
|
-
|
|
2473
|
-
getTitle(): string;
|
|
2474
|
-
setTitle(value: string): RagUpdateAgentRequest;
|
|
2475
|
-
|
|
2476
|
-
getPermission(): RagPermission;
|
|
2477
|
-
setPermission(value: RagPermission): RagUpdateAgentRequest;
|
|
2478
|
-
hasPermission(): boolean;
|
|
2479
|
-
clearPermission(): RagUpdateAgentRequest;
|
|
2480
|
-
|
|
2481
|
-
getDescription(): string;
|
|
2482
|
-
setDescription(value: string): RagUpdateAgentRequest;
|
|
2483
|
-
|
|
2484
|
-
getCanvasType(): string;
|
|
2485
|
-
setCanvasType(value: string): RagUpdateAgentRequest;
|
|
2486
|
-
hasCanvasType(): boolean;
|
|
2487
|
-
clearCanvasType(): RagUpdateAgentRequest;
|
|
2488
|
-
|
|
2489
|
-
getCanvasCategory(): RagCanvasCategory;
|
|
2490
|
-
setCanvasCategory(value: RagCanvasCategory): RagUpdateAgentRequest;
|
|
2491
|
-
hasCanvasCategory(): boolean;
|
|
2492
|
-
clearCanvasCategory(): RagUpdateAgentRequest;
|
|
2493
|
-
|
|
2494
|
-
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
2495
|
-
setDsl(value?: google_protobuf_struct_pb.Struct): RagUpdateAgentRequest;
|
|
2496
|
-
hasDsl(): boolean;
|
|
2497
|
-
clearDsl(): RagUpdateAgentRequest;
|
|
2498
|
-
|
|
2499
|
-
serializeBinary(): Uint8Array;
|
|
2500
|
-
toObject(includeInstance?: boolean): RagUpdateAgentRequest.AsObject;
|
|
2501
|
-
static toObject(includeInstance: boolean, msg: RagUpdateAgentRequest): RagUpdateAgentRequest.AsObject;
|
|
2502
|
-
static serializeBinaryToWriter(message: RagUpdateAgentRequest, writer: jspb.BinaryWriter): void;
|
|
2503
|
-
static deserializeBinary(bytes: Uint8Array): RagUpdateAgentRequest;
|
|
2504
|
-
static deserializeBinaryFromReader(message: RagUpdateAgentRequest, reader: jspb.BinaryReader): RagUpdateAgentRequest;
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
export namespace RagUpdateAgentRequest {
|
|
2508
|
-
export type AsObject = {
|
|
2509
|
-
parent: string,
|
|
2510
|
-
languageCode: string,
|
|
2511
|
-
agentId: string,
|
|
2512
|
-
avatar: string,
|
|
2513
|
-
title: string,
|
|
2514
|
-
permission?: RagPermission,
|
|
2515
|
-
description: string,
|
|
2516
|
-
canvasType?: string,
|
|
2517
|
-
canvasCategory?: RagCanvasCategory,
|
|
2518
|
-
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
|
-
export enum PermissionCase {
|
|
2522
|
-
_PERMISSION_NOT_SET = 0,
|
|
2523
|
-
PERMISSION = 6,
|
|
2524
|
-
}
|
|
2525
|
-
|
|
2526
|
-
export enum CanvasTypeCase {
|
|
2527
|
-
_CANVAS_TYPE_NOT_SET = 0,
|
|
2528
|
-
CANVAS_TYPE = 8,
|
|
2529
|
-
}
|
|
2530
|
-
|
|
2531
|
-
export enum CanvasCategoryCase {
|
|
2532
|
-
_CANVAS_CATEGORY_NOT_SET = 0,
|
|
2533
|
-
CANVAS_CATEGORY = 9,
|
|
2534
|
-
}
|
|
2535
|
-
}
|
|
2536
|
-
|
|
2537
|
-
export class RagDeleteAgentRequest extends jspb.Message {
|
|
2538
|
-
getParent(): string;
|
|
2539
|
-
setParent(value: string): RagDeleteAgentRequest;
|
|
2540
|
-
|
|
2541
|
-
getLanguageCode(): string;
|
|
2542
|
-
setLanguageCode(value: string): RagDeleteAgentRequest;
|
|
2543
|
-
|
|
2544
|
-
getAgentId(): string;
|
|
2545
|
-
setAgentId(value: string): RagDeleteAgentRequest;
|
|
2546
|
-
|
|
2547
|
-
serializeBinary(): Uint8Array;
|
|
2548
|
-
toObject(includeInstance?: boolean): RagDeleteAgentRequest.AsObject;
|
|
2549
|
-
static toObject(includeInstance: boolean, msg: RagDeleteAgentRequest): RagDeleteAgentRequest.AsObject;
|
|
2550
|
-
static serializeBinaryToWriter(message: RagDeleteAgentRequest, writer: jspb.BinaryWriter): void;
|
|
2551
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteAgentRequest;
|
|
2552
|
-
static deserializeBinaryFromReader(message: RagDeleteAgentRequest, reader: jspb.BinaryReader): RagDeleteAgentRequest;
|
|
2553
|
-
}
|
|
2554
|
-
|
|
2555
|
-
export namespace RagDeleteAgentRequest {
|
|
2556
|
-
export type AsObject = {
|
|
2557
|
-
parent: string,
|
|
2558
|
-
languageCode: string,
|
|
2559
|
-
agentId: string,
|
|
2560
|
-
}
|
|
2561
|
-
}
|
|
2562
|
-
|
|
2563
|
-
export class RagListAgentsRequest extends jspb.Message {
|
|
2564
|
-
getParent(): string;
|
|
2565
|
-
setParent(value: string): RagListAgentsRequest;
|
|
2566
|
-
|
|
2567
|
-
getLanguageCode(): string;
|
|
2568
|
-
setLanguageCode(value: string): RagListAgentsRequest;
|
|
2569
|
-
|
|
2570
|
-
getPagination(): string;
|
|
2571
|
-
setPagination(value: string): RagListAgentsRequest;
|
|
2572
|
-
|
|
2573
|
-
getTitle(): string;
|
|
2574
|
-
setTitle(value: string): RagListAgentsRequest;
|
|
2575
|
-
|
|
2576
|
-
getOrderby(): string;
|
|
2577
|
-
setOrderby(value: string): RagListAgentsRequest;
|
|
2578
|
-
|
|
2579
|
-
getDesc(): boolean;
|
|
2580
|
-
setDesc(value: boolean): RagListAgentsRequest;
|
|
2581
|
-
hasDesc(): boolean;
|
|
2582
|
-
clearDesc(): RagListAgentsRequest;
|
|
2583
|
-
|
|
2584
|
-
getId(): string;
|
|
2585
|
-
setId(value: string): RagListAgentsRequest;
|
|
2586
|
-
|
|
2587
|
-
serializeBinary(): Uint8Array;
|
|
2588
|
-
toObject(includeInstance?: boolean): RagListAgentsRequest.AsObject;
|
|
2589
|
-
static toObject(includeInstance: boolean, msg: RagListAgentsRequest): RagListAgentsRequest.AsObject;
|
|
2590
|
-
static serializeBinaryToWriter(message: RagListAgentsRequest, writer: jspb.BinaryWriter): void;
|
|
2591
|
-
static deserializeBinary(bytes: Uint8Array): RagListAgentsRequest;
|
|
2592
|
-
static deserializeBinaryFromReader(message: RagListAgentsRequest, reader: jspb.BinaryReader): RagListAgentsRequest;
|
|
2593
|
-
}
|
|
2594
|
-
|
|
2595
|
-
export namespace RagListAgentsRequest {
|
|
2596
|
-
export type AsObject = {
|
|
2597
|
-
parent: string,
|
|
2598
|
-
languageCode: string,
|
|
2599
|
-
pagination: string,
|
|
2600
|
-
title: string,
|
|
2601
|
-
orderby: string,
|
|
2602
|
-
desc?: boolean,
|
|
2603
|
-
id: string,
|
|
2604
|
-
}
|
|
2605
|
-
|
|
2606
|
-
export enum DescCase {
|
|
2607
|
-
_DESC_NOT_SET = 0,
|
|
2608
|
-
DESC = 6,
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
export class RagAgentList extends jspb.Message {
|
|
2613
|
-
getAgentsList(): Array<RagAgent>;
|
|
2614
|
-
setAgentsList(value: Array<RagAgent>): RagAgentList;
|
|
2615
|
-
clearAgentsList(): RagAgentList;
|
|
2616
|
-
addAgents(value?: RagAgent, index?: number): RagAgent;
|
|
2617
|
-
|
|
2618
|
-
serializeBinary(): Uint8Array;
|
|
2619
|
-
toObject(includeInstance?: boolean): RagAgentList.AsObject;
|
|
2620
|
-
static toObject(includeInstance: boolean, msg: RagAgentList): RagAgentList.AsObject;
|
|
2621
|
-
static serializeBinaryToWriter(message: RagAgentList, writer: jspb.BinaryWriter): void;
|
|
2622
|
-
static deserializeBinary(bytes: Uint8Array): RagAgentList;
|
|
2623
|
-
static deserializeBinaryFromReader(message: RagAgentList, reader: jspb.BinaryReader): RagAgentList;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
export namespace RagAgentList {
|
|
2627
|
-
export type AsObject = {
|
|
2628
|
-
agentsList: Array<RagAgent.AsObject>,
|
|
2629
|
-
}
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
export class RagAgent extends jspb.Message {
|
|
2633
|
-
getId(): string;
|
|
2634
|
-
setId(value: string): RagAgent;
|
|
2635
|
-
|
|
2636
|
-
getAvatar(): string;
|
|
2637
|
-
setAvatar(value: string): RagAgent;
|
|
2638
|
-
|
|
2639
|
-
getUserId(): string;
|
|
2640
|
-
setUserId(value: string): RagAgent;
|
|
2641
|
-
|
|
2642
|
-
getTitle(): string;
|
|
2643
|
-
setTitle(value: string): RagAgent;
|
|
2644
|
-
|
|
2645
|
-
getPermission(): RagPermission;
|
|
2646
|
-
setPermission(value: RagPermission): RagAgent;
|
|
2647
|
-
hasPermission(): boolean;
|
|
2648
|
-
clearPermission(): RagAgent;
|
|
2649
|
-
|
|
2650
|
-
getDescription(): string;
|
|
2651
|
-
setDescription(value: string): RagAgent;
|
|
2652
|
-
|
|
2653
|
-
getCanvasType(): string;
|
|
2654
|
-
setCanvasType(value: string): RagAgent;
|
|
2655
|
-
hasCanvasType(): boolean;
|
|
2656
|
-
clearCanvasType(): RagAgent;
|
|
2657
|
-
|
|
2658
|
-
getCanvasCategory(): RagCanvasCategory;
|
|
2659
|
-
setCanvasCategory(value: RagCanvasCategory): RagAgent;
|
|
2660
|
-
hasCanvasCategory(): boolean;
|
|
2661
|
-
clearCanvasCategory(): RagAgent;
|
|
2662
|
-
|
|
2663
|
-
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
2664
|
-
setDsl(value?: google_protobuf_struct_pb.Struct): RagAgent;
|
|
2665
|
-
hasDsl(): boolean;
|
|
2666
|
-
clearDsl(): RagAgent;
|
|
2667
|
-
|
|
2668
|
-
getCreateTime(): number;
|
|
2669
|
-
setCreateTime(value: number): RagAgent;
|
|
2670
|
-
|
|
2671
|
-
getCreateDate(): string;
|
|
2672
|
-
setCreateDate(value: string): RagAgent;
|
|
2673
|
-
|
|
2674
|
-
getUpdateTime(): number;
|
|
2675
|
-
setUpdateTime(value: number): RagAgent;
|
|
2676
|
-
|
|
2677
|
-
getUpdateDate(): string;
|
|
2678
|
-
setUpdateDate(value: string): RagAgent;
|
|
2679
|
-
|
|
2680
|
-
serializeBinary(): Uint8Array;
|
|
2681
|
-
toObject(includeInstance?: boolean): RagAgent.AsObject;
|
|
2682
|
-
static toObject(includeInstance: boolean, msg: RagAgent): RagAgent.AsObject;
|
|
2683
|
-
static serializeBinaryToWriter(message: RagAgent, writer: jspb.BinaryWriter): void;
|
|
2684
|
-
static deserializeBinary(bytes: Uint8Array): RagAgent;
|
|
2685
|
-
static deserializeBinaryFromReader(message: RagAgent, reader: jspb.BinaryReader): RagAgent;
|
|
2686
|
-
}
|
|
2687
|
-
|
|
2688
|
-
export namespace RagAgent {
|
|
2689
|
-
export type AsObject = {
|
|
2690
|
-
id: string,
|
|
2691
|
-
avatar: string,
|
|
2692
|
-
userId: string,
|
|
2693
|
-
title: string,
|
|
2694
|
-
permission?: RagPermission,
|
|
2695
|
-
description: string,
|
|
2696
|
-
canvasType?: string,
|
|
2697
|
-
canvasCategory?: RagCanvasCategory,
|
|
2698
|
-
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2699
|
-
createTime: number,
|
|
2700
|
-
createDate: string,
|
|
2701
|
-
updateTime: number,
|
|
2702
|
-
updateDate: string,
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
|
-
export enum PermissionCase {
|
|
2706
|
-
_PERMISSION_NOT_SET = 0,
|
|
2707
|
-
PERMISSION = 5,
|
|
2708
|
-
}
|
|
2709
|
-
|
|
2710
|
-
export enum CanvasTypeCase {
|
|
2711
|
-
_CANVAS_TYPE_NOT_SET = 0,
|
|
2712
|
-
CANVAS_TYPE = 7,
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
|
-
export enum CanvasCategoryCase {
|
|
2716
|
-
_CANVAS_CATEGORY_NOT_SET = 0,
|
|
2717
|
-
CANVAS_CATEGORY = 8,
|
|
2718
|
-
}
|
|
2719
|
-
}
|
|
2720
|
-
|
|
2721
|
-
export class RagCreateChatSessionRequest extends jspb.Message {
|
|
2722
|
-
getParent(): string;
|
|
2723
|
-
setParent(value: string): RagCreateChatSessionRequest;
|
|
2724
|
-
|
|
2725
|
-
getLanguageCode(): string;
|
|
2726
|
-
setLanguageCode(value: string): RagCreateChatSessionRequest;
|
|
2727
|
-
|
|
2728
|
-
getChatId(): string;
|
|
2729
|
-
setChatId(value: string): RagCreateChatSessionRequest;
|
|
2730
|
-
|
|
2731
|
-
getName(): string;
|
|
2732
|
-
setName(value: string): RagCreateChatSessionRequest;
|
|
2733
|
-
|
|
2734
|
-
getUserId(): string;
|
|
2735
|
-
setUserId(value: string): RagCreateChatSessionRequest;
|
|
2736
|
-
|
|
2737
|
-
serializeBinary(): Uint8Array;
|
|
2738
|
-
toObject(includeInstance?: boolean): RagCreateChatSessionRequest.AsObject;
|
|
2739
|
-
static toObject(includeInstance: boolean, msg: RagCreateChatSessionRequest): RagCreateChatSessionRequest.AsObject;
|
|
2740
|
-
static serializeBinaryToWriter(message: RagCreateChatSessionRequest, writer: jspb.BinaryWriter): void;
|
|
2741
|
-
static deserializeBinary(bytes: Uint8Array): RagCreateChatSessionRequest;
|
|
2742
|
-
static deserializeBinaryFromReader(message: RagCreateChatSessionRequest, reader: jspb.BinaryReader): RagCreateChatSessionRequest;
|
|
2743
|
-
}
|
|
2744
|
-
|
|
2745
|
-
export namespace RagCreateChatSessionRequest {
|
|
2746
|
-
export type AsObject = {
|
|
2747
|
-
parent: string,
|
|
2748
|
-
languageCode: string,
|
|
2749
|
-
chatId: string,
|
|
2750
|
-
name: string,
|
|
2751
|
-
userId: string,
|
|
2752
|
-
}
|
|
2753
|
-
}
|
|
2754
|
-
|
|
2755
|
-
export class RagChatSession extends jspb.Message {
|
|
2756
|
-
getId(): string;
|
|
2757
|
-
setId(value: string): RagChatSession;
|
|
2758
|
-
|
|
2759
|
-
getChatId(): string;
|
|
2760
|
-
setChatId(value: string): RagChatSession;
|
|
2761
|
-
|
|
2762
|
-
getName(): string;
|
|
2763
|
-
setName(value: string): RagChatSession;
|
|
2764
|
-
|
|
2765
|
-
getMessagesList(): Array<RagMessage>;
|
|
2766
|
-
setMessagesList(value: Array<RagMessage>): RagChatSession;
|
|
2767
|
-
clearMessagesList(): RagChatSession;
|
|
2768
|
-
addMessages(value?: RagMessage, index?: number): RagMessage;
|
|
2769
|
-
|
|
2770
|
-
getCreateTime(): number;
|
|
2771
|
-
setCreateTime(value: number): RagChatSession;
|
|
2772
|
-
|
|
2773
|
-
getCreateDate(): string;
|
|
2774
|
-
setCreateDate(value: string): RagChatSession;
|
|
2775
|
-
|
|
2776
|
-
getUpdateTime(): number;
|
|
2777
|
-
setUpdateTime(value: number): RagChatSession;
|
|
2778
|
-
|
|
2779
|
-
getUpdateDate(): string;
|
|
2780
|
-
setUpdateDate(value: string): RagChatSession;
|
|
2781
|
-
|
|
2782
|
-
serializeBinary(): Uint8Array;
|
|
2783
|
-
toObject(includeInstance?: boolean): RagChatSession.AsObject;
|
|
2784
|
-
static toObject(includeInstance: boolean, msg: RagChatSession): RagChatSession.AsObject;
|
|
2785
|
-
static serializeBinaryToWriter(message: RagChatSession, writer: jspb.BinaryWriter): void;
|
|
2786
|
-
static deserializeBinary(bytes: Uint8Array): RagChatSession;
|
|
2787
|
-
static deserializeBinaryFromReader(message: RagChatSession, reader: jspb.BinaryReader): RagChatSession;
|
|
2788
|
-
}
|
|
2789
|
-
|
|
2790
|
-
export namespace RagChatSession {
|
|
2791
|
-
export type AsObject = {
|
|
2792
|
-
id: string,
|
|
2793
|
-
chatId: string,
|
|
2794
|
-
name: string,
|
|
2795
|
-
messagesList: Array<RagMessage.AsObject>,
|
|
2796
|
-
createTime: number,
|
|
2797
|
-
createDate: string,
|
|
2798
|
-
updateTime: number,
|
|
2799
|
-
updateDate: string,
|
|
2800
|
-
}
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
export class RagMessage extends jspb.Message {
|
|
2804
|
-
getRole(): RagMessageRole;
|
|
2805
|
-
setRole(value: RagMessageRole): RagMessage;
|
|
2806
|
-
hasRole(): boolean;
|
|
2807
|
-
clearRole(): RagMessage;
|
|
2808
|
-
|
|
2809
|
-
getContent(): string;
|
|
2810
|
-
setContent(value: string): RagMessage;
|
|
2811
|
-
|
|
2812
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2813
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagMessage;
|
|
2814
|
-
hasAdditionalFields(): boolean;
|
|
2815
|
-
clearAdditionalFields(): RagMessage;
|
|
2816
|
-
|
|
2817
|
-
serializeBinary(): Uint8Array;
|
|
2818
|
-
toObject(includeInstance?: boolean): RagMessage.AsObject;
|
|
2819
|
-
static toObject(includeInstance: boolean, msg: RagMessage): RagMessage.AsObject;
|
|
2820
|
-
static serializeBinaryToWriter(message: RagMessage, writer: jspb.BinaryWriter): void;
|
|
2821
|
-
static deserializeBinary(bytes: Uint8Array): RagMessage;
|
|
2822
|
-
static deserializeBinaryFromReader(message: RagMessage, reader: jspb.BinaryReader): RagMessage;
|
|
2823
|
-
}
|
|
2824
|
-
|
|
2825
|
-
export namespace RagMessage {
|
|
2826
|
-
export type AsObject = {
|
|
2827
|
-
role?: RagMessageRole,
|
|
2828
|
-
content: string,
|
|
2829
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2830
|
-
}
|
|
2831
|
-
|
|
2832
|
-
export enum RoleCase {
|
|
2833
|
-
_ROLE_NOT_SET = 0,
|
|
2834
|
-
ROLE = 1,
|
|
2835
|
-
}
|
|
2836
|
-
}
|
|
2837
|
-
|
|
2838
|
-
export class RagUpdateChatSessionRequest extends jspb.Message {
|
|
2839
|
-
getParent(): string;
|
|
2840
|
-
setParent(value: string): RagUpdateChatSessionRequest;
|
|
2841
|
-
|
|
2842
|
-
getLanguageCode(): string;
|
|
2843
|
-
setLanguageCode(value: string): RagUpdateChatSessionRequest;
|
|
2844
|
-
|
|
2845
|
-
getChatId(): string;
|
|
2846
|
-
setChatId(value: string): RagUpdateChatSessionRequest;
|
|
2847
|
-
|
|
2848
|
-
getSessionId(): string;
|
|
2849
|
-
setSessionId(value: string): RagUpdateChatSessionRequest;
|
|
2850
|
-
|
|
2851
|
-
getName(): string;
|
|
2852
|
-
setName(value: string): RagUpdateChatSessionRequest;
|
|
2853
|
-
|
|
2854
|
-
getUserId(): string;
|
|
2855
|
-
setUserId(value: string): RagUpdateChatSessionRequest;
|
|
2856
|
-
|
|
2857
|
-
serializeBinary(): Uint8Array;
|
|
2858
|
-
toObject(includeInstance?: boolean): RagUpdateChatSessionRequest.AsObject;
|
|
2859
|
-
static toObject(includeInstance: boolean, msg: RagUpdateChatSessionRequest): RagUpdateChatSessionRequest.AsObject;
|
|
2860
|
-
static serializeBinaryToWriter(message: RagUpdateChatSessionRequest, writer: jspb.BinaryWriter): void;
|
|
2861
|
-
static deserializeBinary(bytes: Uint8Array): RagUpdateChatSessionRequest;
|
|
2862
|
-
static deserializeBinaryFromReader(message: RagUpdateChatSessionRequest, reader: jspb.BinaryReader): RagUpdateChatSessionRequest;
|
|
2863
|
-
}
|
|
2864
|
-
|
|
2865
|
-
export namespace RagUpdateChatSessionRequest {
|
|
2866
|
-
export type AsObject = {
|
|
2867
|
-
parent: string,
|
|
2868
|
-
languageCode: string,
|
|
2869
|
-
chatId: string,
|
|
2870
|
-
sessionId: string,
|
|
2871
|
-
name: string,
|
|
2872
|
-
userId: string,
|
|
2873
|
-
}
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
export class RagListChatSessionsRequest extends jspb.Message {
|
|
2877
|
-
getParent(): string;
|
|
2878
|
-
setParent(value: string): RagListChatSessionsRequest;
|
|
2879
|
-
|
|
2880
|
-
getLanguageCode(): string;
|
|
2881
|
-
setLanguageCode(value: string): RagListChatSessionsRequest;
|
|
2882
|
-
|
|
2883
|
-
getChatId(): string;
|
|
2884
|
-
setChatId(value: string): RagListChatSessionsRequest;
|
|
2885
|
-
|
|
2886
|
-
getPagination(): string;
|
|
2887
|
-
setPagination(value: string): RagListChatSessionsRequest;
|
|
2888
|
-
|
|
2889
|
-
getOrderby(): string;
|
|
2890
|
-
setOrderby(value: string): RagListChatSessionsRequest;
|
|
2891
|
-
|
|
2892
|
-
getDesc(): boolean;
|
|
2893
|
-
setDesc(value: boolean): RagListChatSessionsRequest;
|
|
2894
|
-
hasDesc(): boolean;
|
|
2895
|
-
clearDesc(): RagListChatSessionsRequest;
|
|
2896
|
-
|
|
2897
|
-
getName(): string;
|
|
2898
|
-
setName(value: string): RagListChatSessionsRequest;
|
|
2899
|
-
|
|
2900
|
-
getId(): string;
|
|
2901
|
-
setId(value: string): RagListChatSessionsRequest;
|
|
2902
|
-
|
|
2903
|
-
getUserId(): string;
|
|
2904
|
-
setUserId(value: string): RagListChatSessionsRequest;
|
|
2905
|
-
|
|
2906
|
-
serializeBinary(): Uint8Array;
|
|
2907
|
-
toObject(includeInstance?: boolean): RagListChatSessionsRequest.AsObject;
|
|
2908
|
-
static toObject(includeInstance: boolean, msg: RagListChatSessionsRequest): RagListChatSessionsRequest.AsObject;
|
|
2909
|
-
static serializeBinaryToWriter(message: RagListChatSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
2910
|
-
static deserializeBinary(bytes: Uint8Array): RagListChatSessionsRequest;
|
|
2911
|
-
static deserializeBinaryFromReader(message: RagListChatSessionsRequest, reader: jspb.BinaryReader): RagListChatSessionsRequest;
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
|
-
export namespace RagListChatSessionsRequest {
|
|
2915
|
-
export type AsObject = {
|
|
2916
|
-
parent: string,
|
|
2917
|
-
languageCode: string,
|
|
2918
|
-
chatId: string,
|
|
2919
|
-
pagination: string,
|
|
2920
|
-
orderby: string,
|
|
2921
|
-
desc?: boolean,
|
|
2922
|
-
name: string,
|
|
2923
|
-
id: string,
|
|
2924
|
-
userId: string,
|
|
2925
|
-
}
|
|
2926
|
-
|
|
2927
|
-
export enum DescCase {
|
|
2928
|
-
_DESC_NOT_SET = 0,
|
|
2929
|
-
DESC = 6,
|
|
2930
|
-
}
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
export class RagChatSessionList extends jspb.Message {
|
|
2934
|
-
getChatSessionsList(): Array<RagChatSession>;
|
|
2935
|
-
setChatSessionsList(value: Array<RagChatSession>): RagChatSessionList;
|
|
2936
|
-
clearChatSessionsList(): RagChatSessionList;
|
|
2937
|
-
addChatSessions(value?: RagChatSession, index?: number): RagChatSession;
|
|
2938
|
-
|
|
2939
|
-
serializeBinary(): Uint8Array;
|
|
2940
|
-
toObject(includeInstance?: boolean): RagChatSessionList.AsObject;
|
|
2941
|
-
static toObject(includeInstance: boolean, msg: RagChatSessionList): RagChatSessionList.AsObject;
|
|
2942
|
-
static serializeBinaryToWriter(message: RagChatSessionList, writer: jspb.BinaryWriter): void;
|
|
2943
|
-
static deserializeBinary(bytes: Uint8Array): RagChatSessionList;
|
|
2944
|
-
static deserializeBinaryFromReader(message: RagChatSessionList, reader: jspb.BinaryReader): RagChatSessionList;
|
|
2945
|
-
}
|
|
2946
|
-
|
|
2947
|
-
export namespace RagChatSessionList {
|
|
2948
|
-
export type AsObject = {
|
|
2949
|
-
chatSessionsList: Array<RagChatSession.AsObject>,
|
|
2950
|
-
}
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
|
-
export class RagDeleteChatSessionsRequest extends jspb.Message {
|
|
2954
|
-
getParent(): string;
|
|
2955
|
-
setParent(value: string): RagDeleteChatSessionsRequest;
|
|
2956
|
-
|
|
2957
|
-
getLanguageCode(): string;
|
|
2958
|
-
setLanguageCode(value: string): RagDeleteChatSessionsRequest;
|
|
2959
|
-
|
|
2960
|
-
getChatId(): string;
|
|
2961
|
-
setChatId(value: string): RagDeleteChatSessionsRequest;
|
|
2962
|
-
|
|
2963
|
-
getIdsList(): Array<string>;
|
|
2964
|
-
setIdsList(value: Array<string>): RagDeleteChatSessionsRequest;
|
|
2965
|
-
clearIdsList(): RagDeleteChatSessionsRequest;
|
|
2966
|
-
addIds(value: string, index?: number): RagDeleteChatSessionsRequest;
|
|
2967
|
-
|
|
2968
|
-
getDeleteAll(): boolean;
|
|
2969
|
-
setDeleteAll(value: boolean): RagDeleteChatSessionsRequest;
|
|
2970
|
-
hasDeleteAll(): boolean;
|
|
2971
|
-
clearDeleteAll(): RagDeleteChatSessionsRequest;
|
|
2972
|
-
|
|
2973
|
-
serializeBinary(): Uint8Array;
|
|
2974
|
-
toObject(includeInstance?: boolean): RagDeleteChatSessionsRequest.AsObject;
|
|
2975
|
-
static toObject(includeInstance: boolean, msg: RagDeleteChatSessionsRequest): RagDeleteChatSessionsRequest.AsObject;
|
|
2976
|
-
static serializeBinaryToWriter(message: RagDeleteChatSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
2977
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteChatSessionsRequest;
|
|
2978
|
-
static deserializeBinaryFromReader(message: RagDeleteChatSessionsRequest, reader: jspb.BinaryReader): RagDeleteChatSessionsRequest;
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
|
-
export namespace RagDeleteChatSessionsRequest {
|
|
2982
|
-
export type AsObject = {
|
|
2983
|
-
parent: string,
|
|
2984
|
-
languageCode: string,
|
|
2985
|
-
chatId: string,
|
|
2986
|
-
idsList: Array<string>,
|
|
2987
|
-
deleteAll?: boolean,
|
|
2988
|
-
}
|
|
2989
|
-
|
|
2990
|
-
export enum DeleteAllCase {
|
|
2991
|
-
_DELETE_ALL_NOT_SET = 0,
|
|
2992
|
-
DELETE_ALL = 5,
|
|
2993
|
-
}
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
|
-
export class RagListAgentSessionsRequest extends jspb.Message {
|
|
2997
|
-
getParent(): string;
|
|
2998
|
-
setParent(value: string): RagListAgentSessionsRequest;
|
|
2999
|
-
|
|
3000
|
-
getLanguageCode(): string;
|
|
3001
|
-
setLanguageCode(value: string): RagListAgentSessionsRequest;
|
|
3002
|
-
|
|
3003
|
-
getAgentId(): string;
|
|
3004
|
-
setAgentId(value: string): RagListAgentSessionsRequest;
|
|
3005
|
-
|
|
3006
|
-
getPagination(): string;
|
|
3007
|
-
setPagination(value: string): RagListAgentSessionsRequest;
|
|
3008
|
-
|
|
3009
|
-
getOrderby(): string;
|
|
3010
|
-
setOrderby(value: string): RagListAgentSessionsRequest;
|
|
3011
|
-
|
|
3012
|
-
getDesc(): boolean;
|
|
3013
|
-
setDesc(value: boolean): RagListAgentSessionsRequest;
|
|
3014
|
-
hasDesc(): boolean;
|
|
3015
|
-
clearDesc(): RagListAgentSessionsRequest;
|
|
3016
|
-
|
|
3017
|
-
getId(): string;
|
|
3018
|
-
setId(value: string): RagListAgentSessionsRequest;
|
|
3019
|
-
|
|
3020
|
-
getUserId(): string;
|
|
3021
|
-
setUserId(value: string): RagListAgentSessionsRequest;
|
|
3022
|
-
|
|
3023
|
-
getDsl(): boolean;
|
|
3024
|
-
setDsl(value: boolean): RagListAgentSessionsRequest;
|
|
3025
|
-
hasDsl(): boolean;
|
|
3026
|
-
clearDsl(): RagListAgentSessionsRequest;
|
|
3027
|
-
|
|
3028
|
-
serializeBinary(): Uint8Array;
|
|
3029
|
-
toObject(includeInstance?: boolean): RagListAgentSessionsRequest.AsObject;
|
|
3030
|
-
static toObject(includeInstance: boolean, msg: RagListAgentSessionsRequest): RagListAgentSessionsRequest.AsObject;
|
|
3031
|
-
static serializeBinaryToWriter(message: RagListAgentSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
3032
|
-
static deserializeBinary(bytes: Uint8Array): RagListAgentSessionsRequest;
|
|
3033
|
-
static deserializeBinaryFromReader(message: RagListAgentSessionsRequest, reader: jspb.BinaryReader): RagListAgentSessionsRequest;
|
|
3034
|
-
}
|
|
3035
|
-
|
|
3036
|
-
export namespace RagListAgentSessionsRequest {
|
|
3037
|
-
export type AsObject = {
|
|
3038
|
-
parent: string,
|
|
3039
|
-
languageCode: string,
|
|
3040
|
-
agentId: string,
|
|
3041
|
-
pagination: string,
|
|
3042
|
-
orderby: string,
|
|
3043
|
-
desc?: boolean,
|
|
3044
|
-
id: string,
|
|
3045
|
-
userId: string,
|
|
3046
|
-
dsl?: boolean,
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
export enum DescCase {
|
|
3050
|
-
_DESC_NOT_SET = 0,
|
|
3051
|
-
DESC = 6,
|
|
3052
|
-
}
|
|
3053
|
-
|
|
3054
|
-
export enum DslCase {
|
|
3055
|
-
_DSL_NOT_SET = 0,
|
|
3056
|
-
DSL = 9,
|
|
3057
|
-
}
|
|
3058
|
-
}
|
|
3059
|
-
|
|
3060
|
-
export class RagAgentSessionList extends jspb.Message {
|
|
3061
|
-
getAgentSessionsList(): Array<RagAgentSession>;
|
|
3062
|
-
setAgentSessionsList(value: Array<RagAgentSession>): RagAgentSessionList;
|
|
3063
|
-
clearAgentSessionsList(): RagAgentSessionList;
|
|
3064
|
-
addAgentSessions(value?: RagAgentSession, index?: number): RagAgentSession;
|
|
3065
|
-
|
|
3066
|
-
serializeBinary(): Uint8Array;
|
|
3067
|
-
toObject(includeInstance?: boolean): RagAgentSessionList.AsObject;
|
|
3068
|
-
static toObject(includeInstance: boolean, msg: RagAgentSessionList): RagAgentSessionList.AsObject;
|
|
3069
|
-
static serializeBinaryToWriter(message: RagAgentSessionList, writer: jspb.BinaryWriter): void;
|
|
3070
|
-
static deserializeBinary(bytes: Uint8Array): RagAgentSessionList;
|
|
3071
|
-
static deserializeBinaryFromReader(message: RagAgentSessionList, reader: jspb.BinaryReader): RagAgentSessionList;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
export namespace RagAgentSessionList {
|
|
3075
|
-
export type AsObject = {
|
|
3076
|
-
agentSessionsList: Array<RagAgentSession.AsObject>,
|
|
3077
|
-
}
|
|
3078
|
-
}
|
|
3079
|
-
|
|
3080
|
-
export class RagAgentSession extends jspb.Message {
|
|
3081
|
-
getId(): string;
|
|
3082
|
-
setId(value: string): RagAgentSession;
|
|
3083
|
-
|
|
3084
|
-
getAgentId(): string;
|
|
3085
|
-
setAgentId(value: string): RagAgentSession;
|
|
3086
|
-
|
|
3087
|
-
getUserId(): string;
|
|
3088
|
-
setUserId(value: string): RagAgentSession;
|
|
3089
|
-
|
|
3090
|
-
getMessagesList(): Array<RagMessage>;
|
|
3091
|
-
setMessagesList(value: Array<RagMessage>): RagAgentSession;
|
|
3092
|
-
clearMessagesList(): RagAgentSession;
|
|
3093
|
-
addMessages(value?: RagMessage, index?: number): RagMessage;
|
|
3094
|
-
|
|
3095
|
-
getTokens(): number;
|
|
3096
|
-
setTokens(value: number): RagAgentSession;
|
|
3097
|
-
hasTokens(): boolean;
|
|
3098
|
-
clearTokens(): RagAgentSession;
|
|
3099
|
-
|
|
3100
|
-
getSource(): RagSessionSource;
|
|
3101
|
-
setSource(value: RagSessionSource): RagAgentSession;
|
|
3102
|
-
hasSource(): boolean;
|
|
3103
|
-
clearSource(): RagAgentSession;
|
|
3104
|
-
|
|
3105
|
-
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
3106
|
-
setDsl(value?: google_protobuf_struct_pb.Struct): RagAgentSession;
|
|
3107
|
-
hasDsl(): boolean;
|
|
3108
|
-
clearDsl(): RagAgentSession;
|
|
3109
|
-
|
|
3110
|
-
getDuration(): number;
|
|
3111
|
-
setDuration(value: number): RagAgentSession;
|
|
3112
|
-
|
|
3113
|
-
getRound(): number;
|
|
3114
|
-
setRound(value: number): RagAgentSession;
|
|
3115
|
-
hasRound(): boolean;
|
|
3116
|
-
clearRound(): RagAgentSession;
|
|
3117
|
-
|
|
3118
|
-
getThumbUp(): number;
|
|
3119
|
-
setThumbUp(value: number): RagAgentSession;
|
|
3120
|
-
hasThumbUp(): boolean;
|
|
3121
|
-
clearThumbUp(): RagAgentSession;
|
|
3122
|
-
|
|
3123
|
-
getErrors(): string;
|
|
3124
|
-
setErrors(value: string): RagAgentSession;
|
|
3125
|
-
|
|
3126
|
-
getCreateTime(): number;
|
|
3127
|
-
setCreateTime(value: number): RagAgentSession;
|
|
3128
|
-
|
|
3129
|
-
getCreateDate(): string;
|
|
3130
|
-
setCreateDate(value: string): RagAgentSession;
|
|
3131
|
-
|
|
3132
|
-
getUpdateTime(): number;
|
|
3133
|
-
setUpdateTime(value: number): RagAgentSession;
|
|
3134
|
-
|
|
3135
|
-
getUpdateDate(): string;
|
|
3136
|
-
setUpdateDate(value: string): RagAgentSession;
|
|
3137
|
-
|
|
3138
|
-
serializeBinary(): Uint8Array;
|
|
3139
|
-
toObject(includeInstance?: boolean): RagAgentSession.AsObject;
|
|
3140
|
-
static toObject(includeInstance: boolean, msg: RagAgentSession): RagAgentSession.AsObject;
|
|
3141
|
-
static serializeBinaryToWriter(message: RagAgentSession, writer: jspb.BinaryWriter): void;
|
|
3142
|
-
static deserializeBinary(bytes: Uint8Array): RagAgentSession;
|
|
3143
|
-
static deserializeBinaryFromReader(message: RagAgentSession, reader: jspb.BinaryReader): RagAgentSession;
|
|
3144
|
-
}
|
|
3145
|
-
|
|
3146
|
-
export namespace RagAgentSession {
|
|
3147
|
-
export type AsObject = {
|
|
3148
|
-
id: string,
|
|
3149
|
-
agentId: string,
|
|
3150
|
-
userId: string,
|
|
3151
|
-
messagesList: Array<RagMessage.AsObject>,
|
|
3152
|
-
tokens?: number,
|
|
3153
|
-
source?: RagSessionSource,
|
|
3154
|
-
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3155
|
-
duration: number,
|
|
3156
|
-
round?: number,
|
|
3157
|
-
thumbUp?: number,
|
|
3158
|
-
errors: string,
|
|
3159
|
-
createTime: number,
|
|
3160
|
-
createDate: string,
|
|
3161
|
-
updateTime: number,
|
|
3162
|
-
updateDate: string,
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
export enum TokensCase {
|
|
3166
|
-
_TOKENS_NOT_SET = 0,
|
|
3167
|
-
TOKENS = 5,
|
|
3168
|
-
}
|
|
3169
|
-
|
|
3170
|
-
export enum SourceCase {
|
|
3171
|
-
_SOURCE_NOT_SET = 0,
|
|
3172
|
-
SOURCE = 6,
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
|
-
export enum RoundCase {
|
|
3176
|
-
_ROUND_NOT_SET = 0,
|
|
3177
|
-
ROUND = 9,
|
|
3178
|
-
}
|
|
3179
|
-
|
|
3180
|
-
export enum ThumbUpCase {
|
|
3181
|
-
_THUMB_UP_NOT_SET = 0,
|
|
3182
|
-
THUMB_UP = 10,
|
|
3183
|
-
}
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
|
-
export class RagDeleteAgentSessionsRequest extends jspb.Message {
|
|
3187
|
-
getParent(): string;
|
|
3188
|
-
setParent(value: string): RagDeleteAgentSessionsRequest;
|
|
3189
|
-
|
|
3190
|
-
getLanguageCode(): string;
|
|
3191
|
-
setLanguageCode(value: string): RagDeleteAgentSessionsRequest;
|
|
3192
|
-
|
|
3193
|
-
getAgentId(): string;
|
|
3194
|
-
setAgentId(value: string): RagDeleteAgentSessionsRequest;
|
|
3195
|
-
|
|
3196
|
-
getIdsList(): Array<string>;
|
|
3197
|
-
setIdsList(value: Array<string>): RagDeleteAgentSessionsRequest;
|
|
3198
|
-
clearIdsList(): RagDeleteAgentSessionsRequest;
|
|
3199
|
-
addIds(value: string, index?: number): RagDeleteAgentSessionsRequest;
|
|
3200
|
-
|
|
3201
|
-
getDeleteAll(): boolean;
|
|
3202
|
-
setDeleteAll(value: boolean): RagDeleteAgentSessionsRequest;
|
|
3203
|
-
hasDeleteAll(): boolean;
|
|
3204
|
-
clearDeleteAll(): RagDeleteAgentSessionsRequest;
|
|
3205
|
-
|
|
3206
|
-
serializeBinary(): Uint8Array;
|
|
3207
|
-
toObject(includeInstance?: boolean): RagDeleteAgentSessionsRequest.AsObject;
|
|
3208
|
-
static toObject(includeInstance: boolean, msg: RagDeleteAgentSessionsRequest): RagDeleteAgentSessionsRequest.AsObject;
|
|
3209
|
-
static serializeBinaryToWriter(message: RagDeleteAgentSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
3210
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteAgentSessionsRequest;
|
|
3211
|
-
static deserializeBinaryFromReader(message: RagDeleteAgentSessionsRequest, reader: jspb.BinaryReader): RagDeleteAgentSessionsRequest;
|
|
3212
|
-
}
|
|
3213
|
-
|
|
3214
|
-
export namespace RagDeleteAgentSessionsRequest {
|
|
3215
|
-
export type AsObject = {
|
|
3216
|
-
parent: string,
|
|
3217
|
-
languageCode: string,
|
|
3218
|
-
agentId: string,
|
|
3219
|
-
idsList: Array<string>,
|
|
3220
|
-
deleteAll?: boolean,
|
|
3221
|
-
}
|
|
3222
|
-
|
|
3223
|
-
export enum DeleteAllCase {
|
|
3224
|
-
_DELETE_ALL_NOT_SET = 0,
|
|
3225
|
-
DELETE_ALL = 5,
|
|
3226
|
-
}
|
|
3227
|
-
}
|
|
3228
|
-
|
|
3229
|
-
export class RagChatCompletionRequest extends jspb.Message {
|
|
3230
|
-
getParent(): string;
|
|
3231
|
-
setParent(value: string): RagChatCompletionRequest;
|
|
3232
|
-
|
|
3233
|
-
getLanguageCode(): string;
|
|
3234
|
-
setLanguageCode(value: string): RagChatCompletionRequest;
|
|
3235
|
-
|
|
3236
|
-
getChatId(): string;
|
|
3237
|
-
setChatId(value: string): RagChatCompletionRequest;
|
|
3238
|
-
|
|
3239
|
-
getMessagesList(): Array<RagMessage>;
|
|
3240
|
-
setMessagesList(value: Array<RagMessage>): RagChatCompletionRequest;
|
|
3241
|
-
clearMessagesList(): RagChatCompletionRequest;
|
|
3242
|
-
addMessages(value?: RagMessage, index?: number): RagMessage;
|
|
3243
|
-
|
|
3244
|
-
getSessionId(): string;
|
|
3245
|
-
setSessionId(value: string): RagChatCompletionRequest;
|
|
3246
|
-
|
|
3247
|
-
getName(): string;
|
|
3248
|
-
setName(value: string): RagChatCompletionRequest;
|
|
3249
|
-
|
|
3250
|
-
getUserId(): string;
|
|
3251
|
-
setUserId(value: string): RagChatCompletionRequest;
|
|
3252
|
-
|
|
3253
|
-
getStream(): boolean;
|
|
3254
|
-
setStream(value: boolean): RagChatCompletionRequest;
|
|
3255
|
-
hasStream(): boolean;
|
|
3256
|
-
clearStream(): RagChatCompletionRequest;
|
|
3257
|
-
|
|
3258
|
-
serializeBinary(): Uint8Array;
|
|
3259
|
-
toObject(includeInstance?: boolean): RagChatCompletionRequest.AsObject;
|
|
3260
|
-
static toObject(includeInstance: boolean, msg: RagChatCompletionRequest): RagChatCompletionRequest.AsObject;
|
|
3261
|
-
static serializeBinaryToWriter(message: RagChatCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
3262
|
-
static deserializeBinary(bytes: Uint8Array): RagChatCompletionRequest;
|
|
3263
|
-
static deserializeBinaryFromReader(message: RagChatCompletionRequest, reader: jspb.BinaryReader): RagChatCompletionRequest;
|
|
3264
|
-
}
|
|
3265
|
-
|
|
3266
|
-
export namespace RagChatCompletionRequest {
|
|
3267
|
-
export type AsObject = {
|
|
3268
|
-
parent: string,
|
|
3269
|
-
languageCode: string,
|
|
3270
|
-
chatId: string,
|
|
3271
|
-
messagesList: Array<RagMessage.AsObject>,
|
|
3272
|
-
sessionId: string,
|
|
3273
|
-
name: string,
|
|
3274
|
-
userId: string,
|
|
3275
|
-
stream?: boolean,
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
export enum StreamCase {
|
|
3279
|
-
_STREAM_NOT_SET = 0,
|
|
3280
|
-
STREAM = 9,
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
|
|
3284
|
-
export class RagChatCompletionResponse extends jspb.Message {
|
|
3285
|
-
getAnswer(): string;
|
|
3286
|
-
setAnswer(value: string): RagChatCompletionResponse;
|
|
3287
|
-
|
|
3288
|
-
getReference(): RagReference | undefined;
|
|
3289
|
-
setReference(value?: RagReference): RagChatCompletionResponse;
|
|
3290
|
-
hasReference(): boolean;
|
|
3291
|
-
clearReference(): RagChatCompletionResponse;
|
|
3292
|
-
|
|
3293
|
-
getAudioBinary(): string;
|
|
3294
|
-
setAudioBinary(value: string): RagChatCompletionResponse;
|
|
3295
|
-
|
|
3296
|
-
getId(): string;
|
|
3297
|
-
setId(value: string): RagChatCompletionResponse;
|
|
3298
|
-
|
|
3299
|
-
getSessionId(): string;
|
|
3300
|
-
setSessionId(value: string): RagChatCompletionResponse;
|
|
3301
|
-
|
|
3302
|
-
getPrompt(): string;
|
|
3303
|
-
setPrompt(value: string): RagChatCompletionResponse;
|
|
3304
|
-
|
|
3305
|
-
getCreatedAt(): number;
|
|
3306
|
-
setCreatedAt(value: number): RagChatCompletionResponse;
|
|
3307
|
-
|
|
3308
|
-
serializeBinary(): Uint8Array;
|
|
3309
|
-
toObject(includeInstance?: boolean): RagChatCompletionResponse.AsObject;
|
|
3310
|
-
static toObject(includeInstance: boolean, msg: RagChatCompletionResponse): RagChatCompletionResponse.AsObject;
|
|
3311
|
-
static serializeBinaryToWriter(message: RagChatCompletionResponse, writer: jspb.BinaryWriter): void;
|
|
3312
|
-
static deserializeBinary(bytes: Uint8Array): RagChatCompletionResponse;
|
|
3313
|
-
static deserializeBinaryFromReader(message: RagChatCompletionResponse, reader: jspb.BinaryReader): RagChatCompletionResponse;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
export namespace RagChatCompletionResponse {
|
|
3317
|
-
export type AsObject = {
|
|
3318
|
-
answer: string,
|
|
3319
|
-
reference?: RagReference.AsObject,
|
|
3320
|
-
audioBinary: string,
|
|
3321
|
-
id: string,
|
|
3322
|
-
sessionId: string,
|
|
3323
|
-
prompt: string,
|
|
3324
|
-
createdAt: number,
|
|
3325
|
-
}
|
|
3326
|
-
}
|
|
3327
|
-
|
|
3328
|
-
export class RagReference extends jspb.Message {
|
|
3329
|
-
getChunksList(): Array<RagReferenceChunk>;
|
|
3330
|
-
setChunksList(value: Array<RagReferenceChunk>): RagReference;
|
|
3331
|
-
clearChunksList(): RagReference;
|
|
3332
|
-
addChunks(value?: RagReferenceChunk, index?: number): RagReferenceChunk;
|
|
3333
|
-
|
|
3334
|
-
getDocAggsList(): Array<RagDocAgg>;
|
|
3335
|
-
setDocAggsList(value: Array<RagDocAgg>): RagReference;
|
|
3336
|
-
clearDocAggsList(): RagReference;
|
|
3337
|
-
addDocAggs(value?: RagDocAgg, index?: number): RagDocAgg;
|
|
3338
|
-
|
|
3339
|
-
getTotal(): number;
|
|
3340
|
-
setTotal(value: number): RagReference;
|
|
3341
|
-
|
|
3342
|
-
serializeBinary(): Uint8Array;
|
|
3343
|
-
toObject(includeInstance?: boolean): RagReference.AsObject;
|
|
3344
|
-
static toObject(includeInstance: boolean, msg: RagReference): RagReference.AsObject;
|
|
3345
|
-
static serializeBinaryToWriter(message: RagReference, writer: jspb.BinaryWriter): void;
|
|
3346
|
-
static deserializeBinary(bytes: Uint8Array): RagReference;
|
|
3347
|
-
static deserializeBinaryFromReader(message: RagReference, reader: jspb.BinaryReader): RagReference;
|
|
3348
|
-
}
|
|
3349
|
-
|
|
3350
|
-
export namespace RagReference {
|
|
3351
|
-
export type AsObject = {
|
|
3352
|
-
chunksList: Array<RagReferenceChunk.AsObject>,
|
|
3353
|
-
docAggsList: Array<RagDocAgg.AsObject>,
|
|
3354
|
-
total: number,
|
|
3355
|
-
}
|
|
3356
|
-
}
|
|
3357
|
-
|
|
3358
|
-
export class RagReferenceChunk extends jspb.Message {
|
|
3359
|
-
getId(): string;
|
|
3360
|
-
setId(value: string): RagReferenceChunk;
|
|
3361
|
-
|
|
3362
|
-
getContent(): string;
|
|
3363
|
-
setContent(value: string): RagReferenceChunk;
|
|
3364
|
-
|
|
3365
|
-
getDocumentId(): string;
|
|
3366
|
-
setDocumentId(value: string): RagReferenceChunk;
|
|
3367
|
-
|
|
3368
|
-
getDocumentName(): string;
|
|
3369
|
-
setDocumentName(value: string): RagReferenceChunk;
|
|
3370
|
-
|
|
3371
|
-
getDatasetId(): string;
|
|
3372
|
-
setDatasetId(value: string): RagReferenceChunk;
|
|
3373
|
-
|
|
3374
|
-
getImageId(): string;
|
|
3375
|
-
setImageId(value: string): RagReferenceChunk;
|
|
3376
|
-
|
|
3377
|
-
getPositionsList(): Array<RagIntList>;
|
|
3378
|
-
setPositionsList(value: Array<RagIntList>): RagReferenceChunk;
|
|
3379
|
-
clearPositionsList(): RagReferenceChunk;
|
|
3380
|
-
addPositions(value?: RagIntList, index?: number): RagIntList;
|
|
3381
|
-
|
|
3382
|
-
getVectorSimilarity(): number;
|
|
3383
|
-
setVectorSimilarity(value: number): RagReferenceChunk;
|
|
3384
|
-
|
|
3385
|
-
getTermSimilarity(): number;
|
|
3386
|
-
setTermSimilarity(value: number): RagReferenceChunk;
|
|
3387
|
-
|
|
3388
|
-
getSimilarity(): number;
|
|
3389
|
-
setSimilarity(value: number): RagReferenceChunk;
|
|
3390
|
-
|
|
3391
|
-
serializeBinary(): Uint8Array;
|
|
3392
|
-
toObject(includeInstance?: boolean): RagReferenceChunk.AsObject;
|
|
3393
|
-
static toObject(includeInstance: boolean, msg: RagReferenceChunk): RagReferenceChunk.AsObject;
|
|
3394
|
-
static serializeBinaryToWriter(message: RagReferenceChunk, writer: jspb.BinaryWriter): void;
|
|
3395
|
-
static deserializeBinary(bytes: Uint8Array): RagReferenceChunk;
|
|
3396
|
-
static deserializeBinaryFromReader(message: RagReferenceChunk, reader: jspb.BinaryReader): RagReferenceChunk;
|
|
3397
|
-
}
|
|
3398
|
-
|
|
3399
|
-
export namespace RagReferenceChunk {
|
|
3400
|
-
export type AsObject = {
|
|
3401
|
-
id: string,
|
|
3402
|
-
content: string,
|
|
3403
|
-
documentId: string,
|
|
3404
|
-
documentName: string,
|
|
3405
|
-
datasetId: string,
|
|
3406
|
-
imageId: string,
|
|
3407
|
-
positionsList: Array<RagIntList.AsObject>,
|
|
3408
|
-
vectorSimilarity: number,
|
|
3409
|
-
termSimilarity: number,
|
|
3410
|
-
similarity: number,
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
|
|
3414
|
-
export class RagIntList extends jspb.Message {
|
|
3415
|
-
getIntListList(): Array<number>;
|
|
3416
|
-
setIntListList(value: Array<number>): RagIntList;
|
|
3417
|
-
clearIntListList(): RagIntList;
|
|
3418
|
-
addIntList(value: number, index?: number): RagIntList;
|
|
3419
|
-
|
|
3420
|
-
serializeBinary(): Uint8Array;
|
|
3421
|
-
toObject(includeInstance?: boolean): RagIntList.AsObject;
|
|
3422
|
-
static toObject(includeInstance: boolean, msg: RagIntList): RagIntList.AsObject;
|
|
3423
|
-
static serializeBinaryToWriter(message: RagIntList, writer: jspb.BinaryWriter): void;
|
|
3424
|
-
static deserializeBinary(bytes: Uint8Array): RagIntList;
|
|
3425
|
-
static deserializeBinaryFromReader(message: RagIntList, reader: jspb.BinaryReader): RagIntList;
|
|
3426
|
-
}
|
|
3427
|
-
|
|
3428
|
-
export namespace RagIntList {
|
|
3429
|
-
export type AsObject = {
|
|
3430
|
-
intListList: Array<number>,
|
|
3431
|
-
}
|
|
3432
|
-
}
|
|
3433
|
-
|
|
3434
|
-
export class RagAgentCompletionRequest extends jspb.Message {
|
|
3435
|
-
getParent(): string;
|
|
3436
|
-
setParent(value: string): RagAgentCompletionRequest;
|
|
3437
|
-
|
|
3438
|
-
getLanguageCode(): string;
|
|
3439
|
-
setLanguageCode(value: string): RagAgentCompletionRequest;
|
|
3440
|
-
|
|
3441
|
-
getAgentId(): string;
|
|
3442
|
-
setAgentId(value: string): RagAgentCompletionRequest;
|
|
3443
|
-
|
|
3444
|
-
getSessionId(): string;
|
|
3445
|
-
setSessionId(value: string): RagAgentCompletionRequest;
|
|
3446
|
-
|
|
3447
|
-
getQuestion(): string;
|
|
3448
|
-
setQuestion(value: string): RagAgentCompletionRequest;
|
|
3449
|
-
|
|
3450
|
-
getStream(): boolean;
|
|
3451
|
-
setStream(value: boolean): RagAgentCompletionRequest;
|
|
3452
|
-
hasStream(): boolean;
|
|
3453
|
-
clearStream(): RagAgentCompletionRequest;
|
|
3454
|
-
|
|
3455
|
-
getFilesList(): Array<RagFile>;
|
|
3456
|
-
setFilesList(value: Array<RagFile>): RagAgentCompletionRequest;
|
|
3457
|
-
clearFilesList(): RagAgentCompletionRequest;
|
|
3458
|
-
addFiles(value?: RagFile, index?: number): RagFile;
|
|
3459
|
-
|
|
3460
|
-
getInputs(): google_protobuf_struct_pb.Struct | undefined;
|
|
3461
|
-
setInputs(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionRequest;
|
|
3462
|
-
hasInputs(): boolean;
|
|
3463
|
-
clearInputs(): RagAgentCompletionRequest;
|
|
3464
|
-
|
|
3465
|
-
getUserId(): string;
|
|
3466
|
-
setUserId(value: string): RagAgentCompletionRequest;
|
|
3467
|
-
|
|
3468
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3469
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionRequest;
|
|
3470
|
-
hasAdditionalFields(): boolean;
|
|
3471
|
-
clearAdditionalFields(): RagAgentCompletionRequest;
|
|
3472
|
-
|
|
3473
|
-
serializeBinary(): Uint8Array;
|
|
3474
|
-
toObject(includeInstance?: boolean): RagAgentCompletionRequest.AsObject;
|
|
3475
|
-
static toObject(includeInstance: boolean, msg: RagAgentCompletionRequest): RagAgentCompletionRequest.AsObject;
|
|
3476
|
-
static serializeBinaryToWriter(message: RagAgentCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
3477
|
-
static deserializeBinary(bytes: Uint8Array): RagAgentCompletionRequest;
|
|
3478
|
-
static deserializeBinaryFromReader(message: RagAgentCompletionRequest, reader: jspb.BinaryReader): RagAgentCompletionRequest;
|
|
3479
|
-
}
|
|
3480
|
-
|
|
3481
|
-
export namespace RagAgentCompletionRequest {
|
|
3482
|
-
export type AsObject = {
|
|
3483
|
-
parent: string,
|
|
3484
|
-
languageCode: string,
|
|
3485
|
-
agentId: string,
|
|
3486
|
-
sessionId: string,
|
|
3487
|
-
question: string,
|
|
3488
|
-
stream?: boolean,
|
|
3489
|
-
filesList: Array<RagFile.AsObject>,
|
|
3490
|
-
inputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3491
|
-
userId: string,
|
|
3492
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3493
|
-
}
|
|
3494
|
-
|
|
3495
|
-
export enum StreamCase {
|
|
3496
|
-
_STREAM_NOT_SET = 0,
|
|
3497
|
-
STREAM = 6,
|
|
3498
|
-
}
|
|
3499
|
-
}
|
|
3500
|
-
|
|
3501
|
-
export class RagFile extends jspb.Message {
|
|
3502
|
-
getId(): string;
|
|
3503
|
-
setId(value: string): RagFile;
|
|
3504
|
-
|
|
3505
|
-
getParentId(): string;
|
|
3506
|
-
setParentId(value: string): RagFile;
|
|
3507
|
-
|
|
3508
|
-
getTenantId(): string;
|
|
3509
|
-
setTenantId(value: string): RagFile;
|
|
3510
|
-
|
|
3511
|
-
getCreatedBy(): string;
|
|
3512
|
-
setCreatedBy(value: string): RagFile;
|
|
3513
|
-
|
|
3514
|
-
getName(): string;
|
|
3515
|
-
setName(value: string): RagFile;
|
|
3516
|
-
|
|
3517
|
-
getLocation(): string;
|
|
3518
|
-
setLocation(value: string): RagFile;
|
|
3519
|
-
|
|
3520
|
-
getSize(): number;
|
|
3521
|
-
setSize(value: number): RagFile;
|
|
3522
|
-
hasSize(): boolean;
|
|
3523
|
-
clearSize(): RagFile;
|
|
3524
|
-
|
|
3525
|
-
getType(): string;
|
|
3526
|
-
setType(value: string): RagFile;
|
|
3527
|
-
|
|
3528
|
-
getSourceType(): string;
|
|
3529
|
-
setSourceType(value: string): RagFile;
|
|
3530
|
-
|
|
3531
|
-
getCreateTime(): number;
|
|
3532
|
-
setCreateTime(value: number): RagFile;
|
|
3533
|
-
|
|
3534
|
-
getCreateDate(): string;
|
|
3535
|
-
setCreateDate(value: string): RagFile;
|
|
3536
|
-
|
|
3537
|
-
getUpdateTime(): number;
|
|
3538
|
-
setUpdateTime(value: number): RagFile;
|
|
3539
|
-
|
|
3540
|
-
getUpdateDate(): string;
|
|
3541
|
-
setUpdateDate(value: string): RagFile;
|
|
3542
|
-
|
|
3543
|
-
serializeBinary(): Uint8Array;
|
|
3544
|
-
toObject(includeInstance?: boolean): RagFile.AsObject;
|
|
3545
|
-
static toObject(includeInstance: boolean, msg: RagFile): RagFile.AsObject;
|
|
3546
|
-
static serializeBinaryToWriter(message: RagFile, writer: jspb.BinaryWriter): void;
|
|
3547
|
-
static deserializeBinary(bytes: Uint8Array): RagFile;
|
|
3548
|
-
static deserializeBinaryFromReader(message: RagFile, reader: jspb.BinaryReader): RagFile;
|
|
3549
|
-
}
|
|
3550
|
-
|
|
3551
|
-
export namespace RagFile {
|
|
3552
|
-
export type AsObject = {
|
|
3553
|
-
id: string,
|
|
3554
|
-
parentId: string,
|
|
3555
|
-
tenantId: string,
|
|
3556
|
-
createdBy: string,
|
|
3557
|
-
name: string,
|
|
3558
|
-
location: string,
|
|
3559
|
-
size?: number,
|
|
3560
|
-
type: string,
|
|
3561
|
-
sourceType: string,
|
|
3562
|
-
createTime: number,
|
|
3563
|
-
createDate: string,
|
|
3564
|
-
updateTime: number,
|
|
3565
|
-
updateDate: string,
|
|
3566
|
-
}
|
|
3567
|
-
|
|
3568
|
-
export enum SizeCase {
|
|
3569
|
-
_SIZE_NOT_SET = 0,
|
|
3570
|
-
SIZE = 7,
|
|
3571
|
-
}
|
|
3572
|
-
}
|
|
3573
|
-
|
|
3574
|
-
export class RagAgentCompletionResponse extends jspb.Message {
|
|
3575
|
-
getEvent(): RagAgentEventType;
|
|
3576
|
-
setEvent(value: RagAgentEventType): RagAgentCompletionResponse;
|
|
3577
|
-
hasEvent(): boolean;
|
|
3578
|
-
clearEvent(): RagAgentCompletionResponse;
|
|
3579
|
-
|
|
3580
|
-
getMessageId(): string;
|
|
3581
|
-
setMessageId(value: string): RagAgentCompletionResponse;
|
|
3582
|
-
|
|
3583
|
-
getCreatedAt(): number;
|
|
3584
|
-
setCreatedAt(value: number): RagAgentCompletionResponse;
|
|
3585
|
-
|
|
3586
|
-
getTaskId(): string;
|
|
3587
|
-
setTaskId(value: string): RagAgentCompletionResponse;
|
|
3588
|
-
|
|
3589
|
-
getData(): RagAgentCompletionData | undefined;
|
|
3590
|
-
setData(value?: RagAgentCompletionData): RagAgentCompletionResponse;
|
|
3591
|
-
hasData(): boolean;
|
|
3592
|
-
clearData(): RagAgentCompletionResponse;
|
|
3593
|
-
|
|
3594
|
-
getSessionId(): string;
|
|
3595
|
-
setSessionId(value: string): RagAgentCompletionResponse;
|
|
3596
|
-
|
|
3597
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3598
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionResponse;
|
|
3599
|
-
hasAdditionalFields(): boolean;
|
|
3600
|
-
clearAdditionalFields(): RagAgentCompletionResponse;
|
|
3601
|
-
|
|
3602
|
-
serializeBinary(): Uint8Array;
|
|
3603
|
-
toObject(includeInstance?: boolean): RagAgentCompletionResponse.AsObject;
|
|
3604
|
-
static toObject(includeInstance: boolean, msg: RagAgentCompletionResponse): RagAgentCompletionResponse.AsObject;
|
|
3605
|
-
static serializeBinaryToWriter(message: RagAgentCompletionResponse, writer: jspb.BinaryWriter): void;
|
|
3606
|
-
static deserializeBinary(bytes: Uint8Array): RagAgentCompletionResponse;
|
|
3607
|
-
static deserializeBinaryFromReader(message: RagAgentCompletionResponse, reader: jspb.BinaryReader): RagAgentCompletionResponse;
|
|
3608
|
-
}
|
|
3609
|
-
|
|
3610
|
-
export namespace RagAgentCompletionResponse {
|
|
3611
|
-
export type AsObject = {
|
|
3612
|
-
event?: RagAgentEventType,
|
|
3613
|
-
messageId: string,
|
|
3614
|
-
createdAt: number,
|
|
3615
|
-
taskId: string,
|
|
3616
|
-
data?: RagAgentCompletionData.AsObject,
|
|
3617
|
-
sessionId: string,
|
|
3618
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3619
|
-
}
|
|
3620
|
-
|
|
3621
|
-
export enum EventCase {
|
|
3622
|
-
_EVENT_NOT_SET = 0,
|
|
3623
|
-
EVENT = 1,
|
|
3624
|
-
}
|
|
3625
|
-
}
|
|
3626
|
-
|
|
3627
|
-
export class RagAgentCompletionData extends jspb.Message {
|
|
3628
|
-
getContent(): string;
|
|
3629
|
-
setContent(value: string): RagAgentCompletionData;
|
|
3630
|
-
|
|
3631
|
-
getInputs(): google_protobuf_struct_pb.Struct | undefined;
|
|
3632
|
-
setInputs(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
3633
|
-
hasInputs(): boolean;
|
|
3634
|
-
clearInputs(): RagAgentCompletionData;
|
|
3635
|
-
|
|
3636
|
-
getOutputs(): google_protobuf_struct_pb.Struct | undefined;
|
|
3637
|
-
setOutputs(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
3638
|
-
hasOutputs(): boolean;
|
|
3639
|
-
clearOutputs(): RagAgentCompletionData;
|
|
3640
|
-
|
|
3641
|
-
getReference(): google_protobuf_struct_pb.Struct | undefined;
|
|
3642
|
-
setReference(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
3643
|
-
hasReference(): boolean;
|
|
3644
|
-
clearReference(): RagAgentCompletionData;
|
|
3645
|
-
|
|
3646
|
-
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3647
|
-
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
3648
|
-
hasAdditionalFields(): boolean;
|
|
3649
|
-
clearAdditionalFields(): RagAgentCompletionData;
|
|
3650
|
-
|
|
3651
|
-
serializeBinary(): Uint8Array;
|
|
3652
|
-
toObject(includeInstance?: boolean): RagAgentCompletionData.AsObject;
|
|
3653
|
-
static toObject(includeInstance: boolean, msg: RagAgentCompletionData): RagAgentCompletionData.AsObject;
|
|
3654
|
-
static serializeBinaryToWriter(message: RagAgentCompletionData, writer: jspb.BinaryWriter): void;
|
|
3655
|
-
static deserializeBinary(bytes: Uint8Array): RagAgentCompletionData;
|
|
3656
|
-
static deserializeBinaryFromReader(message: RagAgentCompletionData, reader: jspb.BinaryReader): RagAgentCompletionData;
|
|
3657
|
-
}
|
|
3658
|
-
|
|
3659
|
-
export namespace RagAgentCompletionData {
|
|
3660
|
-
export type AsObject = {
|
|
3661
|
-
content: string,
|
|
3662
|
-
inputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3663
|
-
outputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3664
|
-
reference?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3665
|
-
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3666
|
-
}
|
|
3667
|
-
}
|
|
3668
|
-
|
|
3669
|
-
export class RagAskRequest extends jspb.Message {
|
|
3670
|
-
getParent(): string;
|
|
3671
|
-
setParent(value: string): RagAskRequest;
|
|
3672
|
-
|
|
3673
|
-
getLanguageCode(): string;
|
|
3674
|
-
setLanguageCode(value: string): RagAskRequest;
|
|
3675
|
-
|
|
3676
|
-
getQuestion(): string;
|
|
3677
|
-
setQuestion(value: string): RagAskRequest;
|
|
3678
|
-
|
|
3679
|
-
getDatasetIdsList(): Array<string>;
|
|
3680
|
-
setDatasetIdsList(value: Array<string>): RagAskRequest;
|
|
3681
|
-
clearDatasetIdsList(): RagAskRequest;
|
|
3682
|
-
addDatasetIds(value: string, index?: number): RagAskRequest;
|
|
3683
|
-
|
|
3684
|
-
serializeBinary(): Uint8Array;
|
|
3685
|
-
toObject(includeInstance?: boolean): RagAskRequest.AsObject;
|
|
3686
|
-
static toObject(includeInstance: boolean, msg: RagAskRequest): RagAskRequest.AsObject;
|
|
3687
|
-
static serializeBinaryToWriter(message: RagAskRequest, writer: jspb.BinaryWriter): void;
|
|
3688
|
-
static deserializeBinary(bytes: Uint8Array): RagAskRequest;
|
|
3689
|
-
static deserializeBinaryFromReader(message: RagAskRequest, reader: jspb.BinaryReader): RagAskRequest;
|
|
3690
|
-
}
|
|
3691
|
-
|
|
3692
|
-
export namespace RagAskRequest {
|
|
3693
|
-
export type AsObject = {
|
|
3694
|
-
parent: string,
|
|
3695
|
-
languageCode: string,
|
|
3696
|
-
question: string,
|
|
3697
|
-
datasetIdsList: Array<string>,
|
|
3698
|
-
}
|
|
3699
|
-
}
|
|
3700
|
-
|
|
3701
|
-
export class RagAskResponse extends jspb.Message {
|
|
3702
|
-
getAnswer(): string;
|
|
3703
|
-
setAnswer(value: string): RagAskResponse;
|
|
3704
|
-
|
|
3705
|
-
getReference(): google_protobuf_struct_pb.Struct | undefined;
|
|
3706
|
-
setReference(value?: google_protobuf_struct_pb.Struct): RagAskResponse;
|
|
3707
|
-
hasReference(): boolean;
|
|
3708
|
-
clearReference(): RagAskResponse;
|
|
3709
|
-
|
|
3710
|
-
serializeBinary(): Uint8Array;
|
|
3711
|
-
toObject(includeInstance?: boolean): RagAskResponse.AsObject;
|
|
3712
|
-
static toObject(includeInstance: boolean, msg: RagAskResponse): RagAskResponse.AsObject;
|
|
3713
|
-
static serializeBinaryToWriter(message: RagAskResponse, writer: jspb.BinaryWriter): void;
|
|
3714
|
-
static deserializeBinary(bytes: Uint8Array): RagAskResponse;
|
|
3715
|
-
static deserializeBinaryFromReader(message: RagAskResponse, reader: jspb.BinaryReader): RagAskResponse;
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
|
-
export namespace RagAskResponse {
|
|
3719
|
-
export type AsObject = {
|
|
3720
|
-
answer: string,
|
|
3721
|
-
reference?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
|
|
3725
|
-
export class RagRelatedQuestionsRequest extends jspb.Message {
|
|
3726
|
-
getParent(): string;
|
|
3727
|
-
setParent(value: string): RagRelatedQuestionsRequest;
|
|
3728
|
-
|
|
3729
|
-
getLanguageCode(): string;
|
|
3730
|
-
setLanguageCode(value: string): RagRelatedQuestionsRequest;
|
|
3731
|
-
|
|
3732
|
-
getQuestion(): string;
|
|
3733
|
-
setQuestion(value: string): RagRelatedQuestionsRequest;
|
|
3734
|
-
|
|
3735
|
-
getIndustry(): string;
|
|
3736
|
-
setIndustry(value: string): RagRelatedQuestionsRequest;
|
|
3737
|
-
|
|
3738
|
-
serializeBinary(): Uint8Array;
|
|
3739
|
-
toObject(includeInstance?: boolean): RagRelatedQuestionsRequest.AsObject;
|
|
3740
|
-
static toObject(includeInstance: boolean, msg: RagRelatedQuestionsRequest): RagRelatedQuestionsRequest.AsObject;
|
|
3741
|
-
static serializeBinaryToWriter(message: RagRelatedQuestionsRequest, writer: jspb.BinaryWriter): void;
|
|
3742
|
-
static deserializeBinary(bytes: Uint8Array): RagRelatedQuestionsRequest;
|
|
3743
|
-
static deserializeBinaryFromReader(message: RagRelatedQuestionsRequest, reader: jspb.BinaryReader): RagRelatedQuestionsRequest;
|
|
3744
|
-
}
|
|
3745
|
-
|
|
3746
|
-
export namespace RagRelatedQuestionsRequest {
|
|
3747
|
-
export type AsObject = {
|
|
3748
|
-
parent: string,
|
|
3749
|
-
languageCode: string,
|
|
3750
|
-
question: string,
|
|
3751
|
-
industry: string,
|
|
3752
|
-
}
|
|
3753
|
-
}
|
|
3754
|
-
|
|
3755
|
-
export class RagRelatedQuestionsResponse extends jspb.Message {
|
|
3756
|
-
getQuestionsList(): Array<string>;
|
|
3757
|
-
setQuestionsList(value: Array<string>): RagRelatedQuestionsResponse;
|
|
3758
|
-
clearQuestionsList(): RagRelatedQuestionsResponse;
|
|
3759
|
-
addQuestions(value: string, index?: number): RagRelatedQuestionsResponse;
|
|
3760
|
-
|
|
3761
|
-
serializeBinary(): Uint8Array;
|
|
3762
|
-
toObject(includeInstance?: boolean): RagRelatedQuestionsResponse.AsObject;
|
|
3763
|
-
static toObject(includeInstance: boolean, msg: RagRelatedQuestionsResponse): RagRelatedQuestionsResponse.AsObject;
|
|
3764
|
-
static serializeBinaryToWriter(message: RagRelatedQuestionsResponse, writer: jspb.BinaryWriter): void;
|
|
3765
|
-
static deserializeBinary(bytes: Uint8Array): RagRelatedQuestionsResponse;
|
|
3766
|
-
static deserializeBinaryFromReader(message: RagRelatedQuestionsResponse, reader: jspb.BinaryReader): RagRelatedQuestionsResponse;
|
|
3767
|
-
}
|
|
3768
|
-
|
|
3769
|
-
export namespace RagRelatedQuestionsResponse {
|
|
3770
|
-
export type AsObject = {
|
|
3771
|
-
questionsList: Array<string>,
|
|
3772
|
-
}
|
|
3773
|
-
}
|
|
3774
|
-
|
|
3775
|
-
export class RagCreateCrawlerRequest extends jspb.Message {
|
|
3776
|
-
getParent(): string;
|
|
3777
|
-
setParent(value: string): RagCreateCrawlerRequest;
|
|
3778
|
-
|
|
3779
|
-
getLanguageCode(): string;
|
|
3780
|
-
setLanguageCode(value: string): RagCreateCrawlerRequest;
|
|
3781
|
-
|
|
3782
|
-
getCrawler(): RagCrawler | undefined;
|
|
3783
|
-
setCrawler(value?: RagCrawler): RagCreateCrawlerRequest;
|
|
3784
|
-
hasCrawler(): boolean;
|
|
3785
|
-
clearCrawler(): RagCreateCrawlerRequest;
|
|
3786
|
-
|
|
3787
|
-
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
3788
|
-
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): RagCreateCrawlerRequest;
|
|
3789
|
-
hasFieldMask(): boolean;
|
|
3790
|
-
clearFieldMask(): RagCreateCrawlerRequest;
|
|
3791
|
-
|
|
3792
|
-
serializeBinary(): Uint8Array;
|
|
3793
|
-
toObject(includeInstance?: boolean): RagCreateCrawlerRequest.AsObject;
|
|
3794
|
-
static toObject(includeInstance: boolean, msg: RagCreateCrawlerRequest): RagCreateCrawlerRequest.AsObject;
|
|
3795
|
-
static serializeBinaryToWriter(message: RagCreateCrawlerRequest, writer: jspb.BinaryWriter): void;
|
|
3796
|
-
static deserializeBinary(bytes: Uint8Array): RagCreateCrawlerRequest;
|
|
3797
|
-
static deserializeBinaryFromReader(message: RagCreateCrawlerRequest, reader: jspb.BinaryReader): RagCreateCrawlerRequest;
|
|
3798
|
-
}
|
|
3799
|
-
|
|
3800
|
-
export namespace RagCreateCrawlerRequest {
|
|
3801
|
-
export type AsObject = {
|
|
3802
|
-
parent: string,
|
|
3803
|
-
languageCode: string,
|
|
3804
|
-
crawler?: RagCrawler.AsObject,
|
|
3805
|
-
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
3806
|
-
}
|
|
3807
|
-
}
|
|
3808
|
-
|
|
3809
|
-
export class RagDeleteCrawlerRequest extends jspb.Message {
|
|
3810
|
-
getName(): string;
|
|
3811
|
-
setName(value: string): RagDeleteCrawlerRequest;
|
|
3812
|
-
|
|
3813
|
-
getParent(): string;
|
|
3814
|
-
setParent(value: string): RagDeleteCrawlerRequest;
|
|
3815
|
-
|
|
3816
|
-
getLanguageCode(): string;
|
|
3817
|
-
setLanguageCode(value: string): RagDeleteCrawlerRequest;
|
|
3818
|
-
|
|
3819
|
-
serializeBinary(): Uint8Array;
|
|
3820
|
-
toObject(includeInstance?: boolean): RagDeleteCrawlerRequest.AsObject;
|
|
3821
|
-
static toObject(includeInstance: boolean, msg: RagDeleteCrawlerRequest): RagDeleteCrawlerRequest.AsObject;
|
|
3822
|
-
static serializeBinaryToWriter(message: RagDeleteCrawlerRequest, writer: jspb.BinaryWriter): void;
|
|
3823
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlerRequest;
|
|
3824
|
-
static deserializeBinaryFromReader(message: RagDeleteCrawlerRequest, reader: jspb.BinaryReader): RagDeleteCrawlerRequest;
|
|
3825
|
-
}
|
|
3826
|
-
|
|
3827
|
-
export namespace RagDeleteCrawlerRequest {
|
|
3828
|
-
export type AsObject = {
|
|
3829
|
-
name: string,
|
|
3830
|
-
parent: string,
|
|
3831
|
-
languageCode: string,
|
|
3832
|
-
}
|
|
3833
|
-
}
|
|
3834
|
-
|
|
3835
|
-
export class RagDeleteCrawlerResponse extends jspb.Message {
|
|
3836
|
-
getName(): string;
|
|
3837
|
-
setName(value: string): RagDeleteCrawlerResponse;
|
|
3838
|
-
|
|
3839
|
-
getErrorMessage(): string;
|
|
3840
|
-
setErrorMessage(value: string): RagDeleteCrawlerResponse;
|
|
3841
|
-
|
|
3842
|
-
serializeBinary(): Uint8Array;
|
|
3843
|
-
toObject(includeInstance?: boolean): RagDeleteCrawlerResponse.AsObject;
|
|
3844
|
-
static toObject(includeInstance: boolean, msg: RagDeleteCrawlerResponse): RagDeleteCrawlerResponse.AsObject;
|
|
3845
|
-
static serializeBinaryToWriter(message: RagDeleteCrawlerResponse, writer: jspb.BinaryWriter): void;
|
|
3846
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlerResponse;
|
|
3847
|
-
static deserializeBinaryFromReader(message: RagDeleteCrawlerResponse, reader: jspb.BinaryReader): RagDeleteCrawlerResponse;
|
|
3848
|
-
}
|
|
3849
|
-
|
|
3850
|
-
export namespace RagDeleteCrawlerResponse {
|
|
3851
|
-
export type AsObject = {
|
|
3852
|
-
name: string,
|
|
3853
|
-
errorMessage: string,
|
|
3854
|
-
}
|
|
3855
|
-
}
|
|
3856
|
-
|
|
3857
|
-
export class RagDeleteCrawlersRequest extends jspb.Message {
|
|
3858
|
-
getParent(): string;
|
|
3859
|
-
setParent(value: string): RagDeleteCrawlersRequest;
|
|
3860
|
-
|
|
3861
|
-
getLanguageCode(): string;
|
|
3862
|
-
setLanguageCode(value: string): RagDeleteCrawlersRequest;
|
|
3863
|
-
|
|
3864
|
-
getNamesList(): Array<string>;
|
|
3865
|
-
setNamesList(value: Array<string>): RagDeleteCrawlersRequest;
|
|
3866
|
-
clearNamesList(): RagDeleteCrawlersRequest;
|
|
3867
|
-
addNames(value: string, index?: number): RagDeleteCrawlersRequest;
|
|
3868
|
-
|
|
3869
|
-
serializeBinary(): Uint8Array;
|
|
3870
|
-
toObject(includeInstance?: boolean): RagDeleteCrawlersRequest.AsObject;
|
|
3871
|
-
static toObject(includeInstance: boolean, msg: RagDeleteCrawlersRequest): RagDeleteCrawlersRequest.AsObject;
|
|
3872
|
-
static serializeBinaryToWriter(message: RagDeleteCrawlersRequest, writer: jspb.BinaryWriter): void;
|
|
3873
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlersRequest;
|
|
3874
|
-
static deserializeBinaryFromReader(message: RagDeleteCrawlersRequest, reader: jspb.BinaryReader): RagDeleteCrawlersRequest;
|
|
3875
|
-
}
|
|
3876
|
-
|
|
3877
|
-
export namespace RagDeleteCrawlersRequest {
|
|
3878
|
-
export type AsObject = {
|
|
3879
|
-
parent: string,
|
|
3880
|
-
languageCode: string,
|
|
3881
|
-
namesList: Array<string>,
|
|
3882
|
-
}
|
|
3883
|
-
}
|
|
3884
|
-
|
|
3885
|
-
export class RagDeleteCrawlersResponse extends jspb.Message {
|
|
3886
|
-
getDeleteCrawlerResponsesList(): Array<RagDeleteCrawlerResponse>;
|
|
3887
|
-
setDeleteCrawlerResponsesList(value: Array<RagDeleteCrawlerResponse>): RagDeleteCrawlersResponse;
|
|
3888
|
-
clearDeleteCrawlerResponsesList(): RagDeleteCrawlersResponse;
|
|
3889
|
-
addDeleteCrawlerResponses(value?: RagDeleteCrawlerResponse, index?: number): RagDeleteCrawlerResponse;
|
|
3890
|
-
|
|
3891
|
-
getErrorMessage(): string;
|
|
3892
|
-
setErrorMessage(value: string): RagDeleteCrawlersResponse;
|
|
3893
|
-
|
|
3894
|
-
serializeBinary(): Uint8Array;
|
|
3895
|
-
toObject(includeInstance?: boolean): RagDeleteCrawlersResponse.AsObject;
|
|
3896
|
-
static toObject(includeInstance: boolean, msg: RagDeleteCrawlersResponse): RagDeleteCrawlersResponse.AsObject;
|
|
3897
|
-
static serializeBinaryToWriter(message: RagDeleteCrawlersResponse, writer: jspb.BinaryWriter): void;
|
|
3898
|
-
static deserializeBinary(bytes: Uint8Array): RagDeleteCrawlersResponse;
|
|
3899
|
-
static deserializeBinaryFromReader(message: RagDeleteCrawlersResponse, reader: jspb.BinaryReader): RagDeleteCrawlersResponse;
|
|
3900
|
-
}
|
|
3901
|
-
|
|
3902
|
-
export namespace RagDeleteCrawlersResponse {
|
|
3903
|
-
export type AsObject = {
|
|
3904
|
-
deleteCrawlerResponsesList: Array<RagDeleteCrawlerResponse.AsObject>,
|
|
3905
|
-
errorMessage: string,
|
|
3906
|
-
}
|
|
3907
|
-
}
|
|
3908
|
-
|
|
3909
|
-
export class RagListCrawlersRequest extends jspb.Message {
|
|
3910
|
-
getParent(): string;
|
|
3911
|
-
setParent(value: string): RagListCrawlersRequest;
|
|
3912
|
-
|
|
3913
|
-
getLanguageCode(): string;
|
|
3914
|
-
setLanguageCode(value: string): RagListCrawlersRequest;
|
|
3915
|
-
|
|
3916
|
-
getPageToken(): string;
|
|
3917
|
-
setPageToken(value: string): RagListCrawlersRequest;
|
|
3918
|
-
|
|
3919
|
-
getDatasetName(): string;
|
|
3920
|
-
setDatasetName(value: string): RagListCrawlersRequest;
|
|
3921
|
-
|
|
3922
|
-
getCrawlerName(): string;
|
|
3923
|
-
setCrawlerName(value: string): RagListCrawlersRequest;
|
|
3924
|
-
|
|
3925
|
-
getOrderby(): string;
|
|
3926
|
-
setOrderby(value: string): RagListCrawlersRequest;
|
|
3927
|
-
|
|
3928
|
-
getSortingMode(): ondewo_nlu_common_pb.SortingMode;
|
|
3929
|
-
setSortingMode(value: ondewo_nlu_common_pb.SortingMode): RagListCrawlersRequest;
|
|
3930
|
-
hasSortingMode(): boolean;
|
|
3931
|
-
clearSortingMode(): RagListCrawlersRequest;
|
|
3932
|
-
|
|
3933
|
-
serializeBinary(): Uint8Array;
|
|
3934
|
-
toObject(includeInstance?: boolean): RagListCrawlersRequest.AsObject;
|
|
3935
|
-
static toObject(includeInstance: boolean, msg: RagListCrawlersRequest): RagListCrawlersRequest.AsObject;
|
|
3936
|
-
static serializeBinaryToWriter(message: RagListCrawlersRequest, writer: jspb.BinaryWriter): void;
|
|
3937
|
-
static deserializeBinary(bytes: Uint8Array): RagListCrawlersRequest;
|
|
3938
|
-
static deserializeBinaryFromReader(message: RagListCrawlersRequest, reader: jspb.BinaryReader): RagListCrawlersRequest;
|
|
3939
|
-
}
|
|
3940
|
-
|
|
3941
|
-
export namespace RagListCrawlersRequest {
|
|
3942
|
-
export type AsObject = {
|
|
3943
|
-
parent: string,
|
|
3944
|
-
languageCode: string,
|
|
3945
|
-
pageToken: string,
|
|
3946
|
-
datasetName: string,
|
|
3947
|
-
crawlerName: string,
|
|
3948
|
-
orderby: string,
|
|
3949
|
-
sortingMode?: ondewo_nlu_common_pb.SortingMode,
|
|
3950
|
-
}
|
|
3951
|
-
|
|
3952
|
-
export enum SortingModeCase {
|
|
3953
|
-
_SORTING_MODE_NOT_SET = 0,
|
|
3954
|
-
SORTING_MODE = 7,
|
|
3955
|
-
}
|
|
3956
|
-
}
|
|
3957
|
-
|
|
3958
|
-
export class RagListCrawlersResponse extends jspb.Message {
|
|
3959
|
-
getCrawlersList(): Array<RagCrawler>;
|
|
3960
|
-
setCrawlersList(value: Array<RagCrawler>): RagListCrawlersResponse;
|
|
3961
|
-
clearCrawlersList(): RagListCrawlersResponse;
|
|
3962
|
-
addCrawlers(value?: RagCrawler, index?: number): RagCrawler;
|
|
3963
|
-
|
|
3964
|
-
getNextPageToken(): string;
|
|
3965
|
-
setNextPageToken(value: string): RagListCrawlersResponse;
|
|
3966
|
-
|
|
3967
|
-
serializeBinary(): Uint8Array;
|
|
3968
|
-
toObject(includeInstance?: boolean): RagListCrawlersResponse.AsObject;
|
|
3969
|
-
static toObject(includeInstance: boolean, msg: RagListCrawlersResponse): RagListCrawlersResponse.AsObject;
|
|
3970
|
-
static serializeBinaryToWriter(message: RagListCrawlersResponse, writer: jspb.BinaryWriter): void;
|
|
3971
|
-
static deserializeBinary(bytes: Uint8Array): RagListCrawlersResponse;
|
|
3972
|
-
static deserializeBinaryFromReader(message: RagListCrawlersResponse, reader: jspb.BinaryReader): RagListCrawlersResponse;
|
|
3973
|
-
}
|
|
3974
|
-
|
|
3975
|
-
export namespace RagListCrawlersResponse {
|
|
3976
|
-
export type AsObject = {
|
|
3977
|
-
crawlersList: Array<RagCrawler.AsObject>,
|
|
3978
|
-
nextPageToken: string,
|
|
3979
|
-
}
|
|
3980
|
-
}
|
|
3981
|
-
|
|
3982
|
-
export class RagGetCrawlerRequest extends jspb.Message {
|
|
3983
|
-
getName(): string;
|
|
3984
|
-
setName(value: string): RagGetCrawlerRequest;
|
|
3985
|
-
|
|
3986
|
-
getParent(): string;
|
|
3987
|
-
setParent(value: string): RagGetCrawlerRequest;
|
|
3988
|
-
|
|
3989
|
-
getLanguageCode(): string;
|
|
3990
|
-
setLanguageCode(value: string): RagGetCrawlerRequest;
|
|
1627
|
+
setLanguageCode(value: string): RagGetCrawlerRequest;
|
|
3991
1628
|
|
|
3992
1629
|
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
3993
1630
|
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): RagGetCrawlerRequest;
|
|
@@ -4058,6 +1695,22 @@ export class RagCrawler extends jspb.Message {
|
|
|
4058
1695
|
getDisplayName(): string;
|
|
4059
1696
|
setDisplayName(value: string): RagCrawler;
|
|
4060
1697
|
|
|
1698
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1699
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): RagCrawler;
|
|
1700
|
+
hasCreatedAt(): boolean;
|
|
1701
|
+
clearCreatedAt(): RagCrawler;
|
|
1702
|
+
|
|
1703
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1704
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): RagCrawler;
|
|
1705
|
+
hasModifiedAt(): boolean;
|
|
1706
|
+
clearModifiedAt(): RagCrawler;
|
|
1707
|
+
|
|
1708
|
+
getCreatedBy(): string;
|
|
1709
|
+
setCreatedBy(value: string): RagCrawler;
|
|
1710
|
+
|
|
1711
|
+
getModifiedBy(): string;
|
|
1712
|
+
setModifiedBy(value: string): RagCrawler;
|
|
1713
|
+
|
|
4061
1714
|
getCrawlerSources(): RagCrawlerSources | undefined;
|
|
4062
1715
|
setCrawlerSources(value?: RagCrawlerSources): RagCrawler;
|
|
4063
1716
|
hasCrawlerSources(): boolean;
|
|
@@ -4083,21 +1736,10 @@ export class RagCrawler extends jspb.Message {
|
|
|
4083
1736
|
hasCrawlerConfig(): boolean;
|
|
4084
1737
|
clearCrawlerConfig(): RagCrawler;
|
|
4085
1738
|
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
4092
|
-
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): RagCrawler;
|
|
4093
|
-
hasModifiedAt(): boolean;
|
|
4094
|
-
clearModifiedAt(): RagCrawler;
|
|
4095
|
-
|
|
4096
|
-
getCreatedBy(): string;
|
|
4097
|
-
setCreatedBy(value: string): RagCrawler;
|
|
4098
|
-
|
|
4099
|
-
getModifiedBy(): string;
|
|
4100
|
-
setModifiedBy(value: string): RagCrawler;
|
|
1739
|
+
getRetryConfig(): RagCrawlerRetryConfig | undefined;
|
|
1740
|
+
setRetryConfig(value?: RagCrawlerRetryConfig): RagCrawler;
|
|
1741
|
+
hasRetryConfig(): boolean;
|
|
1742
|
+
clearRetryConfig(): RagCrawler;
|
|
4101
1743
|
|
|
4102
1744
|
serializeBinary(): Uint8Array;
|
|
4103
1745
|
toObject(includeInstance?: boolean): RagCrawler.AsObject;
|
|
@@ -4111,15 +1753,16 @@ export namespace RagCrawler {
|
|
|
4111
1753
|
export type AsObject = {
|
|
4112
1754
|
name: string,
|
|
4113
1755
|
displayName: string,
|
|
1756
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1757
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1758
|
+
createdBy: string,
|
|
1759
|
+
modifiedBy: string,
|
|
4114
1760
|
crawlerSources?: RagCrawlerSources.AsObject,
|
|
4115
1761
|
crawlerSeedUrlFilters?: RagCrawlerSeedUrlFilters.AsObject,
|
|
4116
1762
|
crawlerAuth?: RagCrawlerAuth.AsObject,
|
|
4117
1763
|
crawlerBrowserConfig?: RagCrawlerBrowserConfig.AsObject,
|
|
4118
1764
|
crawlerConfig?: RagCrawlerConfig.AsObject,
|
|
4119
|
-
|
|
4120
|
-
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
4121
|
-
createdBy: string,
|
|
4122
|
-
modifiedBy: string,
|
|
1765
|
+
retryConfig?: RagCrawlerRetryConfig.AsObject,
|
|
4123
1766
|
}
|
|
4124
1767
|
}
|
|
4125
1768
|
|
|
@@ -4273,6 +1916,9 @@ export class RagCrawlerHtmlAuth extends jspb.Message {
|
|
|
4273
1916
|
getHtmlAuthPassword(): string;
|
|
4274
1917
|
setHtmlAuthPassword(value: string): RagCrawlerHtmlAuth;
|
|
4275
1918
|
|
|
1919
|
+
getAuthenticationExecutionType(): RagCrawlerAuthenticationExecutionType;
|
|
1920
|
+
setAuthenticationExecutionType(value: RagCrawlerAuthenticationExecutionType): RagCrawlerHtmlAuth;
|
|
1921
|
+
|
|
4276
1922
|
serializeBinary(): Uint8Array;
|
|
4277
1923
|
toObject(includeInstance?: boolean): RagCrawlerHtmlAuth.AsObject;
|
|
4278
1924
|
static toObject(includeInstance: boolean, msg: RagCrawlerHtmlAuth): RagCrawlerHtmlAuth.AsObject;
|
|
@@ -4290,6 +1936,7 @@ export namespace RagCrawlerHtmlAuth {
|
|
|
4290
1936
|
htmlAuthPasswordSelectorType: RagCrawlerSelectorType,
|
|
4291
1937
|
htmlAuthPasswordSelector: string,
|
|
4292
1938
|
htmlAuthPassword: string,
|
|
1939
|
+
authenticationExecutionType: RagCrawlerAuthenticationExecutionType,
|
|
4293
1940
|
}
|
|
4294
1941
|
}
|
|
4295
1942
|
|
|
@@ -4457,57 +2104,11 @@ export namespace RagCrawlerDeepCrawlerConfig {
|
|
|
4457
2104
|
}
|
|
4458
2105
|
}
|
|
4459
2106
|
|
|
4460
|
-
export class RagCrawlerDiagnosticsConfig extends jspb.Message {
|
|
4461
|
-
getSslCertificate(): boolean;
|
|
4462
|
-
setSslCertificate(value: boolean): RagCrawlerDiagnosticsConfig;
|
|
4463
|
-
|
|
4464
|
-
getNetworkRequests(): boolean;
|
|
4465
|
-
setNetworkRequests(value: boolean): RagCrawlerDiagnosticsConfig;
|
|
4466
|
-
|
|
4467
|
-
getConsoleMessages(): boolean;
|
|
4468
|
-
setConsoleMessages(value: boolean): RagCrawlerDiagnosticsConfig;
|
|
4469
|
-
|
|
4470
|
-
serializeBinary(): Uint8Array;
|
|
4471
|
-
toObject(includeInstance?: boolean): RagCrawlerDiagnosticsConfig.AsObject;
|
|
4472
|
-
static toObject(includeInstance: boolean, msg: RagCrawlerDiagnosticsConfig): RagCrawlerDiagnosticsConfig.AsObject;
|
|
4473
|
-
static serializeBinaryToWriter(message: RagCrawlerDiagnosticsConfig, writer: jspb.BinaryWriter): void;
|
|
4474
|
-
static deserializeBinary(bytes: Uint8Array): RagCrawlerDiagnosticsConfig;
|
|
4475
|
-
static deserializeBinaryFromReader(message: RagCrawlerDiagnosticsConfig, reader: jspb.BinaryReader): RagCrawlerDiagnosticsConfig;
|
|
4476
|
-
}
|
|
4477
|
-
|
|
4478
|
-
export namespace RagCrawlerDiagnosticsConfig {
|
|
4479
|
-
export type AsObject = {
|
|
4480
|
-
sslCertificate: boolean,
|
|
4481
|
-
networkRequests: boolean,
|
|
4482
|
-
consoleMessages: boolean,
|
|
4483
|
-
}
|
|
4484
|
-
}
|
|
4485
|
-
|
|
4486
|
-
export class RagCrawlerInteractionConfig extends jspb.Message {
|
|
4487
|
-
getWaitFor(): string;
|
|
4488
|
-
setWaitFor(value: string): RagCrawlerInteractionConfig;
|
|
4489
|
-
|
|
4490
|
-
getWaitForTimeout(): number;
|
|
4491
|
-
setWaitForTimeout(value: number): RagCrawlerInteractionConfig;
|
|
4492
|
-
|
|
4493
|
-
serializeBinary(): Uint8Array;
|
|
4494
|
-
toObject(includeInstance?: boolean): RagCrawlerInteractionConfig.AsObject;
|
|
4495
|
-
static toObject(includeInstance: boolean, msg: RagCrawlerInteractionConfig): RagCrawlerInteractionConfig.AsObject;
|
|
4496
|
-
static serializeBinaryToWriter(message: RagCrawlerInteractionConfig, writer: jspb.BinaryWriter): void;
|
|
4497
|
-
static deserializeBinary(bytes: Uint8Array): RagCrawlerInteractionConfig;
|
|
4498
|
-
static deserializeBinaryFromReader(message: RagCrawlerInteractionConfig, reader: jspb.BinaryReader): RagCrawlerInteractionConfig;
|
|
4499
|
-
}
|
|
4500
|
-
|
|
4501
|
-
export namespace RagCrawlerInteractionConfig {
|
|
4502
|
-
export type AsObject = {
|
|
4503
|
-
waitFor: string,
|
|
4504
|
-
waitForTimeout: number,
|
|
4505
|
-
}
|
|
4506
|
-
}
|
|
4507
|
-
|
|
4508
2107
|
export class RagCrawlerResultsConfig extends jspb.Message {
|
|
4509
2108
|
getInjectFrontmatter(): boolean;
|
|
4510
2109
|
setInjectFrontmatter(value: boolean): RagCrawlerResultsConfig;
|
|
2110
|
+
hasInjectFrontmatter(): boolean;
|
|
2111
|
+
clearInjectFrontmatter(): RagCrawlerResultsConfig;
|
|
4511
2112
|
|
|
4512
2113
|
getMetaDataExtractorsList(): Array<RagCrawlerMetaDataExtractor>;
|
|
4513
2114
|
setMetaDataExtractorsList(value: Array<RagCrawlerMetaDataExtractor>): RagCrawlerResultsConfig;
|
|
@@ -4524,9 +2125,14 @@ export class RagCrawlerResultsConfig extends jspb.Message {
|
|
|
4524
2125
|
|
|
4525
2126
|
export namespace RagCrawlerResultsConfig {
|
|
4526
2127
|
export type AsObject = {
|
|
4527
|
-
injectFrontmatter
|
|
2128
|
+
injectFrontmatter?: boolean,
|
|
4528
2129
|
metaDataExtractorsList: Array<RagCrawlerMetaDataExtractor.AsObject>,
|
|
4529
2130
|
}
|
|
2131
|
+
|
|
2132
|
+
export enum InjectFrontmatterCase {
|
|
2133
|
+
_INJECT_FRONTMATTER_NOT_SET = 0,
|
|
2134
|
+
INJECT_FRONTMATTER = 1,
|
|
2135
|
+
}
|
|
4530
2136
|
}
|
|
4531
2137
|
|
|
4532
2138
|
export class RagCrawlerMetaDataExtractor extends jspb.Message {
|
|
@@ -5149,117 +2755,87 @@ export namespace RagGetCrawlerAttachedDatasetsResponse {
|
|
|
5149
2755
|
}
|
|
5150
2756
|
|
|
5151
2757
|
export enum RagChunkMethod {
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
2758
|
+
RAG_CHUNK_METHOD_UNSPECIFIED = 0,
|
|
2759
|
+
RAG_CHUNK_METHOD_NAIVE = 1,
|
|
2760
|
+
RAG_CHUNK_METHOD_BOOK = 2,
|
|
2761
|
+
RAG_CHUNK_METHOD_EMAIL = 3,
|
|
2762
|
+
RAG_CHUNK_METHOD_LAWS = 4,
|
|
2763
|
+
RAG_CHUNK_METHOD_MANUAL = 5,
|
|
2764
|
+
RAG_CHUNK_METHOD_ONE = 6,
|
|
2765
|
+
RAG_CHUNK_METHOD_PAPER = 7,
|
|
2766
|
+
RAG_CHUNK_METHOD_PICTURE = 8,
|
|
2767
|
+
RAG_CHUNK_METHOD_PRESENTATION = 9,
|
|
2768
|
+
RAG_CHUNK_METHOD_QA = 10,
|
|
2769
|
+
RAG_CHUNK_METHOD_TABLE = 11,
|
|
2770
|
+
RAG_CHUNK_METHOD_TAG = 12,
|
|
5164
2771
|
}
|
|
5165
2772
|
export enum RagGraphRagMethod {
|
|
5166
|
-
|
|
5167
|
-
|
|
2773
|
+
RAG_GRAPH_RAG_METHOD_UNSPECIFIED = 0,
|
|
2774
|
+
RAG_GRAPH_RAG_METHOD_LIGHT = 1,
|
|
2775
|
+
RAG_GRAPH_RAG_METHOD_GENERAL = 2,
|
|
5168
2776
|
}
|
|
5169
2777
|
export enum RagDocumentType {
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
2778
|
+
RAG_DOCUMENT_TYPE_UNSPECIFIED = 0,
|
|
2779
|
+
RAG_DOCUMENT_TYPE_PDF = 1,
|
|
2780
|
+
RAG_DOCUMENT_TYPE_DOC = 2,
|
|
2781
|
+
RAG_DOCUMENT_TYPE_VISUAL = 3,
|
|
2782
|
+
RAG_DOCUMENT_TYPE_AURAL = 4,
|
|
2783
|
+
RAG_DOCUMENT_TYPE_VIRTUAL = 5,
|
|
2784
|
+
RAG_DOCUMENT_TYPE_FOLDER = 6,
|
|
2785
|
+
RAG_DOCUMENT_TYPE_OTHER = 7,
|
|
5177
2786
|
}
|
|
5178
2787
|
export enum RagDocumentStatus {
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
2788
|
+
RAG_DOCUMENT_STATUS_UNSPECIFIED = 0,
|
|
2789
|
+
RAG_DOCUMENT_STATUS_UNSTART = 1,
|
|
2790
|
+
RAG_DOCUMENT_STATUS_RUNNING = 2,
|
|
2791
|
+
RAG_DOCUMENT_STATUS_CANCEL = 3,
|
|
2792
|
+
RAG_DOCUMENT_STATUS_DONE = 4,
|
|
2793
|
+
RAG_DOCUMENT_STATUS_FAIL = 5,
|
|
5184
2794
|
}
|
|
5185
2795
|
export enum RagLogic {
|
|
5186
|
-
|
|
5187
|
-
|
|
2796
|
+
RAG_LOGIC_UNSPECIFIED = 0,
|
|
2797
|
+
RAG_LOGIC_AND = 1,
|
|
2798
|
+
RAG_LOGIC_OR = 2,
|
|
5188
2799
|
}
|
|
5189
2800
|
export enum RagComparisonOperator {
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
export enum RagPromptType {
|
|
5206
|
-
RAG_PROMPT_TYPE_SIMPLE = 0,
|
|
5207
|
-
RAG_PROMPT_TYPE_ADVANCED = 1,
|
|
5208
|
-
}
|
|
5209
|
-
export enum RagPermission {
|
|
5210
|
-
RAG_PERMISSION_ME = 0,
|
|
5211
|
-
RAG_PERMISSION_TEAM = 1,
|
|
5212
|
-
}
|
|
5213
|
-
export enum RagCanvasCategory {
|
|
5214
|
-
RAG_CANVAS_CATEGORY_AGENT_CANVAS = 0,
|
|
5215
|
-
RAG_CANVAS_CATEGORY_DATAFLOW_CANVAS = 1,
|
|
5216
|
-
}
|
|
5217
|
-
export enum RagMessageRole {
|
|
5218
|
-
RAG_MESSAGE_ROLE_USER = 0,
|
|
5219
|
-
RAG_MESSAGE_ROLE_ASSISTANT = 1,
|
|
5220
|
-
RAG_MESSAGE_ROLE_SYSTEM = 2,
|
|
5221
|
-
}
|
|
5222
|
-
export enum RagSessionSource {
|
|
5223
|
-
RAG_SESSION_SOURCE_NONE = 0,
|
|
5224
|
-
RAG_SESSION_SOURCE_AGENT = 1,
|
|
5225
|
-
RAG_SESSION_SOURCE_DIALOG = 2,
|
|
5226
|
-
}
|
|
5227
|
-
export enum RagAgentEventType {
|
|
5228
|
-
RAG_AGENT_EVENT_TYPE_MESSAGE = 0,
|
|
5229
|
-
RAG_AGENT_EVENT_TYPE_MESSAGE_END = 1,
|
|
2801
|
+
RAG_COMPARISON_OPERATOR_UNSPECIFIED = 0,
|
|
2802
|
+
RAG_COMPARISON_OPERATOR_CONTAINS = 1,
|
|
2803
|
+
RAG_COMPARISON_OPERATOR_NOT_CONTAINS = 2,
|
|
2804
|
+
RAG_COMPARISON_OPERATOR_IN = 3,
|
|
2805
|
+
RAG_COMPARISON_OPERATOR_NOT_IN = 4,
|
|
2806
|
+
RAG_COMPARISON_OPERATOR_START_WITH = 5,
|
|
2807
|
+
RAG_COMPARISON_OPERATOR_END_WITH = 6,
|
|
2808
|
+
RAG_COMPARISON_OPERATOR_EMPTY = 7,
|
|
2809
|
+
RAG_COMPARISON_OPERATOR_NOT_EMPTY = 8,
|
|
2810
|
+
RAG_COMPARISON_OPERATOR_EQ = 9,
|
|
2811
|
+
RAG_COMPARISON_OPERATOR_NEQ = 10,
|
|
2812
|
+
RAG_COMPARISON_OPERATOR_GT = 11,
|
|
2813
|
+
RAG_COMPARISON_OPERATOR_LT = 12,
|
|
2814
|
+
RAG_COMPARISON_OPERATOR_GEQ = 13,
|
|
2815
|
+
RAG_COMPARISON_OPERATOR_LEQ = 14,
|
|
5230
2816
|
}
|
|
5231
2817
|
export enum RagCrawlerSelectorType {
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
2818
|
+
RAG_CRAWLER_SELECTOR_TYPE_UNSPECIFIED = 0,
|
|
2819
|
+
RAG_CRAWLER_SELECTOR_TYPE_ID = 1,
|
|
2820
|
+
RAG_CRAWLER_SELECTOR_TYPE_CSS_CLASS = 2,
|
|
2821
|
+
RAG_CRAWLER_SELECTOR_TYPE_XPATH = 3,
|
|
5235
2822
|
}
|
|
5236
|
-
export enum
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
RAG_CRAWLER_CACHE_MODE_WRITE_ONLY = 3,
|
|
5241
|
-
RAG_CRAWLER_CACHE_MODE_BYPASS = 4,
|
|
2823
|
+
export enum RagCrawlerAuthenticationExecutionType {
|
|
2824
|
+
RAG_CRAWLER_AUTHENTICATION_EXECUTION_TYPE_UNSPECIFIED = 0,
|
|
2825
|
+
RAG_CRAWLER_AUTHENTICATION_EXECUTION_TYPE_SERVER_SIDE = 1,
|
|
2826
|
+
RAG_CRAWLER_AUTHENTICATION_EXECUTION_TYPE_CLIENT_SIDE = 2,
|
|
5242
2827
|
}
|
|
5243
2828
|
export enum RagCrawlerMetaDataExtractorType {
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
2829
|
+
RAG_CRAWLER_META_DATA_EXTRACTOR_TPYE_UNSPECIFIED = 0,
|
|
2830
|
+
RAG_CRAWLER_META_DATA_EXTRACTOR_TYPE_REGEX = 1,
|
|
2831
|
+
RAG_CRAWLER_META_DATA_EXTRACTOR_TYPE_FIXED_VALUE = 2,
|
|
2832
|
+
RAG_CRAWLER_META_DATA_EXTRACTOR_TYPE_CSS_SELECTOR = 3,
|
|
2833
|
+
RAG_CRAWLER_META_DATA_EXTRACTOR_TYPE_XPATH_SELECTOR = 4,
|
|
2834
|
+
RAG_CRAWLER_META_DATA_EXTRACTOR_TYPE_ID_SELECTOR = 5,
|
|
5249
2835
|
}
|
|
5250
2836
|
export enum RagCrawlerCrawlStrategy {
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
export enum RagCrawlerFilterContentType {
|
|
5256
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_UNSPECIFIED = 0,
|
|
5257
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_TEXT_HTML = 1,
|
|
5258
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_APPLICATION_JSON = 2,
|
|
5259
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_APPLICATION_XML = 3,
|
|
5260
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_TEXT_PLAIN = 4,
|
|
5261
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_APPLICATION_PDF = 5,
|
|
5262
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_APPLICATION_POWERPOINT = 6,
|
|
5263
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_APPLICATION_EXCEL = 7,
|
|
5264
|
-
RAG_CRAWLER_FILTER_CONTENT_TYPE_APPLICATION_WORD = 8,
|
|
2837
|
+
RAG_CRAWLER_CRAWL_STRATEGY_UNSPECIFIED = 0,
|
|
2838
|
+
RAG_CRAWLER_CRAWL_STRATEGY_BFS = 1,
|
|
2839
|
+
RAG_CRAWLER_CRAWL_STRATEGY_DFS = 2,
|
|
2840
|
+
RAG_CRAWLER_CRAWL_STRATEGY_BEST_FIRST = 3,
|
|
5265
2841
|
}
|