@ondewo/nlu-client-typescript 6.0.0 → 6.2.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/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +59 -0
- package/api/ondewo/nlu/agent_pb.js +702 -322
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
- package/api/ondewo/nlu/aiservices_pb.js +637 -125
- package/api/ondewo/nlu/ccai_project_pb.d.ts +56 -0
- package/api/ondewo/nlu/ccai_project_pb.js +292 -71
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/operations_pb.d.ts +23 -0
- package/api/ondewo/nlu/operations_pb.js +125 -21
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
- package/api/ondewo/nlu/project_role_pb.js +127 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.d.ts +198 -0
- package/api/ondewo/nlu/session_pb.js +1312 -394
- package/api/ondewo/nlu/user_pb.d.ts +83 -0
- package/api/ondewo/nlu/user_pb.js +479 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +3 -3
|
@@ -23,6 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
26
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
27
|
+
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
26
28
|
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
27
29
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
28
30
|
var ondewo_nlu_ccai_project_pb = require('../../ondewo/nlu/ccai_project_pb.js');
|
|
@@ -882,7 +884,8 @@ proto.ondewo.nlu.ListLlmModelsRequest.prototype.toObject = function(opt_includeI
|
|
|
882
884
|
*/
|
|
883
885
|
proto.ondewo.nlu.ListLlmModelsRequest.toObject = function(includeInstance, msg) {
|
|
884
886
|
var f, obj = {
|
|
885
|
-
|
|
887
|
+
ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
888
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
886
889
|
};
|
|
887
890
|
|
|
888
891
|
if (includeInstance) {
|
|
@@ -923,6 +926,11 @@ proto.ondewo.nlu.ListLlmModelsRequest.deserializeBinaryFromReader = function(msg
|
|
|
923
926
|
var value = /** @type {string} */ (reader.readString());
|
|
924
927
|
msg.setCcaiServiceName(value);
|
|
925
928
|
break;
|
|
929
|
+
case 2:
|
|
930
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
931
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
932
|
+
msg.setFieldMask(value);
|
|
933
|
+
break;
|
|
926
934
|
default:
|
|
927
935
|
reader.skipField();
|
|
928
936
|
break;
|
|
@@ -959,6 +967,14 @@ proto.ondewo.nlu.ListLlmModelsRequest.serializeBinaryToWriter = function(message
|
|
|
959
967
|
f
|
|
960
968
|
);
|
|
961
969
|
}
|
|
970
|
+
f = message.getFieldMask();
|
|
971
|
+
if (f != null) {
|
|
972
|
+
writer.writeMessage(
|
|
973
|
+
2,
|
|
974
|
+
f,
|
|
975
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
976
|
+
);
|
|
977
|
+
}
|
|
962
978
|
};
|
|
963
979
|
|
|
964
980
|
|
|
@@ -980,6 +996,43 @@ proto.ondewo.nlu.ListLlmModelsRequest.prototype.setCcaiServiceName = function(va
|
|
|
980
996
|
};
|
|
981
997
|
|
|
982
998
|
|
|
999
|
+
/**
|
|
1000
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
1001
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1002
|
+
*/
|
|
1003
|
+
proto.ondewo.nlu.ListLlmModelsRequest.prototype.getFieldMask = function() {
|
|
1004
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1005
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1011
|
+
* @return {!proto.ondewo.nlu.ListLlmModelsRequest} returns this
|
|
1012
|
+
*/
|
|
1013
|
+
proto.ondewo.nlu.ListLlmModelsRequest.prototype.setFieldMask = function(value) {
|
|
1014
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Clears the message field making it undefined.
|
|
1020
|
+
* @return {!proto.ondewo.nlu.ListLlmModelsRequest} returns this
|
|
1021
|
+
*/
|
|
1022
|
+
proto.ondewo.nlu.ListLlmModelsRequest.prototype.clearFieldMask = function() {
|
|
1023
|
+
return this.setFieldMask(undefined);
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Returns whether this field is set.
|
|
1029
|
+
* @return {boolean}
|
|
1030
|
+
*/
|
|
1031
|
+
proto.ondewo.nlu.ListLlmModelsRequest.prototype.hasFieldMask = function() {
|
|
1032
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
|
|
983
1036
|
|
|
984
1037
|
/**
|
|
985
1038
|
* List of repeated fields within this message type.
|
|
@@ -1019,7 +1072,7 @@ proto.ondewo.nlu.ListLlmModelsResponse.prototype.toObject = function(opt_include
|
|
|
1019
1072
|
*/
|
|
1020
1073
|
proto.ondewo.nlu.ListLlmModelsResponse.toObject = function(includeInstance, msg) {
|
|
1021
1074
|
var f, obj = {
|
|
1022
|
-
|
|
1075
|
+
llmModelsList: jspb.Message.toObjectList(msg.getLlmModelsList(),
|
|
1023
1076
|
proto.ondewo.nlu.LlmModel.toObject, includeInstance)
|
|
1024
1077
|
};
|
|
1025
1078
|
|
|
@@ -1172,11 +1225,11 @@ proto.ondewo.nlu.LlmModel.prototype.toObject = function(opt_includeInstance) {
|
|
|
1172
1225
|
*/
|
|
1173
1226
|
proto.ondewo.nlu.LlmModel.toObject = function(includeInstance, msg) {
|
|
1174
1227
|
var f, obj = {
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1228
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1229
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1230
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1231
|
+
ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1232
|
+
ccaiServiceProvider: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
1180
1233
|
};
|
|
1181
1234
|
|
|
1182
1235
|
if (includeInstance) {
|
|
@@ -1429,10 +1482,11 @@ proto.ondewo.nlu.LlmGenerateRequest.prototype.toObject = function(opt_includeIns
|
|
|
1429
1482
|
*/
|
|
1430
1483
|
proto.ondewo.nlu.LlmGenerateRequest.toObject = function(includeInstance, msg) {
|
|
1431
1484
|
var f, obj = {
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
ondewo_nlu_session_pb.FileResource.toObject, includeInstance)
|
|
1485
|
+
llmGenerationRequest: (f = msg.getLlmGenerationRequest()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1486
|
+
ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1487
|
+
fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
|
|
1488
|
+
ondewo_nlu_session_pb.FileResource.toObject, includeInstance),
|
|
1489
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1436
1490
|
};
|
|
1437
1491
|
|
|
1438
1492
|
if (includeInstance) {
|
|
@@ -1483,6 +1537,11 @@ proto.ondewo.nlu.LlmGenerateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
1483
1537
|
reader.readMessage(value,ondewo_nlu_session_pb.FileResource.deserializeBinaryFromReader);
|
|
1484
1538
|
msg.addFileResources(value);
|
|
1485
1539
|
break;
|
|
1540
|
+
case 4:
|
|
1541
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1542
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1543
|
+
msg.setFieldMask(value);
|
|
1544
|
+
break;
|
|
1486
1545
|
default:
|
|
1487
1546
|
reader.skipField();
|
|
1488
1547
|
break;
|
|
@@ -1535,6 +1594,14 @@ proto.ondewo.nlu.LlmGenerateRequest.serializeBinaryToWriter = function(message,
|
|
|
1535
1594
|
ondewo_nlu_session_pb.FileResource.serializeBinaryToWriter
|
|
1536
1595
|
);
|
|
1537
1596
|
}
|
|
1597
|
+
f = message.getFieldMask();
|
|
1598
|
+
if (f != null) {
|
|
1599
|
+
writer.writeMessage(
|
|
1600
|
+
4,
|
|
1601
|
+
f,
|
|
1602
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1603
|
+
);
|
|
1604
|
+
}
|
|
1538
1605
|
};
|
|
1539
1606
|
|
|
1540
1607
|
|
|
@@ -1631,6 +1698,43 @@ proto.ondewo.nlu.LlmGenerateRequest.prototype.clearFileResourcesList = function(
|
|
|
1631
1698
|
};
|
|
1632
1699
|
|
|
1633
1700
|
|
|
1701
|
+
/**
|
|
1702
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
1703
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1704
|
+
*/
|
|
1705
|
+
proto.ondewo.nlu.LlmGenerateRequest.prototype.getFieldMask = function() {
|
|
1706
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1707
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1713
|
+
* @return {!proto.ondewo.nlu.LlmGenerateRequest} returns this
|
|
1714
|
+
*/
|
|
1715
|
+
proto.ondewo.nlu.LlmGenerateRequest.prototype.setFieldMask = function(value) {
|
|
1716
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Clears the message field making it undefined.
|
|
1722
|
+
* @return {!proto.ondewo.nlu.LlmGenerateRequest} returns this
|
|
1723
|
+
*/
|
|
1724
|
+
proto.ondewo.nlu.LlmGenerateRequest.prototype.clearFieldMask = function() {
|
|
1725
|
+
return this.setFieldMask(undefined);
|
|
1726
|
+
};
|
|
1727
|
+
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Returns whether this field is set.
|
|
1731
|
+
* @return {boolean}
|
|
1732
|
+
*/
|
|
1733
|
+
proto.ondewo.nlu.LlmGenerateRequest.prototype.hasFieldMask = function() {
|
|
1734
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1737
|
+
|
|
1634
1738
|
|
|
1635
1739
|
/**
|
|
1636
1740
|
* List of repeated fields within this message type.
|
|
@@ -1670,8 +1774,8 @@ proto.ondewo.nlu.LlmGenerateResponse.prototype.toObject = function(opt_includeIn
|
|
|
1670
1774
|
*/
|
|
1671
1775
|
proto.ondewo.nlu.LlmGenerateResponse.toObject = function(includeInstance, msg) {
|
|
1672
1776
|
var f, obj = {
|
|
1673
|
-
|
|
1674
|
-
|
|
1777
|
+
llmGenerationResponse: (f = msg.getLlmGenerationResponse()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
1778
|
+
fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
|
|
1675
1779
|
ondewo_nlu_session_pb.FileResource.toObject, includeInstance)
|
|
1676
1780
|
};
|
|
1677
1781
|
|
|
@@ -1874,7 +1978,7 @@ proto.ondewo.nlu.StreamingLlmGenerateResponse.prototype.toObject = function(opt_
|
|
|
1874
1978
|
*/
|
|
1875
1979
|
proto.ondewo.nlu.StreamingLlmGenerateResponse.toObject = function(includeInstance, msg) {
|
|
1876
1980
|
var f, obj = {
|
|
1877
|
-
|
|
1981
|
+
llmGenerationStreamResponse: (f = msg.getLlmGenerationStreamResponse()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
1878
1982
|
};
|
|
1879
1983
|
|
|
1880
1984
|
if (includeInstance) {
|
|
@@ -2025,10 +2129,11 @@ proto.ondewo.nlu.ExtractEntitiesRequest.prototype.toObject = function(opt_includ
|
|
|
2025
2129
|
*/
|
|
2026
2130
|
proto.ondewo.nlu.ExtractEntitiesRequest.toObject = function(includeInstance, msg) {
|
|
2027
2131
|
var f, obj = {
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2132
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2133
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2134
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2135
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2136
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2032
2137
|
};
|
|
2033
2138
|
|
|
2034
2139
|
if (includeInstance) {
|
|
@@ -2081,6 +2186,11 @@ proto.ondewo.nlu.ExtractEntitiesRequest.deserializeBinaryFromReader = function(m
|
|
|
2081
2186
|
var value = /** @type {string} */ (reader.readString());
|
|
2082
2187
|
msg.setIntentName(value);
|
|
2083
2188
|
break;
|
|
2189
|
+
case 5:
|
|
2190
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2191
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2192
|
+
msg.setFieldMask(value);
|
|
2193
|
+
break;
|
|
2084
2194
|
default:
|
|
2085
2195
|
reader.skipField();
|
|
2086
2196
|
break;
|
|
@@ -2138,6 +2248,14 @@ proto.ondewo.nlu.ExtractEntitiesRequest.serializeBinaryToWriter = function(messa
|
|
|
2138
2248
|
f
|
|
2139
2249
|
);
|
|
2140
2250
|
}
|
|
2251
|
+
f = message.getFieldMask();
|
|
2252
|
+
if (f != null) {
|
|
2253
|
+
writer.writeMessage(
|
|
2254
|
+
5,
|
|
2255
|
+
f,
|
|
2256
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2257
|
+
);
|
|
2258
|
+
}
|
|
2141
2259
|
};
|
|
2142
2260
|
|
|
2143
2261
|
|
|
@@ -2213,6 +2331,43 @@ proto.ondewo.nlu.ExtractEntitiesRequest.prototype.setIntentName = function(value
|
|
|
2213
2331
|
};
|
|
2214
2332
|
|
|
2215
2333
|
|
|
2334
|
+
/**
|
|
2335
|
+
* optional google.protobuf.FieldMask field_mask = 5;
|
|
2336
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2337
|
+
*/
|
|
2338
|
+
proto.ondewo.nlu.ExtractEntitiesRequest.prototype.getFieldMask = function() {
|
|
2339
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2340
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 5));
|
|
2341
|
+
};
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2346
|
+
* @return {!proto.ondewo.nlu.ExtractEntitiesRequest} returns this
|
|
2347
|
+
*/
|
|
2348
|
+
proto.ondewo.nlu.ExtractEntitiesRequest.prototype.setFieldMask = function(value) {
|
|
2349
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* Clears the message field making it undefined.
|
|
2355
|
+
* @return {!proto.ondewo.nlu.ExtractEntitiesRequest} returns this
|
|
2356
|
+
*/
|
|
2357
|
+
proto.ondewo.nlu.ExtractEntitiesRequest.prototype.clearFieldMask = function() {
|
|
2358
|
+
return this.setFieldMask(undefined);
|
|
2359
|
+
};
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* Returns whether this field is set.
|
|
2364
|
+
* @return {boolean}
|
|
2365
|
+
*/
|
|
2366
|
+
proto.ondewo.nlu.ExtractEntitiesRequest.prototype.hasFieldMask = function() {
|
|
2367
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
|
|
2216
2371
|
|
|
2217
2372
|
/**
|
|
2218
2373
|
* List of repeated fields within this message type.
|
|
@@ -2252,12 +2407,13 @@ proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.toObject = function(opt_i
|
|
|
2252
2407
|
*/
|
|
2253
2408
|
proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.toObject = function(includeInstance, msg) {
|
|
2254
2409
|
var f, obj = {
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2410
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2411
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2412
|
+
potentialEntitiesList: jspb.Message.toObjectList(msg.getPotentialEntitiesList(),
|
|
2258
2413
|
proto.ondewo.nlu.EntityTypeFuzzyNerConfig.toObject, includeInstance),
|
|
2259
|
-
|
|
2260
|
-
|
|
2414
|
+
minimalScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
2415
|
+
allowOverlaps: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
2416
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2261
2417
|
};
|
|
2262
2418
|
|
|
2263
2419
|
if (includeInstance) {
|
|
@@ -2315,6 +2471,11 @@ proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.deserializeBinaryFromReader = funct
|
|
|
2315
2471
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2316
2472
|
msg.setAllowOverlaps(value);
|
|
2317
2473
|
break;
|
|
2474
|
+
case 6:
|
|
2475
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2476
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2477
|
+
msg.setFieldMask(value);
|
|
2478
|
+
break;
|
|
2318
2479
|
default:
|
|
2319
2480
|
reader.skipField();
|
|
2320
2481
|
break;
|
|
@@ -2380,6 +2541,14 @@ proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.serializeBinaryToWriter = function(
|
|
|
2380
2541
|
f
|
|
2381
2542
|
);
|
|
2382
2543
|
}
|
|
2544
|
+
f = message.getFieldMask();
|
|
2545
|
+
if (f != null) {
|
|
2546
|
+
writer.writeMessage(
|
|
2547
|
+
6,
|
|
2548
|
+
f,
|
|
2549
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2550
|
+
);
|
|
2551
|
+
}
|
|
2383
2552
|
};
|
|
2384
2553
|
|
|
2385
2554
|
|
|
@@ -2493,6 +2662,43 @@ proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.setAllowOverlaps = functi
|
|
|
2493
2662
|
};
|
|
2494
2663
|
|
|
2495
2664
|
|
|
2665
|
+
/**
|
|
2666
|
+
* optional google.protobuf.FieldMask field_mask = 6;
|
|
2667
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2668
|
+
*/
|
|
2669
|
+
proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.getFieldMask = function() {
|
|
2670
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2671
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 6));
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2677
|
+
* @return {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} returns this
|
|
2678
|
+
*/
|
|
2679
|
+
proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.setFieldMask = function(value) {
|
|
2680
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* Clears the message field making it undefined.
|
|
2686
|
+
* @return {!proto.ondewo.nlu.ExtractEntitiesFuzzyRequest} returns this
|
|
2687
|
+
*/
|
|
2688
|
+
proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.clearFieldMask = function() {
|
|
2689
|
+
return this.setFieldMask(undefined);
|
|
2690
|
+
};
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
* Returns whether this field is set.
|
|
2695
|
+
* @return {boolean}
|
|
2696
|
+
*/
|
|
2697
|
+
proto.ondewo.nlu.ExtractEntitiesFuzzyRequest.prototype.hasFieldMask = function() {
|
|
2698
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2699
|
+
};
|
|
2700
|
+
|
|
2701
|
+
|
|
2496
2702
|
|
|
2497
2703
|
/**
|
|
2498
2704
|
* List of repeated fields within this message type.
|
|
@@ -2532,11 +2738,11 @@ proto.ondewo.nlu.EntityTypeFuzzyNerConfig.prototype.toObject = function(opt_incl
|
|
|
2532
2738
|
*/
|
|
2533
2739
|
proto.ondewo.nlu.EntityTypeFuzzyNerConfig.toObject = function(includeInstance, msg) {
|
|
2534
2740
|
var f, obj = {
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2741
|
+
entityType: (f = msg.getEntityType()) && ondewo_nlu_entity_type_pb.EntityType.toObject(includeInstance, f),
|
|
2742
|
+
minimalScore: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
2743
|
+
entityValuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
2744
|
+
algorithm: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2745
|
+
allowOverlaps: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
2540
2746
|
};
|
|
2541
2747
|
|
|
2542
2748
|
if (includeInstance) {
|
|
@@ -2830,9 +3036,9 @@ proto.ondewo.nlu.EntityDetected.prototype.toObject = function(opt_includeInstanc
|
|
|
2830
3036
|
*/
|
|
2831
3037
|
proto.ondewo.nlu.EntityDetected.toObject = function(includeInstance, msg) {
|
|
2832
3038
|
var f, obj = {
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
3039
|
+
entity: (f = msg.getEntity()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.toObject(includeInstance, f),
|
|
3040
|
+
extractionMethod: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3041
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
|
2836
3042
|
};
|
|
2837
3043
|
|
|
2838
3044
|
if (includeInstance) {
|
|
@@ -3048,9 +3254,9 @@ proto.ondewo.nlu.ExtractEntitiesResponse.prototype.toObject = function(opt_inclu
|
|
|
3048
3254
|
*/
|
|
3049
3255
|
proto.ondewo.nlu.ExtractEntitiesResponse.toObject = function(includeInstance, msg) {
|
|
3050
3256
|
var f, obj = {
|
|
3051
|
-
|
|
3257
|
+
entitiesDetectedList: jspb.Message.toObjectList(msg.getEntitiesDetectedList(),
|
|
3052
3258
|
proto.ondewo.nlu.EntityDetected.toObject, includeInstance),
|
|
3053
|
-
|
|
3259
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3054
3260
|
};
|
|
3055
3261
|
|
|
3056
3262
|
if (includeInstance) {
|
|
@@ -3238,12 +3444,13 @@ proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.toObject = function(op
|
|
|
3238
3444
|
*/
|
|
3239
3445
|
proto.ondewo.nlu.GetAlternativeSentencesRequest.toObject = function(includeInstance, msg) {
|
|
3240
3446
|
var f, obj = {
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3447
|
+
config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
|
|
3448
|
+
sentence: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3449
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3450
|
+
parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3451
|
+
protectedWordsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
3452
|
+
wordsToChangeList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
3453
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3247
3454
|
};
|
|
3248
3455
|
|
|
3249
3456
|
if (includeInstance) {
|
|
@@ -3305,6 +3512,11 @@ proto.ondewo.nlu.GetAlternativeSentencesRequest.deserializeBinaryFromReader = fu
|
|
|
3305
3512
|
var value = /** @type {string} */ (reader.readString());
|
|
3306
3513
|
msg.addWordsToChange(value);
|
|
3307
3514
|
break;
|
|
3515
|
+
case 8:
|
|
3516
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3517
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3518
|
+
msg.setFieldMask(value);
|
|
3519
|
+
break;
|
|
3308
3520
|
default:
|
|
3309
3521
|
reader.skipField();
|
|
3310
3522
|
break;
|
|
@@ -3377,6 +3589,14 @@ proto.ondewo.nlu.GetAlternativeSentencesRequest.serializeBinaryToWriter = functi
|
|
|
3377
3589
|
f
|
|
3378
3590
|
);
|
|
3379
3591
|
}
|
|
3592
|
+
f = message.getFieldMask();
|
|
3593
|
+
if (f != null) {
|
|
3594
|
+
writer.writeMessage(
|
|
3595
|
+
8,
|
|
3596
|
+
f,
|
|
3597
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3598
|
+
);
|
|
3599
|
+
}
|
|
3380
3600
|
};
|
|
3381
3601
|
|
|
3382
3602
|
|
|
@@ -3545,6 +3765,43 @@ proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.clearWordsToChangeList
|
|
|
3545
3765
|
};
|
|
3546
3766
|
|
|
3547
3767
|
|
|
3768
|
+
/**
|
|
3769
|
+
* optional google.protobuf.FieldMask field_mask = 8;
|
|
3770
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3771
|
+
*/
|
|
3772
|
+
proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.getFieldMask = function() {
|
|
3773
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3774
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 8));
|
|
3775
|
+
};
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
/**
|
|
3779
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3780
|
+
* @return {!proto.ondewo.nlu.GetAlternativeSentencesRequest} returns this
|
|
3781
|
+
*/
|
|
3782
|
+
proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.setFieldMask = function(value) {
|
|
3783
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
3784
|
+
};
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
* Clears the message field making it undefined.
|
|
3789
|
+
* @return {!proto.ondewo.nlu.GetAlternativeSentencesRequest} returns this
|
|
3790
|
+
*/
|
|
3791
|
+
proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.clearFieldMask = function() {
|
|
3792
|
+
return this.setFieldMask(undefined);
|
|
3793
|
+
};
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
/**
|
|
3797
|
+
* Returns whether this field is set.
|
|
3798
|
+
* @return {boolean}
|
|
3799
|
+
*/
|
|
3800
|
+
proto.ondewo.nlu.GetAlternativeSentencesRequest.prototype.hasFieldMask = function() {
|
|
3801
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3802
|
+
};
|
|
3803
|
+
|
|
3804
|
+
|
|
3548
3805
|
|
|
3549
3806
|
|
|
3550
3807
|
|
|
@@ -3577,10 +3834,11 @@ proto.ondewo.nlu.GenerateUserSaysRequest.prototype.toObject = function(opt_inclu
|
|
|
3577
3834
|
*/
|
|
3578
3835
|
proto.ondewo.nlu.GenerateUserSaysRequest.toObject = function(includeInstance, msg) {
|
|
3579
3836
|
var f, obj = {
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3837
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3838
|
+
parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3839
|
+
nRepeatSynonym: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
3840
|
+
branch: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3841
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3584
3842
|
};
|
|
3585
3843
|
|
|
3586
3844
|
if (includeInstance) {
|
|
@@ -3633,6 +3891,11 @@ proto.ondewo.nlu.GenerateUserSaysRequest.deserializeBinaryFromReader = function(
|
|
|
3633
3891
|
var value = /** @type {string} */ (reader.readString());
|
|
3634
3892
|
msg.setBranch(value);
|
|
3635
3893
|
break;
|
|
3894
|
+
case 9:
|
|
3895
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3896
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3897
|
+
msg.setFieldMask(value);
|
|
3898
|
+
break;
|
|
3636
3899
|
default:
|
|
3637
3900
|
reader.skipField();
|
|
3638
3901
|
break;
|
|
@@ -3690,6 +3953,14 @@ proto.ondewo.nlu.GenerateUserSaysRequest.serializeBinaryToWriter = function(mess
|
|
|
3690
3953
|
f
|
|
3691
3954
|
);
|
|
3692
3955
|
}
|
|
3956
|
+
f = message.getFieldMask();
|
|
3957
|
+
if (f != null) {
|
|
3958
|
+
writer.writeMessage(
|
|
3959
|
+
9,
|
|
3960
|
+
f,
|
|
3961
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3962
|
+
);
|
|
3963
|
+
}
|
|
3693
3964
|
};
|
|
3694
3965
|
|
|
3695
3966
|
|
|
@@ -3765,6 +4036,43 @@ proto.ondewo.nlu.GenerateUserSaysRequest.prototype.setBranch = function(value) {
|
|
|
3765
4036
|
};
|
|
3766
4037
|
|
|
3767
4038
|
|
|
4039
|
+
/**
|
|
4040
|
+
* optional google.protobuf.FieldMask field_mask = 9;
|
|
4041
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4042
|
+
*/
|
|
4043
|
+
proto.ondewo.nlu.GenerateUserSaysRequest.prototype.getFieldMask = function() {
|
|
4044
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4045
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 9));
|
|
4046
|
+
};
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4051
|
+
* @return {!proto.ondewo.nlu.GenerateUserSaysRequest} returns this
|
|
4052
|
+
*/
|
|
4053
|
+
proto.ondewo.nlu.GenerateUserSaysRequest.prototype.setFieldMask = function(value) {
|
|
4054
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
4055
|
+
};
|
|
4056
|
+
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* Clears the message field making it undefined.
|
|
4060
|
+
* @return {!proto.ondewo.nlu.GenerateUserSaysRequest} returns this
|
|
4061
|
+
*/
|
|
4062
|
+
proto.ondewo.nlu.GenerateUserSaysRequest.prototype.clearFieldMask = function() {
|
|
4063
|
+
return this.setFieldMask(undefined);
|
|
4064
|
+
};
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
/**
|
|
4068
|
+
* Returns whether this field is set.
|
|
4069
|
+
* @return {boolean}
|
|
4070
|
+
*/
|
|
4071
|
+
proto.ondewo.nlu.GenerateUserSaysRequest.prototype.hasFieldMask = function() {
|
|
4072
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4073
|
+
};
|
|
4074
|
+
|
|
4075
|
+
|
|
3768
4076
|
|
|
3769
4077
|
|
|
3770
4078
|
|
|
@@ -3797,11 +4105,12 @@ proto.ondewo.nlu.GenerateResponsesRequest.prototype.toObject = function(opt_incl
|
|
|
3797
4105
|
*/
|
|
3798
4106
|
proto.ondewo.nlu.GenerateResponsesRequest.toObject = function(includeInstance, msg) {
|
|
3799
4107
|
var f, obj = {
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
4108
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4109
|
+
parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4110
|
+
nRepeatSynonym: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
4111
|
+
branch: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4112
|
+
dropUnknownParameters: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
4113
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3805
4114
|
};
|
|
3806
4115
|
|
|
3807
4116
|
if (includeInstance) {
|
|
@@ -3858,6 +4167,11 @@ proto.ondewo.nlu.GenerateResponsesRequest.deserializeBinaryFromReader = function
|
|
|
3858
4167
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3859
4168
|
msg.setDropUnknownParameters(value);
|
|
3860
4169
|
break;
|
|
4170
|
+
case 10:
|
|
4171
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4172
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4173
|
+
msg.setFieldMask(value);
|
|
4174
|
+
break;
|
|
3861
4175
|
default:
|
|
3862
4176
|
reader.skipField();
|
|
3863
4177
|
break;
|
|
@@ -3922,6 +4236,14 @@ proto.ondewo.nlu.GenerateResponsesRequest.serializeBinaryToWriter = function(mes
|
|
|
3922
4236
|
f
|
|
3923
4237
|
);
|
|
3924
4238
|
}
|
|
4239
|
+
f = message.getFieldMask();
|
|
4240
|
+
if (f != null) {
|
|
4241
|
+
writer.writeMessage(
|
|
4242
|
+
10,
|
|
4243
|
+
f,
|
|
4244
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
4245
|
+
);
|
|
4246
|
+
}
|
|
3925
4247
|
};
|
|
3926
4248
|
|
|
3927
4249
|
|
|
@@ -4015,6 +4337,43 @@ proto.ondewo.nlu.GenerateResponsesRequest.prototype.setDropUnknownParameters = f
|
|
|
4015
4337
|
};
|
|
4016
4338
|
|
|
4017
4339
|
|
|
4340
|
+
/**
|
|
4341
|
+
* optional google.protobuf.FieldMask field_mask = 10;
|
|
4342
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4343
|
+
*/
|
|
4344
|
+
proto.ondewo.nlu.GenerateResponsesRequest.prototype.getFieldMask = function() {
|
|
4345
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4346
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 10));
|
|
4347
|
+
};
|
|
4348
|
+
|
|
4349
|
+
|
|
4350
|
+
/**
|
|
4351
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4352
|
+
* @return {!proto.ondewo.nlu.GenerateResponsesRequest} returns this
|
|
4353
|
+
*/
|
|
4354
|
+
proto.ondewo.nlu.GenerateResponsesRequest.prototype.setFieldMask = function(value) {
|
|
4355
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
4356
|
+
};
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Clears the message field making it undefined.
|
|
4361
|
+
* @return {!proto.ondewo.nlu.GenerateResponsesRequest} returns this
|
|
4362
|
+
*/
|
|
4363
|
+
proto.ondewo.nlu.GenerateResponsesRequest.prototype.clearFieldMask = function() {
|
|
4364
|
+
return this.setFieldMask(undefined);
|
|
4365
|
+
};
|
|
4366
|
+
|
|
4367
|
+
|
|
4368
|
+
/**
|
|
4369
|
+
* Returns whether this field is set.
|
|
4370
|
+
* @return {boolean}
|
|
4371
|
+
*/
|
|
4372
|
+
proto.ondewo.nlu.GenerateResponsesRequest.prototype.hasFieldMask = function() {
|
|
4373
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4374
|
+
};
|
|
4375
|
+
|
|
4376
|
+
|
|
4018
4377
|
|
|
4019
4378
|
/**
|
|
4020
4379
|
* List of repeated fields within this message type.
|
|
@@ -4054,16 +4413,17 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.toObject = funct
|
|
|
4054
4413
|
*/
|
|
4055
4414
|
proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.toObject = function(includeInstance, msg) {
|
|
4056
4415
|
var f, obj = {
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4416
|
+
config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
|
|
4417
|
+
trainingPhrase: (f = msg.getTrainingPhrase()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
|
|
4418
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4419
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4420
|
+
parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4421
|
+
detectEntities: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
4422
|
+
similarityThreshold: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
4423
|
+
protectedWordsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
4424
|
+
wordsToChangeList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
4425
|
+
branch: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4426
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4067
4427
|
};
|
|
4068
4428
|
|
|
4069
4429
|
if (includeInstance) {
|
|
@@ -4142,6 +4502,11 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.deserializeBinaryFromReade
|
|
|
4142
4502
|
var value = /** @type {string} */ (reader.readString());
|
|
4143
4503
|
msg.setBranch(value);
|
|
4144
4504
|
break;
|
|
4505
|
+
case 11:
|
|
4506
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4507
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4508
|
+
msg.setFieldMask(value);
|
|
4509
|
+
break;
|
|
4145
4510
|
default:
|
|
4146
4511
|
reader.skipField();
|
|
4147
4512
|
break;
|
|
@@ -4243,6 +4608,14 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.serializeBinaryToWriter =
|
|
|
4243
4608
|
f
|
|
4244
4609
|
);
|
|
4245
4610
|
}
|
|
4611
|
+
f = message.getFieldMask();
|
|
4612
|
+
if (f != null) {
|
|
4613
|
+
writer.writeMessage(
|
|
4614
|
+
11,
|
|
4615
|
+
f,
|
|
4616
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
4617
|
+
);
|
|
4618
|
+
}
|
|
4246
4619
|
};
|
|
4247
4620
|
|
|
4248
4621
|
|
|
@@ -4502,6 +4875,43 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.setBranch = func
|
|
|
4502
4875
|
};
|
|
4503
4876
|
|
|
4504
4877
|
|
|
4878
|
+
/**
|
|
4879
|
+
* optional google.protobuf.FieldMask field_mask = 11;
|
|
4880
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4881
|
+
*/
|
|
4882
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.getFieldMask = function() {
|
|
4883
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4884
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 11));
|
|
4885
|
+
};
|
|
4886
|
+
|
|
4887
|
+
|
|
4888
|
+
/**
|
|
4889
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4890
|
+
* @return {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} returns this
|
|
4891
|
+
*/
|
|
4892
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.setFieldMask = function(value) {
|
|
4893
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
4894
|
+
};
|
|
4895
|
+
|
|
4896
|
+
|
|
4897
|
+
/**
|
|
4898
|
+
* Clears the message field making it undefined.
|
|
4899
|
+
* @return {!proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest} returns this
|
|
4900
|
+
*/
|
|
4901
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.clearFieldMask = function() {
|
|
4902
|
+
return this.setFieldMask(undefined);
|
|
4903
|
+
};
|
|
4904
|
+
|
|
4905
|
+
|
|
4906
|
+
/**
|
|
4907
|
+
* Returns whether this field is set.
|
|
4908
|
+
* @return {boolean}
|
|
4909
|
+
*/
|
|
4910
|
+
proto.ondewo.nlu.GetAlternativeTrainingPhrasesRequest.prototype.hasFieldMask = function() {
|
|
4911
|
+
return jspb.Message.getField(this, 11) != null;
|
|
4912
|
+
};
|
|
4913
|
+
|
|
4914
|
+
|
|
4505
4915
|
|
|
4506
4916
|
|
|
4507
4917
|
|
|
@@ -4534,10 +4944,11 @@ proto.ondewo.nlu.GetSynonymsRequest.prototype.toObject = function(opt_includeIns
|
|
|
4534
4944
|
*/
|
|
4535
4945
|
proto.ondewo.nlu.GetSynonymsRequest.toObject = function(includeInstance, msg) {
|
|
4536
4946
|
var f, obj = {
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4947
|
+
config: (f = msg.getConfig()) && proto.ondewo.nlu.DataEnrichmentConfig.toObject(includeInstance, f),
|
|
4948
|
+
word: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4949
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4950
|
+
parent: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4951
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4541
4952
|
};
|
|
4542
4953
|
|
|
4543
4954
|
if (includeInstance) {
|
|
@@ -4591,6 +5002,11 @@ proto.ondewo.nlu.GetSynonymsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
4591
5002
|
var value = /** @type {string} */ (reader.readString());
|
|
4592
5003
|
msg.setParent(value);
|
|
4593
5004
|
break;
|
|
5005
|
+
case 6:
|
|
5006
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
5007
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
5008
|
+
msg.setFieldMask(value);
|
|
5009
|
+
break;
|
|
4594
5010
|
default:
|
|
4595
5011
|
reader.skipField();
|
|
4596
5012
|
break;
|
|
@@ -4649,6 +5065,14 @@ proto.ondewo.nlu.GetSynonymsRequest.serializeBinaryToWriter = function(message,
|
|
|
4649
5065
|
f
|
|
4650
5066
|
);
|
|
4651
5067
|
}
|
|
5068
|
+
f = message.getFieldMask();
|
|
5069
|
+
if (f != null) {
|
|
5070
|
+
writer.writeMessage(
|
|
5071
|
+
6,
|
|
5072
|
+
f,
|
|
5073
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
5074
|
+
);
|
|
5075
|
+
}
|
|
4652
5076
|
};
|
|
4653
5077
|
|
|
4654
5078
|
|
|
@@ -4743,6 +5167,43 @@ proto.ondewo.nlu.GetSynonymsRequest.prototype.setParent = function(value) {
|
|
|
4743
5167
|
};
|
|
4744
5168
|
|
|
4745
5169
|
|
|
5170
|
+
/**
|
|
5171
|
+
* optional google.protobuf.FieldMask field_mask = 6;
|
|
5172
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
5173
|
+
*/
|
|
5174
|
+
proto.ondewo.nlu.GetSynonymsRequest.prototype.getFieldMask = function() {
|
|
5175
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
5176
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 6));
|
|
5177
|
+
};
|
|
5178
|
+
|
|
5179
|
+
|
|
5180
|
+
/**
|
|
5181
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
5182
|
+
* @return {!proto.ondewo.nlu.GetSynonymsRequest} returns this
|
|
5183
|
+
*/
|
|
5184
|
+
proto.ondewo.nlu.GetSynonymsRequest.prototype.setFieldMask = function(value) {
|
|
5185
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
5186
|
+
};
|
|
5187
|
+
|
|
5188
|
+
|
|
5189
|
+
/**
|
|
5190
|
+
* Clears the message field making it undefined.
|
|
5191
|
+
* @return {!proto.ondewo.nlu.GetSynonymsRequest} returns this
|
|
5192
|
+
*/
|
|
5193
|
+
proto.ondewo.nlu.GetSynonymsRequest.prototype.clearFieldMask = function() {
|
|
5194
|
+
return this.setFieldMask(undefined);
|
|
5195
|
+
};
|
|
5196
|
+
|
|
5197
|
+
|
|
5198
|
+
/**
|
|
5199
|
+
* Returns whether this field is set.
|
|
5200
|
+
* @return {boolean}
|
|
5201
|
+
*/
|
|
5202
|
+
proto.ondewo.nlu.GetSynonymsRequest.prototype.hasFieldMask = function() {
|
|
5203
|
+
return jspb.Message.getField(this, 6) != null;
|
|
5204
|
+
};
|
|
5205
|
+
|
|
5206
|
+
|
|
4746
5207
|
|
|
4747
5208
|
/**
|
|
4748
5209
|
* List of repeated fields within this message type.
|
|
@@ -4782,7 +5243,7 @@ proto.ondewo.nlu.GetSynonymsResponse.prototype.toObject = function(opt_includeIn
|
|
|
4782
5243
|
*/
|
|
4783
5244
|
proto.ondewo.nlu.GetSynonymsResponse.toObject = function(includeInstance, msg) {
|
|
4784
5245
|
var f, obj = {
|
|
4785
|
-
|
|
5246
|
+
synonymsList: jspb.Message.toObjectList(msg.getSynonymsList(),
|
|
4786
5247
|
proto.ondewo.nlu.Synonym.toObject, includeInstance)
|
|
4787
5248
|
};
|
|
4788
5249
|
|
|
@@ -4935,8 +5396,8 @@ proto.ondewo.nlu.Synonym.prototype.toObject = function(opt_includeInstance) {
|
|
|
4935
5396
|
*/
|
|
4936
5397
|
proto.ondewo.nlu.Synonym.toObject = function(includeInstance, msg) {
|
|
4937
5398
|
var f, obj = {
|
|
4938
|
-
|
|
4939
|
-
|
|
5399
|
+
synonym: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5400
|
+
score: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
4940
5401
|
};
|
|
4941
5402
|
|
|
4942
5403
|
if (includeInstance) {
|
|
@@ -5102,7 +5563,7 @@ proto.ondewo.nlu.GetAlternativeSentencesResponse.prototype.toObject = function(o
|
|
|
5102
5563
|
*/
|
|
5103
5564
|
proto.ondewo.nlu.GetAlternativeSentencesResponse.toObject = function(includeInstance, msg) {
|
|
5104
5565
|
var f, obj = {
|
|
5105
|
-
|
|
5566
|
+
alternativeSentencesList: jspb.Message.toObjectList(msg.getAlternativeSentencesList(),
|
|
5106
5567
|
proto.ondewo.nlu.AltSentence.toObject, includeInstance)
|
|
5107
5568
|
};
|
|
5108
5569
|
|
|
@@ -5262,7 +5723,7 @@ proto.ondewo.nlu.GenerateResponsesResponse.prototype.toObject = function(opt_inc
|
|
|
5262
5723
|
*/
|
|
5263
5724
|
proto.ondewo.nlu.GenerateResponsesResponse.toObject = function(includeInstance, msg) {
|
|
5264
5725
|
var f, obj = {
|
|
5265
|
-
|
|
5726
|
+
responsesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5266
5727
|
};
|
|
5267
5728
|
|
|
5268
5729
|
if (includeInstance) {
|
|
@@ -5418,7 +5879,7 @@ proto.ondewo.nlu.GenerateUserSaysResponse.prototype.toObject = function(opt_incl
|
|
|
5418
5879
|
*/
|
|
5419
5880
|
proto.ondewo.nlu.GenerateUserSaysResponse.toObject = function(includeInstance, msg) {
|
|
5420
5881
|
var f, obj = {
|
|
5421
|
-
|
|
5882
|
+
userSaysList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5422
5883
|
};
|
|
5423
5884
|
|
|
5424
5885
|
if (includeInstance) {
|
|
@@ -5574,7 +6035,7 @@ proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.prototype.toObject = func
|
|
|
5574
6035
|
*/
|
|
5575
6036
|
proto.ondewo.nlu.GetAlternativeTrainingPhrasesResponse.toObject = function(includeInstance, msg) {
|
|
5576
6037
|
var f, obj = {
|
|
5577
|
-
|
|
6038
|
+
alternativeTrainingPhrasesList: jspb.Message.toObjectList(msg.getAlternativeTrainingPhrasesList(),
|
|
5578
6039
|
proto.ondewo.nlu.AltTrainingPhrase.toObject, includeInstance)
|
|
5579
6040
|
};
|
|
5580
6041
|
|
|
@@ -5727,8 +6188,8 @@ proto.ondewo.nlu.AltSentence.prototype.toObject = function(opt_includeInstance)
|
|
|
5727
6188
|
*/
|
|
5728
6189
|
proto.ondewo.nlu.AltSentence.toObject = function(includeInstance, msg) {
|
|
5729
6190
|
var f, obj = {
|
|
5730
|
-
|
|
5731
|
-
|
|
6191
|
+
sentence: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6192
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
|
|
5732
6193
|
};
|
|
5733
6194
|
|
|
5734
6195
|
if (includeInstance) {
|
|
@@ -5887,8 +6348,8 @@ proto.ondewo.nlu.AltTrainingPhrase.prototype.toObject = function(opt_includeInst
|
|
|
5887
6348
|
*/
|
|
5888
6349
|
proto.ondewo.nlu.AltTrainingPhrase.toObject = function(includeInstance, msg) {
|
|
5889
6350
|
var f, obj = {
|
|
5890
|
-
|
|
5891
|
-
|
|
6351
|
+
trainingPhrase: (f = msg.getTrainingPhrase()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
|
|
6352
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
|
|
5892
6353
|
};
|
|
5893
6354
|
|
|
5894
6355
|
if (includeInstance) {
|
|
@@ -6068,15 +6529,15 @@ proto.ondewo.nlu.DataEnrichmentConfig.prototype.toObject = function(opt_includeI
|
|
|
6068
6529
|
*/
|
|
6069
6530
|
proto.ondewo.nlu.DataEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
6070
6531
|
var f, obj = {
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6532
|
+
entityEnrichment: (f = msg.getEntityEnrichment()) && proto.ondewo.nlu.EntityEnrichmentConfig.toObject(includeInstance, f),
|
|
6533
|
+
thesaurusEnrichment: (f = msg.getThesaurusEnrichment()) && proto.ondewo.nlu.ThesaurusEnrichmentConfig.toObject(includeInstance, f),
|
|
6534
|
+
word2vecEnrichment: (f = msg.getWord2vecEnrichment()) && proto.ondewo.nlu.Word2VecEnrichmentConfig.toObject(includeInstance, f),
|
|
6535
|
+
wordNetEnrichment: (f = msg.getWordNetEnrichment()) && proto.ondewo.nlu.WordNetAugEnrichmentConfig.toObject(includeInstance, f),
|
|
6536
|
+
gpt2Enrichment: (f = msg.getGpt2Enrichment()) && proto.ondewo.nlu.GPT2EnrichmentConfig.toObject(includeInstance, f),
|
|
6537
|
+
gloveEnrichment: (f = msg.getGloveEnrichment()) && proto.ondewo.nlu.GloVeEnrichmentConfig.toObject(includeInstance, f),
|
|
6538
|
+
bertEnrichment: (f = msg.getBertEnrichment()) && proto.ondewo.nlu.BertAugEnrichmentConfig.toObject(includeInstance, f),
|
|
6539
|
+
xlnetEnrichment: (f = msg.getXlnetEnrichment()) && proto.ondewo.nlu.XLNetAugEnrichmentConfig.toObject(includeInstance, f),
|
|
6540
|
+
llmEnrichment: (f = msg.getLlmEnrichment()) && proto.ondewo.nlu.LlmEnrichmentConfig.toObject(includeInstance, f)
|
|
6080
6541
|
};
|
|
6081
6542
|
|
|
6082
6543
|
if (includeInstance) {
|
|
@@ -6627,9 +7088,9 @@ proto.ondewo.nlu.EntityEnrichmentConfig.prototype.toObject = function(opt_includ
|
|
|
6627
7088
|
*/
|
|
6628
7089
|
proto.ondewo.nlu.EntityEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
6629
7090
|
var f, obj = {
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
7091
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7092
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7093
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6633
7094
|
};
|
|
6634
7095
|
|
|
6635
7096
|
if (includeInstance) {
|
|
@@ -6817,9 +7278,9 @@ proto.ondewo.nlu.ThesaurusEnrichmentConfig.prototype.toObject = function(opt_inc
|
|
|
6817
7278
|
*/
|
|
6818
7279
|
proto.ondewo.nlu.ThesaurusEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
6819
7280
|
var f, obj = {
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
7281
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7282
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7283
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6823
7284
|
};
|
|
6824
7285
|
|
|
6825
7286
|
if (includeInstance) {
|
|
@@ -7007,9 +7468,9 @@ proto.ondewo.nlu.BertAugEnrichmentConfig.prototype.toObject = function(opt_inclu
|
|
|
7007
7468
|
*/
|
|
7008
7469
|
proto.ondewo.nlu.BertAugEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
7009
7470
|
var f, obj = {
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7471
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7472
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7473
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7013
7474
|
};
|
|
7014
7475
|
|
|
7015
7476
|
if (includeInstance) {
|
|
@@ -7197,9 +7658,9 @@ proto.ondewo.nlu.GloVeEnrichmentConfig.prototype.toObject = function(opt_include
|
|
|
7197
7658
|
*/
|
|
7198
7659
|
proto.ondewo.nlu.GloVeEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
7199
7660
|
var f, obj = {
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7661
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7662
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7663
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7203
7664
|
};
|
|
7204
7665
|
|
|
7205
7666
|
if (includeInstance) {
|
|
@@ -7387,9 +7848,9 @@ proto.ondewo.nlu.GPT2EnrichmentConfig.prototype.toObject = function(opt_includeI
|
|
|
7387
7848
|
*/
|
|
7388
7849
|
proto.ondewo.nlu.GPT2EnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
7389
7850
|
var f, obj = {
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7851
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7852
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7853
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7393
7854
|
};
|
|
7394
7855
|
|
|
7395
7856
|
if (includeInstance) {
|
|
@@ -7577,9 +8038,9 @@ proto.ondewo.nlu.Word2VecEnrichmentConfig.prototype.toObject = function(opt_incl
|
|
|
7577
8038
|
*/
|
|
7578
8039
|
proto.ondewo.nlu.Word2VecEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
7579
8040
|
var f, obj = {
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
8041
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
8042
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8043
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7583
8044
|
};
|
|
7584
8045
|
|
|
7585
8046
|
if (includeInstance) {
|
|
@@ -7767,9 +8228,9 @@ proto.ondewo.nlu.WordNetAugEnrichmentConfig.prototype.toObject = function(opt_in
|
|
|
7767
8228
|
*/
|
|
7768
8229
|
proto.ondewo.nlu.WordNetAugEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
7769
8230
|
var f, obj = {
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
8231
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
8232
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8233
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7773
8234
|
};
|
|
7774
8235
|
|
|
7775
8236
|
if (includeInstance) {
|
|
@@ -7957,9 +8418,9 @@ proto.ondewo.nlu.XLNetAugEnrichmentConfig.prototype.toObject = function(opt_incl
|
|
|
7957
8418
|
*/
|
|
7958
8419
|
proto.ondewo.nlu.XLNetAugEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
7959
8420
|
var f, obj = {
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
8421
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
8422
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8423
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7963
8424
|
};
|
|
7964
8425
|
|
|
7965
8426
|
if (includeInstance) {
|
|
@@ -8147,10 +8608,10 @@ proto.ondewo.nlu.LlmEnrichmentConfig.prototype.toObject = function(opt_includeIn
|
|
|
8147
8608
|
*/
|
|
8148
8609
|
proto.ondewo.nlu.LlmEnrichmentConfig.toObject = function(includeInstance, msg) {
|
|
8149
8610
|
var f, obj = {
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8611
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
8612
|
+
enrichmentFactor: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8613
|
+
executionOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8614
|
+
ccaiServiceName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
8154
8615
|
};
|
|
8155
8616
|
|
|
8156
8617
|
if (includeInstance) {
|
|
@@ -8374,13 +8835,14 @@ proto.ondewo.nlu.ClassifyIntentsRequest.prototype.toObject = function(opt_includ
|
|
|
8374
8835
|
*/
|
|
8375
8836
|
proto.ondewo.nlu.ClassifyIntentsRequest.toObject = function(includeInstance, msg) {
|
|
8376
8837
|
var f, obj = {
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8838
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8839
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8840
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8841
|
+
activeContexts: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
8842
|
+
contextNamesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
8843
|
+
mode: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
8844
|
+
algorithmsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
8845
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
8384
8846
|
};
|
|
8385
8847
|
|
|
8386
8848
|
if (includeInstance) {
|
|
@@ -8447,6 +8909,11 @@ proto.ondewo.nlu.ClassifyIntentsRequest.deserializeBinaryFromReader = function(m
|
|
|
8447
8909
|
msg.addAlgorithms(values[i]);
|
|
8448
8910
|
}
|
|
8449
8911
|
break;
|
|
8912
|
+
case 8:
|
|
8913
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
8914
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
8915
|
+
msg.setFieldMask(value);
|
|
8916
|
+
break;
|
|
8450
8917
|
default:
|
|
8451
8918
|
reader.skipField();
|
|
8452
8919
|
break;
|
|
@@ -8525,6 +8992,14 @@ proto.ondewo.nlu.ClassifyIntentsRequest.serializeBinaryToWriter = function(messa
|
|
|
8525
8992
|
f
|
|
8526
8993
|
);
|
|
8527
8994
|
}
|
|
8995
|
+
f = message.getFieldMask();
|
|
8996
|
+
if (f != null) {
|
|
8997
|
+
writer.writeMessage(
|
|
8998
|
+
8,
|
|
8999
|
+
f,
|
|
9000
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
9001
|
+
);
|
|
9002
|
+
}
|
|
8528
9003
|
};
|
|
8529
9004
|
|
|
8530
9005
|
|
|
@@ -8692,6 +9167,43 @@ proto.ondewo.nlu.ClassifyIntentsRequest.prototype.clearAlgorithmsList = function
|
|
|
8692
9167
|
};
|
|
8693
9168
|
|
|
8694
9169
|
|
|
9170
|
+
/**
|
|
9171
|
+
* optional google.protobuf.FieldMask field_mask = 8;
|
|
9172
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
9173
|
+
*/
|
|
9174
|
+
proto.ondewo.nlu.ClassifyIntentsRequest.prototype.getFieldMask = function() {
|
|
9175
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
9176
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 8));
|
|
9177
|
+
};
|
|
9178
|
+
|
|
9179
|
+
|
|
9180
|
+
/**
|
|
9181
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
9182
|
+
* @return {!proto.ondewo.nlu.ClassifyIntentsRequest} returns this
|
|
9183
|
+
*/
|
|
9184
|
+
proto.ondewo.nlu.ClassifyIntentsRequest.prototype.setFieldMask = function(value) {
|
|
9185
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
9186
|
+
};
|
|
9187
|
+
|
|
9188
|
+
|
|
9189
|
+
/**
|
|
9190
|
+
* Clears the message field making it undefined.
|
|
9191
|
+
* @return {!proto.ondewo.nlu.ClassifyIntentsRequest} returns this
|
|
9192
|
+
*/
|
|
9193
|
+
proto.ondewo.nlu.ClassifyIntentsRequest.prototype.clearFieldMask = function() {
|
|
9194
|
+
return this.setFieldMask(undefined);
|
|
9195
|
+
};
|
|
9196
|
+
|
|
9197
|
+
|
|
9198
|
+
/**
|
|
9199
|
+
* Returns whether this field is set.
|
|
9200
|
+
* @return {boolean}
|
|
9201
|
+
*/
|
|
9202
|
+
proto.ondewo.nlu.ClassifyIntentsRequest.prototype.hasFieldMask = function() {
|
|
9203
|
+
return jspb.Message.getField(this, 8) != null;
|
|
9204
|
+
};
|
|
9205
|
+
|
|
9206
|
+
|
|
8695
9207
|
|
|
8696
9208
|
|
|
8697
9209
|
|
|
@@ -8724,10 +9236,10 @@ proto.ondewo.nlu.IntentClassified.prototype.toObject = function(opt_includeInsta
|
|
|
8724
9236
|
*/
|
|
8725
9237
|
proto.ondewo.nlu.IntentClassified.toObject = function(includeInstance, msg) {
|
|
8726
9238
|
var f, obj = {
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
9239
|
+
intentName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9240
|
+
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9241
|
+
classifier: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9242
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
8731
9243
|
};
|
|
8732
9244
|
|
|
8733
9245
|
if (includeInstance) {
|
|
@@ -8951,11 +9463,11 @@ proto.ondewo.nlu.ClassifyIntentsResponse.prototype.toObject = function(opt_inclu
|
|
|
8951
9463
|
*/
|
|
8952
9464
|
proto.ondewo.nlu.ClassifyIntentsResponse.toObject = function(includeInstance, msg) {
|
|
8953
9465
|
var f, obj = {
|
|
8954
|
-
|
|
9466
|
+
intentsClassifiedList: jspb.Message.toObjectList(msg.getIntentsClassifiedList(),
|
|
8955
9467
|
proto.ondewo.nlu.IntentClassified.toObject, includeInstance),
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
9468
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9469
|
+
activeContexts: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
9470
|
+
contextNamesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
8959
9471
|
};
|
|
8960
9472
|
|
|
8961
9473
|
if (includeInstance) {
|