@ondewo/nlu-client-typescript 6.2.0 → 6.4.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.
@@ -0,0 +1,3430 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for ondewo.nlu
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v6.32.0
11
+ // source: ondewo/nlu/rag.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+
19
+ const grpc = {};
20
+ grpc.web = require('grpc-web');
21
+
22
+
23
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
24
+
25
+ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
26
+
27
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
28
+
29
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
30
+
31
+ var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js')
32
+
33
+ var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
34
+
35
+ var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js')
36
+
37
+ var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
38
+ const proto = {};
39
+ proto.ondewo = {};
40
+ proto.ondewo.nlu = require('./rag_pb.js');
41
+
42
+ /**
43
+ * @param {string} hostname
44
+ * @param {?Object} credentials
45
+ * @param {?grpc.web.ClientOptions} options
46
+ * @constructor
47
+ * @struct
48
+ * @final
49
+ */
50
+ proto.ondewo.nlu.RagsClient =
51
+ function(hostname, credentials, options) {
52
+ if (!options) options = {};
53
+ options.format = 'binary';
54
+
55
+ /**
56
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
57
+ */
58
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
59
+
60
+ /**
61
+ * @private @const {string} The hostname
62
+ */
63
+ this.hostname_ = hostname.replace(/\/+$/, '');
64
+
65
+ };
66
+
67
+
68
+ /**
69
+ * @param {string} hostname
70
+ * @param {?Object} credentials
71
+ * @param {?grpc.web.ClientOptions} options
72
+ * @constructor
73
+ * @struct
74
+ * @final
75
+ */
76
+ proto.ondewo.nlu.RagsPromiseClient =
77
+ function(hostname, credentials, options) {
78
+ if (!options) options = {};
79
+ options.format = 'binary';
80
+
81
+ /**
82
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
83
+ */
84
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
85
+
86
+ /**
87
+ * @private @const {string} The hostname
88
+ */
89
+ this.hostname_ = hostname.replace(/\/+$/, '');
90
+
91
+ };
92
+
93
+
94
+ /**
95
+ * @const
96
+ * @type {!grpc.web.MethodDescriptor<
97
+ * !proto.ondewo.nlu.RagCreateDatasetRequest,
98
+ * !proto.ondewo.nlu.RagDataset>}
99
+ */
100
+ const methodDescriptor_Rags_RagCreateDataset = new grpc.web.MethodDescriptor(
101
+ '/ondewo.nlu.Rags/RagCreateDataset',
102
+ grpc.web.MethodType.UNARY,
103
+ proto.ondewo.nlu.RagCreateDatasetRequest,
104
+ proto.ondewo.nlu.RagDataset,
105
+ /**
106
+ * @param {!proto.ondewo.nlu.RagCreateDatasetRequest} request
107
+ * @return {!Uint8Array}
108
+ */
109
+ function(request) {
110
+ return request.serializeBinary();
111
+ },
112
+ proto.ondewo.nlu.RagDataset.deserializeBinary
113
+ );
114
+
115
+
116
+ /**
117
+ * @param {!proto.ondewo.nlu.RagCreateDatasetRequest} request The
118
+ * request proto
119
+ * @param {?Object<string, string>} metadata User defined
120
+ * call metadata
121
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDataset)}
122
+ * callback The callback function(error, response)
123
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDataset>|undefined}
124
+ * The XHR Node Readable Stream
125
+ */
126
+ proto.ondewo.nlu.RagsClient.prototype.ragCreateDataset =
127
+ function(request, metadata, callback) {
128
+ return this.client_.rpcCall(this.hostname_ +
129
+ '/ondewo.nlu.Rags/RagCreateDataset',
130
+ request,
131
+ metadata || {},
132
+ methodDescriptor_Rags_RagCreateDataset,
133
+ callback);
134
+ };
135
+
136
+
137
+ /**
138
+ * @param {!proto.ondewo.nlu.RagCreateDatasetRequest} request The
139
+ * request proto
140
+ * @param {?Object<string, string>=} metadata User defined
141
+ * call metadata
142
+ * @return {!Promise<!proto.ondewo.nlu.RagDataset>}
143
+ * Promise that resolves to the response
144
+ */
145
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragCreateDataset =
146
+ function(request, metadata) {
147
+ return this.client_.unaryCall(this.hostname_ +
148
+ '/ondewo.nlu.Rags/RagCreateDataset',
149
+ request,
150
+ metadata || {},
151
+ methodDescriptor_Rags_RagCreateDataset);
152
+ };
153
+
154
+
155
+ /**
156
+ * @const
157
+ * @type {!grpc.web.MethodDescriptor<
158
+ * !proto.ondewo.nlu.RagUpdateDatasetRequest,
159
+ * !proto.ondewo.nlu.RagDataset>}
160
+ */
161
+ const methodDescriptor_Rags_RagUpdateDataset = new grpc.web.MethodDescriptor(
162
+ '/ondewo.nlu.Rags/RagUpdateDataset',
163
+ grpc.web.MethodType.UNARY,
164
+ proto.ondewo.nlu.RagUpdateDatasetRequest,
165
+ proto.ondewo.nlu.RagDataset,
166
+ /**
167
+ * @param {!proto.ondewo.nlu.RagUpdateDatasetRequest} request
168
+ * @return {!Uint8Array}
169
+ */
170
+ function(request) {
171
+ return request.serializeBinary();
172
+ },
173
+ proto.ondewo.nlu.RagDataset.deserializeBinary
174
+ );
175
+
176
+
177
+ /**
178
+ * @param {!proto.ondewo.nlu.RagUpdateDatasetRequest} request The
179
+ * request proto
180
+ * @param {?Object<string, string>} metadata User defined
181
+ * call metadata
182
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDataset)}
183
+ * callback The callback function(error, response)
184
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDataset>|undefined}
185
+ * The XHR Node Readable Stream
186
+ */
187
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateDataset =
188
+ function(request, metadata, callback) {
189
+ return this.client_.rpcCall(this.hostname_ +
190
+ '/ondewo.nlu.Rags/RagUpdateDataset',
191
+ request,
192
+ metadata || {},
193
+ methodDescriptor_Rags_RagUpdateDataset,
194
+ callback);
195
+ };
196
+
197
+
198
+ /**
199
+ * @param {!proto.ondewo.nlu.RagUpdateDatasetRequest} request The
200
+ * request proto
201
+ * @param {?Object<string, string>=} metadata User defined
202
+ * call metadata
203
+ * @return {!Promise<!proto.ondewo.nlu.RagDataset>}
204
+ * Promise that resolves to the response
205
+ */
206
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateDataset =
207
+ function(request, metadata) {
208
+ return this.client_.unaryCall(this.hostname_ +
209
+ '/ondewo.nlu.Rags/RagUpdateDataset',
210
+ request,
211
+ metadata || {},
212
+ methodDescriptor_Rags_RagUpdateDataset);
213
+ };
214
+
215
+
216
+ /**
217
+ * @const
218
+ * @type {!grpc.web.MethodDescriptor<
219
+ * !proto.ondewo.nlu.RagDeleteRequest,
220
+ * !proto.ondewo.nlu.RagPartialSuccess>}
221
+ */
222
+ const methodDescriptor_Rags_RagDeleteDatasets = new grpc.web.MethodDescriptor(
223
+ '/ondewo.nlu.Rags/RagDeleteDatasets',
224
+ grpc.web.MethodType.UNARY,
225
+ proto.ondewo.nlu.RagDeleteRequest,
226
+ proto.ondewo.nlu.RagPartialSuccess,
227
+ /**
228
+ * @param {!proto.ondewo.nlu.RagDeleteRequest} request
229
+ * @return {!Uint8Array}
230
+ */
231
+ function(request) {
232
+ return request.serializeBinary();
233
+ },
234
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
235
+ );
236
+
237
+
238
+ /**
239
+ * @param {!proto.ondewo.nlu.RagDeleteRequest} request The
240
+ * request proto
241
+ * @param {?Object<string, string>} metadata User defined
242
+ * call metadata
243
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
244
+ * callback The callback function(error, response)
245
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
246
+ * The XHR Node Readable Stream
247
+ */
248
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteDatasets =
249
+ function(request, metadata, callback) {
250
+ return this.client_.rpcCall(this.hostname_ +
251
+ '/ondewo.nlu.Rags/RagDeleteDatasets',
252
+ request,
253
+ metadata || {},
254
+ methodDescriptor_Rags_RagDeleteDatasets,
255
+ callback);
256
+ };
257
+
258
+
259
+ /**
260
+ * @param {!proto.ondewo.nlu.RagDeleteRequest} request The
261
+ * request proto
262
+ * @param {?Object<string, string>=} metadata User defined
263
+ * call metadata
264
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
265
+ * Promise that resolves to the response
266
+ */
267
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteDatasets =
268
+ function(request, metadata) {
269
+ return this.client_.unaryCall(this.hostname_ +
270
+ '/ondewo.nlu.Rags/RagDeleteDatasets',
271
+ request,
272
+ metadata || {},
273
+ methodDescriptor_Rags_RagDeleteDatasets);
274
+ };
275
+
276
+
277
+ /**
278
+ * @const
279
+ * @type {!grpc.web.MethodDescriptor<
280
+ * !proto.ondewo.nlu.RagListDatasetsRequest,
281
+ * !proto.ondewo.nlu.RagDatasetList>}
282
+ */
283
+ const methodDescriptor_Rags_RagListDatasets = new grpc.web.MethodDescriptor(
284
+ '/ondewo.nlu.Rags/RagListDatasets',
285
+ grpc.web.MethodType.UNARY,
286
+ proto.ondewo.nlu.RagListDatasetsRequest,
287
+ proto.ondewo.nlu.RagDatasetList,
288
+ /**
289
+ * @param {!proto.ondewo.nlu.RagListDatasetsRequest} request
290
+ * @return {!Uint8Array}
291
+ */
292
+ function(request) {
293
+ return request.serializeBinary();
294
+ },
295
+ proto.ondewo.nlu.RagDatasetList.deserializeBinary
296
+ );
297
+
298
+
299
+ /**
300
+ * @param {!proto.ondewo.nlu.RagListDatasetsRequest} request The
301
+ * request proto
302
+ * @param {?Object<string, string>} metadata User defined
303
+ * call metadata
304
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDatasetList)}
305
+ * callback The callback function(error, response)
306
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDatasetList>|undefined}
307
+ * The XHR Node Readable Stream
308
+ */
309
+ proto.ondewo.nlu.RagsClient.prototype.ragListDatasets =
310
+ function(request, metadata, callback) {
311
+ return this.client_.rpcCall(this.hostname_ +
312
+ '/ondewo.nlu.Rags/RagListDatasets',
313
+ request,
314
+ metadata || {},
315
+ methodDescriptor_Rags_RagListDatasets,
316
+ callback);
317
+ };
318
+
319
+
320
+ /**
321
+ * @param {!proto.ondewo.nlu.RagListDatasetsRequest} request The
322
+ * request proto
323
+ * @param {?Object<string, string>=} metadata User defined
324
+ * call metadata
325
+ * @return {!Promise<!proto.ondewo.nlu.RagDatasetList>}
326
+ * Promise that resolves to the response
327
+ */
328
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListDatasets =
329
+ function(request, metadata) {
330
+ return this.client_.unaryCall(this.hostname_ +
331
+ '/ondewo.nlu.Rags/RagListDatasets',
332
+ request,
333
+ metadata || {},
334
+ methodDescriptor_Rags_RagListDatasets);
335
+ };
336
+
337
+
338
+ /**
339
+ * @const
340
+ * @type {!grpc.web.MethodDescriptor<
341
+ * !proto.ondewo.nlu.RagUpdateDocumentRequest,
342
+ * !proto.ondewo.nlu.RagDocument>}
343
+ */
344
+ const methodDescriptor_Rags_RagUpdateDocument = new grpc.web.MethodDescriptor(
345
+ '/ondewo.nlu.Rags/RagUpdateDocument',
346
+ grpc.web.MethodType.UNARY,
347
+ proto.ondewo.nlu.RagUpdateDocumentRequest,
348
+ proto.ondewo.nlu.RagDocument,
349
+ /**
350
+ * @param {!proto.ondewo.nlu.RagUpdateDocumentRequest} request
351
+ * @return {!Uint8Array}
352
+ */
353
+ function(request) {
354
+ return request.serializeBinary();
355
+ },
356
+ proto.ondewo.nlu.RagDocument.deserializeBinary
357
+ );
358
+
359
+
360
+ /**
361
+ * @param {!proto.ondewo.nlu.RagUpdateDocumentRequest} request The
362
+ * request proto
363
+ * @param {?Object<string, string>} metadata User defined
364
+ * call metadata
365
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDocument)}
366
+ * callback The callback function(error, response)
367
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDocument>|undefined}
368
+ * The XHR Node Readable Stream
369
+ */
370
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateDocument =
371
+ function(request, metadata, callback) {
372
+ return this.client_.rpcCall(this.hostname_ +
373
+ '/ondewo.nlu.Rags/RagUpdateDocument',
374
+ request,
375
+ metadata || {},
376
+ methodDescriptor_Rags_RagUpdateDocument,
377
+ callback);
378
+ };
379
+
380
+
381
+ /**
382
+ * @param {!proto.ondewo.nlu.RagUpdateDocumentRequest} request The
383
+ * request proto
384
+ * @param {?Object<string, string>=} metadata User defined
385
+ * call metadata
386
+ * @return {!Promise<!proto.ondewo.nlu.RagDocument>}
387
+ * Promise that resolves to the response
388
+ */
389
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateDocument =
390
+ function(request, metadata) {
391
+ return this.client_.unaryCall(this.hostname_ +
392
+ '/ondewo.nlu.Rags/RagUpdateDocument',
393
+ request,
394
+ metadata || {},
395
+ methodDescriptor_Rags_RagUpdateDocument);
396
+ };
397
+
398
+
399
+ /**
400
+ * @const
401
+ * @type {!grpc.web.MethodDescriptor<
402
+ * !proto.ondewo.nlu.RagDownloadDocumentRequest,
403
+ * !proto.ondewo.nlu.RagFileChunk>}
404
+ */
405
+ const methodDescriptor_Rags_RagDownloadDocument = new grpc.web.MethodDescriptor(
406
+ '/ondewo.nlu.Rags/RagDownloadDocument',
407
+ grpc.web.MethodType.SERVER_STREAMING,
408
+ proto.ondewo.nlu.RagDownloadDocumentRequest,
409
+ proto.ondewo.nlu.RagFileChunk,
410
+ /**
411
+ * @param {!proto.ondewo.nlu.RagDownloadDocumentRequest} request
412
+ * @return {!Uint8Array}
413
+ */
414
+ function(request) {
415
+ return request.serializeBinary();
416
+ },
417
+ proto.ondewo.nlu.RagFileChunk.deserializeBinary
418
+ );
419
+
420
+
421
+ /**
422
+ * @param {!proto.ondewo.nlu.RagDownloadDocumentRequest} request The request proto
423
+ * @param {?Object<string, string>=} metadata User defined
424
+ * call metadata
425
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagFileChunk>}
426
+ * The XHR Node Readable Stream
427
+ */
428
+ proto.ondewo.nlu.RagsClient.prototype.ragDownloadDocument =
429
+ function(request, metadata) {
430
+ return this.client_.serverStreaming(this.hostname_ +
431
+ '/ondewo.nlu.Rags/RagDownloadDocument',
432
+ request,
433
+ metadata || {},
434
+ methodDescriptor_Rags_RagDownloadDocument);
435
+ };
436
+
437
+
438
+ /**
439
+ * @param {!proto.ondewo.nlu.RagDownloadDocumentRequest} request The request proto
440
+ * @param {?Object<string, string>=} metadata User defined
441
+ * call metadata
442
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagFileChunk>}
443
+ * The XHR Node Readable Stream
444
+ */
445
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDownloadDocument =
446
+ function(request, metadata) {
447
+ return this.client_.serverStreaming(this.hostname_ +
448
+ '/ondewo.nlu.Rags/RagDownloadDocument',
449
+ request,
450
+ metadata || {},
451
+ methodDescriptor_Rags_RagDownloadDocument);
452
+ };
453
+
454
+
455
+ /**
456
+ * @const
457
+ * @type {!grpc.web.MethodDescriptor<
458
+ * !proto.ondewo.nlu.RagListDocumentsRequest,
459
+ * !proto.ondewo.nlu.RagDocumentList>}
460
+ */
461
+ const methodDescriptor_Rags_RagListDocuments = new grpc.web.MethodDescriptor(
462
+ '/ondewo.nlu.Rags/RagListDocuments',
463
+ grpc.web.MethodType.UNARY,
464
+ proto.ondewo.nlu.RagListDocumentsRequest,
465
+ proto.ondewo.nlu.RagDocumentList,
466
+ /**
467
+ * @param {!proto.ondewo.nlu.RagListDocumentsRequest} request
468
+ * @return {!Uint8Array}
469
+ */
470
+ function(request) {
471
+ return request.serializeBinary();
472
+ },
473
+ proto.ondewo.nlu.RagDocumentList.deserializeBinary
474
+ );
475
+
476
+
477
+ /**
478
+ * @param {!proto.ondewo.nlu.RagListDocumentsRequest} request The
479
+ * request proto
480
+ * @param {?Object<string, string>} metadata User defined
481
+ * call metadata
482
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDocumentList)}
483
+ * callback The callback function(error, response)
484
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDocumentList>|undefined}
485
+ * The XHR Node Readable Stream
486
+ */
487
+ proto.ondewo.nlu.RagsClient.prototype.ragListDocuments =
488
+ function(request, metadata, callback) {
489
+ return this.client_.rpcCall(this.hostname_ +
490
+ '/ondewo.nlu.Rags/RagListDocuments',
491
+ request,
492
+ metadata || {},
493
+ methodDescriptor_Rags_RagListDocuments,
494
+ callback);
495
+ };
496
+
497
+
498
+ /**
499
+ * @param {!proto.ondewo.nlu.RagListDocumentsRequest} request The
500
+ * request proto
501
+ * @param {?Object<string, string>=} metadata User defined
502
+ * call metadata
503
+ * @return {!Promise<!proto.ondewo.nlu.RagDocumentList>}
504
+ * Promise that resolves to the response
505
+ */
506
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListDocuments =
507
+ function(request, metadata) {
508
+ return this.client_.unaryCall(this.hostname_ +
509
+ '/ondewo.nlu.Rags/RagListDocuments',
510
+ request,
511
+ metadata || {},
512
+ methodDescriptor_Rags_RagListDocuments);
513
+ };
514
+
515
+
516
+ /**
517
+ * @const
518
+ * @type {!grpc.web.MethodDescriptor<
519
+ * !proto.ondewo.nlu.RagDeleteDocumentsRequest,
520
+ * !proto.ondewo.nlu.RagPartialSuccess>}
521
+ */
522
+ const methodDescriptor_Rags_RagDeleteDocuments = new grpc.web.MethodDescriptor(
523
+ '/ondewo.nlu.Rags/RagDeleteDocuments',
524
+ grpc.web.MethodType.UNARY,
525
+ proto.ondewo.nlu.RagDeleteDocumentsRequest,
526
+ proto.ondewo.nlu.RagPartialSuccess,
527
+ /**
528
+ * @param {!proto.ondewo.nlu.RagDeleteDocumentsRequest} request
529
+ * @return {!Uint8Array}
530
+ */
531
+ function(request) {
532
+ return request.serializeBinary();
533
+ },
534
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
535
+ );
536
+
537
+
538
+ /**
539
+ * @param {!proto.ondewo.nlu.RagDeleteDocumentsRequest} request The
540
+ * request proto
541
+ * @param {?Object<string, string>} metadata User defined
542
+ * call metadata
543
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
544
+ * callback The callback function(error, response)
545
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
546
+ * The XHR Node Readable Stream
547
+ */
548
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteDocuments =
549
+ function(request, metadata, callback) {
550
+ return this.client_.rpcCall(this.hostname_ +
551
+ '/ondewo.nlu.Rags/RagDeleteDocuments',
552
+ request,
553
+ metadata || {},
554
+ methodDescriptor_Rags_RagDeleteDocuments,
555
+ callback);
556
+ };
557
+
558
+
559
+ /**
560
+ * @param {!proto.ondewo.nlu.RagDeleteDocumentsRequest} request The
561
+ * request proto
562
+ * @param {?Object<string, string>=} metadata User defined
563
+ * call metadata
564
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
565
+ * Promise that resolves to the response
566
+ */
567
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteDocuments =
568
+ function(request, metadata) {
569
+ return this.client_.unaryCall(this.hostname_ +
570
+ '/ondewo.nlu.Rags/RagDeleteDocuments',
571
+ request,
572
+ metadata || {},
573
+ methodDescriptor_Rags_RagDeleteDocuments);
574
+ };
575
+
576
+
577
+ /**
578
+ * @const
579
+ * @type {!grpc.web.MethodDescriptor<
580
+ * !proto.ondewo.nlu.RagRetrievalRequest,
581
+ * !proto.ondewo.nlu.RagRetrievalResponse>}
582
+ */
583
+ const methodDescriptor_Rags_RagRetrieval = new grpc.web.MethodDescriptor(
584
+ '/ondewo.nlu.Rags/RagRetrieval',
585
+ grpc.web.MethodType.UNARY,
586
+ proto.ondewo.nlu.RagRetrievalRequest,
587
+ proto.ondewo.nlu.RagRetrievalResponse,
588
+ /**
589
+ * @param {!proto.ondewo.nlu.RagRetrievalRequest} request
590
+ * @return {!Uint8Array}
591
+ */
592
+ function(request) {
593
+ return request.serializeBinary();
594
+ },
595
+ proto.ondewo.nlu.RagRetrievalResponse.deserializeBinary
596
+ );
597
+
598
+
599
+ /**
600
+ * @param {!proto.ondewo.nlu.RagRetrievalRequest} request The
601
+ * request proto
602
+ * @param {?Object<string, string>} metadata User defined
603
+ * call metadata
604
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagRetrievalResponse)}
605
+ * callback The callback function(error, response)
606
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagRetrievalResponse>|undefined}
607
+ * The XHR Node Readable Stream
608
+ */
609
+ proto.ondewo.nlu.RagsClient.prototype.ragRetrieval =
610
+ function(request, metadata, callback) {
611
+ return this.client_.rpcCall(this.hostname_ +
612
+ '/ondewo.nlu.Rags/RagRetrieval',
613
+ request,
614
+ metadata || {},
615
+ methodDescriptor_Rags_RagRetrieval,
616
+ callback);
617
+ };
618
+
619
+
620
+ /**
621
+ * @param {!proto.ondewo.nlu.RagRetrievalRequest} request The
622
+ * request proto
623
+ * @param {?Object<string, string>=} metadata User defined
624
+ * call metadata
625
+ * @return {!Promise<!proto.ondewo.nlu.RagRetrievalResponse>}
626
+ * Promise that resolves to the response
627
+ */
628
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragRetrieval =
629
+ function(request, metadata) {
630
+ return this.client_.unaryCall(this.hostname_ +
631
+ '/ondewo.nlu.Rags/RagRetrieval',
632
+ request,
633
+ metadata || {},
634
+ methodDescriptor_Rags_RagRetrieval);
635
+ };
636
+
637
+
638
+ /**
639
+ * @const
640
+ * @type {!grpc.web.MethodDescriptor<
641
+ * !proto.ondewo.nlu.RagDatasetIdRequest,
642
+ * !proto.ondewo.nlu.RagGetKnowledgeGraphResponse>}
643
+ */
644
+ const methodDescriptor_Rags_RagGetKnowledgeGraph = new grpc.web.MethodDescriptor(
645
+ '/ondewo.nlu.Rags/RagGetKnowledgeGraph',
646
+ grpc.web.MethodType.UNARY,
647
+ proto.ondewo.nlu.RagDatasetIdRequest,
648
+ proto.ondewo.nlu.RagGetKnowledgeGraphResponse,
649
+ /**
650
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request
651
+ * @return {!Uint8Array}
652
+ */
653
+ function(request) {
654
+ return request.serializeBinary();
655
+ },
656
+ proto.ondewo.nlu.RagGetKnowledgeGraphResponse.deserializeBinary
657
+ );
658
+
659
+
660
+ /**
661
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
662
+ * request proto
663
+ * @param {?Object<string, string>} metadata User defined
664
+ * call metadata
665
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagGetKnowledgeGraphResponse)}
666
+ * callback The callback function(error, response)
667
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagGetKnowledgeGraphResponse>|undefined}
668
+ * The XHR Node Readable Stream
669
+ */
670
+ proto.ondewo.nlu.RagsClient.prototype.ragGetKnowledgeGraph =
671
+ function(request, metadata, callback) {
672
+ return this.client_.rpcCall(this.hostname_ +
673
+ '/ondewo.nlu.Rags/RagGetKnowledgeGraph',
674
+ request,
675
+ metadata || {},
676
+ methodDescriptor_Rags_RagGetKnowledgeGraph,
677
+ callback);
678
+ };
679
+
680
+
681
+ /**
682
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
683
+ * request proto
684
+ * @param {?Object<string, string>=} metadata User defined
685
+ * call metadata
686
+ * @return {!Promise<!proto.ondewo.nlu.RagGetKnowledgeGraphResponse>}
687
+ * Promise that resolves to the response
688
+ */
689
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragGetKnowledgeGraph =
690
+ function(request, metadata) {
691
+ return this.client_.unaryCall(this.hostname_ +
692
+ '/ondewo.nlu.Rags/RagGetKnowledgeGraph',
693
+ request,
694
+ metadata || {},
695
+ methodDescriptor_Rags_RagGetKnowledgeGraph);
696
+ };
697
+
698
+
699
+ /**
700
+ * @const
701
+ * @type {!grpc.web.MethodDescriptor<
702
+ * !proto.ondewo.nlu.RagDatasetIdRequest,
703
+ * !proto.google.protobuf.Empty>}
704
+ */
705
+ const methodDescriptor_Rags_RagDeleteKnowledgeGraph = new grpc.web.MethodDescriptor(
706
+ '/ondewo.nlu.Rags/RagDeleteKnowledgeGraph',
707
+ grpc.web.MethodType.UNARY,
708
+ proto.ondewo.nlu.RagDatasetIdRequest,
709
+ google_protobuf_empty_pb.Empty,
710
+ /**
711
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request
712
+ * @return {!Uint8Array}
713
+ */
714
+ function(request) {
715
+ return request.serializeBinary();
716
+ },
717
+ google_protobuf_empty_pb.Empty.deserializeBinary
718
+ );
719
+
720
+
721
+ /**
722
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
723
+ * request proto
724
+ * @param {?Object<string, string>} metadata User defined
725
+ * call metadata
726
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
727
+ * callback The callback function(error, response)
728
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
729
+ * The XHR Node Readable Stream
730
+ */
731
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteKnowledgeGraph =
732
+ function(request, metadata, callback) {
733
+ return this.client_.rpcCall(this.hostname_ +
734
+ '/ondewo.nlu.Rags/RagDeleteKnowledgeGraph',
735
+ request,
736
+ metadata || {},
737
+ methodDescriptor_Rags_RagDeleteKnowledgeGraph,
738
+ callback);
739
+ };
740
+
741
+
742
+ /**
743
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
744
+ * request proto
745
+ * @param {?Object<string, string>=} metadata User defined
746
+ * call metadata
747
+ * @return {!Promise<!proto.google.protobuf.Empty>}
748
+ * Promise that resolves to the response
749
+ */
750
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteKnowledgeGraph =
751
+ function(request, metadata) {
752
+ return this.client_.unaryCall(this.hostname_ +
753
+ '/ondewo.nlu.Rags/RagDeleteKnowledgeGraph',
754
+ request,
755
+ metadata || {},
756
+ methodDescriptor_Rags_RagDeleteKnowledgeGraph);
757
+ };
758
+
759
+
760
+ /**
761
+ * @const
762
+ * @type {!grpc.web.MethodDescriptor<
763
+ * !proto.ondewo.nlu.RagDatasetIdRequest,
764
+ * !proto.ondewo.nlu.RagConstructKnowledgeGraphResponse>}
765
+ */
766
+ const methodDescriptor_Rags_RagConstructKnowledgeGraph = new grpc.web.MethodDescriptor(
767
+ '/ondewo.nlu.Rags/RagConstructKnowledgeGraph',
768
+ grpc.web.MethodType.UNARY,
769
+ proto.ondewo.nlu.RagDatasetIdRequest,
770
+ proto.ondewo.nlu.RagConstructKnowledgeGraphResponse,
771
+ /**
772
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request
773
+ * @return {!Uint8Array}
774
+ */
775
+ function(request) {
776
+ return request.serializeBinary();
777
+ },
778
+ proto.ondewo.nlu.RagConstructKnowledgeGraphResponse.deserializeBinary
779
+ );
780
+
781
+
782
+ /**
783
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
784
+ * request proto
785
+ * @param {?Object<string, string>} metadata User defined
786
+ * call metadata
787
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagConstructKnowledgeGraphResponse)}
788
+ * callback The callback function(error, response)
789
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagConstructKnowledgeGraphResponse>|undefined}
790
+ * The XHR Node Readable Stream
791
+ */
792
+ proto.ondewo.nlu.RagsClient.prototype.ragConstructKnowledgeGraph =
793
+ function(request, metadata, callback) {
794
+ return this.client_.rpcCall(this.hostname_ +
795
+ '/ondewo.nlu.Rags/RagConstructKnowledgeGraph',
796
+ request,
797
+ metadata || {},
798
+ methodDescriptor_Rags_RagConstructKnowledgeGraph,
799
+ callback);
800
+ };
801
+
802
+
803
+ /**
804
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
805
+ * request proto
806
+ * @param {?Object<string, string>=} metadata User defined
807
+ * call metadata
808
+ * @return {!Promise<!proto.ondewo.nlu.RagConstructKnowledgeGraphResponse>}
809
+ * Promise that resolves to the response
810
+ */
811
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragConstructKnowledgeGraph =
812
+ function(request, metadata) {
813
+ return this.client_.unaryCall(this.hostname_ +
814
+ '/ondewo.nlu.Rags/RagConstructKnowledgeGraph',
815
+ request,
816
+ metadata || {},
817
+ methodDescriptor_Rags_RagConstructKnowledgeGraph);
818
+ };
819
+
820
+
821
+ /**
822
+ * @const
823
+ * @type {!grpc.web.MethodDescriptor<
824
+ * !proto.ondewo.nlu.RagDatasetIdRequest,
825
+ * !proto.ondewo.nlu.RagTaskStatus>}
826
+ */
827
+ const methodDescriptor_Rags_RagKnowledgeGraphStatus = new grpc.web.MethodDescriptor(
828
+ '/ondewo.nlu.Rags/RagKnowledgeGraphStatus',
829
+ grpc.web.MethodType.UNARY,
830
+ proto.ondewo.nlu.RagDatasetIdRequest,
831
+ proto.ondewo.nlu.RagTaskStatus,
832
+ /**
833
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request
834
+ * @return {!Uint8Array}
835
+ */
836
+ function(request) {
837
+ return request.serializeBinary();
838
+ },
839
+ proto.ondewo.nlu.RagTaskStatus.deserializeBinary
840
+ );
841
+
842
+
843
+ /**
844
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
845
+ * request proto
846
+ * @param {?Object<string, string>} metadata User defined
847
+ * call metadata
848
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagTaskStatus)}
849
+ * callback The callback function(error, response)
850
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagTaskStatus>|undefined}
851
+ * The XHR Node Readable Stream
852
+ */
853
+ proto.ondewo.nlu.RagsClient.prototype.ragKnowledgeGraphStatus =
854
+ function(request, metadata, callback) {
855
+ return this.client_.rpcCall(this.hostname_ +
856
+ '/ondewo.nlu.Rags/RagKnowledgeGraphStatus',
857
+ request,
858
+ metadata || {},
859
+ methodDescriptor_Rags_RagKnowledgeGraphStatus,
860
+ callback);
861
+ };
862
+
863
+
864
+ /**
865
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
866
+ * request proto
867
+ * @param {?Object<string, string>=} metadata User defined
868
+ * call metadata
869
+ * @return {!Promise<!proto.ondewo.nlu.RagTaskStatus>}
870
+ * Promise that resolves to the response
871
+ */
872
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragKnowledgeGraphStatus =
873
+ function(request, metadata) {
874
+ return this.client_.unaryCall(this.hostname_ +
875
+ '/ondewo.nlu.Rags/RagKnowledgeGraphStatus',
876
+ request,
877
+ metadata || {},
878
+ methodDescriptor_Rags_RagKnowledgeGraphStatus);
879
+ };
880
+
881
+
882
+ /**
883
+ * @const
884
+ * @type {!grpc.web.MethodDescriptor<
885
+ * !proto.ondewo.nlu.RagDatasetIdRequest,
886
+ * !proto.ondewo.nlu.RagConstructRaptorResponse>}
887
+ */
888
+ const methodDescriptor_Rags_RagConstructRaptor = new grpc.web.MethodDescriptor(
889
+ '/ondewo.nlu.Rags/RagConstructRaptor',
890
+ grpc.web.MethodType.UNARY,
891
+ proto.ondewo.nlu.RagDatasetIdRequest,
892
+ proto.ondewo.nlu.RagConstructRaptorResponse,
893
+ /**
894
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request
895
+ * @return {!Uint8Array}
896
+ */
897
+ function(request) {
898
+ return request.serializeBinary();
899
+ },
900
+ proto.ondewo.nlu.RagConstructRaptorResponse.deserializeBinary
901
+ );
902
+
903
+
904
+ /**
905
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
906
+ * request proto
907
+ * @param {?Object<string, string>} metadata User defined
908
+ * call metadata
909
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagConstructRaptorResponse)}
910
+ * callback The callback function(error, response)
911
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagConstructRaptorResponse>|undefined}
912
+ * The XHR Node Readable Stream
913
+ */
914
+ proto.ondewo.nlu.RagsClient.prototype.ragConstructRaptor =
915
+ function(request, metadata, callback) {
916
+ return this.client_.rpcCall(this.hostname_ +
917
+ '/ondewo.nlu.Rags/RagConstructRaptor',
918
+ request,
919
+ metadata || {},
920
+ methodDescriptor_Rags_RagConstructRaptor,
921
+ callback);
922
+ };
923
+
924
+
925
+ /**
926
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
927
+ * request proto
928
+ * @param {?Object<string, string>=} metadata User defined
929
+ * call metadata
930
+ * @return {!Promise<!proto.ondewo.nlu.RagConstructRaptorResponse>}
931
+ * Promise that resolves to the response
932
+ */
933
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragConstructRaptor =
934
+ function(request, metadata) {
935
+ return this.client_.unaryCall(this.hostname_ +
936
+ '/ondewo.nlu.Rags/RagConstructRaptor',
937
+ request,
938
+ metadata || {},
939
+ methodDescriptor_Rags_RagConstructRaptor);
940
+ };
941
+
942
+
943
+ /**
944
+ * @const
945
+ * @type {!grpc.web.MethodDescriptor<
946
+ * !proto.ondewo.nlu.RagDatasetIdRequest,
947
+ * !proto.ondewo.nlu.RagTaskStatus>}
948
+ */
949
+ const methodDescriptor_Rags_RagRaptorStatus = new grpc.web.MethodDescriptor(
950
+ '/ondewo.nlu.Rags/RagRaptorStatus',
951
+ grpc.web.MethodType.UNARY,
952
+ proto.ondewo.nlu.RagDatasetIdRequest,
953
+ proto.ondewo.nlu.RagTaskStatus,
954
+ /**
955
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request
956
+ * @return {!Uint8Array}
957
+ */
958
+ function(request) {
959
+ return request.serializeBinary();
960
+ },
961
+ proto.ondewo.nlu.RagTaskStatus.deserializeBinary
962
+ );
963
+
964
+
965
+ /**
966
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
967
+ * request proto
968
+ * @param {?Object<string, string>} metadata User defined
969
+ * call metadata
970
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagTaskStatus)}
971
+ * callback The callback function(error, response)
972
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagTaskStatus>|undefined}
973
+ * The XHR Node Readable Stream
974
+ */
975
+ proto.ondewo.nlu.RagsClient.prototype.ragRaptorStatus =
976
+ function(request, metadata, callback) {
977
+ return this.client_.rpcCall(this.hostname_ +
978
+ '/ondewo.nlu.Rags/RagRaptorStatus',
979
+ request,
980
+ metadata || {},
981
+ methodDescriptor_Rags_RagRaptorStatus,
982
+ callback);
983
+ };
984
+
985
+
986
+ /**
987
+ * @param {!proto.ondewo.nlu.RagDatasetIdRequest} request The
988
+ * request proto
989
+ * @param {?Object<string, string>=} metadata User defined
990
+ * call metadata
991
+ * @return {!Promise<!proto.ondewo.nlu.RagTaskStatus>}
992
+ * Promise that resolves to the response
993
+ */
994
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragRaptorStatus =
995
+ function(request, metadata) {
996
+ return this.client_.unaryCall(this.hostname_ +
997
+ '/ondewo.nlu.Rags/RagRaptorStatus',
998
+ request,
999
+ metadata || {},
1000
+ methodDescriptor_Rags_RagRaptorStatus);
1001
+ };
1002
+
1003
+
1004
+ /**
1005
+ * @const
1006
+ * @type {!grpc.web.MethodDescriptor<
1007
+ * !proto.ondewo.nlu.RagParseDocumentsRequest,
1008
+ * !proto.ondewo.nlu.RagPartialSuccess>}
1009
+ */
1010
+ const methodDescriptor_Rags_RagParseDocuments = new grpc.web.MethodDescriptor(
1011
+ '/ondewo.nlu.Rags/RagParseDocuments',
1012
+ grpc.web.MethodType.UNARY,
1013
+ proto.ondewo.nlu.RagParseDocumentsRequest,
1014
+ proto.ondewo.nlu.RagPartialSuccess,
1015
+ /**
1016
+ * @param {!proto.ondewo.nlu.RagParseDocumentsRequest} request
1017
+ * @return {!Uint8Array}
1018
+ */
1019
+ function(request) {
1020
+ return request.serializeBinary();
1021
+ },
1022
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
1023
+ );
1024
+
1025
+
1026
+ /**
1027
+ * @param {!proto.ondewo.nlu.RagParseDocumentsRequest} request The
1028
+ * request proto
1029
+ * @param {?Object<string, string>} metadata User defined
1030
+ * call metadata
1031
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
1032
+ * callback The callback function(error, response)
1033
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
1034
+ * The XHR Node Readable Stream
1035
+ */
1036
+ proto.ondewo.nlu.RagsClient.prototype.ragParseDocuments =
1037
+ function(request, metadata, callback) {
1038
+ return this.client_.rpcCall(this.hostname_ +
1039
+ '/ondewo.nlu.Rags/RagParseDocuments',
1040
+ request,
1041
+ metadata || {},
1042
+ methodDescriptor_Rags_RagParseDocuments,
1043
+ callback);
1044
+ };
1045
+
1046
+
1047
+ /**
1048
+ * @param {!proto.ondewo.nlu.RagParseDocumentsRequest} request The
1049
+ * request proto
1050
+ * @param {?Object<string, string>=} metadata User defined
1051
+ * call metadata
1052
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
1053
+ * Promise that resolves to the response
1054
+ */
1055
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragParseDocuments =
1056
+ function(request, metadata) {
1057
+ return this.client_.unaryCall(this.hostname_ +
1058
+ '/ondewo.nlu.Rags/RagParseDocuments',
1059
+ request,
1060
+ metadata || {},
1061
+ methodDescriptor_Rags_RagParseDocuments);
1062
+ };
1063
+
1064
+
1065
+ /**
1066
+ * @const
1067
+ * @type {!grpc.web.MethodDescriptor<
1068
+ * !proto.ondewo.nlu.RagStopParsingRequest,
1069
+ * !proto.ondewo.nlu.RagPartialSuccess>}
1070
+ */
1071
+ const methodDescriptor_Rags_RagStopParsing = new grpc.web.MethodDescriptor(
1072
+ '/ondewo.nlu.Rags/RagStopParsing',
1073
+ grpc.web.MethodType.UNARY,
1074
+ proto.ondewo.nlu.RagStopParsingRequest,
1075
+ proto.ondewo.nlu.RagPartialSuccess,
1076
+ /**
1077
+ * @param {!proto.ondewo.nlu.RagStopParsingRequest} request
1078
+ * @return {!Uint8Array}
1079
+ */
1080
+ function(request) {
1081
+ return request.serializeBinary();
1082
+ },
1083
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
1084
+ );
1085
+
1086
+
1087
+ /**
1088
+ * @param {!proto.ondewo.nlu.RagStopParsingRequest} request The
1089
+ * request proto
1090
+ * @param {?Object<string, string>} metadata User defined
1091
+ * call metadata
1092
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
1093
+ * callback The callback function(error, response)
1094
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
1095
+ * The XHR Node Readable Stream
1096
+ */
1097
+ proto.ondewo.nlu.RagsClient.prototype.ragStopParsing =
1098
+ function(request, metadata, callback) {
1099
+ return this.client_.rpcCall(this.hostname_ +
1100
+ '/ondewo.nlu.Rags/RagStopParsing',
1101
+ request,
1102
+ metadata || {},
1103
+ methodDescriptor_Rags_RagStopParsing,
1104
+ callback);
1105
+ };
1106
+
1107
+
1108
+ /**
1109
+ * @param {!proto.ondewo.nlu.RagStopParsingRequest} request The
1110
+ * request proto
1111
+ * @param {?Object<string, string>=} metadata User defined
1112
+ * call metadata
1113
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
1114
+ * Promise that resolves to the response
1115
+ */
1116
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragStopParsing =
1117
+ function(request, metadata) {
1118
+ return this.client_.unaryCall(this.hostname_ +
1119
+ '/ondewo.nlu.Rags/RagStopParsing',
1120
+ request,
1121
+ metadata || {},
1122
+ methodDescriptor_Rags_RagStopParsing);
1123
+ };
1124
+
1125
+
1126
+ /**
1127
+ * @const
1128
+ * @type {!grpc.web.MethodDescriptor<
1129
+ * !proto.ondewo.nlu.RagListChunksRequest,
1130
+ * !proto.ondewo.nlu.RagListChunksResponse>}
1131
+ */
1132
+ const methodDescriptor_Rags_RagListChunks = new grpc.web.MethodDescriptor(
1133
+ '/ondewo.nlu.Rags/RagListChunks',
1134
+ grpc.web.MethodType.UNARY,
1135
+ proto.ondewo.nlu.RagListChunksRequest,
1136
+ proto.ondewo.nlu.RagListChunksResponse,
1137
+ /**
1138
+ * @param {!proto.ondewo.nlu.RagListChunksRequest} request
1139
+ * @return {!Uint8Array}
1140
+ */
1141
+ function(request) {
1142
+ return request.serializeBinary();
1143
+ },
1144
+ proto.ondewo.nlu.RagListChunksResponse.deserializeBinary
1145
+ );
1146
+
1147
+
1148
+ /**
1149
+ * @param {!proto.ondewo.nlu.RagListChunksRequest} request The
1150
+ * request proto
1151
+ * @param {?Object<string, string>} metadata User defined
1152
+ * call metadata
1153
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagListChunksResponse)}
1154
+ * callback The callback function(error, response)
1155
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagListChunksResponse>|undefined}
1156
+ * The XHR Node Readable Stream
1157
+ */
1158
+ proto.ondewo.nlu.RagsClient.prototype.ragListChunks =
1159
+ function(request, metadata, callback) {
1160
+ return this.client_.rpcCall(this.hostname_ +
1161
+ '/ondewo.nlu.Rags/RagListChunks',
1162
+ request,
1163
+ metadata || {},
1164
+ methodDescriptor_Rags_RagListChunks,
1165
+ callback);
1166
+ };
1167
+
1168
+
1169
+ /**
1170
+ * @param {!proto.ondewo.nlu.RagListChunksRequest} request The
1171
+ * request proto
1172
+ * @param {?Object<string, string>=} metadata User defined
1173
+ * call metadata
1174
+ * @return {!Promise<!proto.ondewo.nlu.RagListChunksResponse>}
1175
+ * Promise that resolves to the response
1176
+ */
1177
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListChunks =
1178
+ function(request, metadata) {
1179
+ return this.client_.unaryCall(this.hostname_ +
1180
+ '/ondewo.nlu.Rags/RagListChunks',
1181
+ request,
1182
+ metadata || {},
1183
+ methodDescriptor_Rags_RagListChunks);
1184
+ };
1185
+
1186
+
1187
+ /**
1188
+ * @const
1189
+ * @type {!grpc.web.MethodDescriptor<
1190
+ * !proto.ondewo.nlu.RagAddChunkRequest,
1191
+ * !proto.ondewo.nlu.RagAddChunkResponse>}
1192
+ */
1193
+ const methodDescriptor_Rags_RagAddChunk = new grpc.web.MethodDescriptor(
1194
+ '/ondewo.nlu.Rags/RagAddChunk',
1195
+ grpc.web.MethodType.UNARY,
1196
+ proto.ondewo.nlu.RagAddChunkRequest,
1197
+ proto.ondewo.nlu.RagAddChunkResponse,
1198
+ /**
1199
+ * @param {!proto.ondewo.nlu.RagAddChunkRequest} request
1200
+ * @return {!Uint8Array}
1201
+ */
1202
+ function(request) {
1203
+ return request.serializeBinary();
1204
+ },
1205
+ proto.ondewo.nlu.RagAddChunkResponse.deserializeBinary
1206
+ );
1207
+
1208
+
1209
+ /**
1210
+ * @param {!proto.ondewo.nlu.RagAddChunkRequest} request The
1211
+ * request proto
1212
+ * @param {?Object<string, string>} metadata User defined
1213
+ * call metadata
1214
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagAddChunkResponse)}
1215
+ * callback The callback function(error, response)
1216
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAddChunkResponse>|undefined}
1217
+ * The XHR Node Readable Stream
1218
+ */
1219
+ proto.ondewo.nlu.RagsClient.prototype.ragAddChunk =
1220
+ function(request, metadata, callback) {
1221
+ return this.client_.rpcCall(this.hostname_ +
1222
+ '/ondewo.nlu.Rags/RagAddChunk',
1223
+ request,
1224
+ metadata || {},
1225
+ methodDescriptor_Rags_RagAddChunk,
1226
+ callback);
1227
+ };
1228
+
1229
+
1230
+ /**
1231
+ * @param {!proto.ondewo.nlu.RagAddChunkRequest} request The
1232
+ * request proto
1233
+ * @param {?Object<string, string>=} metadata User defined
1234
+ * call metadata
1235
+ * @return {!Promise<!proto.ondewo.nlu.RagAddChunkResponse>}
1236
+ * Promise that resolves to the response
1237
+ */
1238
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragAddChunk =
1239
+ function(request, metadata) {
1240
+ return this.client_.unaryCall(this.hostname_ +
1241
+ '/ondewo.nlu.Rags/RagAddChunk',
1242
+ request,
1243
+ metadata || {},
1244
+ methodDescriptor_Rags_RagAddChunk);
1245
+ };
1246
+
1247
+
1248
+ /**
1249
+ * @const
1250
+ * @type {!grpc.web.MethodDescriptor<
1251
+ * !proto.ondewo.nlu.RagRemoveChunksRequest,
1252
+ * !proto.ondewo.nlu.RagPartialSuccess>}
1253
+ */
1254
+ const methodDescriptor_Rags_RagRemoveChunks = new grpc.web.MethodDescriptor(
1255
+ '/ondewo.nlu.Rags/RagRemoveChunks',
1256
+ grpc.web.MethodType.UNARY,
1257
+ proto.ondewo.nlu.RagRemoveChunksRequest,
1258
+ proto.ondewo.nlu.RagPartialSuccess,
1259
+ /**
1260
+ * @param {!proto.ondewo.nlu.RagRemoveChunksRequest} request
1261
+ * @return {!Uint8Array}
1262
+ */
1263
+ function(request) {
1264
+ return request.serializeBinary();
1265
+ },
1266
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
1267
+ );
1268
+
1269
+
1270
+ /**
1271
+ * @param {!proto.ondewo.nlu.RagRemoveChunksRequest} request The
1272
+ * request proto
1273
+ * @param {?Object<string, string>} metadata User defined
1274
+ * call metadata
1275
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
1276
+ * callback The callback function(error, response)
1277
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
1278
+ * The XHR Node Readable Stream
1279
+ */
1280
+ proto.ondewo.nlu.RagsClient.prototype.ragRemoveChunks =
1281
+ function(request, metadata, callback) {
1282
+ return this.client_.rpcCall(this.hostname_ +
1283
+ '/ondewo.nlu.Rags/RagRemoveChunks',
1284
+ request,
1285
+ metadata || {},
1286
+ methodDescriptor_Rags_RagRemoveChunks,
1287
+ callback);
1288
+ };
1289
+
1290
+
1291
+ /**
1292
+ * @param {!proto.ondewo.nlu.RagRemoveChunksRequest} request The
1293
+ * request proto
1294
+ * @param {?Object<string, string>=} metadata User defined
1295
+ * call metadata
1296
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
1297
+ * Promise that resolves to the response
1298
+ */
1299
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragRemoveChunks =
1300
+ function(request, metadata) {
1301
+ return this.client_.unaryCall(this.hostname_ +
1302
+ '/ondewo.nlu.Rags/RagRemoveChunks',
1303
+ request,
1304
+ metadata || {},
1305
+ methodDescriptor_Rags_RagRemoveChunks);
1306
+ };
1307
+
1308
+
1309
+ /**
1310
+ * @const
1311
+ * @type {!grpc.web.MethodDescriptor<
1312
+ * !proto.ondewo.nlu.RagUpdateChunkRequest,
1313
+ * !proto.google.protobuf.Empty>}
1314
+ */
1315
+ const methodDescriptor_Rags_RagUpdateChunk = new grpc.web.MethodDescriptor(
1316
+ '/ondewo.nlu.Rags/RagUpdateChunk',
1317
+ grpc.web.MethodType.UNARY,
1318
+ proto.ondewo.nlu.RagUpdateChunkRequest,
1319
+ google_protobuf_empty_pb.Empty,
1320
+ /**
1321
+ * @param {!proto.ondewo.nlu.RagUpdateChunkRequest} request
1322
+ * @return {!Uint8Array}
1323
+ */
1324
+ function(request) {
1325
+ return request.serializeBinary();
1326
+ },
1327
+ google_protobuf_empty_pb.Empty.deserializeBinary
1328
+ );
1329
+
1330
+
1331
+ /**
1332
+ * @param {!proto.ondewo.nlu.RagUpdateChunkRequest} request The
1333
+ * request proto
1334
+ * @param {?Object<string, string>} metadata User defined
1335
+ * call metadata
1336
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1337
+ * callback The callback function(error, response)
1338
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1339
+ * The XHR Node Readable Stream
1340
+ */
1341
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateChunk =
1342
+ function(request, metadata, callback) {
1343
+ return this.client_.rpcCall(this.hostname_ +
1344
+ '/ondewo.nlu.Rags/RagUpdateChunk',
1345
+ request,
1346
+ metadata || {},
1347
+ methodDescriptor_Rags_RagUpdateChunk,
1348
+ callback);
1349
+ };
1350
+
1351
+
1352
+ /**
1353
+ * @param {!proto.ondewo.nlu.RagUpdateChunkRequest} request The
1354
+ * request proto
1355
+ * @param {?Object<string, string>=} metadata User defined
1356
+ * call metadata
1357
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1358
+ * Promise that resolves to the response
1359
+ */
1360
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateChunk =
1361
+ function(request, metadata) {
1362
+ return this.client_.unaryCall(this.hostname_ +
1363
+ '/ondewo.nlu.Rags/RagUpdateChunk',
1364
+ request,
1365
+ metadata || {},
1366
+ methodDescriptor_Rags_RagUpdateChunk);
1367
+ };
1368
+
1369
+
1370
+ /**
1371
+ * @const
1372
+ * @type {!grpc.web.MethodDescriptor<
1373
+ * !proto.ondewo.nlu.RagCreateChatAssistantRequest,
1374
+ * !proto.ondewo.nlu.RagChatAssistant>}
1375
+ */
1376
+ const methodDescriptor_Rags_RagCreateChatAssistant = new grpc.web.MethodDescriptor(
1377
+ '/ondewo.nlu.Rags/RagCreateChatAssistant',
1378
+ grpc.web.MethodType.UNARY,
1379
+ proto.ondewo.nlu.RagCreateChatAssistantRequest,
1380
+ proto.ondewo.nlu.RagChatAssistant,
1381
+ /**
1382
+ * @param {!proto.ondewo.nlu.RagCreateChatAssistantRequest} request
1383
+ * @return {!Uint8Array}
1384
+ */
1385
+ function(request) {
1386
+ return request.serializeBinary();
1387
+ },
1388
+ proto.ondewo.nlu.RagChatAssistant.deserializeBinary
1389
+ );
1390
+
1391
+
1392
+ /**
1393
+ * @param {!proto.ondewo.nlu.RagCreateChatAssistantRequest} request The
1394
+ * request proto
1395
+ * @param {?Object<string, string>} metadata User defined
1396
+ * call metadata
1397
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagChatAssistant)}
1398
+ * callback The callback function(error, response)
1399
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagChatAssistant>|undefined}
1400
+ * The XHR Node Readable Stream
1401
+ */
1402
+ proto.ondewo.nlu.RagsClient.prototype.ragCreateChatAssistant =
1403
+ function(request, metadata, callback) {
1404
+ return this.client_.rpcCall(this.hostname_ +
1405
+ '/ondewo.nlu.Rags/RagCreateChatAssistant',
1406
+ request,
1407
+ metadata || {},
1408
+ methodDescriptor_Rags_RagCreateChatAssistant,
1409
+ callback);
1410
+ };
1411
+
1412
+
1413
+ /**
1414
+ * @param {!proto.ondewo.nlu.RagCreateChatAssistantRequest} request The
1415
+ * request proto
1416
+ * @param {?Object<string, string>=} metadata User defined
1417
+ * call metadata
1418
+ * @return {!Promise<!proto.ondewo.nlu.RagChatAssistant>}
1419
+ * Promise that resolves to the response
1420
+ */
1421
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragCreateChatAssistant =
1422
+ function(request, metadata) {
1423
+ return this.client_.unaryCall(this.hostname_ +
1424
+ '/ondewo.nlu.Rags/RagCreateChatAssistant',
1425
+ request,
1426
+ metadata || {},
1427
+ methodDescriptor_Rags_RagCreateChatAssistant);
1428
+ };
1429
+
1430
+
1431
+ /**
1432
+ * @const
1433
+ * @type {!grpc.web.MethodDescriptor<
1434
+ * !proto.ondewo.nlu.RagUpdateChatAssistantRequest,
1435
+ * !proto.google.protobuf.Empty>}
1436
+ */
1437
+ const methodDescriptor_Rags_RagUpdateChatAssistant = new grpc.web.MethodDescriptor(
1438
+ '/ondewo.nlu.Rags/RagUpdateChatAssistant',
1439
+ grpc.web.MethodType.UNARY,
1440
+ proto.ondewo.nlu.RagUpdateChatAssistantRequest,
1441
+ google_protobuf_empty_pb.Empty,
1442
+ /**
1443
+ * @param {!proto.ondewo.nlu.RagUpdateChatAssistantRequest} request
1444
+ * @return {!Uint8Array}
1445
+ */
1446
+ function(request) {
1447
+ return request.serializeBinary();
1448
+ },
1449
+ google_protobuf_empty_pb.Empty.deserializeBinary
1450
+ );
1451
+
1452
+
1453
+ /**
1454
+ * @param {!proto.ondewo.nlu.RagUpdateChatAssistantRequest} request The
1455
+ * request proto
1456
+ * @param {?Object<string, string>} metadata User defined
1457
+ * call metadata
1458
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1459
+ * callback The callback function(error, response)
1460
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1461
+ * The XHR Node Readable Stream
1462
+ */
1463
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateChatAssistant =
1464
+ function(request, metadata, callback) {
1465
+ return this.client_.rpcCall(this.hostname_ +
1466
+ '/ondewo.nlu.Rags/RagUpdateChatAssistant',
1467
+ request,
1468
+ metadata || {},
1469
+ methodDescriptor_Rags_RagUpdateChatAssistant,
1470
+ callback);
1471
+ };
1472
+
1473
+
1474
+ /**
1475
+ * @param {!proto.ondewo.nlu.RagUpdateChatAssistantRequest} request The
1476
+ * request proto
1477
+ * @param {?Object<string, string>=} metadata User defined
1478
+ * call metadata
1479
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1480
+ * Promise that resolves to the response
1481
+ */
1482
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateChatAssistant =
1483
+ function(request, metadata) {
1484
+ return this.client_.unaryCall(this.hostname_ +
1485
+ '/ondewo.nlu.Rags/RagUpdateChatAssistant',
1486
+ request,
1487
+ metadata || {},
1488
+ methodDescriptor_Rags_RagUpdateChatAssistant);
1489
+ };
1490
+
1491
+
1492
+ /**
1493
+ * @const
1494
+ * @type {!grpc.web.MethodDescriptor<
1495
+ * !proto.ondewo.nlu.RagDeleteRequest,
1496
+ * !proto.ondewo.nlu.RagPartialSuccess>}
1497
+ */
1498
+ const methodDescriptor_Rags_RagDeleteChatAssistants = new grpc.web.MethodDescriptor(
1499
+ '/ondewo.nlu.Rags/RagDeleteChatAssistants',
1500
+ grpc.web.MethodType.UNARY,
1501
+ proto.ondewo.nlu.RagDeleteRequest,
1502
+ proto.ondewo.nlu.RagPartialSuccess,
1503
+ /**
1504
+ * @param {!proto.ondewo.nlu.RagDeleteRequest} request
1505
+ * @return {!Uint8Array}
1506
+ */
1507
+ function(request) {
1508
+ return request.serializeBinary();
1509
+ },
1510
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
1511
+ );
1512
+
1513
+
1514
+ /**
1515
+ * @param {!proto.ondewo.nlu.RagDeleteRequest} request The
1516
+ * request proto
1517
+ * @param {?Object<string, string>} metadata User defined
1518
+ * call metadata
1519
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
1520
+ * callback The callback function(error, response)
1521
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
1522
+ * The XHR Node Readable Stream
1523
+ */
1524
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteChatAssistants =
1525
+ function(request, metadata, callback) {
1526
+ return this.client_.rpcCall(this.hostname_ +
1527
+ '/ondewo.nlu.Rags/RagDeleteChatAssistants',
1528
+ request,
1529
+ metadata || {},
1530
+ methodDescriptor_Rags_RagDeleteChatAssistants,
1531
+ callback);
1532
+ };
1533
+
1534
+
1535
+ /**
1536
+ * @param {!proto.ondewo.nlu.RagDeleteRequest} request The
1537
+ * request proto
1538
+ * @param {?Object<string, string>=} metadata User defined
1539
+ * call metadata
1540
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
1541
+ * Promise that resolves to the response
1542
+ */
1543
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteChatAssistants =
1544
+ function(request, metadata) {
1545
+ return this.client_.unaryCall(this.hostname_ +
1546
+ '/ondewo.nlu.Rags/RagDeleteChatAssistants',
1547
+ request,
1548
+ metadata || {},
1549
+ methodDescriptor_Rags_RagDeleteChatAssistants);
1550
+ };
1551
+
1552
+
1553
+ /**
1554
+ * @const
1555
+ * @type {!grpc.web.MethodDescriptor<
1556
+ * !proto.ondewo.nlu.RagListChatAssistantsRequest,
1557
+ * !proto.ondewo.nlu.RagChatAssistantList>}
1558
+ */
1559
+ const methodDescriptor_Rags_RagListChatAssistants = new grpc.web.MethodDescriptor(
1560
+ '/ondewo.nlu.Rags/RagListChatAssistants',
1561
+ grpc.web.MethodType.UNARY,
1562
+ proto.ondewo.nlu.RagListChatAssistantsRequest,
1563
+ proto.ondewo.nlu.RagChatAssistantList,
1564
+ /**
1565
+ * @param {!proto.ondewo.nlu.RagListChatAssistantsRequest} request
1566
+ * @return {!Uint8Array}
1567
+ */
1568
+ function(request) {
1569
+ return request.serializeBinary();
1570
+ },
1571
+ proto.ondewo.nlu.RagChatAssistantList.deserializeBinary
1572
+ );
1573
+
1574
+
1575
+ /**
1576
+ * @param {!proto.ondewo.nlu.RagListChatAssistantsRequest} request The
1577
+ * request proto
1578
+ * @param {?Object<string, string>} metadata User defined
1579
+ * call metadata
1580
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagChatAssistantList)}
1581
+ * callback The callback function(error, response)
1582
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagChatAssistantList>|undefined}
1583
+ * The XHR Node Readable Stream
1584
+ */
1585
+ proto.ondewo.nlu.RagsClient.prototype.ragListChatAssistants =
1586
+ function(request, metadata, callback) {
1587
+ return this.client_.rpcCall(this.hostname_ +
1588
+ '/ondewo.nlu.Rags/RagListChatAssistants',
1589
+ request,
1590
+ metadata || {},
1591
+ methodDescriptor_Rags_RagListChatAssistants,
1592
+ callback);
1593
+ };
1594
+
1595
+
1596
+ /**
1597
+ * @param {!proto.ondewo.nlu.RagListChatAssistantsRequest} request The
1598
+ * request proto
1599
+ * @param {?Object<string, string>=} metadata User defined
1600
+ * call metadata
1601
+ * @return {!Promise<!proto.ondewo.nlu.RagChatAssistantList>}
1602
+ * Promise that resolves to the response
1603
+ */
1604
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListChatAssistants =
1605
+ function(request, metadata) {
1606
+ return this.client_.unaryCall(this.hostname_ +
1607
+ '/ondewo.nlu.Rags/RagListChatAssistants',
1608
+ request,
1609
+ metadata || {},
1610
+ methodDescriptor_Rags_RagListChatAssistants);
1611
+ };
1612
+
1613
+
1614
+ /**
1615
+ * @const
1616
+ * @type {!grpc.web.MethodDescriptor<
1617
+ * !proto.ondewo.nlu.RagCreateAgentRequest,
1618
+ * !proto.google.protobuf.Empty>}
1619
+ */
1620
+ const methodDescriptor_Rags_RagCreateAgent = new grpc.web.MethodDescriptor(
1621
+ '/ondewo.nlu.Rags/RagCreateAgent',
1622
+ grpc.web.MethodType.UNARY,
1623
+ proto.ondewo.nlu.RagCreateAgentRequest,
1624
+ google_protobuf_empty_pb.Empty,
1625
+ /**
1626
+ * @param {!proto.ondewo.nlu.RagCreateAgentRequest} request
1627
+ * @return {!Uint8Array}
1628
+ */
1629
+ function(request) {
1630
+ return request.serializeBinary();
1631
+ },
1632
+ google_protobuf_empty_pb.Empty.deserializeBinary
1633
+ );
1634
+
1635
+
1636
+ /**
1637
+ * @param {!proto.ondewo.nlu.RagCreateAgentRequest} request The
1638
+ * request proto
1639
+ * @param {?Object<string, string>} metadata User defined
1640
+ * call metadata
1641
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1642
+ * callback The callback function(error, response)
1643
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1644
+ * The XHR Node Readable Stream
1645
+ */
1646
+ proto.ondewo.nlu.RagsClient.prototype.ragCreateAgent =
1647
+ function(request, metadata, callback) {
1648
+ return this.client_.rpcCall(this.hostname_ +
1649
+ '/ondewo.nlu.Rags/RagCreateAgent',
1650
+ request,
1651
+ metadata || {},
1652
+ methodDescriptor_Rags_RagCreateAgent,
1653
+ callback);
1654
+ };
1655
+
1656
+
1657
+ /**
1658
+ * @param {!proto.ondewo.nlu.RagCreateAgentRequest} request The
1659
+ * request proto
1660
+ * @param {?Object<string, string>=} metadata User defined
1661
+ * call metadata
1662
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1663
+ * Promise that resolves to the response
1664
+ */
1665
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragCreateAgent =
1666
+ function(request, metadata) {
1667
+ return this.client_.unaryCall(this.hostname_ +
1668
+ '/ondewo.nlu.Rags/RagCreateAgent',
1669
+ request,
1670
+ metadata || {},
1671
+ methodDescriptor_Rags_RagCreateAgent);
1672
+ };
1673
+
1674
+
1675
+ /**
1676
+ * @const
1677
+ * @type {!grpc.web.MethodDescriptor<
1678
+ * !proto.ondewo.nlu.RagUpdateAgentRequest,
1679
+ * !proto.google.protobuf.Empty>}
1680
+ */
1681
+ const methodDescriptor_Rags_RagUpdateAgent = new grpc.web.MethodDescriptor(
1682
+ '/ondewo.nlu.Rags/RagUpdateAgent',
1683
+ grpc.web.MethodType.UNARY,
1684
+ proto.ondewo.nlu.RagUpdateAgentRequest,
1685
+ google_protobuf_empty_pb.Empty,
1686
+ /**
1687
+ * @param {!proto.ondewo.nlu.RagUpdateAgentRequest} request
1688
+ * @return {!Uint8Array}
1689
+ */
1690
+ function(request) {
1691
+ return request.serializeBinary();
1692
+ },
1693
+ google_protobuf_empty_pb.Empty.deserializeBinary
1694
+ );
1695
+
1696
+
1697
+ /**
1698
+ * @param {!proto.ondewo.nlu.RagUpdateAgentRequest} request The
1699
+ * request proto
1700
+ * @param {?Object<string, string>} metadata User defined
1701
+ * call metadata
1702
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1703
+ * callback The callback function(error, response)
1704
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1705
+ * The XHR Node Readable Stream
1706
+ */
1707
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateAgent =
1708
+ function(request, metadata, callback) {
1709
+ return this.client_.rpcCall(this.hostname_ +
1710
+ '/ondewo.nlu.Rags/RagUpdateAgent',
1711
+ request,
1712
+ metadata || {},
1713
+ methodDescriptor_Rags_RagUpdateAgent,
1714
+ callback);
1715
+ };
1716
+
1717
+
1718
+ /**
1719
+ * @param {!proto.ondewo.nlu.RagUpdateAgentRequest} request The
1720
+ * request proto
1721
+ * @param {?Object<string, string>=} metadata User defined
1722
+ * call metadata
1723
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1724
+ * Promise that resolves to the response
1725
+ */
1726
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateAgent =
1727
+ function(request, metadata) {
1728
+ return this.client_.unaryCall(this.hostname_ +
1729
+ '/ondewo.nlu.Rags/RagUpdateAgent',
1730
+ request,
1731
+ metadata || {},
1732
+ methodDescriptor_Rags_RagUpdateAgent);
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * @const
1738
+ * @type {!grpc.web.MethodDescriptor<
1739
+ * !proto.ondewo.nlu.RagDeleteAgentRequest,
1740
+ * !proto.google.protobuf.Empty>}
1741
+ */
1742
+ const methodDescriptor_Rags_RagDeleteAgent = new grpc.web.MethodDescriptor(
1743
+ '/ondewo.nlu.Rags/RagDeleteAgent',
1744
+ grpc.web.MethodType.UNARY,
1745
+ proto.ondewo.nlu.RagDeleteAgentRequest,
1746
+ google_protobuf_empty_pb.Empty,
1747
+ /**
1748
+ * @param {!proto.ondewo.nlu.RagDeleteAgentRequest} request
1749
+ * @return {!Uint8Array}
1750
+ */
1751
+ function(request) {
1752
+ return request.serializeBinary();
1753
+ },
1754
+ google_protobuf_empty_pb.Empty.deserializeBinary
1755
+ );
1756
+
1757
+
1758
+ /**
1759
+ * @param {!proto.ondewo.nlu.RagDeleteAgentRequest} request The
1760
+ * request proto
1761
+ * @param {?Object<string, string>} metadata User defined
1762
+ * call metadata
1763
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1764
+ * callback The callback function(error, response)
1765
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1766
+ * The XHR Node Readable Stream
1767
+ */
1768
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteAgent =
1769
+ function(request, metadata, callback) {
1770
+ return this.client_.rpcCall(this.hostname_ +
1771
+ '/ondewo.nlu.Rags/RagDeleteAgent',
1772
+ request,
1773
+ metadata || {},
1774
+ methodDescriptor_Rags_RagDeleteAgent,
1775
+ callback);
1776
+ };
1777
+
1778
+
1779
+ /**
1780
+ * @param {!proto.ondewo.nlu.RagDeleteAgentRequest} request The
1781
+ * request proto
1782
+ * @param {?Object<string, string>=} metadata User defined
1783
+ * call metadata
1784
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1785
+ * Promise that resolves to the response
1786
+ */
1787
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteAgent =
1788
+ function(request, metadata) {
1789
+ return this.client_.unaryCall(this.hostname_ +
1790
+ '/ondewo.nlu.Rags/RagDeleteAgent',
1791
+ request,
1792
+ metadata || {},
1793
+ methodDescriptor_Rags_RagDeleteAgent);
1794
+ };
1795
+
1796
+
1797
+ /**
1798
+ * @const
1799
+ * @type {!grpc.web.MethodDescriptor<
1800
+ * !proto.ondewo.nlu.RagListAgentsRequest,
1801
+ * !proto.ondewo.nlu.RagAgentList>}
1802
+ */
1803
+ const methodDescriptor_Rags_RagListAgents = new grpc.web.MethodDescriptor(
1804
+ '/ondewo.nlu.Rags/RagListAgents',
1805
+ grpc.web.MethodType.UNARY,
1806
+ proto.ondewo.nlu.RagListAgentsRequest,
1807
+ proto.ondewo.nlu.RagAgentList,
1808
+ /**
1809
+ * @param {!proto.ondewo.nlu.RagListAgentsRequest} request
1810
+ * @return {!Uint8Array}
1811
+ */
1812
+ function(request) {
1813
+ return request.serializeBinary();
1814
+ },
1815
+ proto.ondewo.nlu.RagAgentList.deserializeBinary
1816
+ );
1817
+
1818
+
1819
+ /**
1820
+ * @param {!proto.ondewo.nlu.RagListAgentsRequest} request The
1821
+ * request proto
1822
+ * @param {?Object<string, string>} metadata User defined
1823
+ * call metadata
1824
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagAgentList)}
1825
+ * callback The callback function(error, response)
1826
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAgentList>|undefined}
1827
+ * The XHR Node Readable Stream
1828
+ */
1829
+ proto.ondewo.nlu.RagsClient.prototype.ragListAgents =
1830
+ function(request, metadata, callback) {
1831
+ return this.client_.rpcCall(this.hostname_ +
1832
+ '/ondewo.nlu.Rags/RagListAgents',
1833
+ request,
1834
+ metadata || {},
1835
+ methodDescriptor_Rags_RagListAgents,
1836
+ callback);
1837
+ };
1838
+
1839
+
1840
+ /**
1841
+ * @param {!proto.ondewo.nlu.RagListAgentsRequest} request The
1842
+ * request proto
1843
+ * @param {?Object<string, string>=} metadata User defined
1844
+ * call metadata
1845
+ * @return {!Promise<!proto.ondewo.nlu.RagAgentList>}
1846
+ * Promise that resolves to the response
1847
+ */
1848
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListAgents =
1849
+ function(request, metadata) {
1850
+ return this.client_.unaryCall(this.hostname_ +
1851
+ '/ondewo.nlu.Rags/RagListAgents',
1852
+ request,
1853
+ metadata || {},
1854
+ methodDescriptor_Rags_RagListAgents);
1855
+ };
1856
+
1857
+
1858
+ /**
1859
+ * @const
1860
+ * @type {!grpc.web.MethodDescriptor<
1861
+ * !proto.ondewo.nlu.RagCreateChatSessionRequest,
1862
+ * !proto.ondewo.nlu.RagChatSession>}
1863
+ */
1864
+ const methodDescriptor_Rags_RagCreateChatSession = new grpc.web.MethodDescriptor(
1865
+ '/ondewo.nlu.Rags/RagCreateChatSession',
1866
+ grpc.web.MethodType.UNARY,
1867
+ proto.ondewo.nlu.RagCreateChatSessionRequest,
1868
+ proto.ondewo.nlu.RagChatSession,
1869
+ /**
1870
+ * @param {!proto.ondewo.nlu.RagCreateChatSessionRequest} request
1871
+ * @return {!Uint8Array}
1872
+ */
1873
+ function(request) {
1874
+ return request.serializeBinary();
1875
+ },
1876
+ proto.ondewo.nlu.RagChatSession.deserializeBinary
1877
+ );
1878
+
1879
+
1880
+ /**
1881
+ * @param {!proto.ondewo.nlu.RagCreateChatSessionRequest} request The
1882
+ * request proto
1883
+ * @param {?Object<string, string>} metadata User defined
1884
+ * call metadata
1885
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagChatSession)}
1886
+ * callback The callback function(error, response)
1887
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagChatSession>|undefined}
1888
+ * The XHR Node Readable Stream
1889
+ */
1890
+ proto.ondewo.nlu.RagsClient.prototype.ragCreateChatSession =
1891
+ function(request, metadata, callback) {
1892
+ return this.client_.rpcCall(this.hostname_ +
1893
+ '/ondewo.nlu.Rags/RagCreateChatSession',
1894
+ request,
1895
+ metadata || {},
1896
+ methodDescriptor_Rags_RagCreateChatSession,
1897
+ callback);
1898
+ };
1899
+
1900
+
1901
+ /**
1902
+ * @param {!proto.ondewo.nlu.RagCreateChatSessionRequest} request The
1903
+ * request proto
1904
+ * @param {?Object<string, string>=} metadata User defined
1905
+ * call metadata
1906
+ * @return {!Promise<!proto.ondewo.nlu.RagChatSession>}
1907
+ * Promise that resolves to the response
1908
+ */
1909
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragCreateChatSession =
1910
+ function(request, metadata) {
1911
+ return this.client_.unaryCall(this.hostname_ +
1912
+ '/ondewo.nlu.Rags/RagCreateChatSession',
1913
+ request,
1914
+ metadata || {},
1915
+ methodDescriptor_Rags_RagCreateChatSession);
1916
+ };
1917
+
1918
+
1919
+ /**
1920
+ * @const
1921
+ * @type {!grpc.web.MethodDescriptor<
1922
+ * !proto.ondewo.nlu.RagUpdateChatSessionRequest,
1923
+ * !proto.google.protobuf.Empty>}
1924
+ */
1925
+ const methodDescriptor_Rags_RagUpdateChatSession = new grpc.web.MethodDescriptor(
1926
+ '/ondewo.nlu.Rags/RagUpdateChatSession',
1927
+ grpc.web.MethodType.UNARY,
1928
+ proto.ondewo.nlu.RagUpdateChatSessionRequest,
1929
+ google_protobuf_empty_pb.Empty,
1930
+ /**
1931
+ * @param {!proto.ondewo.nlu.RagUpdateChatSessionRequest} request
1932
+ * @return {!Uint8Array}
1933
+ */
1934
+ function(request) {
1935
+ return request.serializeBinary();
1936
+ },
1937
+ google_protobuf_empty_pb.Empty.deserializeBinary
1938
+ );
1939
+
1940
+
1941
+ /**
1942
+ * @param {!proto.ondewo.nlu.RagUpdateChatSessionRequest} request The
1943
+ * request proto
1944
+ * @param {?Object<string, string>} metadata User defined
1945
+ * call metadata
1946
+ * @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
1947
+ * callback The callback function(error, response)
1948
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
1949
+ * The XHR Node Readable Stream
1950
+ */
1951
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateChatSession =
1952
+ function(request, metadata, callback) {
1953
+ return this.client_.rpcCall(this.hostname_ +
1954
+ '/ondewo.nlu.Rags/RagUpdateChatSession',
1955
+ request,
1956
+ metadata || {},
1957
+ methodDescriptor_Rags_RagUpdateChatSession,
1958
+ callback);
1959
+ };
1960
+
1961
+
1962
+ /**
1963
+ * @param {!proto.ondewo.nlu.RagUpdateChatSessionRequest} request The
1964
+ * request proto
1965
+ * @param {?Object<string, string>=} metadata User defined
1966
+ * call metadata
1967
+ * @return {!Promise<!proto.google.protobuf.Empty>}
1968
+ * Promise that resolves to the response
1969
+ */
1970
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateChatSession =
1971
+ function(request, metadata) {
1972
+ return this.client_.unaryCall(this.hostname_ +
1973
+ '/ondewo.nlu.Rags/RagUpdateChatSession',
1974
+ request,
1975
+ metadata || {},
1976
+ methodDescriptor_Rags_RagUpdateChatSession);
1977
+ };
1978
+
1979
+
1980
+ /**
1981
+ * @const
1982
+ * @type {!grpc.web.MethodDescriptor<
1983
+ * !proto.ondewo.nlu.RagListChatSessionsRequest,
1984
+ * !proto.ondewo.nlu.RagChatSessionList>}
1985
+ */
1986
+ const methodDescriptor_Rags_RagListChatSessions = new grpc.web.MethodDescriptor(
1987
+ '/ondewo.nlu.Rags/RagListChatSessions',
1988
+ grpc.web.MethodType.UNARY,
1989
+ proto.ondewo.nlu.RagListChatSessionsRequest,
1990
+ proto.ondewo.nlu.RagChatSessionList,
1991
+ /**
1992
+ * @param {!proto.ondewo.nlu.RagListChatSessionsRequest} request
1993
+ * @return {!Uint8Array}
1994
+ */
1995
+ function(request) {
1996
+ return request.serializeBinary();
1997
+ },
1998
+ proto.ondewo.nlu.RagChatSessionList.deserializeBinary
1999
+ );
2000
+
2001
+
2002
+ /**
2003
+ * @param {!proto.ondewo.nlu.RagListChatSessionsRequest} request The
2004
+ * request proto
2005
+ * @param {?Object<string, string>} metadata User defined
2006
+ * call metadata
2007
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagChatSessionList)}
2008
+ * callback The callback function(error, response)
2009
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagChatSessionList>|undefined}
2010
+ * The XHR Node Readable Stream
2011
+ */
2012
+ proto.ondewo.nlu.RagsClient.prototype.ragListChatSessions =
2013
+ function(request, metadata, callback) {
2014
+ return this.client_.rpcCall(this.hostname_ +
2015
+ '/ondewo.nlu.Rags/RagListChatSessions',
2016
+ request,
2017
+ metadata || {},
2018
+ methodDescriptor_Rags_RagListChatSessions,
2019
+ callback);
2020
+ };
2021
+
2022
+
2023
+ /**
2024
+ * @param {!proto.ondewo.nlu.RagListChatSessionsRequest} request The
2025
+ * request proto
2026
+ * @param {?Object<string, string>=} metadata User defined
2027
+ * call metadata
2028
+ * @return {!Promise<!proto.ondewo.nlu.RagChatSessionList>}
2029
+ * Promise that resolves to the response
2030
+ */
2031
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListChatSessions =
2032
+ function(request, metadata) {
2033
+ return this.client_.unaryCall(this.hostname_ +
2034
+ '/ondewo.nlu.Rags/RagListChatSessions',
2035
+ request,
2036
+ metadata || {},
2037
+ methodDescriptor_Rags_RagListChatSessions);
2038
+ };
2039
+
2040
+
2041
+ /**
2042
+ * @const
2043
+ * @type {!grpc.web.MethodDescriptor<
2044
+ * !proto.ondewo.nlu.RagDeleteChatSessionsRequest,
2045
+ * !proto.ondewo.nlu.RagPartialSuccess>}
2046
+ */
2047
+ const methodDescriptor_Rags_RagDeleteChatSessions = new grpc.web.MethodDescriptor(
2048
+ '/ondewo.nlu.Rags/RagDeleteChatSessions',
2049
+ grpc.web.MethodType.UNARY,
2050
+ proto.ondewo.nlu.RagDeleteChatSessionsRequest,
2051
+ proto.ondewo.nlu.RagPartialSuccess,
2052
+ /**
2053
+ * @param {!proto.ondewo.nlu.RagDeleteChatSessionsRequest} request
2054
+ * @return {!Uint8Array}
2055
+ */
2056
+ function(request) {
2057
+ return request.serializeBinary();
2058
+ },
2059
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
2060
+ );
2061
+
2062
+
2063
+ /**
2064
+ * @param {!proto.ondewo.nlu.RagDeleteChatSessionsRequest} request The
2065
+ * request proto
2066
+ * @param {?Object<string, string>} metadata User defined
2067
+ * call metadata
2068
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
2069
+ * callback The callback function(error, response)
2070
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
2071
+ * The XHR Node Readable Stream
2072
+ */
2073
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteChatSessions =
2074
+ function(request, metadata, callback) {
2075
+ return this.client_.rpcCall(this.hostname_ +
2076
+ '/ondewo.nlu.Rags/RagDeleteChatSessions',
2077
+ request,
2078
+ metadata || {},
2079
+ methodDescriptor_Rags_RagDeleteChatSessions,
2080
+ callback);
2081
+ };
2082
+
2083
+
2084
+ /**
2085
+ * @param {!proto.ondewo.nlu.RagDeleteChatSessionsRequest} request The
2086
+ * request proto
2087
+ * @param {?Object<string, string>=} metadata User defined
2088
+ * call metadata
2089
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
2090
+ * Promise that resolves to the response
2091
+ */
2092
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteChatSessions =
2093
+ function(request, metadata) {
2094
+ return this.client_.unaryCall(this.hostname_ +
2095
+ '/ondewo.nlu.Rags/RagDeleteChatSessions',
2096
+ request,
2097
+ metadata || {},
2098
+ methodDescriptor_Rags_RagDeleteChatSessions);
2099
+ };
2100
+
2101
+
2102
+ /**
2103
+ * @const
2104
+ * @type {!grpc.web.MethodDescriptor<
2105
+ * !proto.ondewo.nlu.RagListAgentSessionsRequest,
2106
+ * !proto.ondewo.nlu.RagAgentSessionList>}
2107
+ */
2108
+ const methodDescriptor_Rags_RagListAgentSessions = new grpc.web.MethodDescriptor(
2109
+ '/ondewo.nlu.Rags/RagListAgentSessions',
2110
+ grpc.web.MethodType.UNARY,
2111
+ proto.ondewo.nlu.RagListAgentSessionsRequest,
2112
+ proto.ondewo.nlu.RagAgentSessionList,
2113
+ /**
2114
+ * @param {!proto.ondewo.nlu.RagListAgentSessionsRequest} request
2115
+ * @return {!Uint8Array}
2116
+ */
2117
+ function(request) {
2118
+ return request.serializeBinary();
2119
+ },
2120
+ proto.ondewo.nlu.RagAgentSessionList.deserializeBinary
2121
+ );
2122
+
2123
+
2124
+ /**
2125
+ * @param {!proto.ondewo.nlu.RagListAgentSessionsRequest} request The
2126
+ * request proto
2127
+ * @param {?Object<string, string>} metadata User defined
2128
+ * call metadata
2129
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagAgentSessionList)}
2130
+ * callback The callback function(error, response)
2131
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAgentSessionList>|undefined}
2132
+ * The XHR Node Readable Stream
2133
+ */
2134
+ proto.ondewo.nlu.RagsClient.prototype.ragListAgentSessions =
2135
+ function(request, metadata, callback) {
2136
+ return this.client_.rpcCall(this.hostname_ +
2137
+ '/ondewo.nlu.Rags/RagListAgentSessions',
2138
+ request,
2139
+ metadata || {},
2140
+ methodDescriptor_Rags_RagListAgentSessions,
2141
+ callback);
2142
+ };
2143
+
2144
+
2145
+ /**
2146
+ * @param {!proto.ondewo.nlu.RagListAgentSessionsRequest} request The
2147
+ * request proto
2148
+ * @param {?Object<string, string>=} metadata User defined
2149
+ * call metadata
2150
+ * @return {!Promise<!proto.ondewo.nlu.RagAgentSessionList>}
2151
+ * Promise that resolves to the response
2152
+ */
2153
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListAgentSessions =
2154
+ function(request, metadata) {
2155
+ return this.client_.unaryCall(this.hostname_ +
2156
+ '/ondewo.nlu.Rags/RagListAgentSessions',
2157
+ request,
2158
+ metadata || {},
2159
+ methodDescriptor_Rags_RagListAgentSessions);
2160
+ };
2161
+
2162
+
2163
+ /**
2164
+ * @const
2165
+ * @type {!grpc.web.MethodDescriptor<
2166
+ * !proto.ondewo.nlu.RagDeleteAgentSessionsRequest,
2167
+ * !proto.ondewo.nlu.RagPartialSuccess>}
2168
+ */
2169
+ const methodDescriptor_Rags_RagDeleteAgentSessions = new grpc.web.MethodDescriptor(
2170
+ '/ondewo.nlu.Rags/RagDeleteAgentSessions',
2171
+ grpc.web.MethodType.UNARY,
2172
+ proto.ondewo.nlu.RagDeleteAgentSessionsRequest,
2173
+ proto.ondewo.nlu.RagPartialSuccess,
2174
+ /**
2175
+ * @param {!proto.ondewo.nlu.RagDeleteAgentSessionsRequest} request
2176
+ * @return {!Uint8Array}
2177
+ */
2178
+ function(request) {
2179
+ return request.serializeBinary();
2180
+ },
2181
+ proto.ondewo.nlu.RagPartialSuccess.deserializeBinary
2182
+ );
2183
+
2184
+
2185
+ /**
2186
+ * @param {!proto.ondewo.nlu.RagDeleteAgentSessionsRequest} request The
2187
+ * request proto
2188
+ * @param {?Object<string, string>} metadata User defined
2189
+ * call metadata
2190
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagPartialSuccess)}
2191
+ * callback The callback function(error, response)
2192
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagPartialSuccess>|undefined}
2193
+ * The XHR Node Readable Stream
2194
+ */
2195
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteAgentSessions =
2196
+ function(request, metadata, callback) {
2197
+ return this.client_.rpcCall(this.hostname_ +
2198
+ '/ondewo.nlu.Rags/RagDeleteAgentSessions',
2199
+ request,
2200
+ metadata || {},
2201
+ methodDescriptor_Rags_RagDeleteAgentSessions,
2202
+ callback);
2203
+ };
2204
+
2205
+
2206
+ /**
2207
+ * @param {!proto.ondewo.nlu.RagDeleteAgentSessionsRequest} request The
2208
+ * request proto
2209
+ * @param {?Object<string, string>=} metadata User defined
2210
+ * call metadata
2211
+ * @return {!Promise<!proto.ondewo.nlu.RagPartialSuccess>}
2212
+ * Promise that resolves to the response
2213
+ */
2214
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteAgentSessions =
2215
+ function(request, metadata) {
2216
+ return this.client_.unaryCall(this.hostname_ +
2217
+ '/ondewo.nlu.Rags/RagDeleteAgentSessions',
2218
+ request,
2219
+ metadata || {},
2220
+ methodDescriptor_Rags_RagDeleteAgentSessions);
2221
+ };
2222
+
2223
+
2224
+ /**
2225
+ * @const
2226
+ * @type {!grpc.web.MethodDescriptor<
2227
+ * !proto.ondewo.nlu.RagChatCompletionRequest,
2228
+ * !proto.ondewo.nlu.RagChatCompletionResponse>}
2229
+ */
2230
+ const methodDescriptor_Rags_RagChatCompletion = new grpc.web.MethodDescriptor(
2231
+ '/ondewo.nlu.Rags/RagChatCompletion',
2232
+ grpc.web.MethodType.SERVER_STREAMING,
2233
+ proto.ondewo.nlu.RagChatCompletionRequest,
2234
+ proto.ondewo.nlu.RagChatCompletionResponse,
2235
+ /**
2236
+ * @param {!proto.ondewo.nlu.RagChatCompletionRequest} request
2237
+ * @return {!Uint8Array}
2238
+ */
2239
+ function(request) {
2240
+ return request.serializeBinary();
2241
+ },
2242
+ proto.ondewo.nlu.RagChatCompletionResponse.deserializeBinary
2243
+ );
2244
+
2245
+
2246
+ /**
2247
+ * @param {!proto.ondewo.nlu.RagChatCompletionRequest} request The request proto
2248
+ * @param {?Object<string, string>=} metadata User defined
2249
+ * call metadata
2250
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagChatCompletionResponse>}
2251
+ * The XHR Node Readable Stream
2252
+ */
2253
+ proto.ondewo.nlu.RagsClient.prototype.ragChatCompletion =
2254
+ function(request, metadata) {
2255
+ return this.client_.serverStreaming(this.hostname_ +
2256
+ '/ondewo.nlu.Rags/RagChatCompletion',
2257
+ request,
2258
+ metadata || {},
2259
+ methodDescriptor_Rags_RagChatCompletion);
2260
+ };
2261
+
2262
+
2263
+ /**
2264
+ * @param {!proto.ondewo.nlu.RagChatCompletionRequest} request The request proto
2265
+ * @param {?Object<string, string>=} metadata User defined
2266
+ * call metadata
2267
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagChatCompletionResponse>}
2268
+ * The XHR Node Readable Stream
2269
+ */
2270
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragChatCompletion =
2271
+ function(request, metadata) {
2272
+ return this.client_.serverStreaming(this.hostname_ +
2273
+ '/ondewo.nlu.Rags/RagChatCompletion',
2274
+ request,
2275
+ metadata || {},
2276
+ methodDescriptor_Rags_RagChatCompletion);
2277
+ };
2278
+
2279
+
2280
+ /**
2281
+ * @const
2282
+ * @type {!grpc.web.MethodDescriptor<
2283
+ * !proto.ondewo.nlu.RagAgentCompletionRequest,
2284
+ * !proto.ondewo.nlu.RagAgentCompletionResponse>}
2285
+ */
2286
+ const methodDescriptor_Rags_RagAgentCompletion = new grpc.web.MethodDescriptor(
2287
+ '/ondewo.nlu.Rags/RagAgentCompletion',
2288
+ grpc.web.MethodType.SERVER_STREAMING,
2289
+ proto.ondewo.nlu.RagAgentCompletionRequest,
2290
+ proto.ondewo.nlu.RagAgentCompletionResponse,
2291
+ /**
2292
+ * @param {!proto.ondewo.nlu.RagAgentCompletionRequest} request
2293
+ * @return {!Uint8Array}
2294
+ */
2295
+ function(request) {
2296
+ return request.serializeBinary();
2297
+ },
2298
+ proto.ondewo.nlu.RagAgentCompletionResponse.deserializeBinary
2299
+ );
2300
+
2301
+
2302
+ /**
2303
+ * @param {!proto.ondewo.nlu.RagAgentCompletionRequest} request The request proto
2304
+ * @param {?Object<string, string>=} metadata User defined
2305
+ * call metadata
2306
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAgentCompletionResponse>}
2307
+ * The XHR Node Readable Stream
2308
+ */
2309
+ proto.ondewo.nlu.RagsClient.prototype.ragAgentCompletion =
2310
+ function(request, metadata) {
2311
+ return this.client_.serverStreaming(this.hostname_ +
2312
+ '/ondewo.nlu.Rags/RagAgentCompletion',
2313
+ request,
2314
+ metadata || {},
2315
+ methodDescriptor_Rags_RagAgentCompletion);
2316
+ };
2317
+
2318
+
2319
+ /**
2320
+ * @param {!proto.ondewo.nlu.RagAgentCompletionRequest} request The request proto
2321
+ * @param {?Object<string, string>=} metadata User defined
2322
+ * call metadata
2323
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAgentCompletionResponse>}
2324
+ * The XHR Node Readable Stream
2325
+ */
2326
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragAgentCompletion =
2327
+ function(request, metadata) {
2328
+ return this.client_.serverStreaming(this.hostname_ +
2329
+ '/ondewo.nlu.Rags/RagAgentCompletion',
2330
+ request,
2331
+ metadata || {},
2332
+ methodDescriptor_Rags_RagAgentCompletion);
2333
+ };
2334
+
2335
+
2336
+ /**
2337
+ * @const
2338
+ * @type {!grpc.web.MethodDescriptor<
2339
+ * !proto.ondewo.nlu.RagAskRequest,
2340
+ * !proto.ondewo.nlu.RagAskResponse>}
2341
+ */
2342
+ const methodDescriptor_Rags_RagAsk = new grpc.web.MethodDescriptor(
2343
+ '/ondewo.nlu.Rags/RagAsk',
2344
+ grpc.web.MethodType.SERVER_STREAMING,
2345
+ proto.ondewo.nlu.RagAskRequest,
2346
+ proto.ondewo.nlu.RagAskResponse,
2347
+ /**
2348
+ * @param {!proto.ondewo.nlu.RagAskRequest} request
2349
+ * @return {!Uint8Array}
2350
+ */
2351
+ function(request) {
2352
+ return request.serializeBinary();
2353
+ },
2354
+ proto.ondewo.nlu.RagAskResponse.deserializeBinary
2355
+ );
2356
+
2357
+
2358
+ /**
2359
+ * @param {!proto.ondewo.nlu.RagAskRequest} request The request proto
2360
+ * @param {?Object<string, string>=} metadata User defined
2361
+ * call metadata
2362
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAskResponse>}
2363
+ * The XHR Node Readable Stream
2364
+ */
2365
+ proto.ondewo.nlu.RagsClient.prototype.ragAsk =
2366
+ function(request, metadata) {
2367
+ return this.client_.serverStreaming(this.hostname_ +
2368
+ '/ondewo.nlu.Rags/RagAsk',
2369
+ request,
2370
+ metadata || {},
2371
+ methodDescriptor_Rags_RagAsk);
2372
+ };
2373
+
2374
+
2375
+ /**
2376
+ * @param {!proto.ondewo.nlu.RagAskRequest} request The request proto
2377
+ * @param {?Object<string, string>=} metadata User defined
2378
+ * call metadata
2379
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagAskResponse>}
2380
+ * The XHR Node Readable Stream
2381
+ */
2382
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragAsk =
2383
+ function(request, metadata) {
2384
+ return this.client_.serverStreaming(this.hostname_ +
2385
+ '/ondewo.nlu.Rags/RagAsk',
2386
+ request,
2387
+ metadata || {},
2388
+ methodDescriptor_Rags_RagAsk);
2389
+ };
2390
+
2391
+
2392
+ /**
2393
+ * @const
2394
+ * @type {!grpc.web.MethodDescriptor<
2395
+ * !proto.ondewo.nlu.RagRelatedQuestionsRequest,
2396
+ * !proto.ondewo.nlu.RagRelatedQuestionsResponse>}
2397
+ */
2398
+ const methodDescriptor_Rags_RagRelatedQuestions = new grpc.web.MethodDescriptor(
2399
+ '/ondewo.nlu.Rags/RagRelatedQuestions',
2400
+ grpc.web.MethodType.UNARY,
2401
+ proto.ondewo.nlu.RagRelatedQuestionsRequest,
2402
+ proto.ondewo.nlu.RagRelatedQuestionsResponse,
2403
+ /**
2404
+ * @param {!proto.ondewo.nlu.RagRelatedQuestionsRequest} request
2405
+ * @return {!Uint8Array}
2406
+ */
2407
+ function(request) {
2408
+ return request.serializeBinary();
2409
+ },
2410
+ proto.ondewo.nlu.RagRelatedQuestionsResponse.deserializeBinary
2411
+ );
2412
+
2413
+
2414
+ /**
2415
+ * @param {!proto.ondewo.nlu.RagRelatedQuestionsRequest} request The
2416
+ * request proto
2417
+ * @param {?Object<string, string>} metadata User defined
2418
+ * call metadata
2419
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagRelatedQuestionsResponse)}
2420
+ * callback The callback function(error, response)
2421
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagRelatedQuestionsResponse>|undefined}
2422
+ * The XHR Node Readable Stream
2423
+ */
2424
+ proto.ondewo.nlu.RagsClient.prototype.ragRelatedQuestions =
2425
+ function(request, metadata, callback) {
2426
+ return this.client_.rpcCall(this.hostname_ +
2427
+ '/ondewo.nlu.Rags/RagRelatedQuestions',
2428
+ request,
2429
+ metadata || {},
2430
+ methodDescriptor_Rags_RagRelatedQuestions,
2431
+ callback);
2432
+ };
2433
+
2434
+
2435
+ /**
2436
+ * @param {!proto.ondewo.nlu.RagRelatedQuestionsRequest} request The
2437
+ * request proto
2438
+ * @param {?Object<string, string>=} metadata User defined
2439
+ * call metadata
2440
+ * @return {!Promise<!proto.ondewo.nlu.RagRelatedQuestionsResponse>}
2441
+ * Promise that resolves to the response
2442
+ */
2443
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragRelatedQuestions =
2444
+ function(request, metadata) {
2445
+ return this.client_.unaryCall(this.hostname_ +
2446
+ '/ondewo.nlu.Rags/RagRelatedQuestions',
2447
+ request,
2448
+ metadata || {},
2449
+ methodDescriptor_Rags_RagRelatedQuestions);
2450
+ };
2451
+
2452
+
2453
+ /**
2454
+ * @const
2455
+ * @type {!grpc.web.MethodDescriptor<
2456
+ * !proto.ondewo.nlu.RagCreateCrawlerRequest,
2457
+ * !proto.ondewo.nlu.RagCrawler>}
2458
+ */
2459
+ const methodDescriptor_Rags_RagCreateCrawler = new grpc.web.MethodDescriptor(
2460
+ '/ondewo.nlu.Rags/RagCreateCrawler',
2461
+ grpc.web.MethodType.UNARY,
2462
+ proto.ondewo.nlu.RagCreateCrawlerRequest,
2463
+ proto.ondewo.nlu.RagCrawler,
2464
+ /**
2465
+ * @param {!proto.ondewo.nlu.RagCreateCrawlerRequest} request
2466
+ * @return {!Uint8Array}
2467
+ */
2468
+ function(request) {
2469
+ return request.serializeBinary();
2470
+ },
2471
+ proto.ondewo.nlu.RagCrawler.deserializeBinary
2472
+ );
2473
+
2474
+
2475
+ /**
2476
+ * @param {!proto.ondewo.nlu.RagCreateCrawlerRequest} request The
2477
+ * request proto
2478
+ * @param {?Object<string, string>} metadata User defined
2479
+ * call metadata
2480
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagCrawler)}
2481
+ * callback The callback function(error, response)
2482
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagCrawler>|undefined}
2483
+ * The XHR Node Readable Stream
2484
+ */
2485
+ proto.ondewo.nlu.RagsClient.prototype.ragCreateCrawler =
2486
+ function(request, metadata, callback) {
2487
+ return this.client_.rpcCall(this.hostname_ +
2488
+ '/ondewo.nlu.Rags/RagCreateCrawler',
2489
+ request,
2490
+ metadata || {},
2491
+ methodDescriptor_Rags_RagCreateCrawler,
2492
+ callback);
2493
+ };
2494
+
2495
+
2496
+ /**
2497
+ * @param {!proto.ondewo.nlu.RagCreateCrawlerRequest} request The
2498
+ * request proto
2499
+ * @param {?Object<string, string>=} metadata User defined
2500
+ * call metadata
2501
+ * @return {!Promise<!proto.ondewo.nlu.RagCrawler>}
2502
+ * Promise that resolves to the response
2503
+ */
2504
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragCreateCrawler =
2505
+ function(request, metadata) {
2506
+ return this.client_.unaryCall(this.hostname_ +
2507
+ '/ondewo.nlu.Rags/RagCreateCrawler',
2508
+ request,
2509
+ metadata || {},
2510
+ methodDescriptor_Rags_RagCreateCrawler);
2511
+ };
2512
+
2513
+
2514
+ /**
2515
+ * @const
2516
+ * @type {!grpc.web.MethodDescriptor<
2517
+ * !proto.ondewo.nlu.RagGetCrawlerRequest,
2518
+ * !proto.ondewo.nlu.RagCrawler>}
2519
+ */
2520
+ const methodDescriptor_Rags_RagGetCrawler = new grpc.web.MethodDescriptor(
2521
+ '/ondewo.nlu.Rags/RagGetCrawler',
2522
+ grpc.web.MethodType.UNARY,
2523
+ proto.ondewo.nlu.RagGetCrawlerRequest,
2524
+ proto.ondewo.nlu.RagCrawler,
2525
+ /**
2526
+ * @param {!proto.ondewo.nlu.RagGetCrawlerRequest} request
2527
+ * @return {!Uint8Array}
2528
+ */
2529
+ function(request) {
2530
+ return request.serializeBinary();
2531
+ },
2532
+ proto.ondewo.nlu.RagCrawler.deserializeBinary
2533
+ );
2534
+
2535
+
2536
+ /**
2537
+ * @param {!proto.ondewo.nlu.RagGetCrawlerRequest} request The
2538
+ * request proto
2539
+ * @param {?Object<string, string>} metadata User defined
2540
+ * call metadata
2541
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagCrawler)}
2542
+ * callback The callback function(error, response)
2543
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagCrawler>|undefined}
2544
+ * The XHR Node Readable Stream
2545
+ */
2546
+ proto.ondewo.nlu.RagsClient.prototype.ragGetCrawler =
2547
+ function(request, metadata, callback) {
2548
+ return this.client_.rpcCall(this.hostname_ +
2549
+ '/ondewo.nlu.Rags/RagGetCrawler',
2550
+ request,
2551
+ metadata || {},
2552
+ methodDescriptor_Rags_RagGetCrawler,
2553
+ callback);
2554
+ };
2555
+
2556
+
2557
+ /**
2558
+ * @param {!proto.ondewo.nlu.RagGetCrawlerRequest} request The
2559
+ * request proto
2560
+ * @param {?Object<string, string>=} metadata User defined
2561
+ * call metadata
2562
+ * @return {!Promise<!proto.ondewo.nlu.RagCrawler>}
2563
+ * Promise that resolves to the response
2564
+ */
2565
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragGetCrawler =
2566
+ function(request, metadata) {
2567
+ return this.client_.unaryCall(this.hostname_ +
2568
+ '/ondewo.nlu.Rags/RagGetCrawler',
2569
+ request,
2570
+ metadata || {},
2571
+ methodDescriptor_Rags_RagGetCrawler);
2572
+ };
2573
+
2574
+
2575
+ /**
2576
+ * @const
2577
+ * @type {!grpc.web.MethodDescriptor<
2578
+ * !proto.ondewo.nlu.RagListCrawlersRequest,
2579
+ * !proto.ondewo.nlu.RagListCrawlersResponse>}
2580
+ */
2581
+ const methodDescriptor_Rags_RagListCrawlers = new grpc.web.MethodDescriptor(
2582
+ '/ondewo.nlu.Rags/RagListCrawlers',
2583
+ grpc.web.MethodType.UNARY,
2584
+ proto.ondewo.nlu.RagListCrawlersRequest,
2585
+ proto.ondewo.nlu.RagListCrawlersResponse,
2586
+ /**
2587
+ * @param {!proto.ondewo.nlu.RagListCrawlersRequest} request
2588
+ * @return {!Uint8Array}
2589
+ */
2590
+ function(request) {
2591
+ return request.serializeBinary();
2592
+ },
2593
+ proto.ondewo.nlu.RagListCrawlersResponse.deserializeBinary
2594
+ );
2595
+
2596
+
2597
+ /**
2598
+ * @param {!proto.ondewo.nlu.RagListCrawlersRequest} request The
2599
+ * request proto
2600
+ * @param {?Object<string, string>} metadata User defined
2601
+ * call metadata
2602
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagListCrawlersResponse)}
2603
+ * callback The callback function(error, response)
2604
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagListCrawlersResponse>|undefined}
2605
+ * The XHR Node Readable Stream
2606
+ */
2607
+ proto.ondewo.nlu.RagsClient.prototype.ragListCrawlers =
2608
+ function(request, metadata, callback) {
2609
+ return this.client_.rpcCall(this.hostname_ +
2610
+ '/ondewo.nlu.Rags/RagListCrawlers',
2611
+ request,
2612
+ metadata || {},
2613
+ methodDescriptor_Rags_RagListCrawlers,
2614
+ callback);
2615
+ };
2616
+
2617
+
2618
+ /**
2619
+ * @param {!proto.ondewo.nlu.RagListCrawlersRequest} request The
2620
+ * request proto
2621
+ * @param {?Object<string, string>=} metadata User defined
2622
+ * call metadata
2623
+ * @return {!Promise<!proto.ondewo.nlu.RagListCrawlersResponse>}
2624
+ * Promise that resolves to the response
2625
+ */
2626
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListCrawlers =
2627
+ function(request, metadata) {
2628
+ return this.client_.unaryCall(this.hostname_ +
2629
+ '/ondewo.nlu.Rags/RagListCrawlers',
2630
+ request,
2631
+ metadata || {},
2632
+ methodDescriptor_Rags_RagListCrawlers);
2633
+ };
2634
+
2635
+
2636
+ /**
2637
+ * @const
2638
+ * @type {!grpc.web.MethodDescriptor<
2639
+ * !proto.ondewo.nlu.RagUpdateCrawlerRequest,
2640
+ * !proto.ondewo.nlu.RagCrawler>}
2641
+ */
2642
+ const methodDescriptor_Rags_RagUpdateCrawler = new grpc.web.MethodDescriptor(
2643
+ '/ondewo.nlu.Rags/RagUpdateCrawler',
2644
+ grpc.web.MethodType.UNARY,
2645
+ proto.ondewo.nlu.RagUpdateCrawlerRequest,
2646
+ proto.ondewo.nlu.RagCrawler,
2647
+ /**
2648
+ * @param {!proto.ondewo.nlu.RagUpdateCrawlerRequest} request
2649
+ * @return {!Uint8Array}
2650
+ */
2651
+ function(request) {
2652
+ return request.serializeBinary();
2653
+ },
2654
+ proto.ondewo.nlu.RagCrawler.deserializeBinary
2655
+ );
2656
+
2657
+
2658
+ /**
2659
+ * @param {!proto.ondewo.nlu.RagUpdateCrawlerRequest} request The
2660
+ * request proto
2661
+ * @param {?Object<string, string>} metadata User defined
2662
+ * call metadata
2663
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagCrawler)}
2664
+ * callback The callback function(error, response)
2665
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagCrawler>|undefined}
2666
+ * The XHR Node Readable Stream
2667
+ */
2668
+ proto.ondewo.nlu.RagsClient.prototype.ragUpdateCrawler =
2669
+ function(request, metadata, callback) {
2670
+ return this.client_.rpcCall(this.hostname_ +
2671
+ '/ondewo.nlu.Rags/RagUpdateCrawler',
2672
+ request,
2673
+ metadata || {},
2674
+ methodDescriptor_Rags_RagUpdateCrawler,
2675
+ callback);
2676
+ };
2677
+
2678
+
2679
+ /**
2680
+ * @param {!proto.ondewo.nlu.RagUpdateCrawlerRequest} request The
2681
+ * request proto
2682
+ * @param {?Object<string, string>=} metadata User defined
2683
+ * call metadata
2684
+ * @return {!Promise<!proto.ondewo.nlu.RagCrawler>}
2685
+ * Promise that resolves to the response
2686
+ */
2687
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragUpdateCrawler =
2688
+ function(request, metadata) {
2689
+ return this.client_.unaryCall(this.hostname_ +
2690
+ '/ondewo.nlu.Rags/RagUpdateCrawler',
2691
+ request,
2692
+ metadata || {},
2693
+ methodDescriptor_Rags_RagUpdateCrawler);
2694
+ };
2695
+
2696
+
2697
+ /**
2698
+ * @const
2699
+ * @type {!grpc.web.MethodDescriptor<
2700
+ * !proto.ondewo.nlu.RagDeleteCrawlerRequest,
2701
+ * !proto.ondewo.nlu.RagDeleteCrawlerResponse>}
2702
+ */
2703
+ const methodDescriptor_Rags_RagDeleteCrawler = new grpc.web.MethodDescriptor(
2704
+ '/ondewo.nlu.Rags/RagDeleteCrawler',
2705
+ grpc.web.MethodType.UNARY,
2706
+ proto.ondewo.nlu.RagDeleteCrawlerRequest,
2707
+ proto.ondewo.nlu.RagDeleteCrawlerResponse,
2708
+ /**
2709
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlerRequest} request
2710
+ * @return {!Uint8Array}
2711
+ */
2712
+ function(request) {
2713
+ return request.serializeBinary();
2714
+ },
2715
+ proto.ondewo.nlu.RagDeleteCrawlerResponse.deserializeBinary
2716
+ );
2717
+
2718
+
2719
+ /**
2720
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlerRequest} request The
2721
+ * request proto
2722
+ * @param {?Object<string, string>} metadata User defined
2723
+ * call metadata
2724
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDeleteCrawlerResponse)}
2725
+ * callback The callback function(error, response)
2726
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDeleteCrawlerResponse>|undefined}
2727
+ * The XHR Node Readable Stream
2728
+ */
2729
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteCrawler =
2730
+ function(request, metadata, callback) {
2731
+ return this.client_.rpcCall(this.hostname_ +
2732
+ '/ondewo.nlu.Rags/RagDeleteCrawler',
2733
+ request,
2734
+ metadata || {},
2735
+ methodDescriptor_Rags_RagDeleteCrawler,
2736
+ callback);
2737
+ };
2738
+
2739
+
2740
+ /**
2741
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlerRequest} request The
2742
+ * request proto
2743
+ * @param {?Object<string, string>=} metadata User defined
2744
+ * call metadata
2745
+ * @return {!Promise<!proto.ondewo.nlu.RagDeleteCrawlerResponse>}
2746
+ * Promise that resolves to the response
2747
+ */
2748
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteCrawler =
2749
+ function(request, metadata) {
2750
+ return this.client_.unaryCall(this.hostname_ +
2751
+ '/ondewo.nlu.Rags/RagDeleteCrawler',
2752
+ request,
2753
+ metadata || {},
2754
+ methodDescriptor_Rags_RagDeleteCrawler);
2755
+ };
2756
+
2757
+
2758
+ /**
2759
+ * @const
2760
+ * @type {!grpc.web.MethodDescriptor<
2761
+ * !proto.ondewo.nlu.RagStartCrawlerRequest,
2762
+ * !proto.ondewo.nlu.Operation>}
2763
+ */
2764
+ const methodDescriptor_Rags_RagStartCrawler = new grpc.web.MethodDescriptor(
2765
+ '/ondewo.nlu.Rags/RagStartCrawler',
2766
+ grpc.web.MethodType.UNARY,
2767
+ proto.ondewo.nlu.RagStartCrawlerRequest,
2768
+ ondewo_nlu_operations_pb.Operation,
2769
+ /**
2770
+ * @param {!proto.ondewo.nlu.RagStartCrawlerRequest} request
2771
+ * @return {!Uint8Array}
2772
+ */
2773
+ function(request) {
2774
+ return request.serializeBinary();
2775
+ },
2776
+ ondewo_nlu_operations_pb.Operation.deserializeBinary
2777
+ );
2778
+
2779
+
2780
+ /**
2781
+ * @param {!proto.ondewo.nlu.RagStartCrawlerRequest} request The
2782
+ * request proto
2783
+ * @param {?Object<string, string>} metadata User defined
2784
+ * call metadata
2785
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
2786
+ * callback The callback function(error, response)
2787
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
2788
+ * The XHR Node Readable Stream
2789
+ */
2790
+ proto.ondewo.nlu.RagsClient.prototype.ragStartCrawler =
2791
+ function(request, metadata, callback) {
2792
+ return this.client_.rpcCall(this.hostname_ +
2793
+ '/ondewo.nlu.Rags/RagStartCrawler',
2794
+ request,
2795
+ metadata || {},
2796
+ methodDescriptor_Rags_RagStartCrawler,
2797
+ callback);
2798
+ };
2799
+
2800
+
2801
+ /**
2802
+ * @param {!proto.ondewo.nlu.RagStartCrawlerRequest} request The
2803
+ * request proto
2804
+ * @param {?Object<string, string>=} metadata User defined
2805
+ * call metadata
2806
+ * @return {!Promise<!proto.ondewo.nlu.Operation>}
2807
+ * Promise that resolves to the response
2808
+ */
2809
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragStartCrawler =
2810
+ function(request, metadata) {
2811
+ return this.client_.unaryCall(this.hostname_ +
2812
+ '/ondewo.nlu.Rags/RagStartCrawler',
2813
+ request,
2814
+ metadata || {},
2815
+ methodDescriptor_Rags_RagStartCrawler);
2816
+ };
2817
+
2818
+
2819
+ /**
2820
+ * @const
2821
+ * @type {!grpc.web.MethodDescriptor<
2822
+ * !proto.ondewo.nlu.RagStopCrawlerRequest,
2823
+ * !proto.ondewo.nlu.RagStopCrawlerResponse>}
2824
+ */
2825
+ const methodDescriptor_Rags_RagStopCrawler = new grpc.web.MethodDescriptor(
2826
+ '/ondewo.nlu.Rags/RagStopCrawler',
2827
+ grpc.web.MethodType.UNARY,
2828
+ proto.ondewo.nlu.RagStopCrawlerRequest,
2829
+ proto.ondewo.nlu.RagStopCrawlerResponse,
2830
+ /**
2831
+ * @param {!proto.ondewo.nlu.RagStopCrawlerRequest} request
2832
+ * @return {!Uint8Array}
2833
+ */
2834
+ function(request) {
2835
+ return request.serializeBinary();
2836
+ },
2837
+ proto.ondewo.nlu.RagStopCrawlerResponse.deserializeBinary
2838
+ );
2839
+
2840
+
2841
+ /**
2842
+ * @param {!proto.ondewo.nlu.RagStopCrawlerRequest} request The
2843
+ * request proto
2844
+ * @param {?Object<string, string>} metadata User defined
2845
+ * call metadata
2846
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagStopCrawlerResponse)}
2847
+ * callback The callback function(error, response)
2848
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagStopCrawlerResponse>|undefined}
2849
+ * The XHR Node Readable Stream
2850
+ */
2851
+ proto.ondewo.nlu.RagsClient.prototype.ragStopCrawler =
2852
+ function(request, metadata, callback) {
2853
+ return this.client_.rpcCall(this.hostname_ +
2854
+ '/ondewo.nlu.Rags/RagStopCrawler',
2855
+ request,
2856
+ metadata || {},
2857
+ methodDescriptor_Rags_RagStopCrawler,
2858
+ callback);
2859
+ };
2860
+
2861
+
2862
+ /**
2863
+ * @param {!proto.ondewo.nlu.RagStopCrawlerRequest} request The
2864
+ * request proto
2865
+ * @param {?Object<string, string>=} metadata User defined
2866
+ * call metadata
2867
+ * @return {!Promise<!proto.ondewo.nlu.RagStopCrawlerResponse>}
2868
+ * Promise that resolves to the response
2869
+ */
2870
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragStopCrawler =
2871
+ function(request, metadata) {
2872
+ return this.client_.unaryCall(this.hostname_ +
2873
+ '/ondewo.nlu.Rags/RagStopCrawler',
2874
+ request,
2875
+ metadata || {},
2876
+ methodDescriptor_Rags_RagStopCrawler);
2877
+ };
2878
+
2879
+
2880
+ /**
2881
+ * @const
2882
+ * @type {!grpc.web.MethodDescriptor<
2883
+ * !proto.ondewo.nlu.RagGetCrawlerRunRequest,
2884
+ * !proto.ondewo.nlu.Operation>}
2885
+ */
2886
+ const methodDescriptor_Rags_RagGetCrawlerRun = new grpc.web.MethodDescriptor(
2887
+ '/ondewo.nlu.Rags/RagGetCrawlerRun',
2888
+ grpc.web.MethodType.UNARY,
2889
+ proto.ondewo.nlu.RagGetCrawlerRunRequest,
2890
+ ondewo_nlu_operations_pb.Operation,
2891
+ /**
2892
+ * @param {!proto.ondewo.nlu.RagGetCrawlerRunRequest} request
2893
+ * @return {!Uint8Array}
2894
+ */
2895
+ function(request) {
2896
+ return request.serializeBinary();
2897
+ },
2898
+ ondewo_nlu_operations_pb.Operation.deserializeBinary
2899
+ );
2900
+
2901
+
2902
+ /**
2903
+ * @param {!proto.ondewo.nlu.RagGetCrawlerRunRequest} request The
2904
+ * request proto
2905
+ * @param {?Object<string, string>} metadata User defined
2906
+ * call metadata
2907
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
2908
+ * callback The callback function(error, response)
2909
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
2910
+ * The XHR Node Readable Stream
2911
+ */
2912
+ proto.ondewo.nlu.RagsClient.prototype.ragGetCrawlerRun =
2913
+ function(request, metadata, callback) {
2914
+ return this.client_.rpcCall(this.hostname_ +
2915
+ '/ondewo.nlu.Rags/RagGetCrawlerRun',
2916
+ request,
2917
+ metadata || {},
2918
+ methodDescriptor_Rags_RagGetCrawlerRun,
2919
+ callback);
2920
+ };
2921
+
2922
+
2923
+ /**
2924
+ * @param {!proto.ondewo.nlu.RagGetCrawlerRunRequest} request The
2925
+ * request proto
2926
+ * @param {?Object<string, string>=} metadata User defined
2927
+ * call metadata
2928
+ * @return {!Promise<!proto.ondewo.nlu.Operation>}
2929
+ * Promise that resolves to the response
2930
+ */
2931
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragGetCrawlerRun =
2932
+ function(request, metadata) {
2933
+ return this.client_.unaryCall(this.hostname_ +
2934
+ '/ondewo.nlu.Rags/RagGetCrawlerRun',
2935
+ request,
2936
+ metadata || {},
2937
+ methodDescriptor_Rags_RagGetCrawlerRun);
2938
+ };
2939
+
2940
+
2941
+ /**
2942
+ * @const
2943
+ * @type {!grpc.web.MethodDescriptor<
2944
+ * !proto.ondewo.nlu.RagListCrawlerRunsRequest,
2945
+ * !proto.ondewo.nlu.RagListCrawlerRunsResponse>}
2946
+ */
2947
+ const methodDescriptor_Rags_RagListCrawlerRuns = new grpc.web.MethodDescriptor(
2948
+ '/ondewo.nlu.Rags/RagListCrawlerRuns',
2949
+ grpc.web.MethodType.UNARY,
2950
+ proto.ondewo.nlu.RagListCrawlerRunsRequest,
2951
+ proto.ondewo.nlu.RagListCrawlerRunsResponse,
2952
+ /**
2953
+ * @param {!proto.ondewo.nlu.RagListCrawlerRunsRequest} request
2954
+ * @return {!Uint8Array}
2955
+ */
2956
+ function(request) {
2957
+ return request.serializeBinary();
2958
+ },
2959
+ proto.ondewo.nlu.RagListCrawlerRunsResponse.deserializeBinary
2960
+ );
2961
+
2962
+
2963
+ /**
2964
+ * @param {!proto.ondewo.nlu.RagListCrawlerRunsRequest} request The
2965
+ * request proto
2966
+ * @param {?Object<string, string>} metadata User defined
2967
+ * call metadata
2968
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagListCrawlerRunsResponse)}
2969
+ * callback The callback function(error, response)
2970
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagListCrawlerRunsResponse>|undefined}
2971
+ * The XHR Node Readable Stream
2972
+ */
2973
+ proto.ondewo.nlu.RagsClient.prototype.ragListCrawlerRuns =
2974
+ function(request, metadata, callback) {
2975
+ return this.client_.rpcCall(this.hostname_ +
2976
+ '/ondewo.nlu.Rags/RagListCrawlerRuns',
2977
+ request,
2978
+ metadata || {},
2979
+ methodDescriptor_Rags_RagListCrawlerRuns,
2980
+ callback);
2981
+ };
2982
+
2983
+
2984
+ /**
2985
+ * @param {!proto.ondewo.nlu.RagListCrawlerRunsRequest} request The
2986
+ * request proto
2987
+ * @param {?Object<string, string>=} metadata User defined
2988
+ * call metadata
2989
+ * @return {!Promise<!proto.ondewo.nlu.RagListCrawlerRunsResponse>}
2990
+ * Promise that resolves to the response
2991
+ */
2992
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragListCrawlerRuns =
2993
+ function(request, metadata) {
2994
+ return this.client_.unaryCall(this.hostname_ +
2995
+ '/ondewo.nlu.Rags/RagListCrawlerRuns',
2996
+ request,
2997
+ metadata || {},
2998
+ methodDescriptor_Rags_RagListCrawlerRuns);
2999
+ };
3000
+
3001
+
3002
+ /**
3003
+ * @const
3004
+ * @type {!grpc.web.MethodDescriptor<
3005
+ * !proto.ondewo.nlu.RagDeleteCrawlerRunsRequest,
3006
+ * !proto.ondewo.nlu.RagDeleteCrawlerRunsResponse>}
3007
+ */
3008
+ const methodDescriptor_Rags_RagDeleteCrawlerRuns = new grpc.web.MethodDescriptor(
3009
+ '/ondewo.nlu.Rags/RagDeleteCrawlerRuns',
3010
+ grpc.web.MethodType.UNARY,
3011
+ proto.ondewo.nlu.RagDeleteCrawlerRunsRequest,
3012
+ proto.ondewo.nlu.RagDeleteCrawlerRunsResponse,
3013
+ /**
3014
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlerRunsRequest} request
3015
+ * @return {!Uint8Array}
3016
+ */
3017
+ function(request) {
3018
+ return request.serializeBinary();
3019
+ },
3020
+ proto.ondewo.nlu.RagDeleteCrawlerRunsResponse.deserializeBinary
3021
+ );
3022
+
3023
+
3024
+ /**
3025
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlerRunsRequest} request The
3026
+ * request proto
3027
+ * @param {?Object<string, string>} metadata User defined
3028
+ * call metadata
3029
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDeleteCrawlerRunsResponse)}
3030
+ * callback The callback function(error, response)
3031
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDeleteCrawlerRunsResponse>|undefined}
3032
+ * The XHR Node Readable Stream
3033
+ */
3034
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteCrawlerRuns =
3035
+ function(request, metadata, callback) {
3036
+ return this.client_.rpcCall(this.hostname_ +
3037
+ '/ondewo.nlu.Rags/RagDeleteCrawlerRuns',
3038
+ request,
3039
+ metadata || {},
3040
+ methodDescriptor_Rags_RagDeleteCrawlerRuns,
3041
+ callback);
3042
+ };
3043
+
3044
+
3045
+ /**
3046
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlerRunsRequest} request The
3047
+ * request proto
3048
+ * @param {?Object<string, string>=} metadata User defined
3049
+ * call metadata
3050
+ * @return {!Promise<!proto.ondewo.nlu.RagDeleteCrawlerRunsResponse>}
3051
+ * Promise that resolves to the response
3052
+ */
3053
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteCrawlerRuns =
3054
+ function(request, metadata) {
3055
+ return this.client_.unaryCall(this.hostname_ +
3056
+ '/ondewo.nlu.Rags/RagDeleteCrawlerRuns',
3057
+ request,
3058
+ metadata || {},
3059
+ methodDescriptor_Rags_RagDeleteCrawlerRuns);
3060
+ };
3061
+
3062
+
3063
+ /**
3064
+ * @const
3065
+ * @type {!grpc.web.MethodDescriptor<
3066
+ * !proto.ondewo.nlu.RagGetCrawlerResultRequest,
3067
+ * !proto.ondewo.nlu.RagCrawlerResult>}
3068
+ */
3069
+ const methodDescriptor_Rags_RagGetCrawlerResult = new grpc.web.MethodDescriptor(
3070
+ '/ondewo.nlu.Rags/RagGetCrawlerResult',
3071
+ grpc.web.MethodType.UNARY,
3072
+ proto.ondewo.nlu.RagGetCrawlerResultRequest,
3073
+ proto.ondewo.nlu.RagCrawlerResult,
3074
+ /**
3075
+ * @param {!proto.ondewo.nlu.RagGetCrawlerResultRequest} request
3076
+ * @return {!Uint8Array}
3077
+ */
3078
+ function(request) {
3079
+ return request.serializeBinary();
3080
+ },
3081
+ proto.ondewo.nlu.RagCrawlerResult.deserializeBinary
3082
+ );
3083
+
3084
+
3085
+ /**
3086
+ * @param {!proto.ondewo.nlu.RagGetCrawlerResultRequest} request The
3087
+ * request proto
3088
+ * @param {?Object<string, string>} metadata User defined
3089
+ * call metadata
3090
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagCrawlerResult)}
3091
+ * callback The callback function(error, response)
3092
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagCrawlerResult>|undefined}
3093
+ * The XHR Node Readable Stream
3094
+ */
3095
+ proto.ondewo.nlu.RagsClient.prototype.ragGetCrawlerResult =
3096
+ function(request, metadata, callback) {
3097
+ return this.client_.rpcCall(this.hostname_ +
3098
+ '/ondewo.nlu.Rags/RagGetCrawlerResult',
3099
+ request,
3100
+ metadata || {},
3101
+ methodDescriptor_Rags_RagGetCrawlerResult,
3102
+ callback);
3103
+ };
3104
+
3105
+
3106
+ /**
3107
+ * @param {!proto.ondewo.nlu.RagGetCrawlerResultRequest} request The
3108
+ * request proto
3109
+ * @param {?Object<string, string>=} metadata User defined
3110
+ * call metadata
3111
+ * @return {!Promise<!proto.ondewo.nlu.RagCrawlerResult>}
3112
+ * Promise that resolves to the response
3113
+ */
3114
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragGetCrawlerResult =
3115
+ function(request, metadata) {
3116
+ return this.client_.unaryCall(this.hostname_ +
3117
+ '/ondewo.nlu.Rags/RagGetCrawlerResult',
3118
+ request,
3119
+ metadata || {},
3120
+ methodDescriptor_Rags_RagGetCrawlerResult);
3121
+ };
3122
+
3123
+
3124
+ /**
3125
+ * @const
3126
+ * @type {!grpc.web.MethodDescriptor<
3127
+ * !proto.ondewo.nlu.RagGetCrawlerResultsRequest,
3128
+ * !proto.ondewo.nlu.RagGetCrawlerResultsResponse>}
3129
+ */
3130
+ const methodDescriptor_Rags_RagGetCrawlerResults = new grpc.web.MethodDescriptor(
3131
+ '/ondewo.nlu.Rags/RagGetCrawlerResults',
3132
+ grpc.web.MethodType.UNARY,
3133
+ proto.ondewo.nlu.RagGetCrawlerResultsRequest,
3134
+ proto.ondewo.nlu.RagGetCrawlerResultsResponse,
3135
+ /**
3136
+ * @param {!proto.ondewo.nlu.RagGetCrawlerResultsRequest} request
3137
+ * @return {!Uint8Array}
3138
+ */
3139
+ function(request) {
3140
+ return request.serializeBinary();
3141
+ },
3142
+ proto.ondewo.nlu.RagGetCrawlerResultsResponse.deserializeBinary
3143
+ );
3144
+
3145
+
3146
+ /**
3147
+ * @param {!proto.ondewo.nlu.RagGetCrawlerResultsRequest} request The
3148
+ * request proto
3149
+ * @param {?Object<string, string>} metadata User defined
3150
+ * call metadata
3151
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagGetCrawlerResultsResponse)}
3152
+ * callback The callback function(error, response)
3153
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagGetCrawlerResultsResponse>|undefined}
3154
+ * The XHR Node Readable Stream
3155
+ */
3156
+ proto.ondewo.nlu.RagsClient.prototype.ragGetCrawlerResults =
3157
+ function(request, metadata, callback) {
3158
+ return this.client_.rpcCall(this.hostname_ +
3159
+ '/ondewo.nlu.Rags/RagGetCrawlerResults',
3160
+ request,
3161
+ metadata || {},
3162
+ methodDescriptor_Rags_RagGetCrawlerResults,
3163
+ callback);
3164
+ };
3165
+
3166
+
3167
+ /**
3168
+ * @param {!proto.ondewo.nlu.RagGetCrawlerResultsRequest} request The
3169
+ * request proto
3170
+ * @param {?Object<string, string>=} metadata User defined
3171
+ * call metadata
3172
+ * @return {!Promise<!proto.ondewo.nlu.RagGetCrawlerResultsResponse>}
3173
+ * Promise that resolves to the response
3174
+ */
3175
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragGetCrawlerResults =
3176
+ function(request, metadata) {
3177
+ return this.client_.unaryCall(this.hostname_ +
3178
+ '/ondewo.nlu.Rags/RagGetCrawlerResults',
3179
+ request,
3180
+ metadata || {},
3181
+ methodDescriptor_Rags_RagGetCrawlerResults);
3182
+ };
3183
+
3184
+
3185
+ /**
3186
+ * @const
3187
+ * @type {!grpc.web.MethodDescriptor<
3188
+ * !proto.ondewo.nlu.RagAddCrawlerResultsToDatasetsRequest,
3189
+ * !proto.ondewo.nlu.Operation>}
3190
+ */
3191
+ const methodDescriptor_Rags_RagAddCrawlerResultsToDatasets = new grpc.web.MethodDescriptor(
3192
+ '/ondewo.nlu.Rags/RagAddCrawlerResultsToDatasets',
3193
+ grpc.web.MethodType.UNARY,
3194
+ proto.ondewo.nlu.RagAddCrawlerResultsToDatasetsRequest,
3195
+ ondewo_nlu_operations_pb.Operation,
3196
+ /**
3197
+ * @param {!proto.ondewo.nlu.RagAddCrawlerResultsToDatasetsRequest} request
3198
+ * @return {!Uint8Array}
3199
+ */
3200
+ function(request) {
3201
+ return request.serializeBinary();
3202
+ },
3203
+ ondewo_nlu_operations_pb.Operation.deserializeBinary
3204
+ );
3205
+
3206
+
3207
+ /**
3208
+ * @param {!proto.ondewo.nlu.RagAddCrawlerResultsToDatasetsRequest} request The
3209
+ * request proto
3210
+ * @param {?Object<string, string>} metadata User defined
3211
+ * call metadata
3212
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
3213
+ * callback The callback function(error, response)
3214
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
3215
+ * The XHR Node Readable Stream
3216
+ */
3217
+ proto.ondewo.nlu.RagsClient.prototype.ragAddCrawlerResultsToDatasets =
3218
+ function(request, metadata, callback) {
3219
+ return this.client_.rpcCall(this.hostname_ +
3220
+ '/ondewo.nlu.Rags/RagAddCrawlerResultsToDatasets',
3221
+ request,
3222
+ metadata || {},
3223
+ methodDescriptor_Rags_RagAddCrawlerResultsToDatasets,
3224
+ callback);
3225
+ };
3226
+
3227
+
3228
+ /**
3229
+ * @param {!proto.ondewo.nlu.RagAddCrawlerResultsToDatasetsRequest} request The
3230
+ * request proto
3231
+ * @param {?Object<string, string>=} metadata User defined
3232
+ * call metadata
3233
+ * @return {!Promise<!proto.ondewo.nlu.Operation>}
3234
+ * Promise that resolves to the response
3235
+ */
3236
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragAddCrawlerResultsToDatasets =
3237
+ function(request, metadata) {
3238
+ return this.client_.unaryCall(this.hostname_ +
3239
+ '/ondewo.nlu.Rags/RagAddCrawlerResultsToDatasets',
3240
+ request,
3241
+ metadata || {},
3242
+ methodDescriptor_Rags_RagAddCrawlerResultsToDatasets);
3243
+ };
3244
+
3245
+
3246
+ /**
3247
+ * @const
3248
+ * @type {!grpc.web.MethodDescriptor<
3249
+ * !proto.ondewo.nlu.RagRemoveCrawlerResultsFromDatasetsRequest,
3250
+ * !proto.ondewo.nlu.Operation>}
3251
+ */
3252
+ const methodDescriptor_Rags_RagRemoveCrawlerResultsFromDatasets = new grpc.web.MethodDescriptor(
3253
+ '/ondewo.nlu.Rags/RagRemoveCrawlerResultsFromDatasets',
3254
+ grpc.web.MethodType.UNARY,
3255
+ proto.ondewo.nlu.RagRemoveCrawlerResultsFromDatasetsRequest,
3256
+ ondewo_nlu_operations_pb.Operation,
3257
+ /**
3258
+ * @param {!proto.ondewo.nlu.RagRemoveCrawlerResultsFromDatasetsRequest} request
3259
+ * @return {!Uint8Array}
3260
+ */
3261
+ function(request) {
3262
+ return request.serializeBinary();
3263
+ },
3264
+ ondewo_nlu_operations_pb.Operation.deserializeBinary
3265
+ );
3266
+
3267
+
3268
+ /**
3269
+ * @param {!proto.ondewo.nlu.RagRemoveCrawlerResultsFromDatasetsRequest} request The
3270
+ * request proto
3271
+ * @param {?Object<string, string>} metadata User defined
3272
+ * call metadata
3273
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
3274
+ * callback The callback function(error, response)
3275
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
3276
+ * The XHR Node Readable Stream
3277
+ */
3278
+ proto.ondewo.nlu.RagsClient.prototype.ragRemoveCrawlerResultsFromDatasets =
3279
+ function(request, metadata, callback) {
3280
+ return this.client_.rpcCall(this.hostname_ +
3281
+ '/ondewo.nlu.Rags/RagRemoveCrawlerResultsFromDatasets',
3282
+ request,
3283
+ metadata || {},
3284
+ methodDescriptor_Rags_RagRemoveCrawlerResultsFromDatasets,
3285
+ callback);
3286
+ };
3287
+
3288
+
3289
+ /**
3290
+ * @param {!proto.ondewo.nlu.RagRemoveCrawlerResultsFromDatasetsRequest} request The
3291
+ * request proto
3292
+ * @param {?Object<string, string>=} metadata User defined
3293
+ * call metadata
3294
+ * @return {!Promise<!proto.ondewo.nlu.Operation>}
3295
+ * Promise that resolves to the response
3296
+ */
3297
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragRemoveCrawlerResultsFromDatasets =
3298
+ function(request, metadata) {
3299
+ return this.client_.unaryCall(this.hostname_ +
3300
+ '/ondewo.nlu.Rags/RagRemoveCrawlerResultsFromDatasets',
3301
+ request,
3302
+ metadata || {},
3303
+ methodDescriptor_Rags_RagRemoveCrawlerResultsFromDatasets);
3304
+ };
3305
+
3306
+
3307
+ /**
3308
+ * @const
3309
+ * @type {!grpc.web.MethodDescriptor<
3310
+ * !proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsRequest,
3311
+ * !proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsResponse>}
3312
+ */
3313
+ const methodDescriptor_Rags_RagGetCrawlerAttachedDatasets = new grpc.web.MethodDescriptor(
3314
+ '/ondewo.nlu.Rags/RagGetCrawlerAttachedDatasets',
3315
+ grpc.web.MethodType.UNARY,
3316
+ proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsRequest,
3317
+ proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsResponse,
3318
+ /**
3319
+ * @param {!proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsRequest} request
3320
+ * @return {!Uint8Array}
3321
+ */
3322
+ function(request) {
3323
+ return request.serializeBinary();
3324
+ },
3325
+ proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsResponse.deserializeBinary
3326
+ );
3327
+
3328
+
3329
+ /**
3330
+ * @param {!proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsRequest} request The
3331
+ * request proto
3332
+ * @param {?Object<string, string>} metadata User defined
3333
+ * call metadata
3334
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsResponse)}
3335
+ * callback The callback function(error, response)
3336
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsResponse>|undefined}
3337
+ * The XHR Node Readable Stream
3338
+ */
3339
+ proto.ondewo.nlu.RagsClient.prototype.ragGetCrawlerAttachedDatasets =
3340
+ function(request, metadata, callback) {
3341
+ return this.client_.rpcCall(this.hostname_ +
3342
+ '/ondewo.nlu.Rags/RagGetCrawlerAttachedDatasets',
3343
+ request,
3344
+ metadata || {},
3345
+ methodDescriptor_Rags_RagGetCrawlerAttachedDatasets,
3346
+ callback);
3347
+ };
3348
+
3349
+
3350
+ /**
3351
+ * @param {!proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsRequest} request The
3352
+ * request proto
3353
+ * @param {?Object<string, string>=} metadata User defined
3354
+ * call metadata
3355
+ * @return {!Promise<!proto.ondewo.nlu.RagGetCrawlerAttachedDatasetsResponse>}
3356
+ * Promise that resolves to the response
3357
+ */
3358
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragGetCrawlerAttachedDatasets =
3359
+ function(request, metadata) {
3360
+ return this.client_.unaryCall(this.hostname_ +
3361
+ '/ondewo.nlu.Rags/RagGetCrawlerAttachedDatasets',
3362
+ request,
3363
+ metadata || {},
3364
+ methodDescriptor_Rags_RagGetCrawlerAttachedDatasets);
3365
+ };
3366
+
3367
+
3368
+ /**
3369
+ * @const
3370
+ * @type {!grpc.web.MethodDescriptor<
3371
+ * !proto.ondewo.nlu.RagDeleteCrawlersRequest,
3372
+ * !proto.ondewo.nlu.RagDeleteCrawlersResponse>}
3373
+ */
3374
+ const methodDescriptor_Rags_RagDeleteCrawlers = new grpc.web.MethodDescriptor(
3375
+ '/ondewo.nlu.Rags/RagDeleteCrawlers',
3376
+ grpc.web.MethodType.UNARY,
3377
+ proto.ondewo.nlu.RagDeleteCrawlersRequest,
3378
+ proto.ondewo.nlu.RagDeleteCrawlersResponse,
3379
+ /**
3380
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlersRequest} request
3381
+ * @return {!Uint8Array}
3382
+ */
3383
+ function(request) {
3384
+ return request.serializeBinary();
3385
+ },
3386
+ proto.ondewo.nlu.RagDeleteCrawlersResponse.deserializeBinary
3387
+ );
3388
+
3389
+
3390
+ /**
3391
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlersRequest} request The
3392
+ * request proto
3393
+ * @param {?Object<string, string>} metadata User defined
3394
+ * call metadata
3395
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.RagDeleteCrawlersResponse)}
3396
+ * callback The callback function(error, response)
3397
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.RagDeleteCrawlersResponse>|undefined}
3398
+ * The XHR Node Readable Stream
3399
+ */
3400
+ proto.ondewo.nlu.RagsClient.prototype.ragDeleteCrawlers =
3401
+ function(request, metadata, callback) {
3402
+ return this.client_.rpcCall(this.hostname_ +
3403
+ '/ondewo.nlu.Rags/RagDeleteCrawlers',
3404
+ request,
3405
+ metadata || {},
3406
+ methodDescriptor_Rags_RagDeleteCrawlers,
3407
+ callback);
3408
+ };
3409
+
3410
+
3411
+ /**
3412
+ * @param {!proto.ondewo.nlu.RagDeleteCrawlersRequest} request The
3413
+ * request proto
3414
+ * @param {?Object<string, string>=} metadata User defined
3415
+ * call metadata
3416
+ * @return {!Promise<!proto.ondewo.nlu.RagDeleteCrawlersResponse>}
3417
+ * Promise that resolves to the response
3418
+ */
3419
+ proto.ondewo.nlu.RagsPromiseClient.prototype.ragDeleteCrawlers =
3420
+ function(request, metadata) {
3421
+ return this.client_.unaryCall(this.hostname_ +
3422
+ '/ondewo.nlu.Rags/RagDeleteCrawlers',
3423
+ request,
3424
+ metadata || {},
3425
+ methodDescriptor_Rags_RagDeleteCrawlers);
3426
+ };
3427
+
3428
+
3429
+ module.exports = proto.ondewo.nlu;
3430
+