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