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