@ondewo/nlu-client-typescript 6.2.0 → 6.3.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/ondewo/nlu/agent_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/ccai_project_pb.d.ts +2 -0
- package/api/ondewo/nlu/ccai_project_pb.js +3 -1
- package/api/ondewo/nlu/context_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/intent_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/operations_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/rag_grpc_web_pb.d.ts +697 -0
- package/api/ondewo/nlu/rag_grpc_web_pb.js +3571 -0
- package/api/ondewo/nlu/rag_pb.d.ts +4781 -0
- package/api/ondewo/nlu/rag_pb.js +37763 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/session_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/user_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/utility_grpc_web_pb.js +1 -1
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +1 -1
- package/api/ondewo/qa/qa_grpc_web_pb.js +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/public-api.js +2 -0
|
@@ -0,0 +1,4781 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
|
+
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; // proto import: "google/protobuf/struct.proto"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class RagPagination extends jspb.Message {
|
|
8
|
+
getPage(): number;
|
|
9
|
+
setPage(value: number): RagPagination;
|
|
10
|
+
|
|
11
|
+
getPageSize(): number;
|
|
12
|
+
setPageSize(value: number): RagPagination;
|
|
13
|
+
|
|
14
|
+
serializeBinary(): Uint8Array;
|
|
15
|
+
toObject(includeInstance?: boolean): RagPagination.AsObject;
|
|
16
|
+
static toObject(includeInstance: boolean, msg: RagPagination): RagPagination.AsObject;
|
|
17
|
+
static serializeBinaryToWriter(message: RagPagination, writer: jspb.BinaryWriter): void;
|
|
18
|
+
static deserializeBinary(bytes: Uint8Array): RagPagination;
|
|
19
|
+
static deserializeBinaryFromReader(message: RagPagination, reader: jspb.BinaryReader): RagPagination;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export namespace RagPagination {
|
|
23
|
+
export type AsObject = {
|
|
24
|
+
page: number,
|
|
25
|
+
pageSize: number,
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export class RagFileMetadata extends jspb.Message {
|
|
30
|
+
getFileName(): string;
|
|
31
|
+
setFileName(value: string): RagFileMetadata;
|
|
32
|
+
|
|
33
|
+
getContentType(): string;
|
|
34
|
+
setContentType(value: string): RagFileMetadata;
|
|
35
|
+
|
|
36
|
+
getSize(): number;
|
|
37
|
+
setSize(value: number): RagFileMetadata;
|
|
38
|
+
|
|
39
|
+
serializeBinary(): Uint8Array;
|
|
40
|
+
toObject(includeInstance?: boolean): RagFileMetadata.AsObject;
|
|
41
|
+
static toObject(includeInstance: boolean, msg: RagFileMetadata): RagFileMetadata.AsObject;
|
|
42
|
+
static serializeBinaryToWriter(message: RagFileMetadata, writer: jspb.BinaryWriter): void;
|
|
43
|
+
static deserializeBinary(bytes: Uint8Array): RagFileMetadata;
|
|
44
|
+
static deserializeBinaryFromReader(message: RagFileMetadata, reader: jspb.BinaryReader): RagFileMetadata;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export namespace RagFileMetadata {
|
|
48
|
+
export type AsObject = {
|
|
49
|
+
fileName: string,
|
|
50
|
+
contentType: string,
|
|
51
|
+
size: number,
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class RagFileChunk extends jspb.Message {
|
|
56
|
+
getData(): Uint8Array | string;
|
|
57
|
+
getData_asU8(): Uint8Array;
|
|
58
|
+
getData_asB64(): string;
|
|
59
|
+
setData(value: Uint8Array | string): RagFileChunk;
|
|
60
|
+
|
|
61
|
+
getMetadata(): RagFileMetadata | undefined;
|
|
62
|
+
setMetadata(value?: RagFileMetadata): RagFileChunk;
|
|
63
|
+
hasMetadata(): boolean;
|
|
64
|
+
clearMetadata(): RagFileChunk;
|
|
65
|
+
|
|
66
|
+
serializeBinary(): Uint8Array;
|
|
67
|
+
toObject(includeInstance?: boolean): RagFileChunk.AsObject;
|
|
68
|
+
static toObject(includeInstance: boolean, msg: RagFileChunk): RagFileChunk.AsObject;
|
|
69
|
+
static serializeBinaryToWriter(message: RagFileChunk, writer: jspb.BinaryWriter): void;
|
|
70
|
+
static deserializeBinary(bytes: Uint8Array): RagFileChunk;
|
|
71
|
+
static deserializeBinaryFromReader(message: RagFileChunk, reader: jspb.BinaryReader): RagFileChunk;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export namespace RagFileChunk {
|
|
75
|
+
export type AsObject = {
|
|
76
|
+
data: Uint8Array | string,
|
|
77
|
+
metadata?: RagFileMetadata.AsObject,
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export class RagUploadChunk extends jspb.Message {
|
|
82
|
+
getFileIndex(): number;
|
|
83
|
+
setFileIndex(value: number): RagUploadChunk;
|
|
84
|
+
hasFileIndex(): boolean;
|
|
85
|
+
clearFileIndex(): RagUploadChunk;
|
|
86
|
+
|
|
87
|
+
getData(): Uint8Array | string;
|
|
88
|
+
getData_asU8(): Uint8Array;
|
|
89
|
+
getData_asB64(): string;
|
|
90
|
+
setData(value: Uint8Array | string): RagUploadChunk;
|
|
91
|
+
|
|
92
|
+
serializeBinary(): Uint8Array;
|
|
93
|
+
toObject(includeInstance?: boolean): RagUploadChunk.AsObject;
|
|
94
|
+
static toObject(includeInstance: boolean, msg: RagUploadChunk): RagUploadChunk.AsObject;
|
|
95
|
+
static serializeBinaryToWriter(message: RagUploadChunk, writer: jspb.BinaryWriter): void;
|
|
96
|
+
static deserializeBinary(bytes: Uint8Array): RagUploadChunk;
|
|
97
|
+
static deserializeBinaryFromReader(message: RagUploadChunk, reader: jspb.BinaryReader): RagUploadChunk;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export namespace RagUploadChunk {
|
|
101
|
+
export type AsObject = {
|
|
102
|
+
fileIndex?: number,
|
|
103
|
+
data: Uint8Array | string,
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export enum FileIndexCase {
|
|
107
|
+
_FILE_INDEX_NOT_SET = 0,
|
|
108
|
+
FILE_INDEX = 1,
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export class RagPartialSuccess extends jspb.Message {
|
|
113
|
+
getSuccessCount(): number;
|
|
114
|
+
setSuccessCount(value: number): RagPartialSuccess;
|
|
115
|
+
|
|
116
|
+
getErrorsList(): Array<string>;
|
|
117
|
+
setErrorsList(value: Array<string>): RagPartialSuccess;
|
|
118
|
+
clearErrorsList(): RagPartialSuccess;
|
|
119
|
+
addErrors(value: string, index?: number): RagPartialSuccess;
|
|
120
|
+
|
|
121
|
+
serializeBinary(): Uint8Array;
|
|
122
|
+
toObject(includeInstance?: boolean): RagPartialSuccess.AsObject;
|
|
123
|
+
static toObject(includeInstance: boolean, msg: RagPartialSuccess): RagPartialSuccess.AsObject;
|
|
124
|
+
static serializeBinaryToWriter(message: RagPartialSuccess, writer: jspb.BinaryWriter): void;
|
|
125
|
+
static deserializeBinary(bytes: Uint8Array): RagPartialSuccess;
|
|
126
|
+
static deserializeBinaryFromReader(message: RagPartialSuccess, reader: jspb.BinaryReader): RagPartialSuccess;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export namespace RagPartialSuccess {
|
|
130
|
+
export type AsObject = {
|
|
131
|
+
successCount: number,
|
|
132
|
+
errorsList: Array<string>,
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export class RagDataset extends jspb.Message {
|
|
137
|
+
getId(): string;
|
|
138
|
+
setId(value: string): RagDataset;
|
|
139
|
+
|
|
140
|
+
getName(): string;
|
|
141
|
+
setName(value: string): RagDataset;
|
|
142
|
+
|
|
143
|
+
getDescription(): string;
|
|
144
|
+
setDescription(value: string): RagDataset;
|
|
145
|
+
|
|
146
|
+
getAvatar(): string;
|
|
147
|
+
setAvatar(value: string): RagDataset;
|
|
148
|
+
|
|
149
|
+
getLanguage(): string;
|
|
150
|
+
setLanguage(value: string): RagDataset;
|
|
151
|
+
|
|
152
|
+
getPermission(): RagPermission;
|
|
153
|
+
setPermission(value: RagPermission): RagDataset;
|
|
154
|
+
|
|
155
|
+
getDocumentCount(): number;
|
|
156
|
+
setDocumentCount(value: number): RagDataset;
|
|
157
|
+
|
|
158
|
+
getChunkCount(): number;
|
|
159
|
+
setChunkCount(value: number): RagDataset;
|
|
160
|
+
|
|
161
|
+
getChunkMethod(): RagChunkMethod;
|
|
162
|
+
setChunkMethod(value: RagChunkMethod): RagDataset;
|
|
163
|
+
|
|
164
|
+
getParserConfig(): RagParserConfig | undefined;
|
|
165
|
+
setParserConfig(value?: RagParserConfig): RagDataset;
|
|
166
|
+
hasParserConfig(): boolean;
|
|
167
|
+
clearParserConfig(): RagDataset;
|
|
168
|
+
|
|
169
|
+
getEmbeddingModel(): string;
|
|
170
|
+
setEmbeddingModel(value: string): RagDataset;
|
|
171
|
+
|
|
172
|
+
getCreateTime(): number;
|
|
173
|
+
setCreateTime(value: number): RagDataset;
|
|
174
|
+
|
|
175
|
+
getCreateDate(): string;
|
|
176
|
+
setCreateDate(value: string): RagDataset;
|
|
177
|
+
|
|
178
|
+
getUpdateTime(): number;
|
|
179
|
+
setUpdateTime(value: number): RagDataset;
|
|
180
|
+
|
|
181
|
+
getUpdateDate(): string;
|
|
182
|
+
setUpdateDate(value: string): RagDataset;
|
|
183
|
+
|
|
184
|
+
getTokenCount(): number;
|
|
185
|
+
setTokenCount(value: number): RagDataset;
|
|
186
|
+
|
|
187
|
+
getSimilarityThreshold(): number;
|
|
188
|
+
setSimilarityThreshold(value: number): RagDataset;
|
|
189
|
+
|
|
190
|
+
getVectorSimilarityWeight(): number;
|
|
191
|
+
setVectorSimilarityWeight(value: number): RagDataset;
|
|
192
|
+
|
|
193
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
194
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagDataset;
|
|
195
|
+
hasAdditionalFields(): boolean;
|
|
196
|
+
clearAdditionalFields(): RagDataset;
|
|
197
|
+
|
|
198
|
+
serializeBinary(): Uint8Array;
|
|
199
|
+
toObject(includeInstance?: boolean): RagDataset.AsObject;
|
|
200
|
+
static toObject(includeInstance: boolean, msg: RagDataset): RagDataset.AsObject;
|
|
201
|
+
static serializeBinaryToWriter(message: RagDataset, writer: jspb.BinaryWriter): void;
|
|
202
|
+
static deserializeBinary(bytes: Uint8Array): RagDataset;
|
|
203
|
+
static deserializeBinaryFromReader(message: RagDataset, reader: jspb.BinaryReader): RagDataset;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export namespace RagDataset {
|
|
207
|
+
export type AsObject = {
|
|
208
|
+
id: string,
|
|
209
|
+
name: string,
|
|
210
|
+
description: string,
|
|
211
|
+
avatar: string,
|
|
212
|
+
language: string,
|
|
213
|
+
permission: RagPermission,
|
|
214
|
+
documentCount: number,
|
|
215
|
+
chunkCount: number,
|
|
216
|
+
chunkMethod: RagChunkMethod,
|
|
217
|
+
parserConfig?: RagParserConfig.AsObject,
|
|
218
|
+
embeddingModel: string,
|
|
219
|
+
createTime: number,
|
|
220
|
+
createDate: string,
|
|
221
|
+
updateTime: number,
|
|
222
|
+
updateDate: string,
|
|
223
|
+
tokenCount: number,
|
|
224
|
+
similarityThreshold: number,
|
|
225
|
+
vectorSimilarityWeight: number,
|
|
226
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export class RagCreateDatasetRequest extends jspb.Message {
|
|
231
|
+
getParent(): string;
|
|
232
|
+
setParent(value: string): RagCreateDatasetRequest;
|
|
233
|
+
|
|
234
|
+
getName(): string;
|
|
235
|
+
setName(value: string): RagCreateDatasetRequest;
|
|
236
|
+
|
|
237
|
+
getDescription(): string;
|
|
238
|
+
setDescription(value: string): RagCreateDatasetRequest;
|
|
239
|
+
|
|
240
|
+
getAvatar(): string;
|
|
241
|
+
setAvatar(value: string): RagCreateDatasetRequest;
|
|
242
|
+
|
|
243
|
+
getPermission(): RagPermission;
|
|
244
|
+
setPermission(value: RagPermission): RagCreateDatasetRequest;
|
|
245
|
+
|
|
246
|
+
getChunkMethod(): RagChunkMethod;
|
|
247
|
+
setChunkMethod(value: RagChunkMethod): RagCreateDatasetRequest;
|
|
248
|
+
|
|
249
|
+
getParserConfig(): RagParserConfig | undefined;
|
|
250
|
+
setParserConfig(value?: RagParserConfig): RagCreateDatasetRequest;
|
|
251
|
+
hasParserConfig(): boolean;
|
|
252
|
+
clearParserConfig(): RagCreateDatasetRequest;
|
|
253
|
+
|
|
254
|
+
getEmbeddingModel(): string;
|
|
255
|
+
setEmbeddingModel(value: string): RagCreateDatasetRequest;
|
|
256
|
+
|
|
257
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
258
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateDatasetRequest;
|
|
259
|
+
hasAdditionalFields(): boolean;
|
|
260
|
+
clearAdditionalFields(): RagCreateDatasetRequest;
|
|
261
|
+
|
|
262
|
+
serializeBinary(): Uint8Array;
|
|
263
|
+
toObject(includeInstance?: boolean): RagCreateDatasetRequest.AsObject;
|
|
264
|
+
static toObject(includeInstance: boolean, msg: RagCreateDatasetRequest): RagCreateDatasetRequest.AsObject;
|
|
265
|
+
static serializeBinaryToWriter(message: RagCreateDatasetRequest, writer: jspb.BinaryWriter): void;
|
|
266
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateDatasetRequest;
|
|
267
|
+
static deserializeBinaryFromReader(message: RagCreateDatasetRequest, reader: jspb.BinaryReader): RagCreateDatasetRequest;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export namespace RagCreateDatasetRequest {
|
|
271
|
+
export type AsObject = {
|
|
272
|
+
parent: string,
|
|
273
|
+
name: string,
|
|
274
|
+
description: string,
|
|
275
|
+
avatar: string,
|
|
276
|
+
permission: RagPermission,
|
|
277
|
+
chunkMethod: RagChunkMethod,
|
|
278
|
+
parserConfig?: RagParserConfig.AsObject,
|
|
279
|
+
embeddingModel: string,
|
|
280
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export class RagParserConfig extends jspb.Message {
|
|
285
|
+
getAutoKeyword(): number;
|
|
286
|
+
setAutoKeyword(value: number): RagParserConfig;
|
|
287
|
+
|
|
288
|
+
getAutoQuestions(): number;
|
|
289
|
+
setAutoQuestions(value: number): RagParserConfig;
|
|
290
|
+
|
|
291
|
+
getChunkTokenNum(): number;
|
|
292
|
+
setChunkTokenNum(value: number): RagParserConfig;
|
|
293
|
+
|
|
294
|
+
getDelimiter(): string;
|
|
295
|
+
setDelimiter(value: string): RagParserConfig;
|
|
296
|
+
|
|
297
|
+
getHtml4excel(): boolean;
|
|
298
|
+
setHtml4excel(value: boolean): RagParserConfig;
|
|
299
|
+
|
|
300
|
+
getLayoutRecognize(): string;
|
|
301
|
+
setLayoutRecognize(value: string): RagParserConfig;
|
|
302
|
+
|
|
303
|
+
getTagKbIdsList(): Array<string>;
|
|
304
|
+
setTagKbIdsList(value: Array<string>): RagParserConfig;
|
|
305
|
+
clearTagKbIdsList(): RagParserConfig;
|
|
306
|
+
addTagKbIds(value: string, index?: number): RagParserConfig;
|
|
307
|
+
|
|
308
|
+
getTaskPageSize(): number;
|
|
309
|
+
setTaskPageSize(value: number): RagParserConfig;
|
|
310
|
+
|
|
311
|
+
getRaptor(): google_protobuf_struct_pb.Struct | undefined;
|
|
312
|
+
setRaptor(value?: google_protobuf_struct_pb.Struct): RagParserConfig;
|
|
313
|
+
hasRaptor(): boolean;
|
|
314
|
+
clearRaptor(): RagParserConfig;
|
|
315
|
+
|
|
316
|
+
getGraphrag(): google_protobuf_struct_pb.Struct | undefined;
|
|
317
|
+
setGraphrag(value?: google_protobuf_struct_pb.Struct): RagParserConfig;
|
|
318
|
+
hasGraphrag(): boolean;
|
|
319
|
+
clearGraphrag(): RagParserConfig;
|
|
320
|
+
|
|
321
|
+
serializeBinary(): Uint8Array;
|
|
322
|
+
toObject(includeInstance?: boolean): RagParserConfig.AsObject;
|
|
323
|
+
static toObject(includeInstance: boolean, msg: RagParserConfig): RagParserConfig.AsObject;
|
|
324
|
+
static serializeBinaryToWriter(message: RagParserConfig, writer: jspb.BinaryWriter): void;
|
|
325
|
+
static deserializeBinary(bytes: Uint8Array): RagParserConfig;
|
|
326
|
+
static deserializeBinaryFromReader(message: RagParserConfig, reader: jspb.BinaryReader): RagParserConfig;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export namespace RagParserConfig {
|
|
330
|
+
export type AsObject = {
|
|
331
|
+
autoKeyword: number,
|
|
332
|
+
autoQuestions: number,
|
|
333
|
+
chunkTokenNum: number,
|
|
334
|
+
delimiter: string,
|
|
335
|
+
html4excel: boolean,
|
|
336
|
+
layoutRecognize: string,
|
|
337
|
+
tagKbIdsList: Array<string>,
|
|
338
|
+
taskPageSize: number,
|
|
339
|
+
raptor?: google_protobuf_struct_pb.Struct.AsObject,
|
|
340
|
+
graphrag?: google_protobuf_struct_pb.Struct.AsObject,
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export class RagUpdateDatasetRequest extends jspb.Message {
|
|
345
|
+
getParent(): string;
|
|
346
|
+
setParent(value: string): RagUpdateDatasetRequest;
|
|
347
|
+
|
|
348
|
+
getDatasetId(): string;
|
|
349
|
+
setDatasetId(value: string): RagUpdateDatasetRequest;
|
|
350
|
+
|
|
351
|
+
getName(): string;
|
|
352
|
+
setName(value: string): RagUpdateDatasetRequest;
|
|
353
|
+
|
|
354
|
+
getDescription(): string;
|
|
355
|
+
setDescription(value: string): RagUpdateDatasetRequest;
|
|
356
|
+
|
|
357
|
+
getAvatar(): string;
|
|
358
|
+
setAvatar(value: string): RagUpdateDatasetRequest;
|
|
359
|
+
|
|
360
|
+
getPermission(): RagPermission;
|
|
361
|
+
setPermission(value: RagPermission): RagUpdateDatasetRequest;
|
|
362
|
+
|
|
363
|
+
getChunkMethod(): RagChunkMethod;
|
|
364
|
+
setChunkMethod(value: RagChunkMethod): RagUpdateDatasetRequest;
|
|
365
|
+
|
|
366
|
+
getParserConfig(): RagParserConfig | undefined;
|
|
367
|
+
setParserConfig(value?: RagParserConfig): RagUpdateDatasetRequest;
|
|
368
|
+
hasParserConfig(): boolean;
|
|
369
|
+
clearParserConfig(): RagUpdateDatasetRequest;
|
|
370
|
+
|
|
371
|
+
getEmbeddingModel(): string;
|
|
372
|
+
setEmbeddingModel(value: string): RagUpdateDatasetRequest;
|
|
373
|
+
|
|
374
|
+
getPagerank(): number;
|
|
375
|
+
setPagerank(value: number): RagUpdateDatasetRequest;
|
|
376
|
+
|
|
377
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
378
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateDatasetRequest;
|
|
379
|
+
hasAdditionalFields(): boolean;
|
|
380
|
+
clearAdditionalFields(): RagUpdateDatasetRequest;
|
|
381
|
+
|
|
382
|
+
serializeBinary(): Uint8Array;
|
|
383
|
+
toObject(includeInstance?: boolean): RagUpdateDatasetRequest.AsObject;
|
|
384
|
+
static toObject(includeInstance: boolean, msg: RagUpdateDatasetRequest): RagUpdateDatasetRequest.AsObject;
|
|
385
|
+
static serializeBinaryToWriter(message: RagUpdateDatasetRequest, writer: jspb.BinaryWriter): void;
|
|
386
|
+
static deserializeBinary(bytes: Uint8Array): RagUpdateDatasetRequest;
|
|
387
|
+
static deserializeBinaryFromReader(message: RagUpdateDatasetRequest, reader: jspb.BinaryReader): RagUpdateDatasetRequest;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export namespace RagUpdateDatasetRequest {
|
|
391
|
+
export type AsObject = {
|
|
392
|
+
parent: string,
|
|
393
|
+
datasetId: string,
|
|
394
|
+
name: string,
|
|
395
|
+
description: string,
|
|
396
|
+
avatar: string,
|
|
397
|
+
permission: RagPermission,
|
|
398
|
+
chunkMethod: RagChunkMethod,
|
|
399
|
+
parserConfig?: RagParserConfig.AsObject,
|
|
400
|
+
embeddingModel: string,
|
|
401
|
+
pagerank: number,
|
|
402
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export class RagDeleteDatasetsRequest extends jspb.Message {
|
|
407
|
+
getParent(): string;
|
|
408
|
+
setParent(value: string): RagDeleteDatasetsRequest;
|
|
409
|
+
|
|
410
|
+
getIdsList(): Array<string>;
|
|
411
|
+
setIdsList(value: Array<string>): RagDeleteDatasetsRequest;
|
|
412
|
+
clearIdsList(): RagDeleteDatasetsRequest;
|
|
413
|
+
addIds(value: string, index?: number): RagDeleteDatasetsRequest;
|
|
414
|
+
|
|
415
|
+
getDeleteAll(): boolean;
|
|
416
|
+
setDeleteAll(value: boolean): RagDeleteDatasetsRequest;
|
|
417
|
+
hasDeleteAll(): boolean;
|
|
418
|
+
clearDeleteAll(): RagDeleteDatasetsRequest;
|
|
419
|
+
|
|
420
|
+
serializeBinary(): Uint8Array;
|
|
421
|
+
toObject(includeInstance?: boolean): RagDeleteDatasetsRequest.AsObject;
|
|
422
|
+
static toObject(includeInstance: boolean, msg: RagDeleteDatasetsRequest): RagDeleteDatasetsRequest.AsObject;
|
|
423
|
+
static serializeBinaryToWriter(message: RagDeleteDatasetsRequest, writer: jspb.BinaryWriter): void;
|
|
424
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteDatasetsRequest;
|
|
425
|
+
static deserializeBinaryFromReader(message: RagDeleteDatasetsRequest, reader: jspb.BinaryReader): RagDeleteDatasetsRequest;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export namespace RagDeleteDatasetsRequest {
|
|
429
|
+
export type AsObject = {
|
|
430
|
+
parent: string,
|
|
431
|
+
idsList: Array<string>,
|
|
432
|
+
deleteAll?: boolean,
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export enum DeleteAllCase {
|
|
436
|
+
_DELETE_ALL_NOT_SET = 0,
|
|
437
|
+
DELETE_ALL = 3,
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export class RagListDatasetsRequest extends jspb.Message {
|
|
442
|
+
getParent(): string;
|
|
443
|
+
setParent(value: string): RagListDatasetsRequest;
|
|
444
|
+
|
|
445
|
+
getPagination(): RagPagination | undefined;
|
|
446
|
+
setPagination(value?: RagPagination): RagListDatasetsRequest;
|
|
447
|
+
hasPagination(): boolean;
|
|
448
|
+
clearPagination(): RagListDatasetsRequest;
|
|
449
|
+
|
|
450
|
+
getId(): string;
|
|
451
|
+
setId(value: string): RagListDatasetsRequest;
|
|
452
|
+
|
|
453
|
+
getName(): string;
|
|
454
|
+
setName(value: string): RagListDatasetsRequest;
|
|
455
|
+
|
|
456
|
+
getOrderby(): string;
|
|
457
|
+
setOrderby(value: string): RagListDatasetsRequest;
|
|
458
|
+
|
|
459
|
+
getDesc(): boolean;
|
|
460
|
+
setDesc(value: boolean): RagListDatasetsRequest;
|
|
461
|
+
hasDesc(): boolean;
|
|
462
|
+
clearDesc(): RagListDatasetsRequest;
|
|
463
|
+
|
|
464
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
465
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListDatasetsRequest;
|
|
466
|
+
hasAdditionalFields(): boolean;
|
|
467
|
+
clearAdditionalFields(): RagListDatasetsRequest;
|
|
468
|
+
|
|
469
|
+
serializeBinary(): Uint8Array;
|
|
470
|
+
toObject(includeInstance?: boolean): RagListDatasetsRequest.AsObject;
|
|
471
|
+
static toObject(includeInstance: boolean, msg: RagListDatasetsRequest): RagListDatasetsRequest.AsObject;
|
|
472
|
+
static serializeBinaryToWriter(message: RagListDatasetsRequest, writer: jspb.BinaryWriter): void;
|
|
473
|
+
static deserializeBinary(bytes: Uint8Array): RagListDatasetsRequest;
|
|
474
|
+
static deserializeBinaryFromReader(message: RagListDatasetsRequest, reader: jspb.BinaryReader): RagListDatasetsRequest;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export namespace RagListDatasetsRequest {
|
|
478
|
+
export type AsObject = {
|
|
479
|
+
parent: string,
|
|
480
|
+
pagination?: RagPagination.AsObject,
|
|
481
|
+
id: string,
|
|
482
|
+
name: string,
|
|
483
|
+
orderby: string,
|
|
484
|
+
desc?: boolean,
|
|
485
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export enum DescCase {
|
|
489
|
+
_DESC_NOT_SET = 0,
|
|
490
|
+
DESC = 6,
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export class RagDatasetList extends jspb.Message {
|
|
495
|
+
getDatasetsList(): Array<RagDataset>;
|
|
496
|
+
setDatasetsList(value: Array<RagDataset>): RagDatasetList;
|
|
497
|
+
clearDatasetsList(): RagDatasetList;
|
|
498
|
+
addDatasets(value?: RagDataset, index?: number): RagDataset;
|
|
499
|
+
|
|
500
|
+
serializeBinary(): Uint8Array;
|
|
501
|
+
toObject(includeInstance?: boolean): RagDatasetList.AsObject;
|
|
502
|
+
static toObject(includeInstance: boolean, msg: RagDatasetList): RagDatasetList.AsObject;
|
|
503
|
+
static serializeBinaryToWriter(message: RagDatasetList, writer: jspb.BinaryWriter): void;
|
|
504
|
+
static deserializeBinary(bytes: Uint8Array): RagDatasetList;
|
|
505
|
+
static deserializeBinaryFromReader(message: RagDatasetList, reader: jspb.BinaryReader): RagDatasetList;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export namespace RagDatasetList {
|
|
509
|
+
export type AsObject = {
|
|
510
|
+
datasetsList: Array<RagDataset.AsObject>,
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export class RagGetKnowledgeGraphRequest extends jspb.Message {
|
|
515
|
+
getParent(): string;
|
|
516
|
+
setParent(value: string): RagGetKnowledgeGraphRequest;
|
|
517
|
+
|
|
518
|
+
getDatasetId(): string;
|
|
519
|
+
setDatasetId(value: string): RagGetKnowledgeGraphRequest;
|
|
520
|
+
|
|
521
|
+
serializeBinary(): Uint8Array;
|
|
522
|
+
toObject(includeInstance?: boolean): RagGetKnowledgeGraphRequest.AsObject;
|
|
523
|
+
static toObject(includeInstance: boolean, msg: RagGetKnowledgeGraphRequest): RagGetKnowledgeGraphRequest.AsObject;
|
|
524
|
+
static serializeBinaryToWriter(message: RagGetKnowledgeGraphRequest, writer: jspb.BinaryWriter): void;
|
|
525
|
+
static deserializeBinary(bytes: Uint8Array): RagGetKnowledgeGraphRequest;
|
|
526
|
+
static deserializeBinaryFromReader(message: RagGetKnowledgeGraphRequest, reader: jspb.BinaryReader): RagGetKnowledgeGraphRequest;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export namespace RagGetKnowledgeGraphRequest {
|
|
530
|
+
export type AsObject = {
|
|
531
|
+
parent: string,
|
|
532
|
+
datasetId: string,
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export class RagGetKnowledgeGraphResponse extends jspb.Message {
|
|
537
|
+
getGraph(): google_protobuf_struct_pb.Struct | undefined;
|
|
538
|
+
setGraph(value?: google_protobuf_struct_pb.Struct): RagGetKnowledgeGraphResponse;
|
|
539
|
+
hasGraph(): boolean;
|
|
540
|
+
clearGraph(): RagGetKnowledgeGraphResponse;
|
|
541
|
+
|
|
542
|
+
getMindMap(): google_protobuf_struct_pb.Struct | undefined;
|
|
543
|
+
setMindMap(value?: google_protobuf_struct_pb.Struct): RagGetKnowledgeGraphResponse;
|
|
544
|
+
hasMindMap(): boolean;
|
|
545
|
+
clearMindMap(): RagGetKnowledgeGraphResponse;
|
|
546
|
+
|
|
547
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
548
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagGetKnowledgeGraphResponse;
|
|
549
|
+
hasAdditionalFields(): boolean;
|
|
550
|
+
clearAdditionalFields(): RagGetKnowledgeGraphResponse;
|
|
551
|
+
|
|
552
|
+
serializeBinary(): Uint8Array;
|
|
553
|
+
toObject(includeInstance?: boolean): RagGetKnowledgeGraphResponse.AsObject;
|
|
554
|
+
static toObject(includeInstance: boolean, msg: RagGetKnowledgeGraphResponse): RagGetKnowledgeGraphResponse.AsObject;
|
|
555
|
+
static serializeBinaryToWriter(message: RagGetKnowledgeGraphResponse, writer: jspb.BinaryWriter): void;
|
|
556
|
+
static deserializeBinary(bytes: Uint8Array): RagGetKnowledgeGraphResponse;
|
|
557
|
+
static deserializeBinaryFromReader(message: RagGetKnowledgeGraphResponse, reader: jspb.BinaryReader): RagGetKnowledgeGraphResponse;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export namespace RagGetKnowledgeGraphResponse {
|
|
561
|
+
export type AsObject = {
|
|
562
|
+
graph?: google_protobuf_struct_pb.Struct.AsObject,
|
|
563
|
+
mindMap?: google_protobuf_struct_pb.Struct.AsObject,
|
|
564
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export class RagDeleteKnowledgeGraphRequest extends jspb.Message {
|
|
569
|
+
getParent(): string;
|
|
570
|
+
setParent(value: string): RagDeleteKnowledgeGraphRequest;
|
|
571
|
+
|
|
572
|
+
getDatasetId(): string;
|
|
573
|
+
setDatasetId(value: string): RagDeleteKnowledgeGraphRequest;
|
|
574
|
+
|
|
575
|
+
serializeBinary(): Uint8Array;
|
|
576
|
+
toObject(includeInstance?: boolean): RagDeleteKnowledgeGraphRequest.AsObject;
|
|
577
|
+
static toObject(includeInstance: boolean, msg: RagDeleteKnowledgeGraphRequest): RagDeleteKnowledgeGraphRequest.AsObject;
|
|
578
|
+
static serializeBinaryToWriter(message: RagDeleteKnowledgeGraphRequest, writer: jspb.BinaryWriter): void;
|
|
579
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteKnowledgeGraphRequest;
|
|
580
|
+
static deserializeBinaryFromReader(message: RagDeleteKnowledgeGraphRequest, reader: jspb.BinaryReader): RagDeleteKnowledgeGraphRequest;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export namespace RagDeleteKnowledgeGraphRequest {
|
|
584
|
+
export type AsObject = {
|
|
585
|
+
parent: string,
|
|
586
|
+
datasetId: string,
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export class RagDocument extends jspb.Message {
|
|
591
|
+
getId(): string;
|
|
592
|
+
setId(value: string): RagDocument;
|
|
593
|
+
|
|
594
|
+
getDatasetId(): string;
|
|
595
|
+
setDatasetId(value: string): RagDocument;
|
|
596
|
+
|
|
597
|
+
getName(): string;
|
|
598
|
+
setName(value: string): RagDocument;
|
|
599
|
+
|
|
600
|
+
getType(): string;
|
|
601
|
+
setType(value: string): RagDocument;
|
|
602
|
+
|
|
603
|
+
getSize(): number;
|
|
604
|
+
setSize(value: number): RagDocument;
|
|
605
|
+
|
|
606
|
+
getChunkCount(): number;
|
|
607
|
+
setChunkCount(value: number): RagDocument;
|
|
608
|
+
|
|
609
|
+
getTokenCount(): number;
|
|
610
|
+
setTokenCount(value: number): RagDocument;
|
|
611
|
+
|
|
612
|
+
getChunkMethod(): RagChunkMethod;
|
|
613
|
+
setChunkMethod(value: RagChunkMethod): RagDocument;
|
|
614
|
+
|
|
615
|
+
getParserConfig(): RagParserConfig | undefined;
|
|
616
|
+
setParserConfig(value?: RagParserConfig): RagDocument;
|
|
617
|
+
hasParserConfig(): boolean;
|
|
618
|
+
clearParserConfig(): RagDocument;
|
|
619
|
+
|
|
620
|
+
getSourceType(): string;
|
|
621
|
+
setSourceType(value: string): RagDocument;
|
|
622
|
+
|
|
623
|
+
getRun(): RagDocumentStatus;
|
|
624
|
+
setRun(value: RagDocumentStatus): RagDocument;
|
|
625
|
+
|
|
626
|
+
getProgress(): number;
|
|
627
|
+
setProgress(value: number): RagDocument;
|
|
628
|
+
|
|
629
|
+
getProgressMsg(): string;
|
|
630
|
+
setProgressMsg(value: string): RagDocument;
|
|
631
|
+
|
|
632
|
+
getProcessDuration(): number;
|
|
633
|
+
setProcessDuration(value: number): RagDocument;
|
|
634
|
+
|
|
635
|
+
getCreateTime(): number;
|
|
636
|
+
setCreateTime(value: number): RagDocument;
|
|
637
|
+
|
|
638
|
+
getCreateDate(): string;
|
|
639
|
+
setCreateDate(value: string): RagDocument;
|
|
640
|
+
|
|
641
|
+
getUpdateTime(): number;
|
|
642
|
+
setUpdateTime(value: number): RagDocument;
|
|
643
|
+
|
|
644
|
+
getUpdateDate(): string;
|
|
645
|
+
setUpdateDate(value: string): RagDocument;
|
|
646
|
+
|
|
647
|
+
getMetaFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
648
|
+
setMetaFields(value?: google_protobuf_struct_pb.Struct): RagDocument;
|
|
649
|
+
hasMetaFields(): boolean;
|
|
650
|
+
clearMetaFields(): RagDocument;
|
|
651
|
+
|
|
652
|
+
getThumbnail(): string;
|
|
653
|
+
setThumbnail(value: string): RagDocument;
|
|
654
|
+
|
|
655
|
+
getLocation(): string;
|
|
656
|
+
setLocation(value: string): RagDocument;
|
|
657
|
+
|
|
658
|
+
getProcessBeginAt(): string;
|
|
659
|
+
setProcessBeginAt(value: string): RagDocument;
|
|
660
|
+
|
|
661
|
+
getSuffix(): string;
|
|
662
|
+
setSuffix(value: string): RagDocument;
|
|
663
|
+
|
|
664
|
+
getStatus(): string;
|
|
665
|
+
setStatus(value: string): RagDocument;
|
|
666
|
+
|
|
667
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
668
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagDocument;
|
|
669
|
+
hasAdditionalFields(): boolean;
|
|
670
|
+
clearAdditionalFields(): RagDocument;
|
|
671
|
+
|
|
672
|
+
serializeBinary(): Uint8Array;
|
|
673
|
+
toObject(includeInstance?: boolean): RagDocument.AsObject;
|
|
674
|
+
static toObject(includeInstance: boolean, msg: RagDocument): RagDocument.AsObject;
|
|
675
|
+
static serializeBinaryToWriter(message: RagDocument, writer: jspb.BinaryWriter): void;
|
|
676
|
+
static deserializeBinary(bytes: Uint8Array): RagDocument;
|
|
677
|
+
static deserializeBinaryFromReader(message: RagDocument, reader: jspb.BinaryReader): RagDocument;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export namespace RagDocument {
|
|
681
|
+
export type AsObject = {
|
|
682
|
+
id: string,
|
|
683
|
+
datasetId: string,
|
|
684
|
+
name: string,
|
|
685
|
+
type: string,
|
|
686
|
+
size: number,
|
|
687
|
+
chunkCount: number,
|
|
688
|
+
tokenCount: number,
|
|
689
|
+
chunkMethod: RagChunkMethod,
|
|
690
|
+
parserConfig?: RagParserConfig.AsObject,
|
|
691
|
+
sourceType: string,
|
|
692
|
+
run: RagDocumentStatus,
|
|
693
|
+
progress: number,
|
|
694
|
+
progressMsg: string,
|
|
695
|
+
processDuration: number,
|
|
696
|
+
createTime: number,
|
|
697
|
+
createDate: string,
|
|
698
|
+
updateTime: number,
|
|
699
|
+
updateDate: string,
|
|
700
|
+
metaFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
701
|
+
thumbnail: string,
|
|
702
|
+
location: string,
|
|
703
|
+
processBeginAt: string,
|
|
704
|
+
suffix: string,
|
|
705
|
+
status: string,
|
|
706
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export class RagUploadDocumentsRequest extends jspb.Message {
|
|
711
|
+
getParent(): string;
|
|
712
|
+
setParent(value: string): RagUploadDocumentsRequest;
|
|
713
|
+
|
|
714
|
+
getMetadata(): RagUploadDocumentsRequest.RagMetadata | undefined;
|
|
715
|
+
setMetadata(value?: RagUploadDocumentsRequest.RagMetadata): RagUploadDocumentsRequest;
|
|
716
|
+
hasMetadata(): boolean;
|
|
717
|
+
clearMetadata(): RagUploadDocumentsRequest;
|
|
718
|
+
|
|
719
|
+
getChunk(): RagUploadChunk | undefined;
|
|
720
|
+
setChunk(value?: RagUploadChunk): RagUploadDocumentsRequest;
|
|
721
|
+
hasChunk(): boolean;
|
|
722
|
+
clearChunk(): RagUploadDocumentsRequest;
|
|
723
|
+
|
|
724
|
+
getPayloadCase(): RagUploadDocumentsRequest.PayloadCase;
|
|
725
|
+
|
|
726
|
+
serializeBinary(): Uint8Array;
|
|
727
|
+
toObject(includeInstance?: boolean): RagUploadDocumentsRequest.AsObject;
|
|
728
|
+
static toObject(includeInstance: boolean, msg: RagUploadDocumentsRequest): RagUploadDocumentsRequest.AsObject;
|
|
729
|
+
static serializeBinaryToWriter(message: RagUploadDocumentsRequest, writer: jspb.BinaryWriter): void;
|
|
730
|
+
static deserializeBinary(bytes: Uint8Array): RagUploadDocumentsRequest;
|
|
731
|
+
static deserializeBinaryFromReader(message: RagUploadDocumentsRequest, reader: jspb.BinaryReader): RagUploadDocumentsRequest;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export namespace RagUploadDocumentsRequest {
|
|
735
|
+
export type AsObject = {
|
|
736
|
+
parent: string,
|
|
737
|
+
metadata?: RagUploadDocumentsRequest.RagMetadata.AsObject,
|
|
738
|
+
chunk?: RagUploadChunk.AsObject,
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export class RagMetadata extends jspb.Message {
|
|
742
|
+
getDatasetId(): string;
|
|
743
|
+
setDatasetId(value: string): RagMetadata;
|
|
744
|
+
|
|
745
|
+
getFilesList(): Array<RagFileMetadata>;
|
|
746
|
+
setFilesList(value: Array<RagFileMetadata>): RagMetadata;
|
|
747
|
+
clearFilesList(): RagMetadata;
|
|
748
|
+
addFiles(value?: RagFileMetadata, index?: number): RagFileMetadata;
|
|
749
|
+
|
|
750
|
+
serializeBinary(): Uint8Array;
|
|
751
|
+
toObject(includeInstance?: boolean): RagMetadata.AsObject;
|
|
752
|
+
static toObject(includeInstance: boolean, msg: RagMetadata): RagMetadata.AsObject;
|
|
753
|
+
static serializeBinaryToWriter(message: RagMetadata, writer: jspb.BinaryWriter): void;
|
|
754
|
+
static deserializeBinary(bytes: Uint8Array): RagMetadata;
|
|
755
|
+
static deserializeBinaryFromReader(message: RagMetadata, reader: jspb.BinaryReader): RagMetadata;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
export namespace RagMetadata {
|
|
759
|
+
export type AsObject = {
|
|
760
|
+
datasetId: string,
|
|
761
|
+
filesList: Array<RagFileMetadata.AsObject>,
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
export enum PayloadCase {
|
|
767
|
+
PAYLOAD_NOT_SET = 0,
|
|
768
|
+
METADATA = 2,
|
|
769
|
+
CHUNK = 3,
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export class RagDocumentList extends jspb.Message {
|
|
774
|
+
getDocumentsList(): Array<RagDocument>;
|
|
775
|
+
setDocumentsList(value: Array<RagDocument>): RagDocumentList;
|
|
776
|
+
clearDocumentsList(): RagDocumentList;
|
|
777
|
+
addDocuments(value?: RagDocument, index?: number): RagDocument;
|
|
778
|
+
|
|
779
|
+
serializeBinary(): Uint8Array;
|
|
780
|
+
toObject(includeInstance?: boolean): RagDocumentList.AsObject;
|
|
781
|
+
static toObject(includeInstance: boolean, msg: RagDocumentList): RagDocumentList.AsObject;
|
|
782
|
+
static serializeBinaryToWriter(message: RagDocumentList, writer: jspb.BinaryWriter): void;
|
|
783
|
+
static deserializeBinary(bytes: Uint8Array): RagDocumentList;
|
|
784
|
+
static deserializeBinaryFromReader(message: RagDocumentList, reader: jspb.BinaryReader): RagDocumentList;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
export namespace RagDocumentList {
|
|
788
|
+
export type AsObject = {
|
|
789
|
+
documentsList: Array<RagDocument.AsObject>,
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export class RagUpdateDocumentRequest extends jspb.Message {
|
|
794
|
+
getParent(): string;
|
|
795
|
+
setParent(value: string): RagUpdateDocumentRequest;
|
|
796
|
+
|
|
797
|
+
getDatasetId(): string;
|
|
798
|
+
setDatasetId(value: string): RagUpdateDocumentRequest;
|
|
799
|
+
|
|
800
|
+
getDocumentId(): string;
|
|
801
|
+
setDocumentId(value: string): RagUpdateDocumentRequest;
|
|
802
|
+
|
|
803
|
+
getName(): string;
|
|
804
|
+
setName(value: string): RagUpdateDocumentRequest;
|
|
805
|
+
|
|
806
|
+
getChunkMethod(): RagChunkMethod;
|
|
807
|
+
setChunkMethod(value: RagChunkMethod): RagUpdateDocumentRequest;
|
|
808
|
+
|
|
809
|
+
getParserConfig(): RagParserConfig | undefined;
|
|
810
|
+
setParserConfig(value?: RagParserConfig): RagUpdateDocumentRequest;
|
|
811
|
+
hasParserConfig(): boolean;
|
|
812
|
+
clearParserConfig(): RagUpdateDocumentRequest;
|
|
813
|
+
|
|
814
|
+
getEnabled(): boolean;
|
|
815
|
+
setEnabled(value: boolean): RagUpdateDocumentRequest;
|
|
816
|
+
hasEnabled(): boolean;
|
|
817
|
+
clearEnabled(): RagUpdateDocumentRequest;
|
|
818
|
+
|
|
819
|
+
getMetaFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
820
|
+
setMetaFields(value?: google_protobuf_struct_pb.Struct): RagUpdateDocumentRequest;
|
|
821
|
+
hasMetaFields(): boolean;
|
|
822
|
+
clearMetaFields(): RagUpdateDocumentRequest;
|
|
823
|
+
|
|
824
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
825
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateDocumentRequest;
|
|
826
|
+
hasAdditionalFields(): boolean;
|
|
827
|
+
clearAdditionalFields(): RagUpdateDocumentRequest;
|
|
828
|
+
|
|
829
|
+
serializeBinary(): Uint8Array;
|
|
830
|
+
toObject(includeInstance?: boolean): RagUpdateDocumentRequest.AsObject;
|
|
831
|
+
static toObject(includeInstance: boolean, msg: RagUpdateDocumentRequest): RagUpdateDocumentRequest.AsObject;
|
|
832
|
+
static serializeBinaryToWriter(message: RagUpdateDocumentRequest, writer: jspb.BinaryWriter): void;
|
|
833
|
+
static deserializeBinary(bytes: Uint8Array): RagUpdateDocumentRequest;
|
|
834
|
+
static deserializeBinaryFromReader(message: RagUpdateDocumentRequest, reader: jspb.BinaryReader): RagUpdateDocumentRequest;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export namespace RagUpdateDocumentRequest {
|
|
838
|
+
export type AsObject = {
|
|
839
|
+
parent: string,
|
|
840
|
+
datasetId: string,
|
|
841
|
+
documentId: string,
|
|
842
|
+
name: string,
|
|
843
|
+
chunkMethod: RagChunkMethod,
|
|
844
|
+
parserConfig?: RagParserConfig.AsObject,
|
|
845
|
+
enabled?: boolean,
|
|
846
|
+
metaFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
847
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export enum EnabledCase {
|
|
851
|
+
_ENABLED_NOT_SET = 0,
|
|
852
|
+
ENABLED = 7,
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export class RagDownloadDocumentRequest extends jspb.Message {
|
|
857
|
+
getParent(): string;
|
|
858
|
+
setParent(value: string): RagDownloadDocumentRequest;
|
|
859
|
+
|
|
860
|
+
getDatasetId(): string;
|
|
861
|
+
setDatasetId(value: string): RagDownloadDocumentRequest;
|
|
862
|
+
|
|
863
|
+
getDocumentId(): string;
|
|
864
|
+
setDocumentId(value: string): RagDownloadDocumentRequest;
|
|
865
|
+
|
|
866
|
+
serializeBinary(): Uint8Array;
|
|
867
|
+
toObject(includeInstance?: boolean): RagDownloadDocumentRequest.AsObject;
|
|
868
|
+
static toObject(includeInstance: boolean, msg: RagDownloadDocumentRequest): RagDownloadDocumentRequest.AsObject;
|
|
869
|
+
static serializeBinaryToWriter(message: RagDownloadDocumentRequest, writer: jspb.BinaryWriter): void;
|
|
870
|
+
static deserializeBinary(bytes: Uint8Array): RagDownloadDocumentRequest;
|
|
871
|
+
static deserializeBinaryFromReader(message: RagDownloadDocumentRequest, reader: jspb.BinaryReader): RagDownloadDocumentRequest;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
export namespace RagDownloadDocumentRequest {
|
|
875
|
+
export type AsObject = {
|
|
876
|
+
parent: string,
|
|
877
|
+
datasetId: string,
|
|
878
|
+
documentId: string,
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
export class RagListDocumentsRequest extends jspb.Message {
|
|
883
|
+
getParent(): string;
|
|
884
|
+
setParent(value: string): RagListDocumentsRequest;
|
|
885
|
+
|
|
886
|
+
getDatasetId(): string;
|
|
887
|
+
setDatasetId(value: string): RagListDocumentsRequest;
|
|
888
|
+
|
|
889
|
+
getPagination(): RagPagination | undefined;
|
|
890
|
+
setPagination(value?: RagPagination): RagListDocumentsRequest;
|
|
891
|
+
hasPagination(): boolean;
|
|
892
|
+
clearPagination(): RagListDocumentsRequest;
|
|
893
|
+
|
|
894
|
+
getId(): string;
|
|
895
|
+
setId(value: string): RagListDocumentsRequest;
|
|
896
|
+
|
|
897
|
+
getName(): string;
|
|
898
|
+
setName(value: string): RagListDocumentsRequest;
|
|
899
|
+
|
|
900
|
+
getKeywords(): string;
|
|
901
|
+
setKeywords(value: string): RagListDocumentsRequest;
|
|
902
|
+
|
|
903
|
+
getOrderby(): string;
|
|
904
|
+
setOrderby(value: string): RagListDocumentsRequest;
|
|
905
|
+
|
|
906
|
+
getDesc(): boolean;
|
|
907
|
+
setDesc(value: boolean): RagListDocumentsRequest;
|
|
908
|
+
hasDesc(): boolean;
|
|
909
|
+
clearDesc(): RagListDocumentsRequest;
|
|
910
|
+
|
|
911
|
+
getCreateTimeFrom(): number;
|
|
912
|
+
setCreateTimeFrom(value: number): RagListDocumentsRequest;
|
|
913
|
+
|
|
914
|
+
getCreateTimeTo(): number;
|
|
915
|
+
setCreateTimeTo(value: number): RagListDocumentsRequest;
|
|
916
|
+
|
|
917
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
918
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListDocumentsRequest;
|
|
919
|
+
hasAdditionalFields(): boolean;
|
|
920
|
+
clearAdditionalFields(): RagListDocumentsRequest;
|
|
921
|
+
|
|
922
|
+
serializeBinary(): Uint8Array;
|
|
923
|
+
toObject(includeInstance?: boolean): RagListDocumentsRequest.AsObject;
|
|
924
|
+
static toObject(includeInstance: boolean, msg: RagListDocumentsRequest): RagListDocumentsRequest.AsObject;
|
|
925
|
+
static serializeBinaryToWriter(message: RagListDocumentsRequest, writer: jspb.BinaryWriter): void;
|
|
926
|
+
static deserializeBinary(bytes: Uint8Array): RagListDocumentsRequest;
|
|
927
|
+
static deserializeBinaryFromReader(message: RagListDocumentsRequest, reader: jspb.BinaryReader): RagListDocumentsRequest;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export namespace RagListDocumentsRequest {
|
|
931
|
+
export type AsObject = {
|
|
932
|
+
parent: string,
|
|
933
|
+
datasetId: string,
|
|
934
|
+
pagination?: RagPagination.AsObject,
|
|
935
|
+
id: string,
|
|
936
|
+
name: string,
|
|
937
|
+
keywords: string,
|
|
938
|
+
orderby: string,
|
|
939
|
+
desc?: boolean,
|
|
940
|
+
createTimeFrom: number,
|
|
941
|
+
createTimeTo: number,
|
|
942
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
export enum DescCase {
|
|
946
|
+
_DESC_NOT_SET = 0,
|
|
947
|
+
DESC = 8,
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export class RagListDocumentsResponse extends jspb.Message {
|
|
952
|
+
getTotal(): number;
|
|
953
|
+
setTotal(value: number): RagListDocumentsResponse;
|
|
954
|
+
|
|
955
|
+
getDocsList(): Array<RagDocument>;
|
|
956
|
+
setDocsList(value: Array<RagDocument>): RagListDocumentsResponse;
|
|
957
|
+
clearDocsList(): RagListDocumentsResponse;
|
|
958
|
+
addDocs(value?: RagDocument, index?: number): RagDocument;
|
|
959
|
+
|
|
960
|
+
serializeBinary(): Uint8Array;
|
|
961
|
+
toObject(includeInstance?: boolean): RagListDocumentsResponse.AsObject;
|
|
962
|
+
static toObject(includeInstance: boolean, msg: RagListDocumentsResponse): RagListDocumentsResponse.AsObject;
|
|
963
|
+
static serializeBinaryToWriter(message: RagListDocumentsResponse, writer: jspb.BinaryWriter): void;
|
|
964
|
+
static deserializeBinary(bytes: Uint8Array): RagListDocumentsResponse;
|
|
965
|
+
static deserializeBinaryFromReader(message: RagListDocumentsResponse, reader: jspb.BinaryReader): RagListDocumentsResponse;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
export namespace RagListDocumentsResponse {
|
|
969
|
+
export type AsObject = {
|
|
970
|
+
total: number,
|
|
971
|
+
docsList: Array<RagDocument.AsObject>,
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
export class RagDeleteDocumentsRequest extends jspb.Message {
|
|
976
|
+
getParent(): string;
|
|
977
|
+
setParent(value: string): RagDeleteDocumentsRequest;
|
|
978
|
+
|
|
979
|
+
getDatasetId(): string;
|
|
980
|
+
setDatasetId(value: string): RagDeleteDocumentsRequest;
|
|
981
|
+
|
|
982
|
+
getIdsList(): Array<string>;
|
|
983
|
+
setIdsList(value: Array<string>): RagDeleteDocumentsRequest;
|
|
984
|
+
clearIdsList(): RagDeleteDocumentsRequest;
|
|
985
|
+
addIds(value: string, index?: number): RagDeleteDocumentsRequest;
|
|
986
|
+
|
|
987
|
+
getDeleteAll(): boolean;
|
|
988
|
+
setDeleteAll(value: boolean): RagDeleteDocumentsRequest;
|
|
989
|
+
hasDeleteAll(): boolean;
|
|
990
|
+
clearDeleteAll(): RagDeleteDocumentsRequest;
|
|
991
|
+
|
|
992
|
+
serializeBinary(): Uint8Array;
|
|
993
|
+
toObject(includeInstance?: boolean): RagDeleteDocumentsRequest.AsObject;
|
|
994
|
+
static toObject(includeInstance: boolean, msg: RagDeleteDocumentsRequest): RagDeleteDocumentsRequest.AsObject;
|
|
995
|
+
static serializeBinaryToWriter(message: RagDeleteDocumentsRequest, writer: jspb.BinaryWriter): void;
|
|
996
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteDocumentsRequest;
|
|
997
|
+
static deserializeBinaryFromReader(message: RagDeleteDocumentsRequest, reader: jspb.BinaryReader): RagDeleteDocumentsRequest;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
export namespace RagDeleteDocumentsRequest {
|
|
1001
|
+
export type AsObject = {
|
|
1002
|
+
parent: string,
|
|
1003
|
+
datasetId: string,
|
|
1004
|
+
idsList: Array<string>,
|
|
1005
|
+
deleteAll?: boolean,
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export enum DeleteAllCase {
|
|
1009
|
+
_DELETE_ALL_NOT_SET = 0,
|
|
1010
|
+
DELETE_ALL = 4,
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export class RagChunk extends jspb.Message {
|
|
1015
|
+
getId(): string;
|
|
1016
|
+
setId(value: string): RagChunk;
|
|
1017
|
+
|
|
1018
|
+
getDatasetId(): string;
|
|
1019
|
+
setDatasetId(value: string): RagChunk;
|
|
1020
|
+
|
|
1021
|
+
getDocumentId(): string;
|
|
1022
|
+
setDocumentId(value: string): RagChunk;
|
|
1023
|
+
|
|
1024
|
+
getContent(): string;
|
|
1025
|
+
setContent(value: string): RagChunk;
|
|
1026
|
+
|
|
1027
|
+
getDocnmKwd(): string;
|
|
1028
|
+
setDocnmKwd(value: string): RagChunk;
|
|
1029
|
+
|
|
1030
|
+
getImportantKeywordsList(): Array<string>;
|
|
1031
|
+
setImportantKeywordsList(value: Array<string>): RagChunk;
|
|
1032
|
+
clearImportantKeywordsList(): RagChunk;
|
|
1033
|
+
addImportantKeywords(value: string, index?: number): RagChunk;
|
|
1034
|
+
|
|
1035
|
+
getQuestionsList(): Array<string>;
|
|
1036
|
+
setQuestionsList(value: Array<string>): RagChunk;
|
|
1037
|
+
clearQuestionsList(): RagChunk;
|
|
1038
|
+
addQuestions(value: string, index?: number): RagChunk;
|
|
1039
|
+
|
|
1040
|
+
getImageId(): string;
|
|
1041
|
+
setImageId(value: string): RagChunk;
|
|
1042
|
+
|
|
1043
|
+
getAvailable(): boolean;
|
|
1044
|
+
setAvailable(value: boolean): RagChunk;
|
|
1045
|
+
hasAvailable(): boolean;
|
|
1046
|
+
clearAvailable(): RagChunk;
|
|
1047
|
+
|
|
1048
|
+
getPositionsList(): Array<google_protobuf_struct_pb.ListValue>;
|
|
1049
|
+
setPositionsList(value: Array<google_protobuf_struct_pb.ListValue>): RagChunk;
|
|
1050
|
+
clearPositionsList(): RagChunk;
|
|
1051
|
+
addPositions(value?: google_protobuf_struct_pb.ListValue, index?: number): google_protobuf_struct_pb.ListValue;
|
|
1052
|
+
|
|
1053
|
+
getCreateTime(): string;
|
|
1054
|
+
setCreateTime(value: string): RagChunk;
|
|
1055
|
+
|
|
1056
|
+
getCreateTimestamp(): number;
|
|
1057
|
+
setCreateTimestamp(value: number): RagChunk;
|
|
1058
|
+
|
|
1059
|
+
getDocumentKeyword(): string;
|
|
1060
|
+
setDocumentKeyword(value: string): RagChunk;
|
|
1061
|
+
|
|
1062
|
+
getSimilarity(): number;
|
|
1063
|
+
setSimilarity(value: number): RagChunk;
|
|
1064
|
+
|
|
1065
|
+
getVector(): google_protobuf_struct_pb.Struct | undefined;
|
|
1066
|
+
setVector(value?: google_protobuf_struct_pb.Struct): RagChunk;
|
|
1067
|
+
hasVector(): boolean;
|
|
1068
|
+
clearVector(): RagChunk;
|
|
1069
|
+
|
|
1070
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1071
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagChunk;
|
|
1072
|
+
hasAdditionalFields(): boolean;
|
|
1073
|
+
clearAdditionalFields(): RagChunk;
|
|
1074
|
+
|
|
1075
|
+
serializeBinary(): Uint8Array;
|
|
1076
|
+
toObject(includeInstance?: boolean): RagChunk.AsObject;
|
|
1077
|
+
static toObject(includeInstance: boolean, msg: RagChunk): RagChunk.AsObject;
|
|
1078
|
+
static serializeBinaryToWriter(message: RagChunk, writer: jspb.BinaryWriter): void;
|
|
1079
|
+
static deserializeBinary(bytes: Uint8Array): RagChunk;
|
|
1080
|
+
static deserializeBinaryFromReader(message: RagChunk, reader: jspb.BinaryReader): RagChunk;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export namespace RagChunk {
|
|
1084
|
+
export type AsObject = {
|
|
1085
|
+
id: string,
|
|
1086
|
+
datasetId: string,
|
|
1087
|
+
documentId: string,
|
|
1088
|
+
content: string,
|
|
1089
|
+
docnmKwd: string,
|
|
1090
|
+
importantKeywordsList: Array<string>,
|
|
1091
|
+
questionsList: Array<string>,
|
|
1092
|
+
imageId: string,
|
|
1093
|
+
available?: boolean,
|
|
1094
|
+
positionsList: Array<google_protobuf_struct_pb.ListValue.AsObject>,
|
|
1095
|
+
createTime: string,
|
|
1096
|
+
createTimestamp: number,
|
|
1097
|
+
documentKeyword: string,
|
|
1098
|
+
similarity: number,
|
|
1099
|
+
vector?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1100
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
export enum AvailableCase {
|
|
1104
|
+
_AVAILABLE_NOT_SET = 0,
|
|
1105
|
+
AVAILABLE = 9,
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export class RagParseDocumentsRequest extends jspb.Message {
|
|
1110
|
+
getParent(): string;
|
|
1111
|
+
setParent(value: string): RagParseDocumentsRequest;
|
|
1112
|
+
|
|
1113
|
+
getDatasetId(): string;
|
|
1114
|
+
setDatasetId(value: string): RagParseDocumentsRequest;
|
|
1115
|
+
|
|
1116
|
+
getDocumentIdsList(): Array<string>;
|
|
1117
|
+
setDocumentIdsList(value: Array<string>): RagParseDocumentsRequest;
|
|
1118
|
+
clearDocumentIdsList(): RagParseDocumentsRequest;
|
|
1119
|
+
addDocumentIds(value: string, index?: number): RagParseDocumentsRequest;
|
|
1120
|
+
|
|
1121
|
+
serializeBinary(): Uint8Array;
|
|
1122
|
+
toObject(includeInstance?: boolean): RagParseDocumentsRequest.AsObject;
|
|
1123
|
+
static toObject(includeInstance: boolean, msg: RagParseDocumentsRequest): RagParseDocumentsRequest.AsObject;
|
|
1124
|
+
static serializeBinaryToWriter(message: RagParseDocumentsRequest, writer: jspb.BinaryWriter): void;
|
|
1125
|
+
static deserializeBinary(bytes: Uint8Array): RagParseDocumentsRequest;
|
|
1126
|
+
static deserializeBinaryFromReader(message: RagParseDocumentsRequest, reader: jspb.BinaryReader): RagParseDocumentsRequest;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export namespace RagParseDocumentsRequest {
|
|
1130
|
+
export type AsObject = {
|
|
1131
|
+
parent: string,
|
|
1132
|
+
datasetId: string,
|
|
1133
|
+
documentIdsList: Array<string>,
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export class RagStopParsingRequest extends jspb.Message {
|
|
1138
|
+
getParent(): string;
|
|
1139
|
+
setParent(value: string): RagStopParsingRequest;
|
|
1140
|
+
|
|
1141
|
+
getDatasetId(): string;
|
|
1142
|
+
setDatasetId(value: string): RagStopParsingRequest;
|
|
1143
|
+
|
|
1144
|
+
getDocumentIdsList(): Array<string>;
|
|
1145
|
+
setDocumentIdsList(value: Array<string>): RagStopParsingRequest;
|
|
1146
|
+
clearDocumentIdsList(): RagStopParsingRequest;
|
|
1147
|
+
addDocumentIds(value: string, index?: number): RagStopParsingRequest;
|
|
1148
|
+
|
|
1149
|
+
serializeBinary(): Uint8Array;
|
|
1150
|
+
toObject(includeInstance?: boolean): RagStopParsingRequest.AsObject;
|
|
1151
|
+
static toObject(includeInstance: boolean, msg: RagStopParsingRequest): RagStopParsingRequest.AsObject;
|
|
1152
|
+
static serializeBinaryToWriter(message: RagStopParsingRequest, writer: jspb.BinaryWriter): void;
|
|
1153
|
+
static deserializeBinary(bytes: Uint8Array): RagStopParsingRequest;
|
|
1154
|
+
static deserializeBinaryFromReader(message: RagStopParsingRequest, reader: jspb.BinaryReader): RagStopParsingRequest;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
export namespace RagStopParsingRequest {
|
|
1158
|
+
export type AsObject = {
|
|
1159
|
+
parent: string,
|
|
1160
|
+
datasetId: string,
|
|
1161
|
+
documentIdsList: Array<string>,
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
export class RagListChunksRequest extends jspb.Message {
|
|
1166
|
+
getParent(): string;
|
|
1167
|
+
setParent(value: string): RagListChunksRequest;
|
|
1168
|
+
|
|
1169
|
+
getDatasetId(): string;
|
|
1170
|
+
setDatasetId(value: string): RagListChunksRequest;
|
|
1171
|
+
|
|
1172
|
+
getDocumentId(): string;
|
|
1173
|
+
setDocumentId(value: string): RagListChunksRequest;
|
|
1174
|
+
|
|
1175
|
+
getPagination(): RagPagination | undefined;
|
|
1176
|
+
setPagination(value?: RagPagination): RagListChunksRequest;
|
|
1177
|
+
hasPagination(): boolean;
|
|
1178
|
+
clearPagination(): RagListChunksRequest;
|
|
1179
|
+
|
|
1180
|
+
getKeywords(): string;
|
|
1181
|
+
setKeywords(value: string): RagListChunksRequest;
|
|
1182
|
+
|
|
1183
|
+
getId(): string;
|
|
1184
|
+
setId(value: string): RagListChunksRequest;
|
|
1185
|
+
|
|
1186
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1187
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListChunksRequest;
|
|
1188
|
+
hasAdditionalFields(): boolean;
|
|
1189
|
+
clearAdditionalFields(): RagListChunksRequest;
|
|
1190
|
+
|
|
1191
|
+
serializeBinary(): Uint8Array;
|
|
1192
|
+
toObject(includeInstance?: boolean): RagListChunksRequest.AsObject;
|
|
1193
|
+
static toObject(includeInstance: boolean, msg: RagListChunksRequest): RagListChunksRequest.AsObject;
|
|
1194
|
+
static serializeBinaryToWriter(message: RagListChunksRequest, writer: jspb.BinaryWriter): void;
|
|
1195
|
+
static deserializeBinary(bytes: Uint8Array): RagListChunksRequest;
|
|
1196
|
+
static deserializeBinaryFromReader(message: RagListChunksRequest, reader: jspb.BinaryReader): RagListChunksRequest;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
export namespace RagListChunksRequest {
|
|
1200
|
+
export type AsObject = {
|
|
1201
|
+
parent: string,
|
|
1202
|
+
datasetId: string,
|
|
1203
|
+
documentId: string,
|
|
1204
|
+
pagination?: RagPagination.AsObject,
|
|
1205
|
+
keywords: string,
|
|
1206
|
+
id: string,
|
|
1207
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
export class RagListChunksResponse extends jspb.Message {
|
|
1212
|
+
getTotal(): number;
|
|
1213
|
+
setTotal(value: number): RagListChunksResponse;
|
|
1214
|
+
|
|
1215
|
+
getChunksList(): Array<RagChunk>;
|
|
1216
|
+
setChunksList(value: Array<RagChunk>): RagListChunksResponse;
|
|
1217
|
+
clearChunksList(): RagListChunksResponse;
|
|
1218
|
+
addChunks(value?: RagChunk, index?: number): RagChunk;
|
|
1219
|
+
|
|
1220
|
+
getDoc(): RagDocument | undefined;
|
|
1221
|
+
setDoc(value?: RagDocument): RagListChunksResponse;
|
|
1222
|
+
hasDoc(): boolean;
|
|
1223
|
+
clearDoc(): RagListChunksResponse;
|
|
1224
|
+
|
|
1225
|
+
serializeBinary(): Uint8Array;
|
|
1226
|
+
toObject(includeInstance?: boolean): RagListChunksResponse.AsObject;
|
|
1227
|
+
static toObject(includeInstance: boolean, msg: RagListChunksResponse): RagListChunksResponse.AsObject;
|
|
1228
|
+
static serializeBinaryToWriter(message: RagListChunksResponse, writer: jspb.BinaryWriter): void;
|
|
1229
|
+
static deserializeBinary(bytes: Uint8Array): RagListChunksResponse;
|
|
1230
|
+
static deserializeBinaryFromReader(message: RagListChunksResponse, reader: jspb.BinaryReader): RagListChunksResponse;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
export namespace RagListChunksResponse {
|
|
1234
|
+
export type AsObject = {
|
|
1235
|
+
total: number,
|
|
1236
|
+
chunksList: Array<RagChunk.AsObject>,
|
|
1237
|
+
doc?: RagDocument.AsObject,
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
export class RagAddChunkRequest extends jspb.Message {
|
|
1242
|
+
getParent(): string;
|
|
1243
|
+
setParent(value: string): RagAddChunkRequest;
|
|
1244
|
+
|
|
1245
|
+
getDatasetId(): string;
|
|
1246
|
+
setDatasetId(value: string): RagAddChunkRequest;
|
|
1247
|
+
|
|
1248
|
+
getDocumentId(): string;
|
|
1249
|
+
setDocumentId(value: string): RagAddChunkRequest;
|
|
1250
|
+
|
|
1251
|
+
getContent(): string;
|
|
1252
|
+
setContent(value: string): RagAddChunkRequest;
|
|
1253
|
+
|
|
1254
|
+
getImportantKeywordsList(): Array<string>;
|
|
1255
|
+
setImportantKeywordsList(value: Array<string>): RagAddChunkRequest;
|
|
1256
|
+
clearImportantKeywordsList(): RagAddChunkRequest;
|
|
1257
|
+
addImportantKeywords(value: string, index?: number): RagAddChunkRequest;
|
|
1258
|
+
|
|
1259
|
+
getQuestionsList(): Array<string>;
|
|
1260
|
+
setQuestionsList(value: Array<string>): RagAddChunkRequest;
|
|
1261
|
+
clearQuestionsList(): RagAddChunkRequest;
|
|
1262
|
+
addQuestions(value: string, index?: number): RagAddChunkRequest;
|
|
1263
|
+
|
|
1264
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1265
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAddChunkRequest;
|
|
1266
|
+
hasAdditionalFields(): boolean;
|
|
1267
|
+
clearAdditionalFields(): RagAddChunkRequest;
|
|
1268
|
+
|
|
1269
|
+
serializeBinary(): Uint8Array;
|
|
1270
|
+
toObject(includeInstance?: boolean): RagAddChunkRequest.AsObject;
|
|
1271
|
+
static toObject(includeInstance: boolean, msg: RagAddChunkRequest): RagAddChunkRequest.AsObject;
|
|
1272
|
+
static serializeBinaryToWriter(message: RagAddChunkRequest, writer: jspb.BinaryWriter): void;
|
|
1273
|
+
static deserializeBinary(bytes: Uint8Array): RagAddChunkRequest;
|
|
1274
|
+
static deserializeBinaryFromReader(message: RagAddChunkRequest, reader: jspb.BinaryReader): RagAddChunkRequest;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
export namespace RagAddChunkRequest {
|
|
1278
|
+
export type AsObject = {
|
|
1279
|
+
parent: string,
|
|
1280
|
+
datasetId: string,
|
|
1281
|
+
documentId: string,
|
|
1282
|
+
content: string,
|
|
1283
|
+
importantKeywordsList: Array<string>,
|
|
1284
|
+
questionsList: Array<string>,
|
|
1285
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
export class RagAddChunkResponse extends jspb.Message {
|
|
1290
|
+
getChunk(): RagChunk | undefined;
|
|
1291
|
+
setChunk(value?: RagChunk): RagAddChunkResponse;
|
|
1292
|
+
hasChunk(): boolean;
|
|
1293
|
+
clearChunk(): RagAddChunkResponse;
|
|
1294
|
+
|
|
1295
|
+
serializeBinary(): Uint8Array;
|
|
1296
|
+
toObject(includeInstance?: boolean): RagAddChunkResponse.AsObject;
|
|
1297
|
+
static toObject(includeInstance: boolean, msg: RagAddChunkResponse): RagAddChunkResponse.AsObject;
|
|
1298
|
+
static serializeBinaryToWriter(message: RagAddChunkResponse, writer: jspb.BinaryWriter): void;
|
|
1299
|
+
static deserializeBinary(bytes: Uint8Array): RagAddChunkResponse;
|
|
1300
|
+
static deserializeBinaryFromReader(message: RagAddChunkResponse, reader: jspb.BinaryReader): RagAddChunkResponse;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export namespace RagAddChunkResponse {
|
|
1304
|
+
export type AsObject = {
|
|
1305
|
+
chunk?: RagChunk.AsObject,
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
export class RagRemoveChunksRequest extends jspb.Message {
|
|
1310
|
+
getParent(): string;
|
|
1311
|
+
setParent(value: string): RagRemoveChunksRequest;
|
|
1312
|
+
|
|
1313
|
+
getDatasetId(): string;
|
|
1314
|
+
setDatasetId(value: string): RagRemoveChunksRequest;
|
|
1315
|
+
|
|
1316
|
+
getDocumentId(): string;
|
|
1317
|
+
setDocumentId(value: string): RagRemoveChunksRequest;
|
|
1318
|
+
|
|
1319
|
+
getChunkIdsList(): Array<string>;
|
|
1320
|
+
setChunkIdsList(value: Array<string>): RagRemoveChunksRequest;
|
|
1321
|
+
clearChunkIdsList(): RagRemoveChunksRequest;
|
|
1322
|
+
addChunkIds(value: string, index?: number): RagRemoveChunksRequest;
|
|
1323
|
+
|
|
1324
|
+
serializeBinary(): Uint8Array;
|
|
1325
|
+
toObject(includeInstance?: boolean): RagRemoveChunksRequest.AsObject;
|
|
1326
|
+
static toObject(includeInstance: boolean, msg: RagRemoveChunksRequest): RagRemoveChunksRequest.AsObject;
|
|
1327
|
+
static serializeBinaryToWriter(message: RagRemoveChunksRequest, writer: jspb.BinaryWriter): void;
|
|
1328
|
+
static deserializeBinary(bytes: Uint8Array): RagRemoveChunksRequest;
|
|
1329
|
+
static deserializeBinaryFromReader(message: RagRemoveChunksRequest, reader: jspb.BinaryReader): RagRemoveChunksRequest;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export namespace RagRemoveChunksRequest {
|
|
1333
|
+
export type AsObject = {
|
|
1334
|
+
parent: string,
|
|
1335
|
+
datasetId: string,
|
|
1336
|
+
documentId: string,
|
|
1337
|
+
chunkIdsList: Array<string>,
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
export class RagUpdateChunkRequest extends jspb.Message {
|
|
1342
|
+
getParent(): string;
|
|
1343
|
+
setParent(value: string): RagUpdateChunkRequest;
|
|
1344
|
+
|
|
1345
|
+
getDatasetId(): string;
|
|
1346
|
+
setDatasetId(value: string): RagUpdateChunkRequest;
|
|
1347
|
+
|
|
1348
|
+
getDocumentId(): string;
|
|
1349
|
+
setDocumentId(value: string): RagUpdateChunkRequest;
|
|
1350
|
+
|
|
1351
|
+
getChunkId(): string;
|
|
1352
|
+
setChunkId(value: string): RagUpdateChunkRequest;
|
|
1353
|
+
|
|
1354
|
+
getContent(): string;
|
|
1355
|
+
setContent(value: string): RagUpdateChunkRequest;
|
|
1356
|
+
|
|
1357
|
+
getImportantKeywordsList(): Array<string>;
|
|
1358
|
+
setImportantKeywordsList(value: Array<string>): RagUpdateChunkRequest;
|
|
1359
|
+
clearImportantKeywordsList(): RagUpdateChunkRequest;
|
|
1360
|
+
addImportantKeywords(value: string, index?: number): RagUpdateChunkRequest;
|
|
1361
|
+
|
|
1362
|
+
getQuestionsList(): Array<string>;
|
|
1363
|
+
setQuestionsList(value: Array<string>): RagUpdateChunkRequest;
|
|
1364
|
+
clearQuestionsList(): RagUpdateChunkRequest;
|
|
1365
|
+
addQuestions(value: string, index?: number): RagUpdateChunkRequest;
|
|
1366
|
+
|
|
1367
|
+
getAvailable(): boolean;
|
|
1368
|
+
setAvailable(value: boolean): RagUpdateChunkRequest;
|
|
1369
|
+
hasAvailable(): boolean;
|
|
1370
|
+
clearAvailable(): RagUpdateChunkRequest;
|
|
1371
|
+
|
|
1372
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1373
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateChunkRequest;
|
|
1374
|
+
hasAdditionalFields(): boolean;
|
|
1375
|
+
clearAdditionalFields(): RagUpdateChunkRequest;
|
|
1376
|
+
|
|
1377
|
+
serializeBinary(): Uint8Array;
|
|
1378
|
+
toObject(includeInstance?: boolean): RagUpdateChunkRequest.AsObject;
|
|
1379
|
+
static toObject(includeInstance: boolean, msg: RagUpdateChunkRequest): RagUpdateChunkRequest.AsObject;
|
|
1380
|
+
static serializeBinaryToWriter(message: RagUpdateChunkRequest, writer: jspb.BinaryWriter): void;
|
|
1381
|
+
static deserializeBinary(bytes: Uint8Array): RagUpdateChunkRequest;
|
|
1382
|
+
static deserializeBinaryFromReader(message: RagUpdateChunkRequest, reader: jspb.BinaryReader): RagUpdateChunkRequest;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
export namespace RagUpdateChunkRequest {
|
|
1386
|
+
export type AsObject = {
|
|
1387
|
+
parent: string,
|
|
1388
|
+
datasetId: string,
|
|
1389
|
+
documentId: string,
|
|
1390
|
+
chunkId: string,
|
|
1391
|
+
content: string,
|
|
1392
|
+
importantKeywordsList: Array<string>,
|
|
1393
|
+
questionsList: Array<string>,
|
|
1394
|
+
available?: boolean,
|
|
1395
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
export enum AvailableCase {
|
|
1399
|
+
_AVAILABLE_NOT_SET = 0,
|
|
1400
|
+
AVAILABLE = 8,
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
export class RagRetrievalRequest extends jspb.Message {
|
|
1405
|
+
getParent(): string;
|
|
1406
|
+
setParent(value: string): RagRetrievalRequest;
|
|
1407
|
+
|
|
1408
|
+
getPagination(): RagPagination | undefined;
|
|
1409
|
+
setPagination(value?: RagPagination): RagRetrievalRequest;
|
|
1410
|
+
hasPagination(): boolean;
|
|
1411
|
+
clearPagination(): RagRetrievalRequest;
|
|
1412
|
+
|
|
1413
|
+
getDatasetIdsList(): Array<string>;
|
|
1414
|
+
setDatasetIdsList(value: Array<string>): RagRetrievalRequest;
|
|
1415
|
+
clearDatasetIdsList(): RagRetrievalRequest;
|
|
1416
|
+
addDatasetIds(value: string, index?: number): RagRetrievalRequest;
|
|
1417
|
+
|
|
1418
|
+
getQuestion(): string;
|
|
1419
|
+
setQuestion(value: string): RagRetrievalRequest;
|
|
1420
|
+
|
|
1421
|
+
getDocumentIdsList(): Array<string>;
|
|
1422
|
+
setDocumentIdsList(value: Array<string>): RagRetrievalRequest;
|
|
1423
|
+
clearDocumentIdsList(): RagRetrievalRequest;
|
|
1424
|
+
addDocumentIds(value: string, index?: number): RagRetrievalRequest;
|
|
1425
|
+
|
|
1426
|
+
getSimilarityThreshold(): number;
|
|
1427
|
+
setSimilarityThreshold(value: number): RagRetrievalRequest;
|
|
1428
|
+
|
|
1429
|
+
getVectorSimilarityWeight(): number;
|
|
1430
|
+
setVectorSimilarityWeight(value: number): RagRetrievalRequest;
|
|
1431
|
+
|
|
1432
|
+
getTopK(): number;
|
|
1433
|
+
setTopK(value: number): RagRetrievalRequest;
|
|
1434
|
+
|
|
1435
|
+
getHighlight(): boolean;
|
|
1436
|
+
setHighlight(value: boolean): RagRetrievalRequest;
|
|
1437
|
+
hasHighlight(): boolean;
|
|
1438
|
+
clearHighlight(): RagRetrievalRequest;
|
|
1439
|
+
|
|
1440
|
+
getMetadataCondition(): google_protobuf_struct_pb.Struct | undefined;
|
|
1441
|
+
setMetadataCondition(value?: google_protobuf_struct_pb.Struct): RagRetrievalRequest;
|
|
1442
|
+
hasMetadataCondition(): boolean;
|
|
1443
|
+
clearMetadataCondition(): RagRetrievalRequest;
|
|
1444
|
+
|
|
1445
|
+
getUseKg(): boolean;
|
|
1446
|
+
setUseKg(value: boolean): RagRetrievalRequest;
|
|
1447
|
+
hasUseKg(): boolean;
|
|
1448
|
+
clearUseKg(): RagRetrievalRequest;
|
|
1449
|
+
|
|
1450
|
+
getCrossLanguagesList(): Array<string>;
|
|
1451
|
+
setCrossLanguagesList(value: Array<string>): RagRetrievalRequest;
|
|
1452
|
+
clearCrossLanguagesList(): RagRetrievalRequest;
|
|
1453
|
+
addCrossLanguages(value: string, index?: number): RagRetrievalRequest;
|
|
1454
|
+
|
|
1455
|
+
getKeyword(): boolean;
|
|
1456
|
+
setKeyword(value: boolean): RagRetrievalRequest;
|
|
1457
|
+
hasKeyword(): boolean;
|
|
1458
|
+
clearKeyword(): RagRetrievalRequest;
|
|
1459
|
+
|
|
1460
|
+
getRerankId(): string;
|
|
1461
|
+
setRerankId(value: string): RagRetrievalRequest;
|
|
1462
|
+
|
|
1463
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1464
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagRetrievalRequest;
|
|
1465
|
+
hasAdditionalFields(): boolean;
|
|
1466
|
+
clearAdditionalFields(): RagRetrievalRequest;
|
|
1467
|
+
|
|
1468
|
+
serializeBinary(): Uint8Array;
|
|
1469
|
+
toObject(includeInstance?: boolean): RagRetrievalRequest.AsObject;
|
|
1470
|
+
static toObject(includeInstance: boolean, msg: RagRetrievalRequest): RagRetrievalRequest.AsObject;
|
|
1471
|
+
static serializeBinaryToWriter(message: RagRetrievalRequest, writer: jspb.BinaryWriter): void;
|
|
1472
|
+
static deserializeBinary(bytes: Uint8Array): RagRetrievalRequest;
|
|
1473
|
+
static deserializeBinaryFromReader(message: RagRetrievalRequest, reader: jspb.BinaryReader): RagRetrievalRequest;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
export namespace RagRetrievalRequest {
|
|
1477
|
+
export type AsObject = {
|
|
1478
|
+
parent: string,
|
|
1479
|
+
pagination?: RagPagination.AsObject,
|
|
1480
|
+
datasetIdsList: Array<string>,
|
|
1481
|
+
question: string,
|
|
1482
|
+
documentIdsList: Array<string>,
|
|
1483
|
+
similarityThreshold: number,
|
|
1484
|
+
vectorSimilarityWeight: number,
|
|
1485
|
+
topK: number,
|
|
1486
|
+
highlight?: boolean,
|
|
1487
|
+
metadataCondition?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1488
|
+
useKg?: boolean,
|
|
1489
|
+
crossLanguagesList: Array<string>,
|
|
1490
|
+
keyword?: boolean,
|
|
1491
|
+
rerankId: string,
|
|
1492
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
export enum HighlightCase {
|
|
1496
|
+
_HIGHLIGHT_NOT_SET = 0,
|
|
1497
|
+
HIGHLIGHT = 9,
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
export enum UseKgCase {
|
|
1501
|
+
_USE_KG_NOT_SET = 0,
|
|
1502
|
+
USE_KG = 11,
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
export enum KeywordCase {
|
|
1506
|
+
_KEYWORD_NOT_SET = 0,
|
|
1507
|
+
KEYWORD = 13,
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
export class RagRetrievalResponse extends jspb.Message {
|
|
1512
|
+
getChunksList(): Array<RagChunk>;
|
|
1513
|
+
setChunksList(value: Array<RagChunk>): RagRetrievalResponse;
|
|
1514
|
+
clearChunksList(): RagRetrievalResponse;
|
|
1515
|
+
addChunks(value?: RagChunk, index?: number): RagChunk;
|
|
1516
|
+
|
|
1517
|
+
getDocAggsList(): Array<google_protobuf_struct_pb.Struct>;
|
|
1518
|
+
setDocAggsList(value: Array<google_protobuf_struct_pb.Struct>): RagRetrievalResponse;
|
|
1519
|
+
clearDocAggsList(): RagRetrievalResponse;
|
|
1520
|
+
addDocAggs(value?: google_protobuf_struct_pb.Struct, index?: number): google_protobuf_struct_pb.Struct;
|
|
1521
|
+
|
|
1522
|
+
getTotal(): number;
|
|
1523
|
+
setTotal(value: number): RagRetrievalResponse;
|
|
1524
|
+
|
|
1525
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1526
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagRetrievalResponse;
|
|
1527
|
+
hasAdditionalFields(): boolean;
|
|
1528
|
+
clearAdditionalFields(): RagRetrievalResponse;
|
|
1529
|
+
|
|
1530
|
+
serializeBinary(): Uint8Array;
|
|
1531
|
+
toObject(includeInstance?: boolean): RagRetrievalResponse.AsObject;
|
|
1532
|
+
static toObject(includeInstance: boolean, msg: RagRetrievalResponse): RagRetrievalResponse.AsObject;
|
|
1533
|
+
static serializeBinaryToWriter(message: RagRetrievalResponse, writer: jspb.BinaryWriter): void;
|
|
1534
|
+
static deserializeBinary(bytes: Uint8Array): RagRetrievalResponse;
|
|
1535
|
+
static deserializeBinaryFromReader(message: RagRetrievalResponse, reader: jspb.BinaryReader): RagRetrievalResponse;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
export namespace RagRetrievalResponse {
|
|
1539
|
+
export type AsObject = {
|
|
1540
|
+
chunksList: Array<RagChunk.AsObject>,
|
|
1541
|
+
docAggsList: Array<google_protobuf_struct_pb.Struct.AsObject>,
|
|
1542
|
+
total: number,
|
|
1543
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
export class RagChat extends jspb.Message {
|
|
1548
|
+
getId(): string;
|
|
1549
|
+
setId(value: string): RagChat;
|
|
1550
|
+
|
|
1551
|
+
getName(): string;
|
|
1552
|
+
setName(value: string): RagChat;
|
|
1553
|
+
|
|
1554
|
+
getDescription(): string;
|
|
1555
|
+
setDescription(value: string): RagChat;
|
|
1556
|
+
|
|
1557
|
+
getAvatar(): string;
|
|
1558
|
+
setAvatar(value: string): RagChat;
|
|
1559
|
+
|
|
1560
|
+
getDatasetIdsList(): Array<string>;
|
|
1561
|
+
setDatasetIdsList(value: Array<string>): RagChat;
|
|
1562
|
+
clearDatasetIdsList(): RagChat;
|
|
1563
|
+
addDatasetIds(value: string, index?: number): RagChat;
|
|
1564
|
+
|
|
1565
|
+
getDatasetsList(): Array<RagDataset>;
|
|
1566
|
+
setDatasetsList(value: Array<RagDataset>): RagChat;
|
|
1567
|
+
clearDatasetsList(): RagChat;
|
|
1568
|
+
addDatasets(value?: RagDataset, index?: number): RagDataset;
|
|
1569
|
+
|
|
1570
|
+
getLlm(): RagLLMSetting | undefined;
|
|
1571
|
+
setLlm(value?: RagLLMSetting): RagChat;
|
|
1572
|
+
hasLlm(): boolean;
|
|
1573
|
+
clearLlm(): RagChat;
|
|
1574
|
+
|
|
1575
|
+
getPrompt(): RagPromptConfig | undefined;
|
|
1576
|
+
setPrompt(value?: RagPromptConfig): RagChat;
|
|
1577
|
+
hasPrompt(): boolean;
|
|
1578
|
+
clearPrompt(): RagChat;
|
|
1579
|
+
|
|
1580
|
+
getCreateTime(): number;
|
|
1581
|
+
setCreateTime(value: number): RagChat;
|
|
1582
|
+
|
|
1583
|
+
getCreateDate(): string;
|
|
1584
|
+
setCreateDate(value: string): RagChat;
|
|
1585
|
+
|
|
1586
|
+
getUpdateTime(): number;
|
|
1587
|
+
setUpdateTime(value: number): RagChat;
|
|
1588
|
+
|
|
1589
|
+
getUpdateDate(): string;
|
|
1590
|
+
setUpdateDate(value: string): RagChat;
|
|
1591
|
+
|
|
1592
|
+
getDoRefer(): string;
|
|
1593
|
+
setDoRefer(value: string): RagChat;
|
|
1594
|
+
|
|
1595
|
+
getLanguage(): string;
|
|
1596
|
+
setLanguage(value: string): RagChat;
|
|
1597
|
+
|
|
1598
|
+
getPromptType(): string;
|
|
1599
|
+
setPromptType(value: string): RagChat;
|
|
1600
|
+
|
|
1601
|
+
getStatus(): string;
|
|
1602
|
+
setStatus(value: string): RagChat;
|
|
1603
|
+
|
|
1604
|
+
getTenantId(): string;
|
|
1605
|
+
setTenantId(value: string): RagChat;
|
|
1606
|
+
|
|
1607
|
+
getTopK(): number;
|
|
1608
|
+
setTopK(value: number): RagChat;
|
|
1609
|
+
|
|
1610
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1611
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagChat;
|
|
1612
|
+
hasAdditionalFields(): boolean;
|
|
1613
|
+
clearAdditionalFields(): RagChat;
|
|
1614
|
+
|
|
1615
|
+
serializeBinary(): Uint8Array;
|
|
1616
|
+
toObject(includeInstance?: boolean): RagChat.AsObject;
|
|
1617
|
+
static toObject(includeInstance: boolean, msg: RagChat): RagChat.AsObject;
|
|
1618
|
+
static serializeBinaryToWriter(message: RagChat, writer: jspb.BinaryWriter): void;
|
|
1619
|
+
static deserializeBinary(bytes: Uint8Array): RagChat;
|
|
1620
|
+
static deserializeBinaryFromReader(message: RagChat, reader: jspb.BinaryReader): RagChat;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
export namespace RagChat {
|
|
1624
|
+
export type AsObject = {
|
|
1625
|
+
id: string,
|
|
1626
|
+
name: string,
|
|
1627
|
+
description: string,
|
|
1628
|
+
avatar: string,
|
|
1629
|
+
datasetIdsList: Array<string>,
|
|
1630
|
+
datasetsList: Array<RagDataset.AsObject>,
|
|
1631
|
+
llm?: RagLLMSetting.AsObject,
|
|
1632
|
+
prompt?: RagPromptConfig.AsObject,
|
|
1633
|
+
createTime: number,
|
|
1634
|
+
createDate: string,
|
|
1635
|
+
updateTime: number,
|
|
1636
|
+
updateDate: string,
|
|
1637
|
+
doRefer: string,
|
|
1638
|
+
language: string,
|
|
1639
|
+
promptType: string,
|
|
1640
|
+
status: string,
|
|
1641
|
+
tenantId: string,
|
|
1642
|
+
topK: number,
|
|
1643
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
export class RagLLMSetting extends jspb.Message {
|
|
1648
|
+
getModelName(): string;
|
|
1649
|
+
setModelName(value: string): RagLLMSetting;
|
|
1650
|
+
|
|
1651
|
+
getTemperature(): number;
|
|
1652
|
+
setTemperature(value: number): RagLLMSetting;
|
|
1653
|
+
|
|
1654
|
+
getTopP(): number;
|
|
1655
|
+
setTopP(value: number): RagLLMSetting;
|
|
1656
|
+
|
|
1657
|
+
getFrequencyPenalty(): number;
|
|
1658
|
+
setFrequencyPenalty(value: number): RagLLMSetting;
|
|
1659
|
+
|
|
1660
|
+
getPresencePenalty(): number;
|
|
1661
|
+
setPresencePenalty(value: number): RagLLMSetting;
|
|
1662
|
+
|
|
1663
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1664
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagLLMSetting;
|
|
1665
|
+
hasAdditionalFields(): boolean;
|
|
1666
|
+
clearAdditionalFields(): RagLLMSetting;
|
|
1667
|
+
|
|
1668
|
+
serializeBinary(): Uint8Array;
|
|
1669
|
+
toObject(includeInstance?: boolean): RagLLMSetting.AsObject;
|
|
1670
|
+
static toObject(includeInstance: boolean, msg: RagLLMSetting): RagLLMSetting.AsObject;
|
|
1671
|
+
static serializeBinaryToWriter(message: RagLLMSetting, writer: jspb.BinaryWriter): void;
|
|
1672
|
+
static deserializeBinary(bytes: Uint8Array): RagLLMSetting;
|
|
1673
|
+
static deserializeBinaryFromReader(message: RagLLMSetting, reader: jspb.BinaryReader): RagLLMSetting;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
export namespace RagLLMSetting {
|
|
1677
|
+
export type AsObject = {
|
|
1678
|
+
modelName: string,
|
|
1679
|
+
temperature: number,
|
|
1680
|
+
topP: number,
|
|
1681
|
+
frequencyPenalty: number,
|
|
1682
|
+
presencePenalty: number,
|
|
1683
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
export class RagPromptConfig extends jspb.Message {
|
|
1688
|
+
getPrompt(): string;
|
|
1689
|
+
setPrompt(value: string): RagPromptConfig;
|
|
1690
|
+
|
|
1691
|
+
getVariablesList(): Array<RagPromptVariable>;
|
|
1692
|
+
setVariablesList(value: Array<RagPromptVariable>): RagPromptConfig;
|
|
1693
|
+
clearVariablesList(): RagPromptConfig;
|
|
1694
|
+
addVariables(value?: RagPromptVariable, index?: number): RagPromptVariable;
|
|
1695
|
+
|
|
1696
|
+
getOpener(): string;
|
|
1697
|
+
setOpener(value: string): RagPromptConfig;
|
|
1698
|
+
|
|
1699
|
+
getShowQuote(): boolean;
|
|
1700
|
+
setShowQuote(value: boolean): RagPromptConfig;
|
|
1701
|
+
hasShowQuote(): boolean;
|
|
1702
|
+
clearShowQuote(): RagPromptConfig;
|
|
1703
|
+
|
|
1704
|
+
getEmptyResponse(): string;
|
|
1705
|
+
setEmptyResponse(value: string): RagPromptConfig;
|
|
1706
|
+
|
|
1707
|
+
getTts(): boolean;
|
|
1708
|
+
setTts(value: boolean): RagPromptConfig;
|
|
1709
|
+
hasTts(): boolean;
|
|
1710
|
+
clearTts(): RagPromptConfig;
|
|
1711
|
+
|
|
1712
|
+
getRefineMultiturn(): boolean;
|
|
1713
|
+
setRefineMultiturn(value: boolean): RagPromptConfig;
|
|
1714
|
+
hasRefineMultiturn(): boolean;
|
|
1715
|
+
clearRefineMultiturn(): RagPromptConfig;
|
|
1716
|
+
|
|
1717
|
+
getSimilarityThreshold(): number;
|
|
1718
|
+
setSimilarityThreshold(value: number): RagPromptConfig;
|
|
1719
|
+
|
|
1720
|
+
getKeywordsSimilarityWeight(): number;
|
|
1721
|
+
setKeywordsSimilarityWeight(value: number): RagPromptConfig;
|
|
1722
|
+
|
|
1723
|
+
getTopN(): number;
|
|
1724
|
+
setTopN(value: number): RagPromptConfig;
|
|
1725
|
+
|
|
1726
|
+
getTopK(): number;
|
|
1727
|
+
setTopK(value: number): RagPromptConfig;
|
|
1728
|
+
|
|
1729
|
+
getRerankModel(): string;
|
|
1730
|
+
setRerankModel(value: string): RagPromptConfig;
|
|
1731
|
+
|
|
1732
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1733
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagPromptConfig;
|
|
1734
|
+
hasAdditionalFields(): boolean;
|
|
1735
|
+
clearAdditionalFields(): RagPromptConfig;
|
|
1736
|
+
|
|
1737
|
+
serializeBinary(): Uint8Array;
|
|
1738
|
+
toObject(includeInstance?: boolean): RagPromptConfig.AsObject;
|
|
1739
|
+
static toObject(includeInstance: boolean, msg: RagPromptConfig): RagPromptConfig.AsObject;
|
|
1740
|
+
static serializeBinaryToWriter(message: RagPromptConfig, writer: jspb.BinaryWriter): void;
|
|
1741
|
+
static deserializeBinary(bytes: Uint8Array): RagPromptConfig;
|
|
1742
|
+
static deserializeBinaryFromReader(message: RagPromptConfig, reader: jspb.BinaryReader): RagPromptConfig;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
export namespace RagPromptConfig {
|
|
1746
|
+
export type AsObject = {
|
|
1747
|
+
prompt: string,
|
|
1748
|
+
variablesList: Array<RagPromptVariable.AsObject>,
|
|
1749
|
+
opener: string,
|
|
1750
|
+
showQuote?: boolean,
|
|
1751
|
+
emptyResponse: string,
|
|
1752
|
+
tts?: boolean,
|
|
1753
|
+
refineMultiturn?: boolean,
|
|
1754
|
+
similarityThreshold: number,
|
|
1755
|
+
keywordsSimilarityWeight: number,
|
|
1756
|
+
topN: number,
|
|
1757
|
+
topK: number,
|
|
1758
|
+
rerankModel: string,
|
|
1759
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
export enum ShowQuoteCase {
|
|
1763
|
+
_SHOW_QUOTE_NOT_SET = 0,
|
|
1764
|
+
SHOW_QUOTE = 4,
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
export enum TtsCase {
|
|
1768
|
+
_TTS_NOT_SET = 0,
|
|
1769
|
+
TTS = 6,
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
export enum RefineMultiturnCase {
|
|
1773
|
+
_REFINE_MULTITURN_NOT_SET = 0,
|
|
1774
|
+
REFINE_MULTITURN = 7,
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
export class RagPromptVariable extends jspb.Message {
|
|
1779
|
+
getKey(): string;
|
|
1780
|
+
setKey(value: string): RagPromptVariable;
|
|
1781
|
+
|
|
1782
|
+
getOptional(): boolean;
|
|
1783
|
+
setOptional(value: boolean): RagPromptVariable;
|
|
1784
|
+
hasOptional(): boolean;
|
|
1785
|
+
clearOptional(): RagPromptVariable;
|
|
1786
|
+
|
|
1787
|
+
serializeBinary(): Uint8Array;
|
|
1788
|
+
toObject(includeInstance?: boolean): RagPromptVariable.AsObject;
|
|
1789
|
+
static toObject(includeInstance: boolean, msg: RagPromptVariable): RagPromptVariable.AsObject;
|
|
1790
|
+
static serializeBinaryToWriter(message: RagPromptVariable, writer: jspb.BinaryWriter): void;
|
|
1791
|
+
static deserializeBinary(bytes: Uint8Array): RagPromptVariable;
|
|
1792
|
+
static deserializeBinaryFromReader(message: RagPromptVariable, reader: jspb.BinaryReader): RagPromptVariable;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
export namespace RagPromptVariable {
|
|
1796
|
+
export type AsObject = {
|
|
1797
|
+
key: string,
|
|
1798
|
+
optional?: boolean,
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
export enum OptionalCase {
|
|
1802
|
+
_OPTIONAL_NOT_SET = 0,
|
|
1803
|
+
OPTIONAL = 2,
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
export class RagCreateChatRequest extends jspb.Message {
|
|
1808
|
+
getParent(): string;
|
|
1809
|
+
setParent(value: string): RagCreateChatRequest;
|
|
1810
|
+
|
|
1811
|
+
getName(): string;
|
|
1812
|
+
setName(value: string): RagCreateChatRequest;
|
|
1813
|
+
|
|
1814
|
+
getDescription(): string;
|
|
1815
|
+
setDescription(value: string): RagCreateChatRequest;
|
|
1816
|
+
|
|
1817
|
+
getAvatar(): string;
|
|
1818
|
+
setAvatar(value: string): RagCreateChatRequest;
|
|
1819
|
+
|
|
1820
|
+
getDatasetIdsList(): Array<string>;
|
|
1821
|
+
setDatasetIdsList(value: Array<string>): RagCreateChatRequest;
|
|
1822
|
+
clearDatasetIdsList(): RagCreateChatRequest;
|
|
1823
|
+
addDatasetIds(value: string, index?: number): RagCreateChatRequest;
|
|
1824
|
+
|
|
1825
|
+
getLlm(): RagLLMSetting | undefined;
|
|
1826
|
+
setLlm(value?: RagLLMSetting): RagCreateChatRequest;
|
|
1827
|
+
hasLlm(): boolean;
|
|
1828
|
+
clearLlm(): RagCreateChatRequest;
|
|
1829
|
+
|
|
1830
|
+
getPrompt(): RagPromptConfig | undefined;
|
|
1831
|
+
setPrompt(value?: RagPromptConfig): RagCreateChatRequest;
|
|
1832
|
+
hasPrompt(): boolean;
|
|
1833
|
+
clearPrompt(): RagCreateChatRequest;
|
|
1834
|
+
|
|
1835
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1836
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateChatRequest;
|
|
1837
|
+
hasAdditionalFields(): boolean;
|
|
1838
|
+
clearAdditionalFields(): RagCreateChatRequest;
|
|
1839
|
+
|
|
1840
|
+
serializeBinary(): Uint8Array;
|
|
1841
|
+
toObject(includeInstance?: boolean): RagCreateChatRequest.AsObject;
|
|
1842
|
+
static toObject(includeInstance: boolean, msg: RagCreateChatRequest): RagCreateChatRequest.AsObject;
|
|
1843
|
+
static serializeBinaryToWriter(message: RagCreateChatRequest, writer: jspb.BinaryWriter): void;
|
|
1844
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateChatRequest;
|
|
1845
|
+
static deserializeBinaryFromReader(message: RagCreateChatRequest, reader: jspb.BinaryReader): RagCreateChatRequest;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
export namespace RagCreateChatRequest {
|
|
1849
|
+
export type AsObject = {
|
|
1850
|
+
parent: string,
|
|
1851
|
+
name: string,
|
|
1852
|
+
description: string,
|
|
1853
|
+
avatar: string,
|
|
1854
|
+
datasetIdsList: Array<string>,
|
|
1855
|
+
llm?: RagLLMSetting.AsObject,
|
|
1856
|
+
prompt?: RagPromptConfig.AsObject,
|
|
1857
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
export class RagUpdateChatRequest extends jspb.Message {
|
|
1862
|
+
getParent(): string;
|
|
1863
|
+
setParent(value: string): RagUpdateChatRequest;
|
|
1864
|
+
|
|
1865
|
+
getChatId(): string;
|
|
1866
|
+
setChatId(value: string): RagUpdateChatRequest;
|
|
1867
|
+
|
|
1868
|
+
getName(): string;
|
|
1869
|
+
setName(value: string): RagUpdateChatRequest;
|
|
1870
|
+
|
|
1871
|
+
getDescription(): string;
|
|
1872
|
+
setDescription(value: string): RagUpdateChatRequest;
|
|
1873
|
+
|
|
1874
|
+
getAvatar(): string;
|
|
1875
|
+
setAvatar(value: string): RagUpdateChatRequest;
|
|
1876
|
+
|
|
1877
|
+
getDatasetIdsList(): Array<string>;
|
|
1878
|
+
setDatasetIdsList(value: Array<string>): RagUpdateChatRequest;
|
|
1879
|
+
clearDatasetIdsList(): RagUpdateChatRequest;
|
|
1880
|
+
addDatasetIds(value: string, index?: number): RagUpdateChatRequest;
|
|
1881
|
+
|
|
1882
|
+
getLlm(): RagLLMSetting | undefined;
|
|
1883
|
+
setLlm(value?: RagLLMSetting): RagUpdateChatRequest;
|
|
1884
|
+
hasLlm(): boolean;
|
|
1885
|
+
clearLlm(): RagUpdateChatRequest;
|
|
1886
|
+
|
|
1887
|
+
getPrompt(): RagPromptConfig | undefined;
|
|
1888
|
+
setPrompt(value?: RagPromptConfig): RagUpdateChatRequest;
|
|
1889
|
+
hasPrompt(): boolean;
|
|
1890
|
+
clearPrompt(): RagUpdateChatRequest;
|
|
1891
|
+
|
|
1892
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1893
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateChatRequest;
|
|
1894
|
+
hasAdditionalFields(): boolean;
|
|
1895
|
+
clearAdditionalFields(): RagUpdateChatRequest;
|
|
1896
|
+
|
|
1897
|
+
serializeBinary(): Uint8Array;
|
|
1898
|
+
toObject(includeInstance?: boolean): RagUpdateChatRequest.AsObject;
|
|
1899
|
+
static toObject(includeInstance: boolean, msg: RagUpdateChatRequest): RagUpdateChatRequest.AsObject;
|
|
1900
|
+
static serializeBinaryToWriter(message: RagUpdateChatRequest, writer: jspb.BinaryWriter): void;
|
|
1901
|
+
static deserializeBinary(bytes: Uint8Array): RagUpdateChatRequest;
|
|
1902
|
+
static deserializeBinaryFromReader(message: RagUpdateChatRequest, reader: jspb.BinaryReader): RagUpdateChatRequest;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
export namespace RagUpdateChatRequest {
|
|
1906
|
+
export type AsObject = {
|
|
1907
|
+
parent: string,
|
|
1908
|
+
chatId: string,
|
|
1909
|
+
name: string,
|
|
1910
|
+
description: string,
|
|
1911
|
+
avatar: string,
|
|
1912
|
+
datasetIdsList: Array<string>,
|
|
1913
|
+
llm?: RagLLMSetting.AsObject,
|
|
1914
|
+
prompt?: RagPromptConfig.AsObject,
|
|
1915
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
export class RagDeleteChatsRequest extends jspb.Message {
|
|
1920
|
+
getParent(): string;
|
|
1921
|
+
setParent(value: string): RagDeleteChatsRequest;
|
|
1922
|
+
|
|
1923
|
+
getIdsList(): Array<string>;
|
|
1924
|
+
setIdsList(value: Array<string>): RagDeleteChatsRequest;
|
|
1925
|
+
clearIdsList(): RagDeleteChatsRequest;
|
|
1926
|
+
addIds(value: string, index?: number): RagDeleteChatsRequest;
|
|
1927
|
+
|
|
1928
|
+
getDeleteAll(): boolean;
|
|
1929
|
+
setDeleteAll(value: boolean): RagDeleteChatsRequest;
|
|
1930
|
+
hasDeleteAll(): boolean;
|
|
1931
|
+
clearDeleteAll(): RagDeleteChatsRequest;
|
|
1932
|
+
|
|
1933
|
+
serializeBinary(): Uint8Array;
|
|
1934
|
+
toObject(includeInstance?: boolean): RagDeleteChatsRequest.AsObject;
|
|
1935
|
+
static toObject(includeInstance: boolean, msg: RagDeleteChatsRequest): RagDeleteChatsRequest.AsObject;
|
|
1936
|
+
static serializeBinaryToWriter(message: RagDeleteChatsRequest, writer: jspb.BinaryWriter): void;
|
|
1937
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteChatsRequest;
|
|
1938
|
+
static deserializeBinaryFromReader(message: RagDeleteChatsRequest, reader: jspb.BinaryReader): RagDeleteChatsRequest;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
export namespace RagDeleteChatsRequest {
|
|
1942
|
+
export type AsObject = {
|
|
1943
|
+
parent: string,
|
|
1944
|
+
idsList: Array<string>,
|
|
1945
|
+
deleteAll?: boolean,
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
export enum DeleteAllCase {
|
|
1949
|
+
_DELETE_ALL_NOT_SET = 0,
|
|
1950
|
+
DELETE_ALL = 3,
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
export class RagListChatsRequest extends jspb.Message {
|
|
1955
|
+
getParent(): string;
|
|
1956
|
+
setParent(value: string): RagListChatsRequest;
|
|
1957
|
+
|
|
1958
|
+
getPagination(): RagPagination | undefined;
|
|
1959
|
+
setPagination(value?: RagPagination): RagListChatsRequest;
|
|
1960
|
+
hasPagination(): boolean;
|
|
1961
|
+
clearPagination(): RagListChatsRequest;
|
|
1962
|
+
|
|
1963
|
+
getId(): string;
|
|
1964
|
+
setId(value: string): RagListChatsRequest;
|
|
1965
|
+
|
|
1966
|
+
getName(): string;
|
|
1967
|
+
setName(value: string): RagListChatsRequest;
|
|
1968
|
+
|
|
1969
|
+
getOrderby(): string;
|
|
1970
|
+
setOrderby(value: string): RagListChatsRequest;
|
|
1971
|
+
|
|
1972
|
+
getDesc(): boolean;
|
|
1973
|
+
setDesc(value: boolean): RagListChatsRequest;
|
|
1974
|
+
hasDesc(): boolean;
|
|
1975
|
+
clearDesc(): RagListChatsRequest;
|
|
1976
|
+
|
|
1977
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
1978
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListChatsRequest;
|
|
1979
|
+
hasAdditionalFields(): boolean;
|
|
1980
|
+
clearAdditionalFields(): RagListChatsRequest;
|
|
1981
|
+
|
|
1982
|
+
serializeBinary(): Uint8Array;
|
|
1983
|
+
toObject(includeInstance?: boolean): RagListChatsRequest.AsObject;
|
|
1984
|
+
static toObject(includeInstance: boolean, msg: RagListChatsRequest): RagListChatsRequest.AsObject;
|
|
1985
|
+
static serializeBinaryToWriter(message: RagListChatsRequest, writer: jspb.BinaryWriter): void;
|
|
1986
|
+
static deserializeBinary(bytes: Uint8Array): RagListChatsRequest;
|
|
1987
|
+
static deserializeBinaryFromReader(message: RagListChatsRequest, reader: jspb.BinaryReader): RagListChatsRequest;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
export namespace RagListChatsRequest {
|
|
1991
|
+
export type AsObject = {
|
|
1992
|
+
parent: string,
|
|
1993
|
+
pagination?: RagPagination.AsObject,
|
|
1994
|
+
id: string,
|
|
1995
|
+
name: string,
|
|
1996
|
+
orderby: string,
|
|
1997
|
+
desc?: boolean,
|
|
1998
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
export enum DescCase {
|
|
2002
|
+
_DESC_NOT_SET = 0,
|
|
2003
|
+
DESC = 6,
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
export class RagChatList extends jspb.Message {
|
|
2008
|
+
getChatsList(): Array<RagChat>;
|
|
2009
|
+
setChatsList(value: Array<RagChat>): RagChatList;
|
|
2010
|
+
clearChatsList(): RagChatList;
|
|
2011
|
+
addChats(value?: RagChat, index?: number): RagChat;
|
|
2012
|
+
|
|
2013
|
+
serializeBinary(): Uint8Array;
|
|
2014
|
+
toObject(includeInstance?: boolean): RagChatList.AsObject;
|
|
2015
|
+
static toObject(includeInstance: boolean, msg: RagChatList): RagChatList.AsObject;
|
|
2016
|
+
static serializeBinaryToWriter(message: RagChatList, writer: jspb.BinaryWriter): void;
|
|
2017
|
+
static deserializeBinary(bytes: Uint8Array): RagChatList;
|
|
2018
|
+
static deserializeBinaryFromReader(message: RagChatList, reader: jspb.BinaryReader): RagChatList;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
export namespace RagChatList {
|
|
2022
|
+
export type AsObject = {
|
|
2023
|
+
chatsList: Array<RagChat.AsObject>,
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
export class RagChatSession extends jspb.Message {
|
|
2028
|
+
getId(): string;
|
|
2029
|
+
setId(value: string): RagChatSession;
|
|
2030
|
+
|
|
2031
|
+
getChatId(): string;
|
|
2032
|
+
setChatId(value: string): RagChatSession;
|
|
2033
|
+
|
|
2034
|
+
getName(): string;
|
|
2035
|
+
setName(value: string): RagChatSession;
|
|
2036
|
+
|
|
2037
|
+
getMessagesList(): Array<RagMessage>;
|
|
2038
|
+
setMessagesList(value: Array<RagMessage>): RagChatSession;
|
|
2039
|
+
clearMessagesList(): RagChatSession;
|
|
2040
|
+
addMessages(value?: RagMessage, index?: number): RagMessage;
|
|
2041
|
+
|
|
2042
|
+
getCreateTime(): number;
|
|
2043
|
+
setCreateTime(value: number): RagChatSession;
|
|
2044
|
+
|
|
2045
|
+
getCreateDate(): string;
|
|
2046
|
+
setCreateDate(value: string): RagChatSession;
|
|
2047
|
+
|
|
2048
|
+
getUpdateTime(): number;
|
|
2049
|
+
setUpdateTime(value: number): RagChatSession;
|
|
2050
|
+
|
|
2051
|
+
getUpdateDate(): string;
|
|
2052
|
+
setUpdateDate(value: string): RagChatSession;
|
|
2053
|
+
|
|
2054
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2055
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagChatSession;
|
|
2056
|
+
hasAdditionalFields(): boolean;
|
|
2057
|
+
clearAdditionalFields(): RagChatSession;
|
|
2058
|
+
|
|
2059
|
+
serializeBinary(): Uint8Array;
|
|
2060
|
+
toObject(includeInstance?: boolean): RagChatSession.AsObject;
|
|
2061
|
+
static toObject(includeInstance: boolean, msg: RagChatSession): RagChatSession.AsObject;
|
|
2062
|
+
static serializeBinaryToWriter(message: RagChatSession, writer: jspb.BinaryWriter): void;
|
|
2063
|
+
static deserializeBinary(bytes: Uint8Array): RagChatSession;
|
|
2064
|
+
static deserializeBinaryFromReader(message: RagChatSession, reader: jspb.BinaryReader): RagChatSession;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
export namespace RagChatSession {
|
|
2068
|
+
export type AsObject = {
|
|
2069
|
+
id: string,
|
|
2070
|
+
chatId: string,
|
|
2071
|
+
name: string,
|
|
2072
|
+
messagesList: Array<RagMessage.AsObject>,
|
|
2073
|
+
createTime: number,
|
|
2074
|
+
createDate: string,
|
|
2075
|
+
updateTime: number,
|
|
2076
|
+
updateDate: string,
|
|
2077
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
export class RagMessage extends jspb.Message {
|
|
2082
|
+
getRole(): RagMessageRole;
|
|
2083
|
+
setRole(value: RagMessageRole): RagMessage;
|
|
2084
|
+
|
|
2085
|
+
getContent(): string;
|
|
2086
|
+
setContent(value: string): RagMessage;
|
|
2087
|
+
|
|
2088
|
+
serializeBinary(): Uint8Array;
|
|
2089
|
+
toObject(includeInstance?: boolean): RagMessage.AsObject;
|
|
2090
|
+
static toObject(includeInstance: boolean, msg: RagMessage): RagMessage.AsObject;
|
|
2091
|
+
static serializeBinaryToWriter(message: RagMessage, writer: jspb.BinaryWriter): void;
|
|
2092
|
+
static deserializeBinary(bytes: Uint8Array): RagMessage;
|
|
2093
|
+
static deserializeBinaryFromReader(message: RagMessage, reader: jspb.BinaryReader): RagMessage;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
export namespace RagMessage {
|
|
2097
|
+
export type AsObject = {
|
|
2098
|
+
role: RagMessageRole,
|
|
2099
|
+
content: string,
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
export class RagCreateChatSessionRequest extends jspb.Message {
|
|
2104
|
+
getParent(): string;
|
|
2105
|
+
setParent(value: string): RagCreateChatSessionRequest;
|
|
2106
|
+
|
|
2107
|
+
getChatId(): string;
|
|
2108
|
+
setChatId(value: string): RagCreateChatSessionRequest;
|
|
2109
|
+
|
|
2110
|
+
getName(): string;
|
|
2111
|
+
setName(value: string): RagCreateChatSessionRequest;
|
|
2112
|
+
|
|
2113
|
+
getUserId(): string;
|
|
2114
|
+
setUserId(value: string): RagCreateChatSessionRequest;
|
|
2115
|
+
|
|
2116
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2117
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateChatSessionRequest;
|
|
2118
|
+
hasAdditionalFields(): boolean;
|
|
2119
|
+
clearAdditionalFields(): RagCreateChatSessionRequest;
|
|
2120
|
+
|
|
2121
|
+
serializeBinary(): Uint8Array;
|
|
2122
|
+
toObject(includeInstance?: boolean): RagCreateChatSessionRequest.AsObject;
|
|
2123
|
+
static toObject(includeInstance: boolean, msg: RagCreateChatSessionRequest): RagCreateChatSessionRequest.AsObject;
|
|
2124
|
+
static serializeBinaryToWriter(message: RagCreateChatSessionRequest, writer: jspb.BinaryWriter): void;
|
|
2125
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateChatSessionRequest;
|
|
2126
|
+
static deserializeBinaryFromReader(message: RagCreateChatSessionRequest, reader: jspb.BinaryReader): RagCreateChatSessionRequest;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
export namespace RagCreateChatSessionRequest {
|
|
2130
|
+
export type AsObject = {
|
|
2131
|
+
parent: string,
|
|
2132
|
+
chatId: string,
|
|
2133
|
+
name: string,
|
|
2134
|
+
userId: string,
|
|
2135
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
export class RagAgentSession extends jspb.Message {
|
|
2140
|
+
getId(): string;
|
|
2141
|
+
setId(value: string): RagAgentSession;
|
|
2142
|
+
|
|
2143
|
+
getAgentId(): string;
|
|
2144
|
+
setAgentId(value: string): RagAgentSession;
|
|
2145
|
+
|
|
2146
|
+
getUserId(): string;
|
|
2147
|
+
setUserId(value: string): RagAgentSession;
|
|
2148
|
+
|
|
2149
|
+
getMessageList(): Array<RagMessage>;
|
|
2150
|
+
setMessageList(value: Array<RagMessage>): RagAgentSession;
|
|
2151
|
+
clearMessageList(): RagAgentSession;
|
|
2152
|
+
addMessage(value?: RagMessage, index?: number): RagMessage;
|
|
2153
|
+
|
|
2154
|
+
getSource(): string;
|
|
2155
|
+
setSource(value: string): RagAgentSession;
|
|
2156
|
+
|
|
2157
|
+
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
2158
|
+
setDsl(value?: google_protobuf_struct_pb.Struct): RagAgentSession;
|
|
2159
|
+
hasDsl(): boolean;
|
|
2160
|
+
clearDsl(): RagAgentSession;
|
|
2161
|
+
|
|
2162
|
+
getCreateTime(): number;
|
|
2163
|
+
setCreateTime(value: number): RagAgentSession;
|
|
2164
|
+
|
|
2165
|
+
getCreateDate(): string;
|
|
2166
|
+
setCreateDate(value: string): RagAgentSession;
|
|
2167
|
+
|
|
2168
|
+
getUpdateTime(): number;
|
|
2169
|
+
setUpdateTime(value: number): RagAgentSession;
|
|
2170
|
+
|
|
2171
|
+
getUpdateDate(): string;
|
|
2172
|
+
setUpdateDate(value: string): RagAgentSession;
|
|
2173
|
+
|
|
2174
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2175
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentSession;
|
|
2176
|
+
hasAdditionalFields(): boolean;
|
|
2177
|
+
clearAdditionalFields(): RagAgentSession;
|
|
2178
|
+
|
|
2179
|
+
serializeBinary(): Uint8Array;
|
|
2180
|
+
toObject(includeInstance?: boolean): RagAgentSession.AsObject;
|
|
2181
|
+
static toObject(includeInstance: boolean, msg: RagAgentSession): RagAgentSession.AsObject;
|
|
2182
|
+
static serializeBinaryToWriter(message: RagAgentSession, writer: jspb.BinaryWriter): void;
|
|
2183
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentSession;
|
|
2184
|
+
static deserializeBinaryFromReader(message: RagAgentSession, reader: jspb.BinaryReader): RagAgentSession;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
export namespace RagAgentSession {
|
|
2188
|
+
export type AsObject = {
|
|
2189
|
+
id: string,
|
|
2190
|
+
agentId: string,
|
|
2191
|
+
userId: string,
|
|
2192
|
+
messageList: Array<RagMessage.AsObject>,
|
|
2193
|
+
source: string,
|
|
2194
|
+
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2195
|
+
createTime: number,
|
|
2196
|
+
createDate: string,
|
|
2197
|
+
updateTime: number,
|
|
2198
|
+
updateDate: string,
|
|
2199
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
export class RagCreateAgentSessionRequest extends jspb.Message {
|
|
2204
|
+
getParent(): string;
|
|
2205
|
+
setParent(value: string): RagCreateAgentSessionRequest;
|
|
2206
|
+
|
|
2207
|
+
getAgentId(): string;
|
|
2208
|
+
setAgentId(value: string): RagCreateAgentSessionRequest;
|
|
2209
|
+
|
|
2210
|
+
getUserId(): string;
|
|
2211
|
+
setUserId(value: string): RagCreateAgentSessionRequest;
|
|
2212
|
+
|
|
2213
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2214
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateAgentSessionRequest;
|
|
2215
|
+
hasAdditionalFields(): boolean;
|
|
2216
|
+
clearAdditionalFields(): RagCreateAgentSessionRequest;
|
|
2217
|
+
|
|
2218
|
+
serializeBinary(): Uint8Array;
|
|
2219
|
+
toObject(includeInstance?: boolean): RagCreateAgentSessionRequest.AsObject;
|
|
2220
|
+
static toObject(includeInstance: boolean, msg: RagCreateAgentSessionRequest): RagCreateAgentSessionRequest.AsObject;
|
|
2221
|
+
static serializeBinaryToWriter(message: RagCreateAgentSessionRequest, writer: jspb.BinaryWriter): void;
|
|
2222
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateAgentSessionRequest;
|
|
2223
|
+
static deserializeBinaryFromReader(message: RagCreateAgentSessionRequest, reader: jspb.BinaryReader): RagCreateAgentSessionRequest;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
export namespace RagCreateAgentSessionRequest {
|
|
2227
|
+
export type AsObject = {
|
|
2228
|
+
parent: string,
|
|
2229
|
+
agentId: string,
|
|
2230
|
+
userId: string,
|
|
2231
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
export class RagUpdateChatSessionRequest extends jspb.Message {
|
|
2236
|
+
getParent(): string;
|
|
2237
|
+
setParent(value: string): RagUpdateChatSessionRequest;
|
|
2238
|
+
|
|
2239
|
+
getChatId(): string;
|
|
2240
|
+
setChatId(value: string): RagUpdateChatSessionRequest;
|
|
2241
|
+
|
|
2242
|
+
getSessionId(): string;
|
|
2243
|
+
setSessionId(value: string): RagUpdateChatSessionRequest;
|
|
2244
|
+
|
|
2245
|
+
getName(): string;
|
|
2246
|
+
setName(value: string): RagUpdateChatSessionRequest;
|
|
2247
|
+
|
|
2248
|
+
getUserId(): string;
|
|
2249
|
+
setUserId(value: string): RagUpdateChatSessionRequest;
|
|
2250
|
+
|
|
2251
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2252
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateChatSessionRequest;
|
|
2253
|
+
hasAdditionalFields(): boolean;
|
|
2254
|
+
clearAdditionalFields(): RagUpdateChatSessionRequest;
|
|
2255
|
+
|
|
2256
|
+
serializeBinary(): Uint8Array;
|
|
2257
|
+
toObject(includeInstance?: boolean): RagUpdateChatSessionRequest.AsObject;
|
|
2258
|
+
static toObject(includeInstance: boolean, msg: RagUpdateChatSessionRequest): RagUpdateChatSessionRequest.AsObject;
|
|
2259
|
+
static serializeBinaryToWriter(message: RagUpdateChatSessionRequest, writer: jspb.BinaryWriter): void;
|
|
2260
|
+
static deserializeBinary(bytes: Uint8Array): RagUpdateChatSessionRequest;
|
|
2261
|
+
static deserializeBinaryFromReader(message: RagUpdateChatSessionRequest, reader: jspb.BinaryReader): RagUpdateChatSessionRequest;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
export namespace RagUpdateChatSessionRequest {
|
|
2265
|
+
export type AsObject = {
|
|
2266
|
+
parent: string,
|
|
2267
|
+
chatId: string,
|
|
2268
|
+
sessionId: string,
|
|
2269
|
+
name: string,
|
|
2270
|
+
userId: string,
|
|
2271
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
export class RagListChatSessionsRequest extends jspb.Message {
|
|
2276
|
+
getParent(): string;
|
|
2277
|
+
setParent(value: string): RagListChatSessionsRequest;
|
|
2278
|
+
|
|
2279
|
+
getChatId(): string;
|
|
2280
|
+
setChatId(value: string): RagListChatSessionsRequest;
|
|
2281
|
+
|
|
2282
|
+
getPagination(): RagPagination | undefined;
|
|
2283
|
+
setPagination(value?: RagPagination): RagListChatSessionsRequest;
|
|
2284
|
+
hasPagination(): boolean;
|
|
2285
|
+
clearPagination(): RagListChatSessionsRequest;
|
|
2286
|
+
|
|
2287
|
+
getOrderby(): string;
|
|
2288
|
+
setOrderby(value: string): RagListChatSessionsRequest;
|
|
2289
|
+
|
|
2290
|
+
getDesc(): boolean;
|
|
2291
|
+
setDesc(value: boolean): RagListChatSessionsRequest;
|
|
2292
|
+
hasDesc(): boolean;
|
|
2293
|
+
clearDesc(): RagListChatSessionsRequest;
|
|
2294
|
+
|
|
2295
|
+
getName(): string;
|
|
2296
|
+
setName(value: string): RagListChatSessionsRequest;
|
|
2297
|
+
|
|
2298
|
+
getId(): string;
|
|
2299
|
+
setId(value: string): RagListChatSessionsRequest;
|
|
2300
|
+
|
|
2301
|
+
getUserId(): string;
|
|
2302
|
+
setUserId(value: string): RagListChatSessionsRequest;
|
|
2303
|
+
|
|
2304
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2305
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListChatSessionsRequest;
|
|
2306
|
+
hasAdditionalFields(): boolean;
|
|
2307
|
+
clearAdditionalFields(): RagListChatSessionsRequest;
|
|
2308
|
+
|
|
2309
|
+
serializeBinary(): Uint8Array;
|
|
2310
|
+
toObject(includeInstance?: boolean): RagListChatSessionsRequest.AsObject;
|
|
2311
|
+
static toObject(includeInstance: boolean, msg: RagListChatSessionsRequest): RagListChatSessionsRequest.AsObject;
|
|
2312
|
+
static serializeBinaryToWriter(message: RagListChatSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
2313
|
+
static deserializeBinary(bytes: Uint8Array): RagListChatSessionsRequest;
|
|
2314
|
+
static deserializeBinaryFromReader(message: RagListChatSessionsRequest, reader: jspb.BinaryReader): RagListChatSessionsRequest;
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
export namespace RagListChatSessionsRequest {
|
|
2318
|
+
export type AsObject = {
|
|
2319
|
+
parent: string,
|
|
2320
|
+
chatId: string,
|
|
2321
|
+
pagination?: RagPagination.AsObject,
|
|
2322
|
+
orderby: string,
|
|
2323
|
+
desc?: boolean,
|
|
2324
|
+
name: string,
|
|
2325
|
+
id: string,
|
|
2326
|
+
userId: string,
|
|
2327
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
export enum DescCase {
|
|
2331
|
+
_DESC_NOT_SET = 0,
|
|
2332
|
+
DESC = 5,
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
export class RagChatSessionList extends jspb.Message {
|
|
2337
|
+
getChatSessionsList(): Array<RagChatSession>;
|
|
2338
|
+
setChatSessionsList(value: Array<RagChatSession>): RagChatSessionList;
|
|
2339
|
+
clearChatSessionsList(): RagChatSessionList;
|
|
2340
|
+
addChatSessions(value?: RagChatSession, index?: number): RagChatSession;
|
|
2341
|
+
|
|
2342
|
+
serializeBinary(): Uint8Array;
|
|
2343
|
+
toObject(includeInstance?: boolean): RagChatSessionList.AsObject;
|
|
2344
|
+
static toObject(includeInstance: boolean, msg: RagChatSessionList): RagChatSessionList.AsObject;
|
|
2345
|
+
static serializeBinaryToWriter(message: RagChatSessionList, writer: jspb.BinaryWriter): void;
|
|
2346
|
+
static deserializeBinary(bytes: Uint8Array): RagChatSessionList;
|
|
2347
|
+
static deserializeBinaryFromReader(message: RagChatSessionList, reader: jspb.BinaryReader): RagChatSessionList;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
export namespace RagChatSessionList {
|
|
2351
|
+
export type AsObject = {
|
|
2352
|
+
chatSessionsList: Array<RagChatSession.AsObject>,
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
export class RagListAgentSessionsRequest extends jspb.Message {
|
|
2357
|
+
getParent(): string;
|
|
2358
|
+
setParent(value: string): RagListAgentSessionsRequest;
|
|
2359
|
+
|
|
2360
|
+
getAgentId(): string;
|
|
2361
|
+
setAgentId(value: string): RagListAgentSessionsRequest;
|
|
2362
|
+
|
|
2363
|
+
getPagination(): RagPagination | undefined;
|
|
2364
|
+
setPagination(value?: RagPagination): RagListAgentSessionsRequest;
|
|
2365
|
+
hasPagination(): boolean;
|
|
2366
|
+
clearPagination(): RagListAgentSessionsRequest;
|
|
2367
|
+
|
|
2368
|
+
getOrderby(): string;
|
|
2369
|
+
setOrderby(value: string): RagListAgentSessionsRequest;
|
|
2370
|
+
|
|
2371
|
+
getDesc(): boolean;
|
|
2372
|
+
setDesc(value: boolean): RagListAgentSessionsRequest;
|
|
2373
|
+
hasDesc(): boolean;
|
|
2374
|
+
clearDesc(): RagListAgentSessionsRequest;
|
|
2375
|
+
|
|
2376
|
+
getId(): string;
|
|
2377
|
+
setId(value: string): RagListAgentSessionsRequest;
|
|
2378
|
+
|
|
2379
|
+
getUserId(): string;
|
|
2380
|
+
setUserId(value: string): RagListAgentSessionsRequest;
|
|
2381
|
+
|
|
2382
|
+
getDsl(): boolean;
|
|
2383
|
+
setDsl(value: boolean): RagListAgentSessionsRequest;
|
|
2384
|
+
hasDsl(): boolean;
|
|
2385
|
+
clearDsl(): RagListAgentSessionsRequest;
|
|
2386
|
+
|
|
2387
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2388
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListAgentSessionsRequest;
|
|
2389
|
+
hasAdditionalFields(): boolean;
|
|
2390
|
+
clearAdditionalFields(): RagListAgentSessionsRequest;
|
|
2391
|
+
|
|
2392
|
+
serializeBinary(): Uint8Array;
|
|
2393
|
+
toObject(includeInstance?: boolean): RagListAgentSessionsRequest.AsObject;
|
|
2394
|
+
static toObject(includeInstance: boolean, msg: RagListAgentSessionsRequest): RagListAgentSessionsRequest.AsObject;
|
|
2395
|
+
static serializeBinaryToWriter(message: RagListAgentSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
2396
|
+
static deserializeBinary(bytes: Uint8Array): RagListAgentSessionsRequest;
|
|
2397
|
+
static deserializeBinaryFromReader(message: RagListAgentSessionsRequest, reader: jspb.BinaryReader): RagListAgentSessionsRequest;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
export namespace RagListAgentSessionsRequest {
|
|
2401
|
+
export type AsObject = {
|
|
2402
|
+
parent: string,
|
|
2403
|
+
agentId: string,
|
|
2404
|
+
pagination?: RagPagination.AsObject,
|
|
2405
|
+
orderby: string,
|
|
2406
|
+
desc?: boolean,
|
|
2407
|
+
id: string,
|
|
2408
|
+
userId: string,
|
|
2409
|
+
dsl?: boolean,
|
|
2410
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
export enum DescCase {
|
|
2414
|
+
_DESC_NOT_SET = 0,
|
|
2415
|
+
DESC = 5,
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
export enum DslCase {
|
|
2419
|
+
_DSL_NOT_SET = 0,
|
|
2420
|
+
DSL = 8,
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
export class RagAgentSessionList extends jspb.Message {
|
|
2425
|
+
getAgentSessionsList(): Array<RagAgentSession>;
|
|
2426
|
+
setAgentSessionsList(value: Array<RagAgentSession>): RagAgentSessionList;
|
|
2427
|
+
clearAgentSessionsList(): RagAgentSessionList;
|
|
2428
|
+
addAgentSessions(value?: RagAgentSession, index?: number): RagAgentSession;
|
|
2429
|
+
|
|
2430
|
+
serializeBinary(): Uint8Array;
|
|
2431
|
+
toObject(includeInstance?: boolean): RagAgentSessionList.AsObject;
|
|
2432
|
+
static toObject(includeInstance: boolean, msg: RagAgentSessionList): RagAgentSessionList.AsObject;
|
|
2433
|
+
static serializeBinaryToWriter(message: RagAgentSessionList, writer: jspb.BinaryWriter): void;
|
|
2434
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentSessionList;
|
|
2435
|
+
static deserializeBinaryFromReader(message: RagAgentSessionList, reader: jspb.BinaryReader): RagAgentSessionList;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
export namespace RagAgentSessionList {
|
|
2439
|
+
export type AsObject = {
|
|
2440
|
+
agentSessionsList: Array<RagAgentSession.AsObject>,
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
export class RagDeleteChatSessionsRequest extends jspb.Message {
|
|
2445
|
+
getParent(): string;
|
|
2446
|
+
setParent(value: string): RagDeleteChatSessionsRequest;
|
|
2447
|
+
|
|
2448
|
+
getChatId(): string;
|
|
2449
|
+
setChatId(value: string): RagDeleteChatSessionsRequest;
|
|
2450
|
+
|
|
2451
|
+
getIdsList(): Array<string>;
|
|
2452
|
+
setIdsList(value: Array<string>): RagDeleteChatSessionsRequest;
|
|
2453
|
+
clearIdsList(): RagDeleteChatSessionsRequest;
|
|
2454
|
+
addIds(value: string, index?: number): RagDeleteChatSessionsRequest;
|
|
2455
|
+
|
|
2456
|
+
getDeleteAll(): boolean;
|
|
2457
|
+
setDeleteAll(value: boolean): RagDeleteChatSessionsRequest;
|
|
2458
|
+
hasDeleteAll(): boolean;
|
|
2459
|
+
clearDeleteAll(): RagDeleteChatSessionsRequest;
|
|
2460
|
+
|
|
2461
|
+
serializeBinary(): Uint8Array;
|
|
2462
|
+
toObject(includeInstance?: boolean): RagDeleteChatSessionsRequest.AsObject;
|
|
2463
|
+
static toObject(includeInstance: boolean, msg: RagDeleteChatSessionsRequest): RagDeleteChatSessionsRequest.AsObject;
|
|
2464
|
+
static serializeBinaryToWriter(message: RagDeleteChatSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
2465
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteChatSessionsRequest;
|
|
2466
|
+
static deserializeBinaryFromReader(message: RagDeleteChatSessionsRequest, reader: jspb.BinaryReader): RagDeleteChatSessionsRequest;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
export namespace RagDeleteChatSessionsRequest {
|
|
2470
|
+
export type AsObject = {
|
|
2471
|
+
parent: string,
|
|
2472
|
+
chatId: string,
|
|
2473
|
+
idsList: Array<string>,
|
|
2474
|
+
deleteAll?: boolean,
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
export enum DeleteAllCase {
|
|
2478
|
+
_DELETE_ALL_NOT_SET = 0,
|
|
2479
|
+
DELETE_ALL = 4,
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
export class RagDeleteAgentSessionsRequest extends jspb.Message {
|
|
2484
|
+
getParent(): string;
|
|
2485
|
+
setParent(value: string): RagDeleteAgentSessionsRequest;
|
|
2486
|
+
|
|
2487
|
+
getAgentId(): string;
|
|
2488
|
+
setAgentId(value: string): RagDeleteAgentSessionsRequest;
|
|
2489
|
+
|
|
2490
|
+
getIdsList(): Array<string>;
|
|
2491
|
+
setIdsList(value: Array<string>): RagDeleteAgentSessionsRequest;
|
|
2492
|
+
clearIdsList(): RagDeleteAgentSessionsRequest;
|
|
2493
|
+
addIds(value: string, index?: number): RagDeleteAgentSessionsRequest;
|
|
2494
|
+
|
|
2495
|
+
getDeleteAll(): boolean;
|
|
2496
|
+
setDeleteAll(value: boolean): RagDeleteAgentSessionsRequest;
|
|
2497
|
+
hasDeleteAll(): boolean;
|
|
2498
|
+
clearDeleteAll(): RagDeleteAgentSessionsRequest;
|
|
2499
|
+
|
|
2500
|
+
serializeBinary(): Uint8Array;
|
|
2501
|
+
toObject(includeInstance?: boolean): RagDeleteAgentSessionsRequest.AsObject;
|
|
2502
|
+
static toObject(includeInstance: boolean, msg: RagDeleteAgentSessionsRequest): RagDeleteAgentSessionsRequest.AsObject;
|
|
2503
|
+
static serializeBinaryToWriter(message: RagDeleteAgentSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
2504
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteAgentSessionsRequest;
|
|
2505
|
+
static deserializeBinaryFromReader(message: RagDeleteAgentSessionsRequest, reader: jspb.BinaryReader): RagDeleteAgentSessionsRequest;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
export namespace RagDeleteAgentSessionsRequest {
|
|
2509
|
+
export type AsObject = {
|
|
2510
|
+
parent: string,
|
|
2511
|
+
agentId: string,
|
|
2512
|
+
idsList: Array<string>,
|
|
2513
|
+
deleteAll?: boolean,
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
export enum DeleteAllCase {
|
|
2517
|
+
_DELETE_ALL_NOT_SET = 0,
|
|
2518
|
+
DELETE_ALL = 4,
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
export class RagChatCompletionRequest extends jspb.Message {
|
|
2523
|
+
getParent(): string;
|
|
2524
|
+
setParent(value: string): RagChatCompletionRequest;
|
|
2525
|
+
|
|
2526
|
+
getChatId(): string;
|
|
2527
|
+
setChatId(value: string): RagChatCompletionRequest;
|
|
2528
|
+
|
|
2529
|
+
getSessionId(): string;
|
|
2530
|
+
setSessionId(value: string): RagChatCompletionRequest;
|
|
2531
|
+
|
|
2532
|
+
getQuestion(): string;
|
|
2533
|
+
setQuestion(value: string): RagChatCompletionRequest;
|
|
2534
|
+
|
|
2535
|
+
getStream(): boolean;
|
|
2536
|
+
setStream(value: boolean): RagChatCompletionRequest;
|
|
2537
|
+
hasStream(): boolean;
|
|
2538
|
+
clearStream(): RagChatCompletionRequest;
|
|
2539
|
+
|
|
2540
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2541
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagChatCompletionRequest;
|
|
2542
|
+
hasAdditionalFields(): boolean;
|
|
2543
|
+
clearAdditionalFields(): RagChatCompletionRequest;
|
|
2544
|
+
|
|
2545
|
+
serializeBinary(): Uint8Array;
|
|
2546
|
+
toObject(includeInstance?: boolean): RagChatCompletionRequest.AsObject;
|
|
2547
|
+
static toObject(includeInstance: boolean, msg: RagChatCompletionRequest): RagChatCompletionRequest.AsObject;
|
|
2548
|
+
static serializeBinaryToWriter(message: RagChatCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
2549
|
+
static deserializeBinary(bytes: Uint8Array): RagChatCompletionRequest;
|
|
2550
|
+
static deserializeBinaryFromReader(message: RagChatCompletionRequest, reader: jspb.BinaryReader): RagChatCompletionRequest;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
export namespace RagChatCompletionRequest {
|
|
2554
|
+
export type AsObject = {
|
|
2555
|
+
parent: string,
|
|
2556
|
+
chatId: string,
|
|
2557
|
+
sessionId: string,
|
|
2558
|
+
question: string,
|
|
2559
|
+
stream?: boolean,
|
|
2560
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
export enum StreamCase {
|
|
2564
|
+
_STREAM_NOT_SET = 0,
|
|
2565
|
+
STREAM = 5,
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
export class RagChatCompletionResponse extends jspb.Message {
|
|
2570
|
+
getAnswer(): string;
|
|
2571
|
+
setAnswer(value: string): RagChatCompletionResponse;
|
|
2572
|
+
|
|
2573
|
+
getReference(): google_protobuf_struct_pb.Struct | undefined;
|
|
2574
|
+
setReference(value?: google_protobuf_struct_pb.Struct): RagChatCompletionResponse;
|
|
2575
|
+
hasReference(): boolean;
|
|
2576
|
+
clearReference(): RagChatCompletionResponse;
|
|
2577
|
+
|
|
2578
|
+
getAudioBinary(): string;
|
|
2579
|
+
setAudioBinary(value: string): RagChatCompletionResponse;
|
|
2580
|
+
|
|
2581
|
+
getId(): string;
|
|
2582
|
+
setId(value: string): RagChatCompletionResponse;
|
|
2583
|
+
|
|
2584
|
+
getSessionId(): string;
|
|
2585
|
+
setSessionId(value: string): RagChatCompletionResponse;
|
|
2586
|
+
|
|
2587
|
+
getPrompt(): string;
|
|
2588
|
+
setPrompt(value: string): RagChatCompletionResponse;
|
|
2589
|
+
|
|
2590
|
+
getCreatedAt(): number;
|
|
2591
|
+
setCreatedAt(value: number): RagChatCompletionResponse;
|
|
2592
|
+
|
|
2593
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2594
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagChatCompletionResponse;
|
|
2595
|
+
hasAdditionalFields(): boolean;
|
|
2596
|
+
clearAdditionalFields(): RagChatCompletionResponse;
|
|
2597
|
+
|
|
2598
|
+
serializeBinary(): Uint8Array;
|
|
2599
|
+
toObject(includeInstance?: boolean): RagChatCompletionResponse.AsObject;
|
|
2600
|
+
static toObject(includeInstance: boolean, msg: RagChatCompletionResponse): RagChatCompletionResponse.AsObject;
|
|
2601
|
+
static serializeBinaryToWriter(message: RagChatCompletionResponse, writer: jspb.BinaryWriter): void;
|
|
2602
|
+
static deserializeBinary(bytes: Uint8Array): RagChatCompletionResponse;
|
|
2603
|
+
static deserializeBinaryFromReader(message: RagChatCompletionResponse, reader: jspb.BinaryReader): RagChatCompletionResponse;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
export namespace RagChatCompletionResponse {
|
|
2607
|
+
export type AsObject = {
|
|
2608
|
+
answer: string,
|
|
2609
|
+
reference?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2610
|
+
audioBinary: string,
|
|
2611
|
+
id: string,
|
|
2612
|
+
sessionId: string,
|
|
2613
|
+
prompt: string,
|
|
2614
|
+
createdAt: number,
|
|
2615
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
export class RagOpenAiChatCompletionRequest extends jspb.Message {
|
|
2620
|
+
getParent(): string;
|
|
2621
|
+
setParent(value: string): RagOpenAiChatCompletionRequest;
|
|
2622
|
+
|
|
2623
|
+
getChatId(): string;
|
|
2624
|
+
setChatId(value: string): RagOpenAiChatCompletionRequest;
|
|
2625
|
+
|
|
2626
|
+
getModel(): string;
|
|
2627
|
+
setModel(value: string): RagOpenAiChatCompletionRequest;
|
|
2628
|
+
|
|
2629
|
+
getMessagesList(): Array<RagMessage>;
|
|
2630
|
+
setMessagesList(value: Array<RagMessage>): RagOpenAiChatCompletionRequest;
|
|
2631
|
+
clearMessagesList(): RagOpenAiChatCompletionRequest;
|
|
2632
|
+
addMessages(value?: RagMessage, index?: number): RagMessage;
|
|
2633
|
+
|
|
2634
|
+
getStream(): boolean;
|
|
2635
|
+
setStream(value: boolean): RagOpenAiChatCompletionRequest;
|
|
2636
|
+
hasStream(): boolean;
|
|
2637
|
+
clearStream(): RagOpenAiChatCompletionRequest;
|
|
2638
|
+
|
|
2639
|
+
getReference(): boolean;
|
|
2640
|
+
setReference(value: boolean): RagOpenAiChatCompletionRequest;
|
|
2641
|
+
hasReference(): boolean;
|
|
2642
|
+
clearReference(): RagOpenAiChatCompletionRequest;
|
|
2643
|
+
|
|
2644
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2645
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagOpenAiChatCompletionRequest;
|
|
2646
|
+
hasAdditionalFields(): boolean;
|
|
2647
|
+
clearAdditionalFields(): RagOpenAiChatCompletionRequest;
|
|
2648
|
+
|
|
2649
|
+
serializeBinary(): Uint8Array;
|
|
2650
|
+
toObject(includeInstance?: boolean): RagOpenAiChatCompletionRequest.AsObject;
|
|
2651
|
+
static toObject(includeInstance: boolean, msg: RagOpenAiChatCompletionRequest): RagOpenAiChatCompletionRequest.AsObject;
|
|
2652
|
+
static serializeBinaryToWriter(message: RagOpenAiChatCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
2653
|
+
static deserializeBinary(bytes: Uint8Array): RagOpenAiChatCompletionRequest;
|
|
2654
|
+
static deserializeBinaryFromReader(message: RagOpenAiChatCompletionRequest, reader: jspb.BinaryReader): RagOpenAiChatCompletionRequest;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
export namespace RagOpenAiChatCompletionRequest {
|
|
2658
|
+
export type AsObject = {
|
|
2659
|
+
parent: string,
|
|
2660
|
+
chatId: string,
|
|
2661
|
+
model: string,
|
|
2662
|
+
messagesList: Array<RagMessage.AsObject>,
|
|
2663
|
+
stream?: boolean,
|
|
2664
|
+
reference?: boolean,
|
|
2665
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
export enum StreamCase {
|
|
2669
|
+
_STREAM_NOT_SET = 0,
|
|
2670
|
+
STREAM = 5,
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
export enum ReferenceCase {
|
|
2674
|
+
_REFERENCE_NOT_SET = 0,
|
|
2675
|
+
REFERENCE = 6,
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
export class RagOpenAiChatCompletionResponse extends jspb.Message {
|
|
2680
|
+
getId(): string;
|
|
2681
|
+
setId(value: string): RagOpenAiChatCompletionResponse;
|
|
2682
|
+
|
|
2683
|
+
getObject(): string;
|
|
2684
|
+
setObject(value: string): RagOpenAiChatCompletionResponse;
|
|
2685
|
+
|
|
2686
|
+
getCreated(): number;
|
|
2687
|
+
setCreated(value: number): RagOpenAiChatCompletionResponse;
|
|
2688
|
+
|
|
2689
|
+
getModel(): string;
|
|
2690
|
+
setModel(value: string): RagOpenAiChatCompletionResponse;
|
|
2691
|
+
|
|
2692
|
+
getSystemFingerprint(): string;
|
|
2693
|
+
setSystemFingerprint(value: string): RagOpenAiChatCompletionResponse;
|
|
2694
|
+
|
|
2695
|
+
getChoicesList(): Array<RagOpenAiChatChoice>;
|
|
2696
|
+
setChoicesList(value: Array<RagOpenAiChatChoice>): RagOpenAiChatCompletionResponse;
|
|
2697
|
+
clearChoicesList(): RagOpenAiChatCompletionResponse;
|
|
2698
|
+
addChoices(value?: RagOpenAiChatChoice, index?: number): RagOpenAiChatChoice;
|
|
2699
|
+
|
|
2700
|
+
getUsage(): RagOpenAiChatUsage | undefined;
|
|
2701
|
+
setUsage(value?: RagOpenAiChatUsage): RagOpenAiChatCompletionResponse;
|
|
2702
|
+
hasUsage(): boolean;
|
|
2703
|
+
clearUsage(): RagOpenAiChatCompletionResponse;
|
|
2704
|
+
|
|
2705
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2706
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagOpenAiChatCompletionResponse;
|
|
2707
|
+
hasAdditionalFields(): boolean;
|
|
2708
|
+
clearAdditionalFields(): RagOpenAiChatCompletionResponse;
|
|
2709
|
+
|
|
2710
|
+
serializeBinary(): Uint8Array;
|
|
2711
|
+
toObject(includeInstance?: boolean): RagOpenAiChatCompletionResponse.AsObject;
|
|
2712
|
+
static toObject(includeInstance: boolean, msg: RagOpenAiChatCompletionResponse): RagOpenAiChatCompletionResponse.AsObject;
|
|
2713
|
+
static serializeBinaryToWriter(message: RagOpenAiChatCompletionResponse, writer: jspb.BinaryWriter): void;
|
|
2714
|
+
static deserializeBinary(bytes: Uint8Array): RagOpenAiChatCompletionResponse;
|
|
2715
|
+
static deserializeBinaryFromReader(message: RagOpenAiChatCompletionResponse, reader: jspb.BinaryReader): RagOpenAiChatCompletionResponse;
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
export namespace RagOpenAiChatCompletionResponse {
|
|
2719
|
+
export type AsObject = {
|
|
2720
|
+
id: string,
|
|
2721
|
+
object: string,
|
|
2722
|
+
created: number,
|
|
2723
|
+
model: string,
|
|
2724
|
+
systemFingerprint: string,
|
|
2725
|
+
choicesList: Array<RagOpenAiChatChoice.AsObject>,
|
|
2726
|
+
usage?: RagOpenAiChatUsage.AsObject,
|
|
2727
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
export class RagOpenAiChatChoice extends jspb.Message {
|
|
2732
|
+
getIndex(): number;
|
|
2733
|
+
setIndex(value: number): RagOpenAiChatChoice;
|
|
2734
|
+
|
|
2735
|
+
getMessage(): RagOpenAiChatContent | undefined;
|
|
2736
|
+
setMessage(value?: RagOpenAiChatContent): RagOpenAiChatChoice;
|
|
2737
|
+
hasMessage(): boolean;
|
|
2738
|
+
clearMessage(): RagOpenAiChatChoice;
|
|
2739
|
+
|
|
2740
|
+
getDelta(): RagOpenAiChatContent | undefined;
|
|
2741
|
+
setDelta(value?: RagOpenAiChatContent): RagOpenAiChatChoice;
|
|
2742
|
+
hasDelta(): boolean;
|
|
2743
|
+
clearDelta(): RagOpenAiChatChoice;
|
|
2744
|
+
|
|
2745
|
+
getFinishReason(): string;
|
|
2746
|
+
setFinishReason(value: string): RagOpenAiChatChoice;
|
|
2747
|
+
|
|
2748
|
+
getLogprobs(): google_protobuf_struct_pb.Value | undefined;
|
|
2749
|
+
setLogprobs(value?: google_protobuf_struct_pb.Value): RagOpenAiChatChoice;
|
|
2750
|
+
hasLogprobs(): boolean;
|
|
2751
|
+
clearLogprobs(): RagOpenAiChatChoice;
|
|
2752
|
+
|
|
2753
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2754
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagOpenAiChatChoice;
|
|
2755
|
+
hasAdditionalFields(): boolean;
|
|
2756
|
+
clearAdditionalFields(): RagOpenAiChatChoice;
|
|
2757
|
+
|
|
2758
|
+
getContentCase(): RagOpenAiChatChoice.ContentCase;
|
|
2759
|
+
|
|
2760
|
+
serializeBinary(): Uint8Array;
|
|
2761
|
+
toObject(includeInstance?: boolean): RagOpenAiChatChoice.AsObject;
|
|
2762
|
+
static toObject(includeInstance: boolean, msg: RagOpenAiChatChoice): RagOpenAiChatChoice.AsObject;
|
|
2763
|
+
static serializeBinaryToWriter(message: RagOpenAiChatChoice, writer: jspb.BinaryWriter): void;
|
|
2764
|
+
static deserializeBinary(bytes: Uint8Array): RagOpenAiChatChoice;
|
|
2765
|
+
static deserializeBinaryFromReader(message: RagOpenAiChatChoice, reader: jspb.BinaryReader): RagOpenAiChatChoice;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
export namespace RagOpenAiChatChoice {
|
|
2769
|
+
export type AsObject = {
|
|
2770
|
+
index: number,
|
|
2771
|
+
message?: RagOpenAiChatContent.AsObject,
|
|
2772
|
+
delta?: RagOpenAiChatContent.AsObject,
|
|
2773
|
+
finishReason: string,
|
|
2774
|
+
logprobs?: google_protobuf_struct_pb.Value.AsObject,
|
|
2775
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
export enum ContentCase {
|
|
2779
|
+
CONTENT_NOT_SET = 0,
|
|
2780
|
+
MESSAGE = 2,
|
|
2781
|
+
DELTA = 3,
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
export class RagOpenAiChatContent extends jspb.Message {
|
|
2786
|
+
getRole(): string;
|
|
2787
|
+
setRole(value: string): RagOpenAiChatContent;
|
|
2788
|
+
|
|
2789
|
+
getContent(): string;
|
|
2790
|
+
setContent(value: string): RagOpenAiChatContent;
|
|
2791
|
+
|
|
2792
|
+
getReasoningContent(): string;
|
|
2793
|
+
setReasoningContent(value: string): RagOpenAiChatContent;
|
|
2794
|
+
|
|
2795
|
+
getFunctionCall(): google_protobuf_struct_pb.Value | undefined;
|
|
2796
|
+
setFunctionCall(value?: google_protobuf_struct_pb.Value): RagOpenAiChatContent;
|
|
2797
|
+
hasFunctionCall(): boolean;
|
|
2798
|
+
clearFunctionCall(): RagOpenAiChatContent;
|
|
2799
|
+
|
|
2800
|
+
getToolCalls(): google_protobuf_struct_pb.Value | undefined;
|
|
2801
|
+
setToolCalls(value?: google_protobuf_struct_pb.Value): RagOpenAiChatContent;
|
|
2802
|
+
hasToolCalls(): boolean;
|
|
2803
|
+
clearToolCalls(): RagOpenAiChatContent;
|
|
2804
|
+
|
|
2805
|
+
getReference(): google_protobuf_struct_pb.Value | undefined;
|
|
2806
|
+
setReference(value?: google_protobuf_struct_pb.Value): RagOpenAiChatContent;
|
|
2807
|
+
hasReference(): boolean;
|
|
2808
|
+
clearReference(): RagOpenAiChatContent;
|
|
2809
|
+
|
|
2810
|
+
getFinalContent(): string;
|
|
2811
|
+
setFinalContent(value: string): RagOpenAiChatContent;
|
|
2812
|
+
|
|
2813
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2814
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagOpenAiChatContent;
|
|
2815
|
+
hasAdditionalFields(): boolean;
|
|
2816
|
+
clearAdditionalFields(): RagOpenAiChatContent;
|
|
2817
|
+
|
|
2818
|
+
serializeBinary(): Uint8Array;
|
|
2819
|
+
toObject(includeInstance?: boolean): RagOpenAiChatContent.AsObject;
|
|
2820
|
+
static toObject(includeInstance: boolean, msg: RagOpenAiChatContent): RagOpenAiChatContent.AsObject;
|
|
2821
|
+
static serializeBinaryToWriter(message: RagOpenAiChatContent, writer: jspb.BinaryWriter): void;
|
|
2822
|
+
static deserializeBinary(bytes: Uint8Array): RagOpenAiChatContent;
|
|
2823
|
+
static deserializeBinaryFromReader(message: RagOpenAiChatContent, reader: jspb.BinaryReader): RagOpenAiChatContent;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
export namespace RagOpenAiChatContent {
|
|
2827
|
+
export type AsObject = {
|
|
2828
|
+
role: string,
|
|
2829
|
+
content: string,
|
|
2830
|
+
reasoningContent: string,
|
|
2831
|
+
functionCall?: google_protobuf_struct_pb.Value.AsObject,
|
|
2832
|
+
toolCalls?: google_protobuf_struct_pb.Value.AsObject,
|
|
2833
|
+
reference?: google_protobuf_struct_pb.Value.AsObject,
|
|
2834
|
+
finalContent: string,
|
|
2835
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
export class RagOpenAiChatUsage extends jspb.Message {
|
|
2840
|
+
getPromptTokens(): number;
|
|
2841
|
+
setPromptTokens(value: number): RagOpenAiChatUsage;
|
|
2842
|
+
|
|
2843
|
+
getCompletionTokens(): number;
|
|
2844
|
+
setCompletionTokens(value: number): RagOpenAiChatUsage;
|
|
2845
|
+
|
|
2846
|
+
getTotalTokens(): number;
|
|
2847
|
+
setTotalTokens(value: number): RagOpenAiChatUsage;
|
|
2848
|
+
|
|
2849
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2850
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagOpenAiChatUsage;
|
|
2851
|
+
hasAdditionalFields(): boolean;
|
|
2852
|
+
clearAdditionalFields(): RagOpenAiChatUsage;
|
|
2853
|
+
|
|
2854
|
+
serializeBinary(): Uint8Array;
|
|
2855
|
+
toObject(includeInstance?: boolean): RagOpenAiChatUsage.AsObject;
|
|
2856
|
+
static toObject(includeInstance: boolean, msg: RagOpenAiChatUsage): RagOpenAiChatUsage.AsObject;
|
|
2857
|
+
static serializeBinaryToWriter(message: RagOpenAiChatUsage, writer: jspb.BinaryWriter): void;
|
|
2858
|
+
static deserializeBinary(bytes: Uint8Array): RagOpenAiChatUsage;
|
|
2859
|
+
static deserializeBinaryFromReader(message: RagOpenAiChatUsage, reader: jspb.BinaryReader): RagOpenAiChatUsage;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
export namespace RagOpenAiChatUsage {
|
|
2863
|
+
export type AsObject = {
|
|
2864
|
+
promptTokens: number,
|
|
2865
|
+
completionTokens: number,
|
|
2866
|
+
totalTokens: number,
|
|
2867
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
export class RagAgentCompletionRequest extends jspb.Message {
|
|
2872
|
+
getParent(): string;
|
|
2873
|
+
setParent(value: string): RagAgentCompletionRequest;
|
|
2874
|
+
|
|
2875
|
+
getAgentId(): string;
|
|
2876
|
+
setAgentId(value: string): RagAgentCompletionRequest;
|
|
2877
|
+
|
|
2878
|
+
getSessionId(): string;
|
|
2879
|
+
setSessionId(value: string): RagAgentCompletionRequest;
|
|
2880
|
+
|
|
2881
|
+
getQuestion(): string;
|
|
2882
|
+
setQuestion(value: string): RagAgentCompletionRequest;
|
|
2883
|
+
|
|
2884
|
+
getStream(): boolean;
|
|
2885
|
+
setStream(value: boolean): RagAgentCompletionRequest;
|
|
2886
|
+
hasStream(): boolean;
|
|
2887
|
+
clearStream(): RagAgentCompletionRequest;
|
|
2888
|
+
|
|
2889
|
+
getFilesList(): Array<RagFile>;
|
|
2890
|
+
setFilesList(value: Array<RagFile>): RagAgentCompletionRequest;
|
|
2891
|
+
clearFilesList(): RagAgentCompletionRequest;
|
|
2892
|
+
addFiles(value?: RagFile, index?: number): RagFile;
|
|
2893
|
+
|
|
2894
|
+
getInputs(): google_protobuf_struct_pb.Struct | undefined;
|
|
2895
|
+
setInputs(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionRequest;
|
|
2896
|
+
hasInputs(): boolean;
|
|
2897
|
+
clearInputs(): RagAgentCompletionRequest;
|
|
2898
|
+
|
|
2899
|
+
getUserId(): string;
|
|
2900
|
+
setUserId(value: string): RagAgentCompletionRequest;
|
|
2901
|
+
|
|
2902
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2903
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionRequest;
|
|
2904
|
+
hasAdditionalFields(): boolean;
|
|
2905
|
+
clearAdditionalFields(): RagAgentCompletionRequest;
|
|
2906
|
+
|
|
2907
|
+
serializeBinary(): Uint8Array;
|
|
2908
|
+
toObject(includeInstance?: boolean): RagAgentCompletionRequest.AsObject;
|
|
2909
|
+
static toObject(includeInstance: boolean, msg: RagAgentCompletionRequest): RagAgentCompletionRequest.AsObject;
|
|
2910
|
+
static serializeBinaryToWriter(message: RagAgentCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
2911
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentCompletionRequest;
|
|
2912
|
+
static deserializeBinaryFromReader(message: RagAgentCompletionRequest, reader: jspb.BinaryReader): RagAgentCompletionRequest;
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
export namespace RagAgentCompletionRequest {
|
|
2916
|
+
export type AsObject = {
|
|
2917
|
+
parent: string,
|
|
2918
|
+
agentId: string,
|
|
2919
|
+
sessionId: string,
|
|
2920
|
+
question: string,
|
|
2921
|
+
stream?: boolean,
|
|
2922
|
+
filesList: Array<RagFile.AsObject>,
|
|
2923
|
+
inputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2924
|
+
userId: string,
|
|
2925
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
export enum StreamCase {
|
|
2929
|
+
_STREAM_NOT_SET = 0,
|
|
2930
|
+
STREAM = 5,
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
export class RagAgentCompletionResponse extends jspb.Message {
|
|
2935
|
+
getEvent(): RagAgentEventType;
|
|
2936
|
+
setEvent(value: RagAgentEventType): RagAgentCompletionResponse;
|
|
2937
|
+
|
|
2938
|
+
getMessageId(): string;
|
|
2939
|
+
setMessageId(value: string): RagAgentCompletionResponse;
|
|
2940
|
+
|
|
2941
|
+
getCreatedAt(): number;
|
|
2942
|
+
setCreatedAt(value: number): RagAgentCompletionResponse;
|
|
2943
|
+
|
|
2944
|
+
getTaskId(): string;
|
|
2945
|
+
setTaskId(value: string): RagAgentCompletionResponse;
|
|
2946
|
+
|
|
2947
|
+
getData(): RagAgentCompletionData | undefined;
|
|
2948
|
+
setData(value?: RagAgentCompletionData): RagAgentCompletionResponse;
|
|
2949
|
+
hasData(): boolean;
|
|
2950
|
+
clearData(): RagAgentCompletionResponse;
|
|
2951
|
+
|
|
2952
|
+
getSessionId(): string;
|
|
2953
|
+
setSessionId(value: string): RagAgentCompletionResponse;
|
|
2954
|
+
|
|
2955
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
2956
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionResponse;
|
|
2957
|
+
hasAdditionalFields(): boolean;
|
|
2958
|
+
clearAdditionalFields(): RagAgentCompletionResponse;
|
|
2959
|
+
|
|
2960
|
+
serializeBinary(): Uint8Array;
|
|
2961
|
+
toObject(includeInstance?: boolean): RagAgentCompletionResponse.AsObject;
|
|
2962
|
+
static toObject(includeInstance: boolean, msg: RagAgentCompletionResponse): RagAgentCompletionResponse.AsObject;
|
|
2963
|
+
static serializeBinaryToWriter(message: RagAgentCompletionResponse, writer: jspb.BinaryWriter): void;
|
|
2964
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentCompletionResponse;
|
|
2965
|
+
static deserializeBinaryFromReader(message: RagAgentCompletionResponse, reader: jspb.BinaryReader): RagAgentCompletionResponse;
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
export namespace RagAgentCompletionResponse {
|
|
2969
|
+
export type AsObject = {
|
|
2970
|
+
event: RagAgentEventType,
|
|
2971
|
+
messageId: string,
|
|
2972
|
+
createdAt: number,
|
|
2973
|
+
taskId: string,
|
|
2974
|
+
data?: RagAgentCompletionData.AsObject,
|
|
2975
|
+
sessionId: string,
|
|
2976
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
export class RagAgentCompletionData extends jspb.Message {
|
|
2981
|
+
getContent(): string;
|
|
2982
|
+
setContent(value: string): RagAgentCompletionData;
|
|
2983
|
+
|
|
2984
|
+
getInputs(): google_protobuf_struct_pb.Struct | undefined;
|
|
2985
|
+
setInputs(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
2986
|
+
hasInputs(): boolean;
|
|
2987
|
+
clearInputs(): RagAgentCompletionData;
|
|
2988
|
+
|
|
2989
|
+
getOutputs(): google_protobuf_struct_pb.Struct | undefined;
|
|
2990
|
+
setOutputs(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
2991
|
+
hasOutputs(): boolean;
|
|
2992
|
+
clearOutputs(): RagAgentCompletionData;
|
|
2993
|
+
|
|
2994
|
+
getReference(): google_protobuf_struct_pb.Struct | undefined;
|
|
2995
|
+
setReference(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
2996
|
+
hasReference(): boolean;
|
|
2997
|
+
clearReference(): RagAgentCompletionData;
|
|
2998
|
+
|
|
2999
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3000
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentCompletionData;
|
|
3001
|
+
hasAdditionalFields(): boolean;
|
|
3002
|
+
clearAdditionalFields(): RagAgentCompletionData;
|
|
3003
|
+
|
|
3004
|
+
serializeBinary(): Uint8Array;
|
|
3005
|
+
toObject(includeInstance?: boolean): RagAgentCompletionData.AsObject;
|
|
3006
|
+
static toObject(includeInstance: boolean, msg: RagAgentCompletionData): RagAgentCompletionData.AsObject;
|
|
3007
|
+
static serializeBinaryToWriter(message: RagAgentCompletionData, writer: jspb.BinaryWriter): void;
|
|
3008
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentCompletionData;
|
|
3009
|
+
static deserializeBinaryFromReader(message: RagAgentCompletionData, reader: jspb.BinaryReader): RagAgentCompletionData;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
export namespace RagAgentCompletionData {
|
|
3013
|
+
export type AsObject = {
|
|
3014
|
+
content: string,
|
|
3015
|
+
inputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3016
|
+
outputs?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3017
|
+
reference?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3018
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
export class RagOpenAiAgentCompletionRequest extends jspb.Message {
|
|
3023
|
+
getParent(): string;
|
|
3024
|
+
setParent(value: string): RagOpenAiAgentCompletionRequest;
|
|
3025
|
+
|
|
3026
|
+
getAgentId(): string;
|
|
3027
|
+
setAgentId(value: string): RagOpenAiAgentCompletionRequest;
|
|
3028
|
+
|
|
3029
|
+
getModel(): string;
|
|
3030
|
+
setModel(value: string): RagOpenAiAgentCompletionRequest;
|
|
3031
|
+
|
|
3032
|
+
getMessagesList(): Array<RagMessage>;
|
|
3033
|
+
setMessagesList(value: Array<RagMessage>): RagOpenAiAgentCompletionRequest;
|
|
3034
|
+
clearMessagesList(): RagOpenAiAgentCompletionRequest;
|
|
3035
|
+
addMessages(value?: RagMessage, index?: number): RagMessage;
|
|
3036
|
+
|
|
3037
|
+
getStream(): boolean;
|
|
3038
|
+
setStream(value: boolean): RagOpenAiAgentCompletionRequest;
|
|
3039
|
+
hasStream(): boolean;
|
|
3040
|
+
clearStream(): RagOpenAiAgentCompletionRequest;
|
|
3041
|
+
|
|
3042
|
+
getSessionId(): string;
|
|
3043
|
+
setSessionId(value: string): RagOpenAiAgentCompletionRequest;
|
|
3044
|
+
|
|
3045
|
+
getId(): string;
|
|
3046
|
+
setId(value: string): RagOpenAiAgentCompletionRequest;
|
|
3047
|
+
|
|
3048
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3049
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagOpenAiAgentCompletionRequest;
|
|
3050
|
+
hasAdditionalFields(): boolean;
|
|
3051
|
+
clearAdditionalFields(): RagOpenAiAgentCompletionRequest;
|
|
3052
|
+
|
|
3053
|
+
serializeBinary(): Uint8Array;
|
|
3054
|
+
toObject(includeInstance?: boolean): RagOpenAiAgentCompletionRequest.AsObject;
|
|
3055
|
+
static toObject(includeInstance: boolean, msg: RagOpenAiAgentCompletionRequest): RagOpenAiAgentCompletionRequest.AsObject;
|
|
3056
|
+
static serializeBinaryToWriter(message: RagOpenAiAgentCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
3057
|
+
static deserializeBinary(bytes: Uint8Array): RagOpenAiAgentCompletionRequest;
|
|
3058
|
+
static deserializeBinaryFromReader(message: RagOpenAiAgentCompletionRequest, reader: jspb.BinaryReader): RagOpenAiAgentCompletionRequest;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
export namespace RagOpenAiAgentCompletionRequest {
|
|
3062
|
+
export type AsObject = {
|
|
3063
|
+
parent: string,
|
|
3064
|
+
agentId: string,
|
|
3065
|
+
model: string,
|
|
3066
|
+
messagesList: Array<RagMessage.AsObject>,
|
|
3067
|
+
stream?: boolean,
|
|
3068
|
+
sessionId: string,
|
|
3069
|
+
id: string,
|
|
3070
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
export enum StreamCase {
|
|
3074
|
+
_STREAM_NOT_SET = 0,
|
|
3075
|
+
STREAM = 5,
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
export class RagAgent extends jspb.Message {
|
|
3080
|
+
getId(): string;
|
|
3081
|
+
setId(value: string): RagAgent;
|
|
3082
|
+
|
|
3083
|
+
getTitle(): string;
|
|
3084
|
+
setTitle(value: string): RagAgent;
|
|
3085
|
+
|
|
3086
|
+
getDescription(): string;
|
|
3087
|
+
setDescription(value: string): RagAgent;
|
|
3088
|
+
|
|
3089
|
+
getAvatar(): string;
|
|
3090
|
+
setAvatar(value: string): RagAgent;
|
|
3091
|
+
|
|
3092
|
+
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
3093
|
+
setDsl(value?: google_protobuf_struct_pb.Struct): RagAgent;
|
|
3094
|
+
hasDsl(): boolean;
|
|
3095
|
+
clearDsl(): RagAgent;
|
|
3096
|
+
|
|
3097
|
+
getCreateTime(): number;
|
|
3098
|
+
setCreateTime(value: number): RagAgent;
|
|
3099
|
+
|
|
3100
|
+
getCreateDate(): string;
|
|
3101
|
+
setCreateDate(value: string): RagAgent;
|
|
3102
|
+
|
|
3103
|
+
getUpdateTime(): number;
|
|
3104
|
+
setUpdateTime(value: number): RagAgent;
|
|
3105
|
+
|
|
3106
|
+
getUpdateDate(): string;
|
|
3107
|
+
setUpdateDate(value: string): RagAgent;
|
|
3108
|
+
|
|
3109
|
+
getUserId(): string;
|
|
3110
|
+
setUserId(value: string): RagAgent;
|
|
3111
|
+
|
|
3112
|
+
getCanvasType(): string;
|
|
3113
|
+
setCanvasType(value: string): RagAgent;
|
|
3114
|
+
|
|
3115
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3116
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgent;
|
|
3117
|
+
hasAdditionalFields(): boolean;
|
|
3118
|
+
clearAdditionalFields(): RagAgent;
|
|
3119
|
+
|
|
3120
|
+
serializeBinary(): Uint8Array;
|
|
3121
|
+
toObject(includeInstance?: boolean): RagAgent.AsObject;
|
|
3122
|
+
static toObject(includeInstance: boolean, msg: RagAgent): RagAgent.AsObject;
|
|
3123
|
+
static serializeBinaryToWriter(message: RagAgent, writer: jspb.BinaryWriter): void;
|
|
3124
|
+
static deserializeBinary(bytes: Uint8Array): RagAgent;
|
|
3125
|
+
static deserializeBinaryFromReader(message: RagAgent, reader: jspb.BinaryReader): RagAgent;
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
export namespace RagAgent {
|
|
3129
|
+
export type AsObject = {
|
|
3130
|
+
id: string,
|
|
3131
|
+
title: string,
|
|
3132
|
+
description: string,
|
|
3133
|
+
avatar: string,
|
|
3134
|
+
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3135
|
+
createTime: number,
|
|
3136
|
+
createDate: string,
|
|
3137
|
+
updateTime: number,
|
|
3138
|
+
updateDate: string,
|
|
3139
|
+
userId: string,
|
|
3140
|
+
canvasType: string,
|
|
3141
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
export class RagCreateAgentRequest extends jspb.Message {
|
|
3146
|
+
getParent(): string;
|
|
3147
|
+
setParent(value: string): RagCreateAgentRequest;
|
|
3148
|
+
|
|
3149
|
+
getTitle(): string;
|
|
3150
|
+
setTitle(value: string): RagCreateAgentRequest;
|
|
3151
|
+
|
|
3152
|
+
getDescription(): string;
|
|
3153
|
+
setDescription(value: string): RagCreateAgentRequest;
|
|
3154
|
+
|
|
3155
|
+
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
3156
|
+
setDsl(value?: google_protobuf_struct_pb.Struct): RagCreateAgentRequest;
|
|
3157
|
+
hasDsl(): boolean;
|
|
3158
|
+
clearDsl(): RagCreateAgentRequest;
|
|
3159
|
+
|
|
3160
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3161
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateAgentRequest;
|
|
3162
|
+
hasAdditionalFields(): boolean;
|
|
3163
|
+
clearAdditionalFields(): RagCreateAgentRequest;
|
|
3164
|
+
|
|
3165
|
+
serializeBinary(): Uint8Array;
|
|
3166
|
+
toObject(includeInstance?: boolean): RagCreateAgentRequest.AsObject;
|
|
3167
|
+
static toObject(includeInstance: boolean, msg: RagCreateAgentRequest): RagCreateAgentRequest.AsObject;
|
|
3168
|
+
static serializeBinaryToWriter(message: RagCreateAgentRequest, writer: jspb.BinaryWriter): void;
|
|
3169
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateAgentRequest;
|
|
3170
|
+
static deserializeBinaryFromReader(message: RagCreateAgentRequest, reader: jspb.BinaryReader): RagCreateAgentRequest;
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
export namespace RagCreateAgentRequest {
|
|
3174
|
+
export type AsObject = {
|
|
3175
|
+
parent: string,
|
|
3176
|
+
title: string,
|
|
3177
|
+
description: string,
|
|
3178
|
+
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3179
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3183
|
+
export class RagUpdateAgentRequest extends jspb.Message {
|
|
3184
|
+
getParent(): string;
|
|
3185
|
+
setParent(value: string): RagUpdateAgentRequest;
|
|
3186
|
+
|
|
3187
|
+
getAgentId(): string;
|
|
3188
|
+
setAgentId(value: string): RagUpdateAgentRequest;
|
|
3189
|
+
|
|
3190
|
+
getTitle(): string;
|
|
3191
|
+
setTitle(value: string): RagUpdateAgentRequest;
|
|
3192
|
+
|
|
3193
|
+
getDescription(): string;
|
|
3194
|
+
setDescription(value: string): RagUpdateAgentRequest;
|
|
3195
|
+
|
|
3196
|
+
getDsl(): google_protobuf_struct_pb.Struct | undefined;
|
|
3197
|
+
setDsl(value?: google_protobuf_struct_pb.Struct): RagUpdateAgentRequest;
|
|
3198
|
+
hasDsl(): boolean;
|
|
3199
|
+
clearDsl(): RagUpdateAgentRequest;
|
|
3200
|
+
|
|
3201
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3202
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagUpdateAgentRequest;
|
|
3203
|
+
hasAdditionalFields(): boolean;
|
|
3204
|
+
clearAdditionalFields(): RagUpdateAgentRequest;
|
|
3205
|
+
|
|
3206
|
+
serializeBinary(): Uint8Array;
|
|
3207
|
+
toObject(includeInstance?: boolean): RagUpdateAgentRequest.AsObject;
|
|
3208
|
+
static toObject(includeInstance: boolean, msg: RagUpdateAgentRequest): RagUpdateAgentRequest.AsObject;
|
|
3209
|
+
static serializeBinaryToWriter(message: RagUpdateAgentRequest, writer: jspb.BinaryWriter): void;
|
|
3210
|
+
static deserializeBinary(bytes: Uint8Array): RagUpdateAgentRequest;
|
|
3211
|
+
static deserializeBinaryFromReader(message: RagUpdateAgentRequest, reader: jspb.BinaryReader): RagUpdateAgentRequest;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
export namespace RagUpdateAgentRequest {
|
|
3215
|
+
export type AsObject = {
|
|
3216
|
+
parent: string,
|
|
3217
|
+
agentId: string,
|
|
3218
|
+
title: string,
|
|
3219
|
+
description: string,
|
|
3220
|
+
dsl?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3221
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3222
|
+
}
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
export class RagDeleteAgentRequest extends jspb.Message {
|
|
3226
|
+
getParent(): string;
|
|
3227
|
+
setParent(value: string): RagDeleteAgentRequest;
|
|
3228
|
+
|
|
3229
|
+
getAgentId(): string;
|
|
3230
|
+
setAgentId(value: string): RagDeleteAgentRequest;
|
|
3231
|
+
|
|
3232
|
+
serializeBinary(): Uint8Array;
|
|
3233
|
+
toObject(includeInstance?: boolean): RagDeleteAgentRequest.AsObject;
|
|
3234
|
+
static toObject(includeInstance: boolean, msg: RagDeleteAgentRequest): RagDeleteAgentRequest.AsObject;
|
|
3235
|
+
static serializeBinaryToWriter(message: RagDeleteAgentRequest, writer: jspb.BinaryWriter): void;
|
|
3236
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteAgentRequest;
|
|
3237
|
+
static deserializeBinaryFromReader(message: RagDeleteAgentRequest, reader: jspb.BinaryReader): RagDeleteAgentRequest;
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
export namespace RagDeleteAgentRequest {
|
|
3241
|
+
export type AsObject = {
|
|
3242
|
+
parent: string,
|
|
3243
|
+
agentId: string,
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
export class RagListAgentsRequest extends jspb.Message {
|
|
3248
|
+
getParent(): string;
|
|
3249
|
+
setParent(value: string): RagListAgentsRequest;
|
|
3250
|
+
|
|
3251
|
+
getPagination(): RagPagination | undefined;
|
|
3252
|
+
setPagination(value?: RagPagination): RagListAgentsRequest;
|
|
3253
|
+
hasPagination(): boolean;
|
|
3254
|
+
clearPagination(): RagListAgentsRequest;
|
|
3255
|
+
|
|
3256
|
+
getTitle(): string;
|
|
3257
|
+
setTitle(value: string): RagListAgentsRequest;
|
|
3258
|
+
|
|
3259
|
+
getOrderby(): string;
|
|
3260
|
+
setOrderby(value: string): RagListAgentsRequest;
|
|
3261
|
+
|
|
3262
|
+
getDesc(): boolean;
|
|
3263
|
+
setDesc(value: boolean): RagListAgentsRequest;
|
|
3264
|
+
hasDesc(): boolean;
|
|
3265
|
+
clearDesc(): RagListAgentsRequest;
|
|
3266
|
+
|
|
3267
|
+
getId(): string;
|
|
3268
|
+
setId(value: string): RagListAgentsRequest;
|
|
3269
|
+
|
|
3270
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3271
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListAgentsRequest;
|
|
3272
|
+
hasAdditionalFields(): boolean;
|
|
3273
|
+
clearAdditionalFields(): RagListAgentsRequest;
|
|
3274
|
+
|
|
3275
|
+
serializeBinary(): Uint8Array;
|
|
3276
|
+
toObject(includeInstance?: boolean): RagListAgentsRequest.AsObject;
|
|
3277
|
+
static toObject(includeInstance: boolean, msg: RagListAgentsRequest): RagListAgentsRequest.AsObject;
|
|
3278
|
+
static serializeBinaryToWriter(message: RagListAgentsRequest, writer: jspb.BinaryWriter): void;
|
|
3279
|
+
static deserializeBinary(bytes: Uint8Array): RagListAgentsRequest;
|
|
3280
|
+
static deserializeBinaryFromReader(message: RagListAgentsRequest, reader: jspb.BinaryReader): RagListAgentsRequest;
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
export namespace RagListAgentsRequest {
|
|
3284
|
+
export type AsObject = {
|
|
3285
|
+
parent: string,
|
|
3286
|
+
pagination?: RagPagination.AsObject,
|
|
3287
|
+
title: string,
|
|
3288
|
+
orderby: string,
|
|
3289
|
+
desc?: boolean,
|
|
3290
|
+
id: string,
|
|
3291
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
export enum DescCase {
|
|
3295
|
+
_DESC_NOT_SET = 0,
|
|
3296
|
+
DESC = 5,
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
export class RagAgentList extends jspb.Message {
|
|
3301
|
+
getAgentsList(): Array<RagAgent>;
|
|
3302
|
+
setAgentsList(value: Array<RagAgent>): RagAgentList;
|
|
3303
|
+
clearAgentsList(): RagAgentList;
|
|
3304
|
+
addAgents(value?: RagAgent, index?: number): RagAgent;
|
|
3305
|
+
|
|
3306
|
+
serializeBinary(): Uint8Array;
|
|
3307
|
+
toObject(includeInstance?: boolean): RagAgentList.AsObject;
|
|
3308
|
+
static toObject(includeInstance: boolean, msg: RagAgentList): RagAgentList.AsObject;
|
|
3309
|
+
static serializeBinaryToWriter(message: RagAgentList, writer: jspb.BinaryWriter): void;
|
|
3310
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentList;
|
|
3311
|
+
static deserializeBinaryFromReader(message: RagAgentList, reader: jspb.BinaryReader): RagAgentList;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
export namespace RagAgentList {
|
|
3315
|
+
export type AsObject = {
|
|
3316
|
+
agentsList: Array<RagAgent.AsObject>,
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
export class RagFile extends jspb.Message {
|
|
3321
|
+
getId(): string;
|
|
3322
|
+
setId(value: string): RagFile;
|
|
3323
|
+
|
|
3324
|
+
getName(): string;
|
|
3325
|
+
setName(value: string): RagFile;
|
|
3326
|
+
|
|
3327
|
+
getType(): string;
|
|
3328
|
+
setType(value: string): RagFile;
|
|
3329
|
+
|
|
3330
|
+
getSize(): number;
|
|
3331
|
+
setSize(value: number): RagFile;
|
|
3332
|
+
|
|
3333
|
+
getParentId(): string;
|
|
3334
|
+
setParentId(value: string): RagFile;
|
|
3335
|
+
|
|
3336
|
+
getCreateTime(): number;
|
|
3337
|
+
setCreateTime(value: number): RagFile;
|
|
3338
|
+
|
|
3339
|
+
getCreateDate(): string;
|
|
3340
|
+
setCreateDate(value: string): RagFile;
|
|
3341
|
+
|
|
3342
|
+
getUpdateTime(): number;
|
|
3343
|
+
setUpdateTime(value: number): RagFile;
|
|
3344
|
+
|
|
3345
|
+
getUpdateDate(): string;
|
|
3346
|
+
setUpdateDate(value: string): RagFile;
|
|
3347
|
+
|
|
3348
|
+
getLocation(): string;
|
|
3349
|
+
setLocation(value: string): RagFile;
|
|
3350
|
+
|
|
3351
|
+
getSourceType(): string;
|
|
3352
|
+
setSourceType(value: string): RagFile;
|
|
3353
|
+
|
|
3354
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3355
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagFile;
|
|
3356
|
+
hasAdditionalFields(): boolean;
|
|
3357
|
+
clearAdditionalFields(): RagFile;
|
|
3358
|
+
|
|
3359
|
+
serializeBinary(): Uint8Array;
|
|
3360
|
+
toObject(includeInstance?: boolean): RagFile.AsObject;
|
|
3361
|
+
static toObject(includeInstance: boolean, msg: RagFile): RagFile.AsObject;
|
|
3362
|
+
static serializeBinaryToWriter(message: RagFile, writer: jspb.BinaryWriter): void;
|
|
3363
|
+
static deserializeBinary(bytes: Uint8Array): RagFile;
|
|
3364
|
+
static deserializeBinaryFromReader(message: RagFile, reader: jspb.BinaryReader): RagFile;
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
export namespace RagFile {
|
|
3368
|
+
export type AsObject = {
|
|
3369
|
+
id: string,
|
|
3370
|
+
name: string,
|
|
3371
|
+
type: string,
|
|
3372
|
+
size: number,
|
|
3373
|
+
parentId: string,
|
|
3374
|
+
createTime: number,
|
|
3375
|
+
createDate: string,
|
|
3376
|
+
updateTime: number,
|
|
3377
|
+
updateDate: string,
|
|
3378
|
+
location: string,
|
|
3379
|
+
sourceType: string,
|
|
3380
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
export class RagUploadFilesRequest extends jspb.Message {
|
|
3385
|
+
getParent(): string;
|
|
3386
|
+
setParent(value: string): RagUploadFilesRequest;
|
|
3387
|
+
|
|
3388
|
+
getMetadata(): RagUploadFilesRequest.RagMetadata | undefined;
|
|
3389
|
+
setMetadata(value?: RagUploadFilesRequest.RagMetadata): RagUploadFilesRequest;
|
|
3390
|
+
hasMetadata(): boolean;
|
|
3391
|
+
clearMetadata(): RagUploadFilesRequest;
|
|
3392
|
+
|
|
3393
|
+
getChunk(): RagUploadChunk | undefined;
|
|
3394
|
+
setChunk(value?: RagUploadChunk): RagUploadFilesRequest;
|
|
3395
|
+
hasChunk(): boolean;
|
|
3396
|
+
clearChunk(): RagUploadFilesRequest;
|
|
3397
|
+
|
|
3398
|
+
getPayloadCase(): RagUploadFilesRequest.PayloadCase;
|
|
3399
|
+
|
|
3400
|
+
serializeBinary(): Uint8Array;
|
|
3401
|
+
toObject(includeInstance?: boolean): RagUploadFilesRequest.AsObject;
|
|
3402
|
+
static toObject(includeInstance: boolean, msg: RagUploadFilesRequest): RagUploadFilesRequest.AsObject;
|
|
3403
|
+
static serializeBinaryToWriter(message: RagUploadFilesRequest, writer: jspb.BinaryWriter): void;
|
|
3404
|
+
static deserializeBinary(bytes: Uint8Array): RagUploadFilesRequest;
|
|
3405
|
+
static deserializeBinaryFromReader(message: RagUploadFilesRequest, reader: jspb.BinaryReader): RagUploadFilesRequest;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
export namespace RagUploadFilesRequest {
|
|
3409
|
+
export type AsObject = {
|
|
3410
|
+
parent: string,
|
|
3411
|
+
metadata?: RagUploadFilesRequest.RagMetadata.AsObject,
|
|
3412
|
+
chunk?: RagUploadChunk.AsObject,
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
export class RagMetadata extends jspb.Message {
|
|
3416
|
+
getParentId(): string;
|
|
3417
|
+
setParentId(value: string): RagMetadata;
|
|
3418
|
+
|
|
3419
|
+
getFilesList(): Array<RagFileMetadata>;
|
|
3420
|
+
setFilesList(value: Array<RagFileMetadata>): RagMetadata;
|
|
3421
|
+
clearFilesList(): RagMetadata;
|
|
3422
|
+
addFiles(value?: RagFileMetadata, index?: number): RagFileMetadata;
|
|
3423
|
+
|
|
3424
|
+
serializeBinary(): Uint8Array;
|
|
3425
|
+
toObject(includeInstance?: boolean): RagMetadata.AsObject;
|
|
3426
|
+
static toObject(includeInstance: boolean, msg: RagMetadata): RagMetadata.AsObject;
|
|
3427
|
+
static serializeBinaryToWriter(message: RagMetadata, writer: jspb.BinaryWriter): void;
|
|
3428
|
+
static deserializeBinary(bytes: Uint8Array): RagMetadata;
|
|
3429
|
+
static deserializeBinaryFromReader(message: RagMetadata, reader: jspb.BinaryReader): RagMetadata;
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3432
|
+
export namespace RagMetadata {
|
|
3433
|
+
export type AsObject = {
|
|
3434
|
+
parentId: string,
|
|
3435
|
+
filesList: Array<RagFileMetadata.AsObject>,
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
|
|
3439
|
+
|
|
3440
|
+
export enum PayloadCase {
|
|
3441
|
+
PAYLOAD_NOT_SET = 0,
|
|
3442
|
+
METADATA = 2,
|
|
3443
|
+
CHUNK = 3,
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
export class RagFileList extends jspb.Message {
|
|
3448
|
+
getFilesList(): Array<RagFile>;
|
|
3449
|
+
setFilesList(value: Array<RagFile>): RagFileList;
|
|
3450
|
+
clearFilesList(): RagFileList;
|
|
3451
|
+
addFiles(value?: RagFile, index?: number): RagFile;
|
|
3452
|
+
|
|
3453
|
+
serializeBinary(): Uint8Array;
|
|
3454
|
+
toObject(includeInstance?: boolean): RagFileList.AsObject;
|
|
3455
|
+
static toObject(includeInstance: boolean, msg: RagFileList): RagFileList.AsObject;
|
|
3456
|
+
static serializeBinaryToWriter(message: RagFileList, writer: jspb.BinaryWriter): void;
|
|
3457
|
+
static deserializeBinary(bytes: Uint8Array): RagFileList;
|
|
3458
|
+
static deserializeBinaryFromReader(message: RagFileList, reader: jspb.BinaryReader): RagFileList;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
export namespace RagFileList {
|
|
3462
|
+
export type AsObject = {
|
|
3463
|
+
filesList: Array<RagFile.AsObject>,
|
|
3464
|
+
}
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3467
|
+
export class RagCreateFileRequest extends jspb.Message {
|
|
3468
|
+
getParent(): string;
|
|
3469
|
+
setParent(value: string): RagCreateFileRequest;
|
|
3470
|
+
|
|
3471
|
+
getName(): string;
|
|
3472
|
+
setName(value: string): RagCreateFileRequest;
|
|
3473
|
+
|
|
3474
|
+
getParentId(): string;
|
|
3475
|
+
setParentId(value: string): RagCreateFileRequest;
|
|
3476
|
+
|
|
3477
|
+
getType(): string;
|
|
3478
|
+
setType(value: string): RagCreateFileRequest;
|
|
3479
|
+
|
|
3480
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3481
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagCreateFileRequest;
|
|
3482
|
+
hasAdditionalFields(): boolean;
|
|
3483
|
+
clearAdditionalFields(): RagCreateFileRequest;
|
|
3484
|
+
|
|
3485
|
+
serializeBinary(): Uint8Array;
|
|
3486
|
+
toObject(includeInstance?: boolean): RagCreateFileRequest.AsObject;
|
|
3487
|
+
static toObject(includeInstance: boolean, msg: RagCreateFileRequest): RagCreateFileRequest.AsObject;
|
|
3488
|
+
static serializeBinaryToWriter(message: RagCreateFileRequest, writer: jspb.BinaryWriter): void;
|
|
3489
|
+
static deserializeBinary(bytes: Uint8Array): RagCreateFileRequest;
|
|
3490
|
+
static deserializeBinaryFromReader(message: RagCreateFileRequest, reader: jspb.BinaryReader): RagCreateFileRequest;
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
export namespace RagCreateFileRequest {
|
|
3494
|
+
export type AsObject = {
|
|
3495
|
+
parent: string,
|
|
3496
|
+
name: string,
|
|
3497
|
+
parentId: string,
|
|
3498
|
+
type: string,
|
|
3499
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3503
|
+
export class RagListFilesRequest extends jspb.Message {
|
|
3504
|
+
getParent(): string;
|
|
3505
|
+
setParent(value: string): RagListFilesRequest;
|
|
3506
|
+
|
|
3507
|
+
getParentId(): string;
|
|
3508
|
+
setParentId(value: string): RagListFilesRequest;
|
|
3509
|
+
|
|
3510
|
+
getPagination(): RagPagination | undefined;
|
|
3511
|
+
setPagination(value?: RagPagination): RagListFilesRequest;
|
|
3512
|
+
hasPagination(): boolean;
|
|
3513
|
+
clearPagination(): RagListFilesRequest;
|
|
3514
|
+
|
|
3515
|
+
getKeywords(): string;
|
|
3516
|
+
setKeywords(value: string): RagListFilesRequest;
|
|
3517
|
+
|
|
3518
|
+
getOrderby(): string;
|
|
3519
|
+
setOrderby(value: string): RagListFilesRequest;
|
|
3520
|
+
|
|
3521
|
+
getDesc(): boolean;
|
|
3522
|
+
setDesc(value: boolean): RagListFilesRequest;
|
|
3523
|
+
hasDesc(): boolean;
|
|
3524
|
+
clearDesc(): RagListFilesRequest;
|
|
3525
|
+
|
|
3526
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3527
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagListFilesRequest;
|
|
3528
|
+
hasAdditionalFields(): boolean;
|
|
3529
|
+
clearAdditionalFields(): RagListFilesRequest;
|
|
3530
|
+
|
|
3531
|
+
serializeBinary(): Uint8Array;
|
|
3532
|
+
toObject(includeInstance?: boolean): RagListFilesRequest.AsObject;
|
|
3533
|
+
static toObject(includeInstance: boolean, msg: RagListFilesRequest): RagListFilesRequest.AsObject;
|
|
3534
|
+
static serializeBinaryToWriter(message: RagListFilesRequest, writer: jspb.BinaryWriter): void;
|
|
3535
|
+
static deserializeBinary(bytes: Uint8Array): RagListFilesRequest;
|
|
3536
|
+
static deserializeBinaryFromReader(message: RagListFilesRequest, reader: jspb.BinaryReader): RagListFilesRequest;
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
export namespace RagListFilesRequest {
|
|
3540
|
+
export type AsObject = {
|
|
3541
|
+
parent: string,
|
|
3542
|
+
parentId: string,
|
|
3543
|
+
pagination?: RagPagination.AsObject,
|
|
3544
|
+
keywords: string,
|
|
3545
|
+
orderby: string,
|
|
3546
|
+
desc?: boolean,
|
|
3547
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3548
|
+
}
|
|
3549
|
+
|
|
3550
|
+
export enum DescCase {
|
|
3551
|
+
_DESC_NOT_SET = 0,
|
|
3552
|
+
DESC = 6,
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
export class RagListFilesResponse extends jspb.Message {
|
|
3557
|
+
getTotal(): number;
|
|
3558
|
+
setTotal(value: number): RagListFilesResponse;
|
|
3559
|
+
|
|
3560
|
+
getFilesList(): Array<RagFile>;
|
|
3561
|
+
setFilesList(value: Array<RagFile>): RagListFilesResponse;
|
|
3562
|
+
clearFilesList(): RagListFilesResponse;
|
|
3563
|
+
addFiles(value?: RagFile, index?: number): RagFile;
|
|
3564
|
+
|
|
3565
|
+
getParentFolder(): RagFile | undefined;
|
|
3566
|
+
setParentFolder(value?: RagFile): RagListFilesResponse;
|
|
3567
|
+
hasParentFolder(): boolean;
|
|
3568
|
+
clearParentFolder(): RagListFilesResponse;
|
|
3569
|
+
|
|
3570
|
+
serializeBinary(): Uint8Array;
|
|
3571
|
+
toObject(includeInstance?: boolean): RagListFilesResponse.AsObject;
|
|
3572
|
+
static toObject(includeInstance: boolean, msg: RagListFilesResponse): RagListFilesResponse.AsObject;
|
|
3573
|
+
static serializeBinaryToWriter(message: RagListFilesResponse, writer: jspb.BinaryWriter): void;
|
|
3574
|
+
static deserializeBinary(bytes: Uint8Array): RagListFilesResponse;
|
|
3575
|
+
static deserializeBinaryFromReader(message: RagListFilesResponse, reader: jspb.BinaryReader): RagListFilesResponse;
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
export namespace RagListFilesResponse {
|
|
3579
|
+
export type AsObject = {
|
|
3580
|
+
total: number,
|
|
3581
|
+
filesList: Array<RagFile.AsObject>,
|
|
3582
|
+
parentFolder?: RagFile.AsObject,
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
export class RagGetRootFolderResponse extends jspb.Message {
|
|
3587
|
+
getRootFolder(): RagFile | undefined;
|
|
3588
|
+
setRootFolder(value?: RagFile): RagGetRootFolderResponse;
|
|
3589
|
+
hasRootFolder(): boolean;
|
|
3590
|
+
clearRootFolder(): RagGetRootFolderResponse;
|
|
3591
|
+
|
|
3592
|
+
serializeBinary(): Uint8Array;
|
|
3593
|
+
toObject(includeInstance?: boolean): RagGetRootFolderResponse.AsObject;
|
|
3594
|
+
static toObject(includeInstance: boolean, msg: RagGetRootFolderResponse): RagGetRootFolderResponse.AsObject;
|
|
3595
|
+
static serializeBinaryToWriter(message: RagGetRootFolderResponse, writer: jspb.BinaryWriter): void;
|
|
3596
|
+
static deserializeBinary(bytes: Uint8Array): RagGetRootFolderResponse;
|
|
3597
|
+
static deserializeBinaryFromReader(message: RagGetRootFolderResponse, reader: jspb.BinaryReader): RagGetRootFolderResponse;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
export namespace RagGetRootFolderResponse {
|
|
3601
|
+
export type AsObject = {
|
|
3602
|
+
rootFolder?: RagFile.AsObject,
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
export class RagGetParentFolderResponse extends jspb.Message {
|
|
3607
|
+
getParentFolder(): RagFile | undefined;
|
|
3608
|
+
setParentFolder(value?: RagFile): RagGetParentFolderResponse;
|
|
3609
|
+
hasParentFolder(): boolean;
|
|
3610
|
+
clearParentFolder(): RagGetParentFolderResponse;
|
|
3611
|
+
|
|
3612
|
+
serializeBinary(): Uint8Array;
|
|
3613
|
+
toObject(includeInstance?: boolean): RagGetParentFolderResponse.AsObject;
|
|
3614
|
+
static toObject(includeInstance: boolean, msg: RagGetParentFolderResponse): RagGetParentFolderResponse.AsObject;
|
|
3615
|
+
static serializeBinaryToWriter(message: RagGetParentFolderResponse, writer: jspb.BinaryWriter): void;
|
|
3616
|
+
static deserializeBinary(bytes: Uint8Array): RagGetParentFolderResponse;
|
|
3617
|
+
static deserializeBinaryFromReader(message: RagGetParentFolderResponse, reader: jspb.BinaryReader): RagGetParentFolderResponse;
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
export namespace RagGetParentFolderResponse {
|
|
3621
|
+
export type AsObject = {
|
|
3622
|
+
parentFolder?: RagFile.AsObject,
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
|
|
3626
|
+
export class RagGetAllParentFoldersResponse extends jspb.Message {
|
|
3627
|
+
getParentFoldersList(): Array<RagFile>;
|
|
3628
|
+
setParentFoldersList(value: Array<RagFile>): RagGetAllParentFoldersResponse;
|
|
3629
|
+
clearParentFoldersList(): RagGetAllParentFoldersResponse;
|
|
3630
|
+
addParentFolders(value?: RagFile, index?: number): RagFile;
|
|
3631
|
+
|
|
3632
|
+
serializeBinary(): Uint8Array;
|
|
3633
|
+
toObject(includeInstance?: boolean): RagGetAllParentFoldersResponse.AsObject;
|
|
3634
|
+
static toObject(includeInstance: boolean, msg: RagGetAllParentFoldersResponse): RagGetAllParentFoldersResponse.AsObject;
|
|
3635
|
+
static serializeBinaryToWriter(message: RagGetAllParentFoldersResponse, writer: jspb.BinaryWriter): void;
|
|
3636
|
+
static deserializeBinary(bytes: Uint8Array): RagGetAllParentFoldersResponse;
|
|
3637
|
+
static deserializeBinaryFromReader(message: RagGetAllParentFoldersResponse, reader: jspb.BinaryReader): RagGetAllParentFoldersResponse;
|
|
3638
|
+
}
|
|
3639
|
+
|
|
3640
|
+
export namespace RagGetAllParentFoldersResponse {
|
|
3641
|
+
export type AsObject = {
|
|
3642
|
+
parentFoldersList: Array<RagFile.AsObject>,
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
export class RagGetRootFolderRequest extends jspb.Message {
|
|
3647
|
+
getParent(): string;
|
|
3648
|
+
setParent(value: string): RagGetRootFolderRequest;
|
|
3649
|
+
|
|
3650
|
+
serializeBinary(): Uint8Array;
|
|
3651
|
+
toObject(includeInstance?: boolean): RagGetRootFolderRequest.AsObject;
|
|
3652
|
+
static toObject(includeInstance: boolean, msg: RagGetRootFolderRequest): RagGetRootFolderRequest.AsObject;
|
|
3653
|
+
static serializeBinaryToWriter(message: RagGetRootFolderRequest, writer: jspb.BinaryWriter): void;
|
|
3654
|
+
static deserializeBinary(bytes: Uint8Array): RagGetRootFolderRequest;
|
|
3655
|
+
static deserializeBinaryFromReader(message: RagGetRootFolderRequest, reader: jspb.BinaryReader): RagGetRootFolderRequest;
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
export namespace RagGetRootFolderRequest {
|
|
3659
|
+
export type AsObject = {
|
|
3660
|
+
parent: string,
|
|
3661
|
+
}
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
export class RagGetParentFolderRequest extends jspb.Message {
|
|
3665
|
+
getParent(): string;
|
|
3666
|
+
setParent(value: string): RagGetParentFolderRequest;
|
|
3667
|
+
|
|
3668
|
+
getFileId(): string;
|
|
3669
|
+
setFileId(value: string): RagGetParentFolderRequest;
|
|
3670
|
+
|
|
3671
|
+
serializeBinary(): Uint8Array;
|
|
3672
|
+
toObject(includeInstance?: boolean): RagGetParentFolderRequest.AsObject;
|
|
3673
|
+
static toObject(includeInstance: boolean, msg: RagGetParentFolderRequest): RagGetParentFolderRequest.AsObject;
|
|
3674
|
+
static serializeBinaryToWriter(message: RagGetParentFolderRequest, writer: jspb.BinaryWriter): void;
|
|
3675
|
+
static deserializeBinary(bytes: Uint8Array): RagGetParentFolderRequest;
|
|
3676
|
+
static deserializeBinaryFromReader(message: RagGetParentFolderRequest, reader: jspb.BinaryReader): RagGetParentFolderRequest;
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
export namespace RagGetParentFolderRequest {
|
|
3680
|
+
export type AsObject = {
|
|
3681
|
+
parent: string,
|
|
3682
|
+
fileId: string,
|
|
3683
|
+
}
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
export class RagGetAllParentFoldersRequest extends jspb.Message {
|
|
3687
|
+
getParent(): string;
|
|
3688
|
+
setParent(value: string): RagGetAllParentFoldersRequest;
|
|
3689
|
+
|
|
3690
|
+
getFileId(): string;
|
|
3691
|
+
setFileId(value: string): RagGetAllParentFoldersRequest;
|
|
3692
|
+
|
|
3693
|
+
serializeBinary(): Uint8Array;
|
|
3694
|
+
toObject(includeInstance?: boolean): RagGetAllParentFoldersRequest.AsObject;
|
|
3695
|
+
static toObject(includeInstance: boolean, msg: RagGetAllParentFoldersRequest): RagGetAllParentFoldersRequest.AsObject;
|
|
3696
|
+
static serializeBinaryToWriter(message: RagGetAllParentFoldersRequest, writer: jspb.BinaryWriter): void;
|
|
3697
|
+
static deserializeBinary(bytes: Uint8Array): RagGetAllParentFoldersRequest;
|
|
3698
|
+
static deserializeBinaryFromReader(message: RagGetAllParentFoldersRequest, reader: jspb.BinaryReader): RagGetAllParentFoldersRequest;
|
|
3699
|
+
}
|
|
3700
|
+
|
|
3701
|
+
export namespace RagGetAllParentFoldersRequest {
|
|
3702
|
+
export type AsObject = {
|
|
3703
|
+
parent: string,
|
|
3704
|
+
fileId: string,
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
export class RagGetFileRequest extends jspb.Message {
|
|
3709
|
+
getParent(): string;
|
|
3710
|
+
setParent(value: string): RagGetFileRequest;
|
|
3711
|
+
|
|
3712
|
+
getFileId(): string;
|
|
3713
|
+
setFileId(value: string): RagGetFileRequest;
|
|
3714
|
+
|
|
3715
|
+
serializeBinary(): Uint8Array;
|
|
3716
|
+
toObject(includeInstance?: boolean): RagGetFileRequest.AsObject;
|
|
3717
|
+
static toObject(includeInstance: boolean, msg: RagGetFileRequest): RagGetFileRequest.AsObject;
|
|
3718
|
+
static serializeBinaryToWriter(message: RagGetFileRequest, writer: jspb.BinaryWriter): void;
|
|
3719
|
+
static deserializeBinary(bytes: Uint8Array): RagGetFileRequest;
|
|
3720
|
+
static deserializeBinaryFromReader(message: RagGetFileRequest, reader: jspb.BinaryReader): RagGetFileRequest;
|
|
3721
|
+
}
|
|
3722
|
+
|
|
3723
|
+
export namespace RagGetFileRequest {
|
|
3724
|
+
export type AsObject = {
|
|
3725
|
+
parent: string,
|
|
3726
|
+
fileId: string,
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
export class RagFileID extends jspb.Message {
|
|
3731
|
+
getFileId(): string;
|
|
3732
|
+
setFileId(value: string): RagFileID;
|
|
3733
|
+
|
|
3734
|
+
serializeBinary(): Uint8Array;
|
|
3735
|
+
toObject(includeInstance?: boolean): RagFileID.AsObject;
|
|
3736
|
+
static toObject(includeInstance: boolean, msg: RagFileID): RagFileID.AsObject;
|
|
3737
|
+
static serializeBinaryToWriter(message: RagFileID, writer: jspb.BinaryWriter): void;
|
|
3738
|
+
static deserializeBinary(bytes: Uint8Array): RagFileID;
|
|
3739
|
+
static deserializeBinaryFromReader(message: RagFileID, reader: jspb.BinaryReader): RagFileID;
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
export namespace RagFileID {
|
|
3743
|
+
export type AsObject = {
|
|
3744
|
+
fileId: string,
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
export class RagDeleteFilesRequest extends jspb.Message {
|
|
3749
|
+
getParent(): string;
|
|
3750
|
+
setParent(value: string): RagDeleteFilesRequest;
|
|
3751
|
+
|
|
3752
|
+
getFileIdsList(): Array<string>;
|
|
3753
|
+
setFileIdsList(value: Array<string>): RagDeleteFilesRequest;
|
|
3754
|
+
clearFileIdsList(): RagDeleteFilesRequest;
|
|
3755
|
+
addFileIds(value: string, index?: number): RagDeleteFilesRequest;
|
|
3756
|
+
|
|
3757
|
+
serializeBinary(): Uint8Array;
|
|
3758
|
+
toObject(includeInstance?: boolean): RagDeleteFilesRequest.AsObject;
|
|
3759
|
+
static toObject(includeInstance: boolean, msg: RagDeleteFilesRequest): RagDeleteFilesRequest.AsObject;
|
|
3760
|
+
static serializeBinaryToWriter(message: RagDeleteFilesRequest, writer: jspb.BinaryWriter): void;
|
|
3761
|
+
static deserializeBinary(bytes: Uint8Array): RagDeleteFilesRequest;
|
|
3762
|
+
static deserializeBinaryFromReader(message: RagDeleteFilesRequest, reader: jspb.BinaryReader): RagDeleteFilesRequest;
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
export namespace RagDeleteFilesRequest {
|
|
3766
|
+
export type AsObject = {
|
|
3767
|
+
parent: string,
|
|
3768
|
+
fileIdsList: Array<string>,
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
export class RagRenameFileRequest extends jspb.Message {
|
|
3773
|
+
getParent(): string;
|
|
3774
|
+
setParent(value: string): RagRenameFileRequest;
|
|
3775
|
+
|
|
3776
|
+
getFileId(): string;
|
|
3777
|
+
setFileId(value: string): RagRenameFileRequest;
|
|
3778
|
+
|
|
3779
|
+
getName(): string;
|
|
3780
|
+
setName(value: string): RagRenameFileRequest;
|
|
3781
|
+
|
|
3782
|
+
serializeBinary(): Uint8Array;
|
|
3783
|
+
toObject(includeInstance?: boolean): RagRenameFileRequest.AsObject;
|
|
3784
|
+
static toObject(includeInstance: boolean, msg: RagRenameFileRequest): RagRenameFileRequest.AsObject;
|
|
3785
|
+
static serializeBinaryToWriter(message: RagRenameFileRequest, writer: jspb.BinaryWriter): void;
|
|
3786
|
+
static deserializeBinary(bytes: Uint8Array): RagRenameFileRequest;
|
|
3787
|
+
static deserializeBinaryFromReader(message: RagRenameFileRequest, reader: jspb.BinaryReader): RagRenameFileRequest;
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
|
+
export namespace RagRenameFileRequest {
|
|
3791
|
+
export type AsObject = {
|
|
3792
|
+
parent: string,
|
|
3793
|
+
fileId: string,
|
|
3794
|
+
name: string,
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
export class RagMoveFileRequest extends jspb.Message {
|
|
3799
|
+
getParent(): string;
|
|
3800
|
+
setParent(value: string): RagMoveFileRequest;
|
|
3801
|
+
|
|
3802
|
+
getSrcFileIdsList(): Array<string>;
|
|
3803
|
+
setSrcFileIdsList(value: Array<string>): RagMoveFileRequest;
|
|
3804
|
+
clearSrcFileIdsList(): RagMoveFileRequest;
|
|
3805
|
+
addSrcFileIds(value: string, index?: number): RagMoveFileRequest;
|
|
3806
|
+
|
|
3807
|
+
getDestFileId(): string;
|
|
3808
|
+
setDestFileId(value: string): RagMoveFileRequest;
|
|
3809
|
+
|
|
3810
|
+
serializeBinary(): Uint8Array;
|
|
3811
|
+
toObject(includeInstance?: boolean): RagMoveFileRequest.AsObject;
|
|
3812
|
+
static toObject(includeInstance: boolean, msg: RagMoveFileRequest): RagMoveFileRequest.AsObject;
|
|
3813
|
+
static serializeBinaryToWriter(message: RagMoveFileRequest, writer: jspb.BinaryWriter): void;
|
|
3814
|
+
static deserializeBinary(bytes: Uint8Array): RagMoveFileRequest;
|
|
3815
|
+
static deserializeBinaryFromReader(message: RagMoveFileRequest, reader: jspb.BinaryReader): RagMoveFileRequest;
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3818
|
+
export namespace RagMoveFileRequest {
|
|
3819
|
+
export type AsObject = {
|
|
3820
|
+
parent: string,
|
|
3821
|
+
srcFileIdsList: Array<string>,
|
|
3822
|
+
destFileId: string,
|
|
3823
|
+
}
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
export class RagFileToDocumentRequest extends jspb.Message {
|
|
3827
|
+
getParent(): string;
|
|
3828
|
+
setParent(value: string): RagFileToDocumentRequest;
|
|
3829
|
+
|
|
3830
|
+
getFileIdsList(): Array<string>;
|
|
3831
|
+
setFileIdsList(value: Array<string>): RagFileToDocumentRequest;
|
|
3832
|
+
clearFileIdsList(): RagFileToDocumentRequest;
|
|
3833
|
+
addFileIds(value: string, index?: number): RagFileToDocumentRequest;
|
|
3834
|
+
|
|
3835
|
+
getKbIdsList(): Array<string>;
|
|
3836
|
+
setKbIdsList(value: Array<string>): RagFileToDocumentRequest;
|
|
3837
|
+
clearKbIdsList(): RagFileToDocumentRequest;
|
|
3838
|
+
addKbIds(value: string, index?: number): RagFileToDocumentRequest;
|
|
3839
|
+
|
|
3840
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3841
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagFileToDocumentRequest;
|
|
3842
|
+
hasAdditionalFields(): boolean;
|
|
3843
|
+
clearAdditionalFields(): RagFileToDocumentRequest;
|
|
3844
|
+
|
|
3845
|
+
serializeBinary(): Uint8Array;
|
|
3846
|
+
toObject(includeInstance?: boolean): RagFileToDocumentRequest.AsObject;
|
|
3847
|
+
static toObject(includeInstance: boolean, msg: RagFileToDocumentRequest): RagFileToDocumentRequest.AsObject;
|
|
3848
|
+
static serializeBinaryToWriter(message: RagFileToDocumentRequest, writer: jspb.BinaryWriter): void;
|
|
3849
|
+
static deserializeBinary(bytes: Uint8Array): RagFileToDocumentRequest;
|
|
3850
|
+
static deserializeBinaryFromReader(message: RagFileToDocumentRequest, reader: jspb.BinaryReader): RagFileToDocumentRequest;
|
|
3851
|
+
}
|
|
3852
|
+
|
|
3853
|
+
export namespace RagFileToDocumentRequest {
|
|
3854
|
+
export type AsObject = {
|
|
3855
|
+
parent: string,
|
|
3856
|
+
fileIdsList: Array<string>,
|
|
3857
|
+
kbIdsList: Array<string>,
|
|
3858
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3859
|
+
}
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
export class RagFileToDocument extends jspb.Message {
|
|
3863
|
+
getId(): string;
|
|
3864
|
+
setId(value: string): RagFileToDocument;
|
|
3865
|
+
|
|
3866
|
+
getFileId(): string;
|
|
3867
|
+
setFileId(value: string): RagFileToDocument;
|
|
3868
|
+
|
|
3869
|
+
getDocumentId(): string;
|
|
3870
|
+
setDocumentId(value: string): RagFileToDocument;
|
|
3871
|
+
|
|
3872
|
+
getCreateTime(): number;
|
|
3873
|
+
setCreateTime(value: number): RagFileToDocument;
|
|
3874
|
+
|
|
3875
|
+
getCreateDate(): string;
|
|
3876
|
+
setCreateDate(value: string): RagFileToDocument;
|
|
3877
|
+
|
|
3878
|
+
getUpdateTime(): number;
|
|
3879
|
+
setUpdateTime(value: number): RagFileToDocument;
|
|
3880
|
+
|
|
3881
|
+
getUpdateDate(): string;
|
|
3882
|
+
setUpdateDate(value: string): RagFileToDocument;
|
|
3883
|
+
|
|
3884
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3885
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagFileToDocument;
|
|
3886
|
+
hasAdditionalFields(): boolean;
|
|
3887
|
+
clearAdditionalFields(): RagFileToDocument;
|
|
3888
|
+
|
|
3889
|
+
serializeBinary(): Uint8Array;
|
|
3890
|
+
toObject(includeInstance?: boolean): RagFileToDocument.AsObject;
|
|
3891
|
+
static toObject(includeInstance: boolean, msg: RagFileToDocument): RagFileToDocument.AsObject;
|
|
3892
|
+
static serializeBinaryToWriter(message: RagFileToDocument, writer: jspb.BinaryWriter): void;
|
|
3893
|
+
static deserializeBinary(bytes: Uint8Array): RagFileToDocument;
|
|
3894
|
+
static deserializeBinaryFromReader(message: RagFileToDocument, reader: jspb.BinaryReader): RagFileToDocument;
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
export namespace RagFileToDocument {
|
|
3898
|
+
export type AsObject = {
|
|
3899
|
+
id: string,
|
|
3900
|
+
fileId: string,
|
|
3901
|
+
documentId: string,
|
|
3902
|
+
createTime: number,
|
|
3903
|
+
createDate: string,
|
|
3904
|
+
updateTime: number,
|
|
3905
|
+
updateDate: string,
|
|
3906
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
export class RagFileToDocumentList extends jspb.Message {
|
|
3911
|
+
getFilestodocumentsList(): Array<RagFileToDocument>;
|
|
3912
|
+
setFilestodocumentsList(value: Array<RagFileToDocument>): RagFileToDocumentList;
|
|
3913
|
+
clearFilestodocumentsList(): RagFileToDocumentList;
|
|
3914
|
+
addFilestodocuments(value?: RagFileToDocument, index?: number): RagFileToDocument;
|
|
3915
|
+
|
|
3916
|
+
serializeBinary(): Uint8Array;
|
|
3917
|
+
toObject(includeInstance?: boolean): RagFileToDocumentList.AsObject;
|
|
3918
|
+
static toObject(includeInstance: boolean, msg: RagFileToDocumentList): RagFileToDocumentList.AsObject;
|
|
3919
|
+
static serializeBinaryToWriter(message: RagFileToDocumentList, writer: jspb.BinaryWriter): void;
|
|
3920
|
+
static deserializeBinary(bytes: Uint8Array): RagFileToDocumentList;
|
|
3921
|
+
static deserializeBinaryFromReader(message: RagFileToDocumentList, reader: jspb.BinaryReader): RagFileToDocumentList;
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3924
|
+
export namespace RagFileToDocumentList {
|
|
3925
|
+
export type AsObject = {
|
|
3926
|
+
filestodocumentsList: Array<RagFileToDocument.AsObject>,
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
export class RagDifyRetrievalRequest extends jspb.Message {
|
|
3931
|
+
getParent(): string;
|
|
3932
|
+
setParent(value: string): RagDifyRetrievalRequest;
|
|
3933
|
+
|
|
3934
|
+
getKnowledgeId(): string;
|
|
3935
|
+
setKnowledgeId(value: string): RagDifyRetrievalRequest;
|
|
3936
|
+
|
|
3937
|
+
getQuery(): string;
|
|
3938
|
+
setQuery(value: string): RagDifyRetrievalRequest;
|
|
3939
|
+
|
|
3940
|
+
getRetrievalSetting(): RagDifyRetrievalSetting | undefined;
|
|
3941
|
+
setRetrievalSetting(value?: RagDifyRetrievalSetting): RagDifyRetrievalRequest;
|
|
3942
|
+
hasRetrievalSetting(): boolean;
|
|
3943
|
+
clearRetrievalSetting(): RagDifyRetrievalRequest;
|
|
3944
|
+
|
|
3945
|
+
getMetadataCondition(): google_protobuf_struct_pb.Struct | undefined;
|
|
3946
|
+
setMetadataCondition(value?: google_protobuf_struct_pb.Struct): RagDifyRetrievalRequest;
|
|
3947
|
+
hasMetadataCondition(): boolean;
|
|
3948
|
+
clearMetadataCondition(): RagDifyRetrievalRequest;
|
|
3949
|
+
|
|
3950
|
+
getUseKg(): boolean;
|
|
3951
|
+
setUseKg(value: boolean): RagDifyRetrievalRequest;
|
|
3952
|
+
hasUseKg(): boolean;
|
|
3953
|
+
clearUseKg(): RagDifyRetrievalRequest;
|
|
3954
|
+
|
|
3955
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3956
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagDifyRetrievalRequest;
|
|
3957
|
+
hasAdditionalFields(): boolean;
|
|
3958
|
+
clearAdditionalFields(): RagDifyRetrievalRequest;
|
|
3959
|
+
|
|
3960
|
+
serializeBinary(): Uint8Array;
|
|
3961
|
+
toObject(includeInstance?: boolean): RagDifyRetrievalRequest.AsObject;
|
|
3962
|
+
static toObject(includeInstance: boolean, msg: RagDifyRetrievalRequest): RagDifyRetrievalRequest.AsObject;
|
|
3963
|
+
static serializeBinaryToWriter(message: RagDifyRetrievalRequest, writer: jspb.BinaryWriter): void;
|
|
3964
|
+
static deserializeBinary(bytes: Uint8Array): RagDifyRetrievalRequest;
|
|
3965
|
+
static deserializeBinaryFromReader(message: RagDifyRetrievalRequest, reader: jspb.BinaryReader): RagDifyRetrievalRequest;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
export namespace RagDifyRetrievalRequest {
|
|
3969
|
+
export type AsObject = {
|
|
3970
|
+
parent: string,
|
|
3971
|
+
knowledgeId: string,
|
|
3972
|
+
query: string,
|
|
3973
|
+
retrievalSetting?: RagDifyRetrievalSetting.AsObject,
|
|
3974
|
+
metadataCondition?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3975
|
+
useKg?: boolean,
|
|
3976
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
export enum UseKgCase {
|
|
3980
|
+
_USE_KG_NOT_SET = 0,
|
|
3981
|
+
USE_KG = 6,
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3985
|
+
export class RagDifyRetrievalSetting extends jspb.Message {
|
|
3986
|
+
getScoreThreshold(): number;
|
|
3987
|
+
setScoreThreshold(value: number): RagDifyRetrievalSetting;
|
|
3988
|
+
|
|
3989
|
+
getTopK(): number;
|
|
3990
|
+
setTopK(value: number): RagDifyRetrievalSetting;
|
|
3991
|
+
|
|
3992
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
3993
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagDifyRetrievalSetting;
|
|
3994
|
+
hasAdditionalFields(): boolean;
|
|
3995
|
+
clearAdditionalFields(): RagDifyRetrievalSetting;
|
|
3996
|
+
|
|
3997
|
+
serializeBinary(): Uint8Array;
|
|
3998
|
+
toObject(includeInstance?: boolean): RagDifyRetrievalSetting.AsObject;
|
|
3999
|
+
static toObject(includeInstance: boolean, msg: RagDifyRetrievalSetting): RagDifyRetrievalSetting.AsObject;
|
|
4000
|
+
static serializeBinaryToWriter(message: RagDifyRetrievalSetting, writer: jspb.BinaryWriter): void;
|
|
4001
|
+
static deserializeBinary(bytes: Uint8Array): RagDifyRetrievalSetting;
|
|
4002
|
+
static deserializeBinaryFromReader(message: RagDifyRetrievalSetting, reader: jspb.BinaryReader): RagDifyRetrievalSetting;
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
export namespace RagDifyRetrievalSetting {
|
|
4006
|
+
export type AsObject = {
|
|
4007
|
+
scoreThreshold: number,
|
|
4008
|
+
topK: number,
|
|
4009
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4010
|
+
}
|
|
4011
|
+
}
|
|
4012
|
+
|
|
4013
|
+
export class RagDifyRecordList extends jspb.Message {
|
|
4014
|
+
getRecordsList(): Array<RagDifyRecord>;
|
|
4015
|
+
setRecordsList(value: Array<RagDifyRecord>): RagDifyRecordList;
|
|
4016
|
+
clearRecordsList(): RagDifyRecordList;
|
|
4017
|
+
addRecords(value?: RagDifyRecord, index?: number): RagDifyRecord;
|
|
4018
|
+
|
|
4019
|
+
serializeBinary(): Uint8Array;
|
|
4020
|
+
toObject(includeInstance?: boolean): RagDifyRecordList.AsObject;
|
|
4021
|
+
static toObject(includeInstance: boolean, msg: RagDifyRecordList): RagDifyRecordList.AsObject;
|
|
4022
|
+
static serializeBinaryToWriter(message: RagDifyRecordList, writer: jspb.BinaryWriter): void;
|
|
4023
|
+
static deserializeBinary(bytes: Uint8Array): RagDifyRecordList;
|
|
4024
|
+
static deserializeBinaryFromReader(message: RagDifyRecordList, reader: jspb.BinaryReader): RagDifyRecordList;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
export namespace RagDifyRecordList {
|
|
4028
|
+
export type AsObject = {
|
|
4029
|
+
recordsList: Array<RagDifyRecord.AsObject>,
|
|
4030
|
+
}
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
export class RagDifyRecord extends jspb.Message {
|
|
4034
|
+
getContent(): string;
|
|
4035
|
+
setContent(value: string): RagDifyRecord;
|
|
4036
|
+
|
|
4037
|
+
getScore(): number;
|
|
4038
|
+
setScore(value: number): RagDifyRecord;
|
|
4039
|
+
|
|
4040
|
+
getTitle(): string;
|
|
4041
|
+
setTitle(value: string): RagDifyRecord;
|
|
4042
|
+
|
|
4043
|
+
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
|
|
4044
|
+
setMetadata(value?: google_protobuf_struct_pb.Struct): RagDifyRecord;
|
|
4045
|
+
hasMetadata(): boolean;
|
|
4046
|
+
clearMetadata(): RagDifyRecord;
|
|
4047
|
+
|
|
4048
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4049
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagDifyRecord;
|
|
4050
|
+
hasAdditionalFields(): boolean;
|
|
4051
|
+
clearAdditionalFields(): RagDifyRecord;
|
|
4052
|
+
|
|
4053
|
+
serializeBinary(): Uint8Array;
|
|
4054
|
+
toObject(includeInstance?: boolean): RagDifyRecord.AsObject;
|
|
4055
|
+
static toObject(includeInstance: boolean, msg: RagDifyRecord): RagDifyRecord.AsObject;
|
|
4056
|
+
static serializeBinaryToWriter(message: RagDifyRecord, writer: jspb.BinaryWriter): void;
|
|
4057
|
+
static deserializeBinary(bytes: Uint8Array): RagDifyRecord;
|
|
4058
|
+
static deserializeBinaryFromReader(message: RagDifyRecord, reader: jspb.BinaryReader): RagDifyRecord;
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
export namespace RagDifyRecord {
|
|
4062
|
+
export type AsObject = {
|
|
4063
|
+
content: string,
|
|
4064
|
+
score: number,
|
|
4065
|
+
title: string,
|
|
4066
|
+
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4067
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4068
|
+
}
|
|
4069
|
+
}
|
|
4070
|
+
|
|
4071
|
+
export class RagAskRequest extends jspb.Message {
|
|
4072
|
+
getParent(): string;
|
|
4073
|
+
setParent(value: string): RagAskRequest;
|
|
4074
|
+
|
|
4075
|
+
getQuestion(): string;
|
|
4076
|
+
setQuestion(value: string): RagAskRequest;
|
|
4077
|
+
|
|
4078
|
+
getDatasetIdsList(): Array<string>;
|
|
4079
|
+
setDatasetIdsList(value: Array<string>): RagAskRequest;
|
|
4080
|
+
clearDatasetIdsList(): RagAskRequest;
|
|
4081
|
+
addDatasetIds(value: string, index?: number): RagAskRequest;
|
|
4082
|
+
|
|
4083
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4084
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAskRequest;
|
|
4085
|
+
hasAdditionalFields(): boolean;
|
|
4086
|
+
clearAdditionalFields(): RagAskRequest;
|
|
4087
|
+
|
|
4088
|
+
serializeBinary(): Uint8Array;
|
|
4089
|
+
toObject(includeInstance?: boolean): RagAskRequest.AsObject;
|
|
4090
|
+
static toObject(includeInstance: boolean, msg: RagAskRequest): RagAskRequest.AsObject;
|
|
4091
|
+
static serializeBinaryToWriter(message: RagAskRequest, writer: jspb.BinaryWriter): void;
|
|
4092
|
+
static deserializeBinary(bytes: Uint8Array): RagAskRequest;
|
|
4093
|
+
static deserializeBinaryFromReader(message: RagAskRequest, reader: jspb.BinaryReader): RagAskRequest;
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
export namespace RagAskRequest {
|
|
4097
|
+
export type AsObject = {
|
|
4098
|
+
parent: string,
|
|
4099
|
+
question: string,
|
|
4100
|
+
datasetIdsList: Array<string>,
|
|
4101
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4102
|
+
}
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
export class RagAskResponse extends jspb.Message {
|
|
4106
|
+
getAnswer(): string;
|
|
4107
|
+
setAnswer(value: string): RagAskResponse;
|
|
4108
|
+
|
|
4109
|
+
getReference(): google_protobuf_struct_pb.Struct | undefined;
|
|
4110
|
+
setReference(value?: google_protobuf_struct_pb.Struct): RagAskResponse;
|
|
4111
|
+
hasReference(): boolean;
|
|
4112
|
+
clearReference(): RagAskResponse;
|
|
4113
|
+
|
|
4114
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4115
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAskResponse;
|
|
4116
|
+
hasAdditionalFields(): boolean;
|
|
4117
|
+
clearAdditionalFields(): RagAskResponse;
|
|
4118
|
+
|
|
4119
|
+
serializeBinary(): Uint8Array;
|
|
4120
|
+
toObject(includeInstance?: boolean): RagAskResponse.AsObject;
|
|
4121
|
+
static toObject(includeInstance: boolean, msg: RagAskResponse): RagAskResponse.AsObject;
|
|
4122
|
+
static serializeBinaryToWriter(message: RagAskResponse, writer: jspb.BinaryWriter): void;
|
|
4123
|
+
static deserializeBinary(bytes: Uint8Array): RagAskResponse;
|
|
4124
|
+
static deserializeBinaryFromReader(message: RagAskResponse, reader: jspb.BinaryReader): RagAskResponse;
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
export namespace RagAskResponse {
|
|
4128
|
+
export type AsObject = {
|
|
4129
|
+
answer: string,
|
|
4130
|
+
reference?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4131
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4132
|
+
}
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
export class RagRelatedQuestionsRequest extends jspb.Message {
|
|
4136
|
+
getParent(): string;
|
|
4137
|
+
setParent(value: string): RagRelatedQuestionsRequest;
|
|
4138
|
+
|
|
4139
|
+
getQuestion(): string;
|
|
4140
|
+
setQuestion(value: string): RagRelatedQuestionsRequest;
|
|
4141
|
+
|
|
4142
|
+
getIndustry(): string;
|
|
4143
|
+
setIndustry(value: string): RagRelatedQuestionsRequest;
|
|
4144
|
+
|
|
4145
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4146
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagRelatedQuestionsRequest;
|
|
4147
|
+
hasAdditionalFields(): boolean;
|
|
4148
|
+
clearAdditionalFields(): RagRelatedQuestionsRequest;
|
|
4149
|
+
|
|
4150
|
+
serializeBinary(): Uint8Array;
|
|
4151
|
+
toObject(includeInstance?: boolean): RagRelatedQuestionsRequest.AsObject;
|
|
4152
|
+
static toObject(includeInstance: boolean, msg: RagRelatedQuestionsRequest): RagRelatedQuestionsRequest.AsObject;
|
|
4153
|
+
static serializeBinaryToWriter(message: RagRelatedQuestionsRequest, writer: jspb.BinaryWriter): void;
|
|
4154
|
+
static deserializeBinary(bytes: Uint8Array): RagRelatedQuestionsRequest;
|
|
4155
|
+
static deserializeBinaryFromReader(message: RagRelatedQuestionsRequest, reader: jspb.BinaryReader): RagRelatedQuestionsRequest;
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
export namespace RagRelatedQuestionsRequest {
|
|
4159
|
+
export type AsObject = {
|
|
4160
|
+
parent: string,
|
|
4161
|
+
question: string,
|
|
4162
|
+
industry: string,
|
|
4163
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4164
|
+
}
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4167
|
+
export class RagRelatedQuestionsResponse extends jspb.Message {
|
|
4168
|
+
getQuestionsList(): Array<string>;
|
|
4169
|
+
setQuestionsList(value: Array<string>): RagRelatedQuestionsResponse;
|
|
4170
|
+
clearQuestionsList(): RagRelatedQuestionsResponse;
|
|
4171
|
+
addQuestions(value: string, index?: number): RagRelatedQuestionsResponse;
|
|
4172
|
+
|
|
4173
|
+
serializeBinary(): Uint8Array;
|
|
4174
|
+
toObject(includeInstance?: boolean): RagRelatedQuestionsResponse.AsObject;
|
|
4175
|
+
static toObject(includeInstance: boolean, msg: RagRelatedQuestionsResponse): RagRelatedQuestionsResponse.AsObject;
|
|
4176
|
+
static serializeBinaryToWriter(message: RagRelatedQuestionsResponse, writer: jspb.BinaryWriter): void;
|
|
4177
|
+
static deserializeBinary(bytes: Uint8Array): RagRelatedQuestionsResponse;
|
|
4178
|
+
static deserializeBinaryFromReader(message: RagRelatedQuestionsResponse, reader: jspb.BinaryReader): RagRelatedQuestionsResponse;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
export namespace RagRelatedQuestionsResponse {
|
|
4182
|
+
export type AsObject = {
|
|
4183
|
+
questionsList: Array<string>,
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
export class RagChatbotCompletionRequest extends jspb.Message {
|
|
4188
|
+
getParent(): string;
|
|
4189
|
+
setParent(value: string): RagChatbotCompletionRequest;
|
|
4190
|
+
|
|
4191
|
+
getDialogId(): string;
|
|
4192
|
+
setDialogId(value: string): RagChatbotCompletionRequest;
|
|
4193
|
+
|
|
4194
|
+
getQuestion(): string;
|
|
4195
|
+
setQuestion(value: string): RagChatbotCompletionRequest;
|
|
4196
|
+
|
|
4197
|
+
getStream(): boolean;
|
|
4198
|
+
setStream(value: boolean): RagChatbotCompletionRequest;
|
|
4199
|
+
hasStream(): boolean;
|
|
4200
|
+
clearStream(): RagChatbotCompletionRequest;
|
|
4201
|
+
|
|
4202
|
+
getSessionId(): string;
|
|
4203
|
+
setSessionId(value: string): RagChatbotCompletionRequest;
|
|
4204
|
+
|
|
4205
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4206
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagChatbotCompletionRequest;
|
|
4207
|
+
hasAdditionalFields(): boolean;
|
|
4208
|
+
clearAdditionalFields(): RagChatbotCompletionRequest;
|
|
4209
|
+
|
|
4210
|
+
serializeBinary(): Uint8Array;
|
|
4211
|
+
toObject(includeInstance?: boolean): RagChatbotCompletionRequest.AsObject;
|
|
4212
|
+
static toObject(includeInstance: boolean, msg: RagChatbotCompletionRequest): RagChatbotCompletionRequest.AsObject;
|
|
4213
|
+
static serializeBinaryToWriter(message: RagChatbotCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
4214
|
+
static deserializeBinary(bytes: Uint8Array): RagChatbotCompletionRequest;
|
|
4215
|
+
static deserializeBinaryFromReader(message: RagChatbotCompletionRequest, reader: jspb.BinaryReader): RagChatbotCompletionRequest;
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4218
|
+
export namespace RagChatbotCompletionRequest {
|
|
4219
|
+
export type AsObject = {
|
|
4220
|
+
parent: string,
|
|
4221
|
+
dialogId: string,
|
|
4222
|
+
question: string,
|
|
4223
|
+
stream?: boolean,
|
|
4224
|
+
sessionId: string,
|
|
4225
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
export enum StreamCase {
|
|
4229
|
+
_STREAM_NOT_SET = 0,
|
|
4230
|
+
STREAM = 4,
|
|
4231
|
+
}
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
export class RagChatbotInfoRequest extends jspb.Message {
|
|
4235
|
+
getParent(): string;
|
|
4236
|
+
setParent(value: string): RagChatbotInfoRequest;
|
|
4237
|
+
|
|
4238
|
+
getDialogId(): string;
|
|
4239
|
+
setDialogId(value: string): RagChatbotInfoRequest;
|
|
4240
|
+
|
|
4241
|
+
serializeBinary(): Uint8Array;
|
|
4242
|
+
toObject(includeInstance?: boolean): RagChatbotInfoRequest.AsObject;
|
|
4243
|
+
static toObject(includeInstance: boolean, msg: RagChatbotInfoRequest): RagChatbotInfoRequest.AsObject;
|
|
4244
|
+
static serializeBinaryToWriter(message: RagChatbotInfoRequest, writer: jspb.BinaryWriter): void;
|
|
4245
|
+
static deserializeBinary(bytes: Uint8Array): RagChatbotInfoRequest;
|
|
4246
|
+
static deserializeBinaryFromReader(message: RagChatbotInfoRequest, reader: jspb.BinaryReader): RagChatbotInfoRequest;
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
export namespace RagChatbotInfoRequest {
|
|
4250
|
+
export type AsObject = {
|
|
4251
|
+
parent: string,
|
|
4252
|
+
dialogId: string,
|
|
4253
|
+
}
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4256
|
+
export class RagChatbotInfoResponse extends jspb.Message {
|
|
4257
|
+
getTitle(): string;
|
|
4258
|
+
setTitle(value: string): RagChatbotInfoResponse;
|
|
4259
|
+
|
|
4260
|
+
getAvatar(): string;
|
|
4261
|
+
setAvatar(value: string): RagChatbotInfoResponse;
|
|
4262
|
+
|
|
4263
|
+
getPrologue(): string;
|
|
4264
|
+
setPrologue(value: string): RagChatbotInfoResponse;
|
|
4265
|
+
|
|
4266
|
+
serializeBinary(): Uint8Array;
|
|
4267
|
+
toObject(includeInstance?: boolean): RagChatbotInfoResponse.AsObject;
|
|
4268
|
+
static toObject(includeInstance: boolean, msg: RagChatbotInfoResponse): RagChatbotInfoResponse.AsObject;
|
|
4269
|
+
static serializeBinaryToWriter(message: RagChatbotInfoResponse, writer: jspb.BinaryWriter): void;
|
|
4270
|
+
static deserializeBinary(bytes: Uint8Array): RagChatbotInfoResponse;
|
|
4271
|
+
static deserializeBinaryFromReader(message: RagChatbotInfoResponse, reader: jspb.BinaryReader): RagChatbotInfoResponse;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
export namespace RagChatbotInfoResponse {
|
|
4275
|
+
export type AsObject = {
|
|
4276
|
+
title: string,
|
|
4277
|
+
avatar: string,
|
|
4278
|
+
prologue: string,
|
|
4279
|
+
}
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
export class RagAgentbotCompletionRequest extends jspb.Message {
|
|
4283
|
+
getParent(): string;
|
|
4284
|
+
setParent(value: string): RagAgentbotCompletionRequest;
|
|
4285
|
+
|
|
4286
|
+
getAgentId(): string;
|
|
4287
|
+
setAgentId(value: string): RagAgentbotCompletionRequest;
|
|
4288
|
+
|
|
4289
|
+
getQuestion(): string;
|
|
4290
|
+
setQuestion(value: string): RagAgentbotCompletionRequest;
|
|
4291
|
+
|
|
4292
|
+
getStream(): boolean;
|
|
4293
|
+
setStream(value: boolean): RagAgentbotCompletionRequest;
|
|
4294
|
+
hasStream(): boolean;
|
|
4295
|
+
clearStream(): RagAgentbotCompletionRequest;
|
|
4296
|
+
|
|
4297
|
+
getSessionId(): string;
|
|
4298
|
+
setSessionId(value: string): RagAgentbotCompletionRequest;
|
|
4299
|
+
|
|
4300
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4301
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagAgentbotCompletionRequest;
|
|
4302
|
+
hasAdditionalFields(): boolean;
|
|
4303
|
+
clearAdditionalFields(): RagAgentbotCompletionRequest;
|
|
4304
|
+
|
|
4305
|
+
serializeBinary(): Uint8Array;
|
|
4306
|
+
toObject(includeInstance?: boolean): RagAgentbotCompletionRequest.AsObject;
|
|
4307
|
+
static toObject(includeInstance: boolean, msg: RagAgentbotCompletionRequest): RagAgentbotCompletionRequest.AsObject;
|
|
4308
|
+
static serializeBinaryToWriter(message: RagAgentbotCompletionRequest, writer: jspb.BinaryWriter): void;
|
|
4309
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentbotCompletionRequest;
|
|
4310
|
+
static deserializeBinaryFromReader(message: RagAgentbotCompletionRequest, reader: jspb.BinaryReader): RagAgentbotCompletionRequest;
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
export namespace RagAgentbotCompletionRequest {
|
|
4314
|
+
export type AsObject = {
|
|
4315
|
+
parent: string,
|
|
4316
|
+
agentId: string,
|
|
4317
|
+
question: string,
|
|
4318
|
+
stream?: boolean,
|
|
4319
|
+
sessionId: string,
|
|
4320
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4321
|
+
}
|
|
4322
|
+
|
|
4323
|
+
export enum StreamCase {
|
|
4324
|
+
_STREAM_NOT_SET = 0,
|
|
4325
|
+
STREAM = 4,
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4328
|
+
|
|
4329
|
+
export class RagAgentbotInputsRequest extends jspb.Message {
|
|
4330
|
+
getParent(): string;
|
|
4331
|
+
setParent(value: string): RagAgentbotInputsRequest;
|
|
4332
|
+
|
|
4333
|
+
getAgentId(): string;
|
|
4334
|
+
setAgentId(value: string): RagAgentbotInputsRequest;
|
|
4335
|
+
|
|
4336
|
+
serializeBinary(): Uint8Array;
|
|
4337
|
+
toObject(includeInstance?: boolean): RagAgentbotInputsRequest.AsObject;
|
|
4338
|
+
static toObject(includeInstance: boolean, msg: RagAgentbotInputsRequest): RagAgentbotInputsRequest.AsObject;
|
|
4339
|
+
static serializeBinaryToWriter(message: RagAgentbotInputsRequest, writer: jspb.BinaryWriter): void;
|
|
4340
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentbotInputsRequest;
|
|
4341
|
+
static deserializeBinaryFromReader(message: RagAgentbotInputsRequest, reader: jspb.BinaryReader): RagAgentbotInputsRequest;
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
export namespace RagAgentbotInputsRequest {
|
|
4345
|
+
export type AsObject = {
|
|
4346
|
+
parent: string,
|
|
4347
|
+
agentId: string,
|
|
4348
|
+
}
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
export class RagAgentbotInputsResponse extends jspb.Message {
|
|
4352
|
+
getTitle(): string;
|
|
4353
|
+
setTitle(value: string): RagAgentbotInputsResponse;
|
|
4354
|
+
|
|
4355
|
+
getAvatar(): string;
|
|
4356
|
+
setAvatar(value: string): RagAgentbotInputsResponse;
|
|
4357
|
+
|
|
4358
|
+
getInputsList(): Array<google_protobuf_struct_pb.Struct>;
|
|
4359
|
+
setInputsList(value: Array<google_protobuf_struct_pb.Struct>): RagAgentbotInputsResponse;
|
|
4360
|
+
clearInputsList(): RagAgentbotInputsResponse;
|
|
4361
|
+
addInputs(value?: google_protobuf_struct_pb.Struct, index?: number): google_protobuf_struct_pb.Struct;
|
|
4362
|
+
|
|
4363
|
+
getPrologue(): string;
|
|
4364
|
+
setPrologue(value: string): RagAgentbotInputsResponse;
|
|
4365
|
+
|
|
4366
|
+
getMode(): string;
|
|
4367
|
+
setMode(value: string): RagAgentbotInputsResponse;
|
|
4368
|
+
|
|
4369
|
+
serializeBinary(): Uint8Array;
|
|
4370
|
+
toObject(includeInstance?: boolean): RagAgentbotInputsResponse.AsObject;
|
|
4371
|
+
static toObject(includeInstance: boolean, msg: RagAgentbotInputsResponse): RagAgentbotInputsResponse.AsObject;
|
|
4372
|
+
static serializeBinaryToWriter(message: RagAgentbotInputsResponse, writer: jspb.BinaryWriter): void;
|
|
4373
|
+
static deserializeBinary(bytes: Uint8Array): RagAgentbotInputsResponse;
|
|
4374
|
+
static deserializeBinaryFromReader(message: RagAgentbotInputsResponse, reader: jspb.BinaryReader): RagAgentbotInputsResponse;
|
|
4375
|
+
}
|
|
4376
|
+
|
|
4377
|
+
export namespace RagAgentbotInputsResponse {
|
|
4378
|
+
export type AsObject = {
|
|
4379
|
+
title: string,
|
|
4380
|
+
avatar: string,
|
|
4381
|
+
inputsList: Array<google_protobuf_struct_pb.Struct.AsObject>,
|
|
4382
|
+
prologue: string,
|
|
4383
|
+
mode: string,
|
|
4384
|
+
}
|
|
4385
|
+
}
|
|
4386
|
+
|
|
4387
|
+
export class RagSearchbotAskRequest extends jspb.Message {
|
|
4388
|
+
getParent(): string;
|
|
4389
|
+
setParent(value: string): RagSearchbotAskRequest;
|
|
4390
|
+
|
|
4391
|
+
getQuestion(): string;
|
|
4392
|
+
setQuestion(value: string): RagSearchbotAskRequest;
|
|
4393
|
+
|
|
4394
|
+
getKbIdsList(): Array<string>;
|
|
4395
|
+
setKbIdsList(value: Array<string>): RagSearchbotAskRequest;
|
|
4396
|
+
clearKbIdsList(): RagSearchbotAskRequest;
|
|
4397
|
+
addKbIds(value: string, index?: number): RagSearchbotAskRequest;
|
|
4398
|
+
|
|
4399
|
+
getSearchId(): string;
|
|
4400
|
+
setSearchId(value: string): RagSearchbotAskRequest;
|
|
4401
|
+
|
|
4402
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4403
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagSearchbotAskRequest;
|
|
4404
|
+
hasAdditionalFields(): boolean;
|
|
4405
|
+
clearAdditionalFields(): RagSearchbotAskRequest;
|
|
4406
|
+
|
|
4407
|
+
serializeBinary(): Uint8Array;
|
|
4408
|
+
toObject(includeInstance?: boolean): RagSearchbotAskRequest.AsObject;
|
|
4409
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotAskRequest): RagSearchbotAskRequest.AsObject;
|
|
4410
|
+
static serializeBinaryToWriter(message: RagSearchbotAskRequest, writer: jspb.BinaryWriter): void;
|
|
4411
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotAskRequest;
|
|
4412
|
+
static deserializeBinaryFromReader(message: RagSearchbotAskRequest, reader: jspb.BinaryReader): RagSearchbotAskRequest;
|
|
4413
|
+
}
|
|
4414
|
+
|
|
4415
|
+
export namespace RagSearchbotAskRequest {
|
|
4416
|
+
export type AsObject = {
|
|
4417
|
+
parent: string,
|
|
4418
|
+
question: string,
|
|
4419
|
+
kbIdsList: Array<string>,
|
|
4420
|
+
searchId: string,
|
|
4421
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4422
|
+
}
|
|
4423
|
+
}
|
|
4424
|
+
|
|
4425
|
+
export class RagSearchbotRetrievalRequest extends jspb.Message {
|
|
4426
|
+
getParent(): string;
|
|
4427
|
+
setParent(value: string): RagSearchbotRetrievalRequest;
|
|
4428
|
+
|
|
4429
|
+
getKbIdList(): Array<string>;
|
|
4430
|
+
setKbIdList(value: Array<string>): RagSearchbotRetrievalRequest;
|
|
4431
|
+
clearKbIdList(): RagSearchbotRetrievalRequest;
|
|
4432
|
+
addKbId(value: string, index?: number): RagSearchbotRetrievalRequest;
|
|
4433
|
+
|
|
4434
|
+
getQuestion(): string;
|
|
4435
|
+
setQuestion(value: string): RagSearchbotRetrievalRequest;
|
|
4436
|
+
|
|
4437
|
+
getPage(): number;
|
|
4438
|
+
setPage(value: number): RagSearchbotRetrievalRequest;
|
|
4439
|
+
|
|
4440
|
+
getSize(): number;
|
|
4441
|
+
setSize(value: number): RagSearchbotRetrievalRequest;
|
|
4442
|
+
|
|
4443
|
+
getDocIdsList(): Array<string>;
|
|
4444
|
+
setDocIdsList(value: Array<string>): RagSearchbotRetrievalRequest;
|
|
4445
|
+
clearDocIdsList(): RagSearchbotRetrievalRequest;
|
|
4446
|
+
addDocIds(value: string, index?: number): RagSearchbotRetrievalRequest;
|
|
4447
|
+
|
|
4448
|
+
getSimilarityThreshold(): number;
|
|
4449
|
+
setSimilarityThreshold(value: number): RagSearchbotRetrievalRequest;
|
|
4450
|
+
|
|
4451
|
+
getVectorSimilarityWeight(): number;
|
|
4452
|
+
setVectorSimilarityWeight(value: number): RagSearchbotRetrievalRequest;
|
|
4453
|
+
|
|
4454
|
+
getUseKg(): boolean;
|
|
4455
|
+
setUseKg(value: boolean): RagSearchbotRetrievalRequest;
|
|
4456
|
+
hasUseKg(): boolean;
|
|
4457
|
+
clearUseKg(): RagSearchbotRetrievalRequest;
|
|
4458
|
+
|
|
4459
|
+
getTopK(): number;
|
|
4460
|
+
setTopK(value: number): RagSearchbotRetrievalRequest;
|
|
4461
|
+
|
|
4462
|
+
getCrossLanguagesList(): Array<string>;
|
|
4463
|
+
setCrossLanguagesList(value: Array<string>): RagSearchbotRetrievalRequest;
|
|
4464
|
+
clearCrossLanguagesList(): RagSearchbotRetrievalRequest;
|
|
4465
|
+
addCrossLanguages(value: string, index?: number): RagSearchbotRetrievalRequest;
|
|
4466
|
+
|
|
4467
|
+
getKeyword(): boolean;
|
|
4468
|
+
setKeyword(value: boolean): RagSearchbotRetrievalRequest;
|
|
4469
|
+
hasKeyword(): boolean;
|
|
4470
|
+
clearKeyword(): RagSearchbotRetrievalRequest;
|
|
4471
|
+
|
|
4472
|
+
getRerankId(): string;
|
|
4473
|
+
setRerankId(value: string): RagSearchbotRetrievalRequest;
|
|
4474
|
+
|
|
4475
|
+
getSearchId(): string;
|
|
4476
|
+
setSearchId(value: string): RagSearchbotRetrievalRequest;
|
|
4477
|
+
|
|
4478
|
+
getHighlight(): boolean;
|
|
4479
|
+
setHighlight(value: boolean): RagSearchbotRetrievalRequest;
|
|
4480
|
+
hasHighlight(): boolean;
|
|
4481
|
+
clearHighlight(): RagSearchbotRetrievalRequest;
|
|
4482
|
+
|
|
4483
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4484
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagSearchbotRetrievalRequest;
|
|
4485
|
+
hasAdditionalFields(): boolean;
|
|
4486
|
+
clearAdditionalFields(): RagSearchbotRetrievalRequest;
|
|
4487
|
+
|
|
4488
|
+
serializeBinary(): Uint8Array;
|
|
4489
|
+
toObject(includeInstance?: boolean): RagSearchbotRetrievalRequest.AsObject;
|
|
4490
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotRetrievalRequest): RagSearchbotRetrievalRequest.AsObject;
|
|
4491
|
+
static serializeBinaryToWriter(message: RagSearchbotRetrievalRequest, writer: jspb.BinaryWriter): void;
|
|
4492
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotRetrievalRequest;
|
|
4493
|
+
static deserializeBinaryFromReader(message: RagSearchbotRetrievalRequest, reader: jspb.BinaryReader): RagSearchbotRetrievalRequest;
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4496
|
+
export namespace RagSearchbotRetrievalRequest {
|
|
4497
|
+
export type AsObject = {
|
|
4498
|
+
parent: string,
|
|
4499
|
+
kbIdList: Array<string>,
|
|
4500
|
+
question: string,
|
|
4501
|
+
page: number,
|
|
4502
|
+
size: number,
|
|
4503
|
+
docIdsList: Array<string>,
|
|
4504
|
+
similarityThreshold: number,
|
|
4505
|
+
vectorSimilarityWeight: number,
|
|
4506
|
+
useKg?: boolean,
|
|
4507
|
+
topK: number,
|
|
4508
|
+
crossLanguagesList: Array<string>,
|
|
4509
|
+
keyword?: boolean,
|
|
4510
|
+
rerankId: string,
|
|
4511
|
+
searchId: string,
|
|
4512
|
+
highlight?: boolean,
|
|
4513
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
export enum UseKgCase {
|
|
4517
|
+
_USE_KG_NOT_SET = 0,
|
|
4518
|
+
USE_KG = 9,
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4521
|
+
export enum KeywordCase {
|
|
4522
|
+
_KEYWORD_NOT_SET = 0,
|
|
4523
|
+
KEYWORD = 12,
|
|
4524
|
+
}
|
|
4525
|
+
|
|
4526
|
+
export enum HighlightCase {
|
|
4527
|
+
_HIGHLIGHT_NOT_SET = 0,
|
|
4528
|
+
HIGHLIGHT = 15,
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
|
|
4532
|
+
export class RagSearchbotRetrievalResponse extends jspb.Message {
|
|
4533
|
+
getChunksList(): Array<RagChunk>;
|
|
4534
|
+
setChunksList(value: Array<RagChunk>): RagSearchbotRetrievalResponse;
|
|
4535
|
+
clearChunksList(): RagSearchbotRetrievalResponse;
|
|
4536
|
+
addChunks(value?: RagChunk, index?: number): RagChunk;
|
|
4537
|
+
|
|
4538
|
+
getDocAggsList(): Array<google_protobuf_struct_pb.Struct>;
|
|
4539
|
+
setDocAggsList(value: Array<google_protobuf_struct_pb.Struct>): RagSearchbotRetrievalResponse;
|
|
4540
|
+
clearDocAggsList(): RagSearchbotRetrievalResponse;
|
|
4541
|
+
addDocAggs(value?: google_protobuf_struct_pb.Struct, index?: number): google_protobuf_struct_pb.Struct;
|
|
4542
|
+
|
|
4543
|
+
getTotal(): number;
|
|
4544
|
+
setTotal(value: number): RagSearchbotRetrievalResponse;
|
|
4545
|
+
|
|
4546
|
+
getLabelsList(): Array<string>;
|
|
4547
|
+
setLabelsList(value: Array<string>): RagSearchbotRetrievalResponse;
|
|
4548
|
+
clearLabelsList(): RagSearchbotRetrievalResponse;
|
|
4549
|
+
addLabels(value: string, index?: number): RagSearchbotRetrievalResponse;
|
|
4550
|
+
|
|
4551
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4552
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagSearchbotRetrievalResponse;
|
|
4553
|
+
hasAdditionalFields(): boolean;
|
|
4554
|
+
clearAdditionalFields(): RagSearchbotRetrievalResponse;
|
|
4555
|
+
|
|
4556
|
+
serializeBinary(): Uint8Array;
|
|
4557
|
+
toObject(includeInstance?: boolean): RagSearchbotRetrievalResponse.AsObject;
|
|
4558
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotRetrievalResponse): RagSearchbotRetrievalResponse.AsObject;
|
|
4559
|
+
static serializeBinaryToWriter(message: RagSearchbotRetrievalResponse, writer: jspb.BinaryWriter): void;
|
|
4560
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotRetrievalResponse;
|
|
4561
|
+
static deserializeBinaryFromReader(message: RagSearchbotRetrievalResponse, reader: jspb.BinaryReader): RagSearchbotRetrievalResponse;
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4564
|
+
export namespace RagSearchbotRetrievalResponse {
|
|
4565
|
+
export type AsObject = {
|
|
4566
|
+
chunksList: Array<RagChunk.AsObject>,
|
|
4567
|
+
docAggsList: Array<google_protobuf_struct_pb.Struct.AsObject>,
|
|
4568
|
+
total: number,
|
|
4569
|
+
labelsList: Array<string>,
|
|
4570
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4571
|
+
}
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4574
|
+
export class RagSearchbotRelatedQuestionsRequest extends jspb.Message {
|
|
4575
|
+
getParent(): string;
|
|
4576
|
+
setParent(value: string): RagSearchbotRelatedQuestionsRequest;
|
|
4577
|
+
|
|
4578
|
+
getQuestion(): string;
|
|
4579
|
+
setQuestion(value: string): RagSearchbotRelatedQuestionsRequest;
|
|
4580
|
+
|
|
4581
|
+
getSearchId(): string;
|
|
4582
|
+
setSearchId(value: string): RagSearchbotRelatedQuestionsRequest;
|
|
4583
|
+
|
|
4584
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4585
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagSearchbotRelatedQuestionsRequest;
|
|
4586
|
+
hasAdditionalFields(): boolean;
|
|
4587
|
+
clearAdditionalFields(): RagSearchbotRelatedQuestionsRequest;
|
|
4588
|
+
|
|
4589
|
+
serializeBinary(): Uint8Array;
|
|
4590
|
+
toObject(includeInstance?: boolean): RagSearchbotRelatedQuestionsRequest.AsObject;
|
|
4591
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotRelatedQuestionsRequest): RagSearchbotRelatedQuestionsRequest.AsObject;
|
|
4592
|
+
static serializeBinaryToWriter(message: RagSearchbotRelatedQuestionsRequest, writer: jspb.BinaryWriter): void;
|
|
4593
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotRelatedQuestionsRequest;
|
|
4594
|
+
static deserializeBinaryFromReader(message: RagSearchbotRelatedQuestionsRequest, reader: jspb.BinaryReader): RagSearchbotRelatedQuestionsRequest;
|
|
4595
|
+
}
|
|
4596
|
+
|
|
4597
|
+
export namespace RagSearchbotRelatedQuestionsRequest {
|
|
4598
|
+
export type AsObject = {
|
|
4599
|
+
parent: string,
|
|
4600
|
+
question: string,
|
|
4601
|
+
searchId: string,
|
|
4602
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4603
|
+
}
|
|
4604
|
+
}
|
|
4605
|
+
|
|
4606
|
+
export class RagSearchbotDetailRequest extends jspb.Message {
|
|
4607
|
+
getParent(): string;
|
|
4608
|
+
setParent(value: string): RagSearchbotDetailRequest;
|
|
4609
|
+
|
|
4610
|
+
getSearchId(): string;
|
|
4611
|
+
setSearchId(value: string): RagSearchbotDetailRequest;
|
|
4612
|
+
|
|
4613
|
+
serializeBinary(): Uint8Array;
|
|
4614
|
+
toObject(includeInstance?: boolean): RagSearchbotDetailRequest.AsObject;
|
|
4615
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotDetailRequest): RagSearchbotDetailRequest.AsObject;
|
|
4616
|
+
static serializeBinaryToWriter(message: RagSearchbotDetailRequest, writer: jspb.BinaryWriter): void;
|
|
4617
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotDetailRequest;
|
|
4618
|
+
static deserializeBinaryFromReader(message: RagSearchbotDetailRequest, reader: jspb.BinaryReader): RagSearchbotDetailRequest;
|
|
4619
|
+
}
|
|
4620
|
+
|
|
4621
|
+
export namespace RagSearchbotDetailRequest {
|
|
4622
|
+
export type AsObject = {
|
|
4623
|
+
parent: string,
|
|
4624
|
+
searchId: string,
|
|
4625
|
+
}
|
|
4626
|
+
}
|
|
4627
|
+
|
|
4628
|
+
export class RagSearchbotDetailResponse extends jspb.Message {
|
|
4629
|
+
getId(): string;
|
|
4630
|
+
setId(value: string): RagSearchbotDetailResponse;
|
|
4631
|
+
|
|
4632
|
+
getAvatar(): string;
|
|
4633
|
+
setAvatar(value: string): RagSearchbotDetailResponse;
|
|
4634
|
+
|
|
4635
|
+
getTenantId(): string;
|
|
4636
|
+
setTenantId(value: string): RagSearchbotDetailResponse;
|
|
4637
|
+
|
|
4638
|
+
getName(): string;
|
|
4639
|
+
setName(value: string): RagSearchbotDetailResponse;
|
|
4640
|
+
|
|
4641
|
+
getDescription(): string;
|
|
4642
|
+
setDescription(value: string): RagSearchbotDetailResponse;
|
|
4643
|
+
|
|
4644
|
+
getCreateBy(): string;
|
|
4645
|
+
setCreateBy(value: string): RagSearchbotDetailResponse;
|
|
4646
|
+
|
|
4647
|
+
getSearchConfig(): google_protobuf_struct_pb.Struct | undefined;
|
|
4648
|
+
setSearchConfig(value?: google_protobuf_struct_pb.Struct): RagSearchbotDetailResponse;
|
|
4649
|
+
hasSearchConfig(): boolean;
|
|
4650
|
+
clearSearchConfig(): RagSearchbotDetailResponse;
|
|
4651
|
+
|
|
4652
|
+
getUpdateTime(): number;
|
|
4653
|
+
setUpdateTime(value: number): RagSearchbotDetailResponse;
|
|
4654
|
+
|
|
4655
|
+
getNickname(): string;
|
|
4656
|
+
setNickname(value: string): RagSearchbotDetailResponse;
|
|
4657
|
+
|
|
4658
|
+
getTenantAvatar(): string;
|
|
4659
|
+
setTenantAvatar(value: string): RagSearchbotDetailResponse;
|
|
4660
|
+
|
|
4661
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4662
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagSearchbotDetailResponse;
|
|
4663
|
+
hasAdditionalFields(): boolean;
|
|
4664
|
+
clearAdditionalFields(): RagSearchbotDetailResponse;
|
|
4665
|
+
|
|
4666
|
+
serializeBinary(): Uint8Array;
|
|
4667
|
+
toObject(includeInstance?: boolean): RagSearchbotDetailResponse.AsObject;
|
|
4668
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotDetailResponse): RagSearchbotDetailResponse.AsObject;
|
|
4669
|
+
static serializeBinaryToWriter(message: RagSearchbotDetailResponse, writer: jspb.BinaryWriter): void;
|
|
4670
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotDetailResponse;
|
|
4671
|
+
static deserializeBinaryFromReader(message: RagSearchbotDetailResponse, reader: jspb.BinaryReader): RagSearchbotDetailResponse;
|
|
4672
|
+
}
|
|
4673
|
+
|
|
4674
|
+
export namespace RagSearchbotDetailResponse {
|
|
4675
|
+
export type AsObject = {
|
|
4676
|
+
id: string,
|
|
4677
|
+
avatar: string,
|
|
4678
|
+
tenantId: string,
|
|
4679
|
+
name: string,
|
|
4680
|
+
description: string,
|
|
4681
|
+
createBy: string,
|
|
4682
|
+
searchConfig?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4683
|
+
updateTime: number,
|
|
4684
|
+
nickname: string,
|
|
4685
|
+
tenantAvatar: string,
|
|
4686
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4689
|
+
|
|
4690
|
+
export class RagSearchbotMindmapRequest extends jspb.Message {
|
|
4691
|
+
getParent(): string;
|
|
4692
|
+
setParent(value: string): RagSearchbotMindmapRequest;
|
|
4693
|
+
|
|
4694
|
+
getQuestion(): string;
|
|
4695
|
+
setQuestion(value: string): RagSearchbotMindmapRequest;
|
|
4696
|
+
|
|
4697
|
+
getKbIdsList(): Array<string>;
|
|
4698
|
+
setKbIdsList(value: Array<string>): RagSearchbotMindmapRequest;
|
|
4699
|
+
clearKbIdsList(): RagSearchbotMindmapRequest;
|
|
4700
|
+
addKbIds(value: string, index?: number): RagSearchbotMindmapRequest;
|
|
4701
|
+
|
|
4702
|
+
getSearchId(): string;
|
|
4703
|
+
setSearchId(value: string): RagSearchbotMindmapRequest;
|
|
4704
|
+
|
|
4705
|
+
getAdditionalFields(): google_protobuf_struct_pb.Struct | undefined;
|
|
4706
|
+
setAdditionalFields(value?: google_protobuf_struct_pb.Struct): RagSearchbotMindmapRequest;
|
|
4707
|
+
hasAdditionalFields(): boolean;
|
|
4708
|
+
clearAdditionalFields(): RagSearchbotMindmapRequest;
|
|
4709
|
+
|
|
4710
|
+
serializeBinary(): Uint8Array;
|
|
4711
|
+
toObject(includeInstance?: boolean): RagSearchbotMindmapRequest.AsObject;
|
|
4712
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotMindmapRequest): RagSearchbotMindmapRequest.AsObject;
|
|
4713
|
+
static serializeBinaryToWriter(message: RagSearchbotMindmapRequest, writer: jspb.BinaryWriter): void;
|
|
4714
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotMindmapRequest;
|
|
4715
|
+
static deserializeBinaryFromReader(message: RagSearchbotMindmapRequest, reader: jspb.BinaryReader): RagSearchbotMindmapRequest;
|
|
4716
|
+
}
|
|
4717
|
+
|
|
4718
|
+
export namespace RagSearchbotMindmapRequest {
|
|
4719
|
+
export type AsObject = {
|
|
4720
|
+
parent: string,
|
|
4721
|
+
question: string,
|
|
4722
|
+
kbIdsList: Array<string>,
|
|
4723
|
+
searchId: string,
|
|
4724
|
+
additionalFields?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4727
|
+
|
|
4728
|
+
export class RagSearchbotMindmapResponse extends jspb.Message {
|
|
4729
|
+
getMindmap(): google_protobuf_struct_pb.Struct | undefined;
|
|
4730
|
+
setMindmap(value?: google_protobuf_struct_pb.Struct): RagSearchbotMindmapResponse;
|
|
4731
|
+
hasMindmap(): boolean;
|
|
4732
|
+
clearMindmap(): RagSearchbotMindmapResponse;
|
|
4733
|
+
|
|
4734
|
+
serializeBinary(): Uint8Array;
|
|
4735
|
+
toObject(includeInstance?: boolean): RagSearchbotMindmapResponse.AsObject;
|
|
4736
|
+
static toObject(includeInstance: boolean, msg: RagSearchbotMindmapResponse): RagSearchbotMindmapResponse.AsObject;
|
|
4737
|
+
static serializeBinaryToWriter(message: RagSearchbotMindmapResponse, writer: jspb.BinaryWriter): void;
|
|
4738
|
+
static deserializeBinary(bytes: Uint8Array): RagSearchbotMindmapResponse;
|
|
4739
|
+
static deserializeBinaryFromReader(message: RagSearchbotMindmapResponse, reader: jspb.BinaryReader): RagSearchbotMindmapResponse;
|
|
4740
|
+
}
|
|
4741
|
+
|
|
4742
|
+
export namespace RagSearchbotMindmapResponse {
|
|
4743
|
+
export type AsObject = {
|
|
4744
|
+
mindmap?: google_protobuf_struct_pb.Struct.AsObject,
|
|
4745
|
+
}
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
export enum RagPermission {
|
|
4749
|
+
ME = 0,
|
|
4750
|
+
TEAM = 1,
|
|
4751
|
+
}
|
|
4752
|
+
export enum RagChunkMethod {
|
|
4753
|
+
NAIVE = 0,
|
|
4754
|
+
BOOK = 1,
|
|
4755
|
+
EMAIL = 2,
|
|
4756
|
+
LAWS = 3,
|
|
4757
|
+
MANUAL = 4,
|
|
4758
|
+
ONE = 5,
|
|
4759
|
+
PAPER = 6,
|
|
4760
|
+
PICTURE = 7,
|
|
4761
|
+
PRESENTATION = 8,
|
|
4762
|
+
QA = 9,
|
|
4763
|
+
TABLE = 10,
|
|
4764
|
+
TAG = 11,
|
|
4765
|
+
}
|
|
4766
|
+
export enum RagDocumentStatus {
|
|
4767
|
+
UNSTART = 0,
|
|
4768
|
+
RUNNING = 1,
|
|
4769
|
+
CANCEL = 2,
|
|
4770
|
+
DONE = 3,
|
|
4771
|
+
FAIL = 4,
|
|
4772
|
+
}
|
|
4773
|
+
export enum RagMessageRole {
|
|
4774
|
+
USER = 0,
|
|
4775
|
+
ASSISTANT = 1,
|
|
4776
|
+
SYSTEM = 2,
|
|
4777
|
+
}
|
|
4778
|
+
export enum RagAgentEventType {
|
|
4779
|
+
MESSAGE = 0,
|
|
4780
|
+
MESSAGE_END = 1,
|
|
4781
|
+
}
|