@ondewo/nlu-client-typescript 4.0.0 → 4.1.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.d.ts +450 -490
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
- package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
- package/api/ondewo/nlu/agent_pb.js +9062 -10483
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
- package/api/ondewo/nlu/aiservices_pb.d.ts +745 -674
- package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
- package/api/ondewo/nlu/common_pb.d.ts +15 -17
- package/api/ondewo/nlu/common_pb.js +83 -93
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
- package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +889 -1042
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
- package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
- package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
- package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
- package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
- package/api/ondewo/nlu/intent_pb.js +9502 -10692
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
- package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
- package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
- package/api/ondewo/nlu/operations_pb.d.ts +189 -182
- package/api/ondewo/nlu/operations_pb.js +843 -1004
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
- package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
- package/api/ondewo/nlu/project_role_pb.js +796 -963
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
- package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
- package/api/ondewo/nlu/project_statistics_pb.js +354 -418
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
- package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
- package/api/ondewo/nlu/server_statistics_pb.js +81 -91
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
- package/api/ondewo/nlu/session_grpc_web_pb.js +409 -462
- package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
- package/api/ondewo/nlu/session_pb.js +5285 -6536
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
- package/api/ondewo/nlu/user_pb.d.ts +345 -325
- package/api/ondewo/nlu/user_pb.js +1948 -2312
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
- package/api/ondewo/nlu/utility_pb.d.ts +588 -535
- package/api/ondewo/nlu/utility_pb.js +2814 -3348
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
- package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
- package/api/ondewo/nlu/webhook_pb.js +599 -718
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
- package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
- package/api/ondewo/qa/qa_pb.d.ts +235 -220
- package/api/ondewo/qa/qa_pb.js +1222 -1452
- package/package.json +1 -1
- package/public-api.d.ts +4 -34
|
@@ -6,21 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
// GENERATED CODE -- DO NOT EDIT!
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
/* eslint-disable */
|
|
11
10
|
// @ts-nocheck
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
12
|
const grpc = {};
|
|
16
13
|
grpc.web = require('grpc-web');
|
|
17
14
|
|
|
15
|
+
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
18
16
|
|
|
19
|
-
var
|
|
17
|
+
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js');
|
|
20
18
|
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js')
|
|
19
|
+
var ondewo_nlu_entity_type_pb = require('../../ondewo/nlu/entity_type_pb.js');
|
|
24
20
|
const proto = {};
|
|
25
21
|
proto.ondewo = {};
|
|
26
22
|
proto.ondewo.nlu = require('./aiservices_pb.js');
|
|
@@ -33,24 +29,21 @@ proto.ondewo.nlu = require('./aiservices_pb.js');
|
|
|
33
29
|
* @struct
|
|
34
30
|
* @final
|
|
35
31
|
*/
|
|
36
|
-
proto.ondewo.nlu.AiServicesClient =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
this.hostname_ = hostname;
|
|
50
|
-
|
|
32
|
+
proto.ondewo.nlu.AiServicesClient = function (hostname, credentials, options) {
|
|
33
|
+
if (!options) options = {};
|
|
34
|
+
options.format = 'binary';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
38
|
+
*/
|
|
39
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private @const {string} The hostname
|
|
43
|
+
*/
|
|
44
|
+
this.hostname_ = hostname;
|
|
51
45
|
};
|
|
52
46
|
|
|
53
|
-
|
|
54
47
|
/**
|
|
55
48
|
* @param {string} hostname
|
|
56
49
|
* @param {?Object} credentials
|
|
@@ -59,24 +52,21 @@ proto.ondewo.nlu.AiServicesClient =
|
|
|
59
52
|
* @struct
|
|
60
53
|
* @final
|
|
61
54
|
*/
|
|
62
|
-
proto.ondewo.nlu.AiServicesPromiseClient =
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
this.hostname_ = hostname;
|
|
76
|
-
|
|
55
|
+
proto.ondewo.nlu.AiServicesPromiseClient = function (hostname, credentials, options) {
|
|
56
|
+
if (!options) options = {};
|
|
57
|
+
options.format = 'binary';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
61
|
+
*/
|
|
62
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @private @const {string} The hostname
|
|
66
|
+
*/
|
|
67
|
+
this.hostname_ = hostname;
|
|
77
68
|
};
|
|
78
69
|
|
|
79
|
-
|
|
80
70
|
/**
|
|
81
71
|
* @const
|
|
82
72
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -84,21 +74,20 @@ proto.ondewo.nlu.AiServicesPromiseClient =
|
|
|
84
74
|
* !proto.ondewo.nlu.ExtractEntitiesResponse>}
|
|
85
75
|
*/
|
|
86
76
|
const methodDescriptor_AiServices_ExtractEntities = new grpc.web.MethodDescriptor(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
77
|
+
'/ondewo.nlu.AiServices/ExtractEntities',
|
|
78
|
+
grpc.web.MethodType.UNARY,
|
|
79
|
+
proto.ondewo.nlu.ExtractEntitiesRequest,
|
|
80
|
+
proto.ondewo.nlu.ExtractEntitiesResponse,
|
|
81
|
+
/**
|
|
82
|
+
* @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request
|
|
83
|
+
* @return {!Uint8Array}
|
|
84
|
+
*/
|
|
85
|
+
function (request) {
|
|
86
|
+
return request.serializeBinary();
|
|
87
|
+
},
|
|
88
|
+
proto.ondewo.nlu.ExtractEntitiesResponse.deserializeBinary
|
|
99
89
|
);
|
|
100
90
|
|
|
101
|
-
|
|
102
91
|
/**
|
|
103
92
|
* @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request The
|
|
104
93
|
* request proto
|
|
@@ -109,17 +98,16 @@ const methodDescriptor_AiServices_ExtractEntities = new grpc.web.MethodDescripto
|
|
|
109
98
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ExtractEntitiesResponse>|undefined}
|
|
110
99
|
* The XHR Node Readable Stream
|
|
111
100
|
*/
|
|
112
|
-
proto.ondewo.nlu.AiServicesClient.prototype.extractEntities =
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
101
|
+
proto.ondewo.nlu.AiServicesClient.prototype.extractEntities = function (request, metadata, callback) {
|
|
102
|
+
return this.client_.rpcCall(
|
|
103
|
+
this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntities',
|
|
104
|
+
request,
|
|
105
|
+
metadata || {},
|
|
106
|
+
methodDescriptor_AiServices_ExtractEntities,
|
|
107
|
+
callback
|
|
108
|
+
);
|
|
120
109
|
};
|
|
121
110
|
|
|
122
|
-
|
|
123
111
|
/**
|
|
124
112
|
* @param {!proto.ondewo.nlu.ExtractEntitiesRequest} request The
|
|
125
113
|
* request proto
|
|
@@ -128,16 +116,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.extractEntities =
|
|
|
128
116
|
* @return {!Promise<!proto.ondewo.nlu.ExtractEntitiesResponse>}
|
|
129
117
|
* Promise that resolves to the response
|
|
130
118
|
*/
|
|
131
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntities =
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
119
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntities = function (request, metadata) {
|
|
120
|
+
return this.client_.unaryCall(
|
|
121
|
+
this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntities',
|
|
122
|
+
request,
|
|
123
|
+
metadata || {},
|
|
124
|
+
methodDescriptor_AiServices_ExtractEntities
|
|
125
|
+
);
|
|
138
126
|
};
|
|
139
127
|
|
|
140
|
-
|
|
141
128
|
/**
|
|
142
129
|
* @const
|
|
143
130
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -145,21 +132,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntities =
|
|
|
145
132
|
* !proto.ondewo.nlu.GenerateUserSaysResponse>}
|
|
146
133
|
*/
|
|
147
134
|
const methodDescriptor_AiServices_GenerateUserSays = new grpc.web.MethodDescriptor(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
135
|
+
'/ondewo.nlu.AiServices/GenerateUserSays',
|
|
136
|
+
grpc.web.MethodType.UNARY,
|
|
137
|
+
proto.ondewo.nlu.GenerateUserSaysRequest,
|
|
138
|
+
proto.ondewo.nlu.GenerateUserSaysResponse,
|
|
139
|
+
/**
|
|
140
|
+
* @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request
|
|
141
|
+
* @return {!Uint8Array}
|
|
142
|
+
*/
|
|
143
|
+
function (request) {
|
|
144
|
+
return request.serializeBinary();
|
|
145
|
+
},
|
|
146
|
+
proto.ondewo.nlu.GenerateUserSaysResponse.deserializeBinary
|
|
160
147
|
);
|
|
161
148
|
|
|
162
|
-
|
|
163
149
|
/**
|
|
164
150
|
* @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request The
|
|
165
151
|
* request proto
|
|
@@ -170,17 +156,16 @@ const methodDescriptor_AiServices_GenerateUserSays = new grpc.web.MethodDescript
|
|
|
170
156
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GenerateUserSaysResponse>|undefined}
|
|
171
157
|
* The XHR Node Readable Stream
|
|
172
158
|
*/
|
|
173
|
-
proto.ondewo.nlu.AiServicesClient.prototype.generateUserSays =
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
159
|
+
proto.ondewo.nlu.AiServicesClient.prototype.generateUserSays = function (request, metadata, callback) {
|
|
160
|
+
return this.client_.rpcCall(
|
|
161
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GenerateUserSays',
|
|
162
|
+
request,
|
|
163
|
+
metadata || {},
|
|
164
|
+
methodDescriptor_AiServices_GenerateUserSays,
|
|
165
|
+
callback
|
|
166
|
+
);
|
|
181
167
|
};
|
|
182
168
|
|
|
183
|
-
|
|
184
169
|
/**
|
|
185
170
|
* @param {!proto.ondewo.nlu.GenerateUserSaysRequest} request The
|
|
186
171
|
* request proto
|
|
@@ -189,16 +174,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.generateUserSays =
|
|
|
189
174
|
* @return {!Promise<!proto.ondewo.nlu.GenerateUserSaysResponse>}
|
|
190
175
|
* Promise that resolves to the response
|
|
191
176
|
*/
|
|
192
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateUserSays =
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
177
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateUserSays = function (request, metadata) {
|
|
178
|
+
return this.client_.unaryCall(
|
|
179
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GenerateUserSays',
|
|
180
|
+
request,
|
|
181
|
+
metadata || {},
|
|
182
|
+
methodDescriptor_AiServices_GenerateUserSays
|
|
183
|
+
);
|
|
199
184
|
};
|
|
200
185
|
|
|
201
|
-
|
|
202
186
|
/**
|
|
203
187
|
* @const
|
|
204
188
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -206,21 +190,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateUserSays =
|
|
|
206
190
|
* !proto.ondewo.nlu.GenerateResponsesResponse>}
|
|
207
191
|
*/
|
|
208
192
|
const methodDescriptor_AiServices_GenerateResponses = new grpc.web.MethodDescriptor(
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
193
|
+
'/ondewo.nlu.AiServices/GenerateResponses',
|
|
194
|
+
grpc.web.MethodType.UNARY,
|
|
195
|
+
proto.ondewo.nlu.GenerateResponsesRequest,
|
|
196
|
+
proto.ondewo.nlu.GenerateResponsesResponse,
|
|
197
|
+
/**
|
|
198
|
+
* @param {!proto.ondewo.nlu.GenerateResponsesRequest} request
|
|
199
|
+
* @return {!Uint8Array}
|
|
200
|
+
*/
|
|
201
|
+
function (request) {
|
|
202
|
+
return request.serializeBinary();
|
|
203
|
+
},
|
|
204
|
+
proto.ondewo.nlu.GenerateResponsesResponse.deserializeBinary
|
|
221
205
|
);
|
|
222
206
|
|
|
223
|
-
|
|
224
207
|
/**
|
|
225
208
|
* @param {!proto.ondewo.nlu.GenerateResponsesRequest} request The
|
|
226
209
|
* request proto
|
|
@@ -231,17 +214,16 @@ const methodDescriptor_AiServices_GenerateResponses = new grpc.web.MethodDescrip
|
|
|
231
214
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GenerateResponsesResponse>|undefined}
|
|
232
215
|
* The XHR Node Readable Stream
|
|
233
216
|
*/
|
|
234
|
-
proto.ondewo.nlu.AiServicesClient.prototype.generateResponses =
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
217
|
+
proto.ondewo.nlu.AiServicesClient.prototype.generateResponses = function (request, metadata, callback) {
|
|
218
|
+
return this.client_.rpcCall(
|
|
219
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GenerateResponses',
|
|
220
|
+
request,
|
|
221
|
+
metadata || {},
|
|
222
|
+
methodDescriptor_AiServices_GenerateResponses,
|
|
223
|
+
callback
|
|
224
|
+
);
|
|
242
225
|
};
|
|
243
226
|
|
|
244
|
-
|
|
245
227
|
/**
|
|
246
228
|
* @param {!proto.ondewo.nlu.GenerateResponsesRequest} request The
|
|
247
229
|
* request proto
|
|
@@ -250,16 +232,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.generateResponses =
|
|
|
250
232
|
* @return {!Promise<!proto.ondewo.nlu.GenerateResponsesResponse>}
|
|
251
233
|
* Promise that resolves to the response
|
|
252
234
|
*/
|
|
253
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateResponses =
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
235
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateResponses = function (request, metadata) {
|
|
236
|
+
return this.client_.unaryCall(
|
|
237
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GenerateResponses',
|
|
238
|
+
request,
|
|
239
|
+
metadata || {},
|
|
240
|
+
methodDescriptor_AiServices_GenerateResponses
|
|
241
|
+
);
|
|
260
242
|
};
|
|
261
243
|
|
|
262
|
-
|
|
263
244
|
/**
|
|
264
245
|
* @const
|
|
265
246
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -267,21 +248,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.generateResponses =
|
|
|
267
248
|
* !proto.ondewo.nlu.GetAlternativeSentencesResponse>}
|
|
268
249
|
*/
|
|
269
250
|
const methodDescriptor_AiServices_GetAlternativeSentences = new grpc.web.MethodDescriptor(
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
251
|
+
'/ondewo.nlu.AiServices/GetAlternativeSentences',
|
|
252
|
+
grpc.web.MethodType.UNARY,
|
|
253
|
+
proto.ondewo.nlu.GetAlternativeSentencesRequest,
|
|
254
|
+
proto.ondewo.nlu.GetAlternativeSentencesResponse,
|
|
255
|
+
/**
|
|
256
|
+
* @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request
|
|
257
|
+
* @return {!Uint8Array}
|
|
258
|
+
*/
|
|
259
|
+
function (request) {
|
|
260
|
+
return request.serializeBinary();
|
|
261
|
+
},
|
|
262
|
+
proto.ondewo.nlu.GetAlternativeSentencesResponse.deserializeBinary
|
|
282
263
|
);
|
|
283
264
|
|
|
284
|
-
|
|
285
265
|
/**
|
|
286
266
|
* @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request The
|
|
287
267
|
* request proto
|
|
@@ -292,17 +272,16 @@ const methodDescriptor_AiServices_GetAlternativeSentences = new grpc.web.MethodD
|
|
|
292
272
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetAlternativeSentencesResponse>|undefined}
|
|
293
273
|
* The XHR Node Readable Stream
|
|
294
274
|
*/
|
|
295
|
-
proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeSentences =
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
275
|
+
proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeSentences = function (request, metadata, callback) {
|
|
276
|
+
return this.client_.rpcCall(
|
|
277
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeSentences',
|
|
278
|
+
request,
|
|
279
|
+
metadata || {},
|
|
280
|
+
methodDescriptor_AiServices_GetAlternativeSentences,
|
|
281
|
+
callback
|
|
282
|
+
);
|
|
303
283
|
};
|
|
304
284
|
|
|
305
|
-
|
|
306
285
|
/**
|
|
307
286
|
* @param {!proto.ondewo.nlu.GetAlternativeSentencesRequest} request The
|
|
308
287
|
* request proto
|
|
@@ -311,16 +290,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeSentences =
|
|
|
311
290
|
* @return {!Promise<!proto.ondewo.nlu.GetAlternativeSentencesResponse>}
|
|
312
291
|
* Promise that resolves to the response
|
|
313
292
|
*/
|
|
314
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeSentences =
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
293
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeSentences = function (request, metadata) {
|
|
294
|
+
return this.client_.unaryCall(
|
|
295
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeSentences',
|
|
296
|
+
request,
|
|
297
|
+
metadata || {},
|
|
298
|
+
methodDescriptor_AiServices_GetAlternativeSentences
|
|
299
|
+
);
|
|
321
300
|
};
|
|
322
301
|
|
|
323
|
-
|
|
324
302
|
/**
|
|
325
303
|
* @const
|
|
326
304
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -328,21 +306,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeSentences =
|
|
|
328
306
|
* !proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse>}
|
|
329
307
|
*/
|
|
330
308
|
const methodDescriptor_AiServices_GetAlternativeTrainingPhrases = new grpc.web.MethodDescriptor(
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
309
|
+
'/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
|
|
310
|
+
grpc.web.MethodType.UNARY,
|
|
311
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest,
|
|
312
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse,
|
|
313
|
+
/**
|
|
314
|
+
* @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request
|
|
315
|
+
* @return {!Uint8Array}
|
|
316
|
+
*/
|
|
317
|
+
function (request) {
|
|
318
|
+
return request.serializeBinary();
|
|
319
|
+
},
|
|
320
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.deserializeBinary
|
|
343
321
|
);
|
|
344
322
|
|
|
345
|
-
|
|
346
323
|
/**
|
|
347
324
|
* @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request The
|
|
348
325
|
* request proto
|
|
@@ -353,17 +330,16 @@ const methodDescriptor_AiServices_GetAlternativeTrainingPhrases = new grpc.web.M
|
|
|
353
330
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse>|undefined}
|
|
354
331
|
* The XHR Node Readable Stream
|
|
355
332
|
*/
|
|
356
|
-
proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeTrainingPhrases =
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
333
|
+
proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeTrainingPhrases = function (request, metadata, callback) {
|
|
334
|
+
return this.client_.rpcCall(
|
|
335
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
|
|
336
|
+
request,
|
|
337
|
+
metadata || {},
|
|
338
|
+
methodDescriptor_AiServices_GetAlternativeTrainingPhrases,
|
|
339
|
+
callback
|
|
340
|
+
);
|
|
364
341
|
};
|
|
365
342
|
|
|
366
|
-
|
|
367
343
|
/**
|
|
368
344
|
* @param {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} request The
|
|
369
345
|
* request proto
|
|
@@ -372,16 +348,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.getAlternativeTrainingPhrases =
|
|
|
372
348
|
* @return {!Promise<!proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse>}
|
|
373
349
|
* Promise that resolves to the response
|
|
374
350
|
*/
|
|
375
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeTrainingPhrases =
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
351
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeTrainingPhrases = function (request, metadata) {
|
|
352
|
+
return this.client_.unaryCall(
|
|
353
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GetAlternativeTrainingPhrases',
|
|
354
|
+
request,
|
|
355
|
+
metadata || {},
|
|
356
|
+
methodDescriptor_AiServices_GetAlternativeTrainingPhrases
|
|
357
|
+
);
|
|
382
358
|
};
|
|
383
359
|
|
|
384
|
-
|
|
385
360
|
/**
|
|
386
361
|
* @const
|
|
387
362
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -389,21 +364,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getAlternativeTrainingPhrases
|
|
|
389
364
|
* !proto.ondewo.nlu.GetSynonymsResponse>}
|
|
390
365
|
*/
|
|
391
366
|
const methodDescriptor_AiServices_GetSynonyms = new grpc.web.MethodDescriptor(
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
367
|
+
'/ondewo.nlu.AiServices/GetSynonyms',
|
|
368
|
+
grpc.web.MethodType.UNARY,
|
|
369
|
+
proto.ondewo.nlu.GetSynonymsRequest,
|
|
370
|
+
proto.ondewo.nlu.GetSynonymsResponse,
|
|
371
|
+
/**
|
|
372
|
+
* @param {!proto.ondewo.nlu.GetSynonymsRequest} request
|
|
373
|
+
* @return {!Uint8Array}
|
|
374
|
+
*/
|
|
375
|
+
function (request) {
|
|
376
|
+
return request.serializeBinary();
|
|
377
|
+
},
|
|
378
|
+
proto.ondewo.nlu.GetSynonymsResponse.deserializeBinary
|
|
404
379
|
);
|
|
405
380
|
|
|
406
|
-
|
|
407
381
|
/**
|
|
408
382
|
* @param {!proto.ondewo.nlu.GetSynonymsRequest} request The
|
|
409
383
|
* request proto
|
|
@@ -414,17 +388,16 @@ const methodDescriptor_AiServices_GetSynonyms = new grpc.web.MethodDescriptor(
|
|
|
414
388
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetSynonymsResponse>|undefined}
|
|
415
389
|
* The XHR Node Readable Stream
|
|
416
390
|
*/
|
|
417
|
-
proto.ondewo.nlu.AiServicesClient.prototype.getSynonyms =
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
391
|
+
proto.ondewo.nlu.AiServicesClient.prototype.getSynonyms = function (request, metadata, callback) {
|
|
392
|
+
return this.client_.rpcCall(
|
|
393
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GetSynonyms',
|
|
394
|
+
request,
|
|
395
|
+
metadata || {},
|
|
396
|
+
methodDescriptor_AiServices_GetSynonyms,
|
|
397
|
+
callback
|
|
398
|
+
);
|
|
425
399
|
};
|
|
426
400
|
|
|
427
|
-
|
|
428
401
|
/**
|
|
429
402
|
* @param {!proto.ondewo.nlu.GetSynonymsRequest} request The
|
|
430
403
|
* request proto
|
|
@@ -433,16 +406,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.getSynonyms =
|
|
|
433
406
|
* @return {!Promise<!proto.ondewo.nlu.GetSynonymsResponse>}
|
|
434
407
|
* Promise that resolves to the response
|
|
435
408
|
*/
|
|
436
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.getSynonyms =
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
409
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.getSynonyms = function (request, metadata) {
|
|
410
|
+
return this.client_.unaryCall(
|
|
411
|
+
this.hostname_ + '/ondewo.nlu.AiServices/GetSynonyms',
|
|
412
|
+
request,
|
|
413
|
+
metadata || {},
|
|
414
|
+
methodDescriptor_AiServices_GetSynonyms
|
|
415
|
+
);
|
|
443
416
|
};
|
|
444
417
|
|
|
445
|
-
|
|
446
418
|
/**
|
|
447
419
|
* @const
|
|
448
420
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -450,21 +422,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.getSynonyms =
|
|
|
450
422
|
* !proto.ondewo.nlu.ClassifyIntentsResponse>}
|
|
451
423
|
*/
|
|
452
424
|
const methodDescriptor_AiServices_ClassifyIntents = new grpc.web.MethodDescriptor(
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
425
|
+
'/ondewo.nlu.AiServices/ClassifyIntents',
|
|
426
|
+
grpc.web.MethodType.UNARY,
|
|
427
|
+
proto.ondewo.nlu.ClassifyIntentsRequest,
|
|
428
|
+
proto.ondewo.nlu.ClassifyIntentsResponse,
|
|
429
|
+
/**
|
|
430
|
+
* @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request
|
|
431
|
+
* @return {!Uint8Array}
|
|
432
|
+
*/
|
|
433
|
+
function (request) {
|
|
434
|
+
return request.serializeBinary();
|
|
435
|
+
},
|
|
436
|
+
proto.ondewo.nlu.ClassifyIntentsResponse.deserializeBinary
|
|
465
437
|
);
|
|
466
438
|
|
|
467
|
-
|
|
468
439
|
/**
|
|
469
440
|
* @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request The
|
|
470
441
|
* request proto
|
|
@@ -475,17 +446,16 @@ const methodDescriptor_AiServices_ClassifyIntents = new grpc.web.MethodDescripto
|
|
|
475
446
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ClassifyIntentsResponse>|undefined}
|
|
476
447
|
* The XHR Node Readable Stream
|
|
477
448
|
*/
|
|
478
|
-
proto.ondewo.nlu.AiServicesClient.prototype.classifyIntents =
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
449
|
+
proto.ondewo.nlu.AiServicesClient.prototype.classifyIntents = function (request, metadata, callback) {
|
|
450
|
+
return this.client_.rpcCall(
|
|
451
|
+
this.hostname_ + '/ondewo.nlu.AiServices/ClassifyIntents',
|
|
452
|
+
request,
|
|
453
|
+
metadata || {},
|
|
454
|
+
methodDescriptor_AiServices_ClassifyIntents,
|
|
455
|
+
callback
|
|
456
|
+
);
|
|
486
457
|
};
|
|
487
458
|
|
|
488
|
-
|
|
489
459
|
/**
|
|
490
460
|
* @param {!proto.ondewo.nlu.ClassifyIntentsRequest} request The
|
|
491
461
|
* request proto
|
|
@@ -494,16 +464,15 @@ proto.ondewo.nlu.AiServicesClient.prototype.classifyIntents =
|
|
|
494
464
|
* @return {!Promise<!proto.ondewo.nlu.ClassifyIntentsResponse>}
|
|
495
465
|
* Promise that resolves to the response
|
|
496
466
|
*/
|
|
497
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.classifyIntents =
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
467
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.classifyIntents = function (request, metadata) {
|
|
468
|
+
return this.client_.unaryCall(
|
|
469
|
+
this.hostname_ + '/ondewo.nlu.AiServices/ClassifyIntents',
|
|
470
|
+
request,
|
|
471
|
+
metadata || {},
|
|
472
|
+
methodDescriptor_AiServices_ClassifyIntents
|
|
473
|
+
);
|
|
504
474
|
};
|
|
505
475
|
|
|
506
|
-
|
|
507
476
|
/**
|
|
508
477
|
* @const
|
|
509
478
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -511,21 +480,20 @@ proto.ondewo.nlu.AiServicesPromiseClient.prototype.classifyIntents =
|
|
|
511
480
|
* !proto.ondewo.nlu.ExtractEntitiesResponse>}
|
|
512
481
|
*/
|
|
513
482
|
const methodDescriptor_AiServices_ExtractEntitiesFuzzy = new grpc.web.MethodDescriptor(
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
483
|
+
'/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
|
|
484
|
+
grpc.web.MethodType.UNARY,
|
|
485
|
+
proto.ondewo.nlu.ExtractEntitiesFuzzyRequest,
|
|
486
|
+
proto.ondewo.nlu.ExtractEntitiesResponse,
|
|
487
|
+
/**
|
|
488
|
+
* @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request
|
|
489
|
+
* @return {!Uint8Array}
|
|
490
|
+
*/
|
|
491
|
+
function (request) {
|
|
492
|
+
return request.serializeBinary();
|
|
493
|
+
},
|
|
494
|
+
proto.ondewo.nlu.ExtractEntitiesResponse.deserializeBinary
|
|
526
495
|
);
|
|
527
496
|
|
|
528
|
-
|
|
529
497
|
/**
|
|
530
498
|
* @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request The
|
|
531
499
|
* request proto
|
|
@@ -536,17 +504,16 @@ const methodDescriptor_AiServices_ExtractEntitiesFuzzy = new grpc.web.MethodDesc
|
|
|
536
504
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ExtractEntitiesResponse>|undefined}
|
|
537
505
|
* The XHR Node Readable Stream
|
|
538
506
|
*/
|
|
539
|
-
proto.ondewo.nlu.AiServicesClient.prototype.extractEntitiesFuzzy =
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
507
|
+
proto.ondewo.nlu.AiServicesClient.prototype.extractEntitiesFuzzy = function (request, metadata, callback) {
|
|
508
|
+
return this.client_.rpcCall(
|
|
509
|
+
this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
|
|
510
|
+
request,
|
|
511
|
+
metadata || {},
|
|
512
|
+
methodDescriptor_AiServices_ExtractEntitiesFuzzy,
|
|
513
|
+
callback
|
|
514
|
+
);
|
|
547
515
|
};
|
|
548
516
|
|
|
549
|
-
|
|
550
517
|
/**
|
|
551
518
|
* @param {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} request The
|
|
552
519
|
* request proto
|
|
@@ -555,15 +522,13 @@ proto.ondewo.nlu.AiServicesClient.prototype.extractEntitiesFuzzy =
|
|
|
555
522
|
* @return {!Promise<!proto.ondewo.nlu.ExtractEntitiesResponse>}
|
|
556
523
|
* Promise that resolves to the response
|
|
557
524
|
*/
|
|
558
|
-
proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntitiesFuzzy =
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
525
|
+
proto.ondewo.nlu.AiServicesPromiseClient.prototype.extractEntitiesFuzzy = function (request, metadata) {
|
|
526
|
+
return this.client_.unaryCall(
|
|
527
|
+
this.hostname_ + '/ondewo.nlu.AiServices/ExtractEntitiesFuzzy',
|
|
528
|
+
request,
|
|
529
|
+
metadata || {},
|
|
530
|
+
methodDescriptor_AiServices_ExtractEntitiesFuzzy
|
|
531
|
+
);
|
|
565
532
|
};
|
|
566
533
|
|
|
567
|
-
|
|
568
534
|
module.exports = proto.ondewo.nlu;
|
|
569
|
-
|