@ondewo/csi-client-angular 2.3.1

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.
Files changed (200) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations.pb.d.ts +1 -0
  4. package/api/google/api/http.pb.d.ts +275 -0
  5. package/api/google/rpc/status.pb.d.ts +82 -0
  6. package/api/google/type/latlng.pb.d.ts +76 -0
  7. package/api/ondewo/csi/conversation.pb.d.ts +1312 -0
  8. package/api/ondewo/csi/conversation.pbconf.d.ts +6 -0
  9. package/api/ondewo/csi/conversation.pbsc.d.ts +167 -0
  10. package/api/ondewo/nlu/agent.pb.d.ts +3536 -0
  11. package/api/ondewo/nlu/agent.pbconf.d.ts +6 -0
  12. package/api/ondewo/nlu/agent.pbsc.d.ts +472 -0
  13. package/api/ondewo/nlu/aiservices.pb.d.ts +2472 -0
  14. package/api/ondewo/nlu/aiservices.pbconf.d.ts +6 -0
  15. package/api/ondewo/nlu/aiservices.pbsc.d.ts +150 -0
  16. package/api/ondewo/nlu/common.pb.d.ts +75 -0
  17. package/api/ondewo/nlu/context.pb.d.ts +756 -0
  18. package/api/ondewo/nlu/context.pbconf.d.ts +6 -0
  19. package/api/ondewo/nlu/context.pbsc.d.ts +119 -0
  20. package/api/ondewo/nlu/entity-type.pb.d.ts +2014 -0
  21. package/api/ondewo/nlu/entity-type.pbconf.d.ts +6 -0
  22. package/api/ondewo/nlu/entity-type.pbsc.d.ts +216 -0
  23. package/api/ondewo/nlu/intent.pb.d.ts +6236 -0
  24. package/api/ondewo/nlu/intent.pbconf.d.ts +6 -0
  25. package/api/ondewo/nlu/intent.pbsc.d.ts +456 -0
  26. package/api/ondewo/nlu/operation-metadata.pb.d.ts +166 -0
  27. package/api/ondewo/nlu/operations.pb.d.ts +578 -0
  28. package/api/ondewo/nlu/operations.pbconf.d.ts +6 -0
  29. package/api/ondewo/nlu/operations.pbsc.d.ts +87 -0
  30. package/api/ondewo/nlu/project-role.pb.d.ts +576 -0
  31. package/api/ondewo/nlu/project-role.pbconf.d.ts +6 -0
  32. package/api/ondewo/nlu/project-role.pbsc.d.ts +103 -0
  33. package/api/ondewo/nlu/project-statistics.pb.d.ts +295 -0
  34. package/api/ondewo/nlu/project-statistics.pbconf.d.ts +6 -0
  35. package/api/ondewo/nlu/project-statistics.pbsc.d.ts +151 -0
  36. package/api/ondewo/nlu/server-statistics.pb.d.ts +71 -0
  37. package/api/ondewo/nlu/server-statistics.pbconf.d.ts +6 -0
  38. package/api/ondewo/nlu/server-statistics.pbsc.d.ts +72 -0
  39. package/api/ondewo/nlu/session.pb.d.ts +2892 -0
  40. package/api/ondewo/nlu/session.pbconf.d.ts +6 -0
  41. package/api/ondewo/nlu/session.pbsc.d.ts +247 -0
  42. package/api/ondewo/nlu/user.pb.d.ts +1577 -0
  43. package/api/ondewo/nlu/user.pbconf.d.ts +6 -0
  44. package/api/ondewo/nlu/user.pbsc.d.ts +263 -0
  45. package/api/ondewo/nlu/utility.pb.d.ts +1814 -0
  46. package/api/ondewo/nlu/utility.pbconf.d.ts +6 -0
  47. package/api/ondewo/nlu/utility.pbsc.d.ts +150 -0
  48. package/api/ondewo/nlu/webhook.pb.d.ts +401 -0
  49. package/api/ondewo/nlu/webhook.pbconf.d.ts +6 -0
  50. package/api/ondewo/nlu/webhook.pbsc.d.ts +70 -0
  51. package/api/ondewo/s2t/speech-to-text.pb.d.ts +3710 -0
  52. package/api/ondewo/s2t/speech-to-text.pbconf.d.ts +6 -0
  53. package/api/ondewo/s2t/speech-to-text.pbsc.d.ts +263 -0
  54. package/api/ondewo/t2s/text-to-speech.pb.d.ts +3302 -0
  55. package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +11 -0
  56. package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +296 -0
  57. package/esm2020/api/google/api/annotations.pb.mjs +2 -0
  58. package/esm2020/api/google/api/http.pb.mjs +524 -0
  59. package/esm2020/api/google/rpc/status.pb.mjs +138 -0
  60. package/esm2020/api/google/type/latlng.pb.mjs +119 -0
  61. package/esm2020/api/ondewo/csi/conversation.pb.mjs +2232 -0
  62. package/esm2020/api/ondewo/csi/conversation.pbconf.mjs +13 -0
  63. package/esm2020/api/ondewo/csi/conversation.pbsc.mjs +315 -0
  64. package/esm2020/api/ondewo/nlu/agent.pb.mjs +6077 -0
  65. package/esm2020/api/ondewo/nlu/agent.pbconf.mjs +13 -0
  66. package/esm2020/api/ondewo/nlu/agent.pbsc.mjs +886 -0
  67. package/esm2020/api/ondewo/nlu/aiservices.pb.mjs +4371 -0
  68. package/esm2020/api/ondewo/nlu/aiservices.pbconf.mjs +13 -0
  69. package/esm2020/api/ondewo/nlu/aiservices.pbsc.mjs +284 -0
  70. package/esm2020/api/ondewo/nlu/common.pb.mjs +108 -0
  71. package/esm2020/api/ondewo/nlu/context.pb.mjs +1233 -0
  72. package/esm2020/api/ondewo/nlu/context.pbconf.mjs +13 -0
  73. package/esm2020/api/ondewo/nlu/context.pbsc.mjs +225 -0
  74. package/esm2020/api/ondewo/nlu/entity-type.pb.mjs +3466 -0
  75. package/esm2020/api/ondewo/nlu/entity-type.pbconf.mjs +13 -0
  76. package/esm2020/api/ondewo/nlu/entity-type.pbsc.mjs +406 -0
  77. package/esm2020/api/ondewo/nlu/intent.pb.mjs +10809 -0
  78. package/esm2020/api/ondewo/nlu/intent.pbconf.mjs +13 -0
  79. package/esm2020/api/ondewo/nlu/intent.pbsc.mjs +856 -0
  80. package/esm2020/api/ondewo/nlu/operation-metadata.pb.mjs +382 -0
  81. package/esm2020/api/ondewo/nlu/operations.pb.mjs +1003 -0
  82. package/esm2020/api/ondewo/nlu/operations.pbconf.mjs +13 -0
  83. package/esm2020/api/ondewo/nlu/operations.pbsc.mjs +165 -0
  84. package/esm2020/api/ondewo/nlu/project-role.pb.mjs +988 -0
  85. package/esm2020/api/ondewo/nlu/project-role.pbconf.mjs +13 -0
  86. package/esm2020/api/ondewo/nlu/project-role.pbsc.mjs +195 -0
  87. package/esm2020/api/ondewo/nlu/project-statistics.pb.mjs +460 -0
  88. package/esm2020/api/ondewo/nlu/project-statistics.pbconf.mjs +13 -0
  89. package/esm2020/api/ondewo/nlu/project-statistics.pbsc.mjs +285 -0
  90. package/esm2020/api/ondewo/nlu/server-statistics.pb.mjs +103 -0
  91. package/esm2020/api/ondewo/nlu/server-statistics.pbconf.mjs +13 -0
  92. package/esm2020/api/ondewo/nlu/server-statistics.pbsc.mjs +136 -0
  93. package/esm2020/api/ondewo/nlu/session.pb.mjs +5351 -0
  94. package/esm2020/api/ondewo/nlu/session.pbconf.mjs +13 -0
  95. package/esm2020/api/ondewo/nlu/session.pbsc.mjs +465 -0
  96. package/esm2020/api/ondewo/nlu/user.pb.mjs +2536 -0
  97. package/esm2020/api/ondewo/nlu/user.pbconf.mjs +13 -0
  98. package/esm2020/api/ondewo/nlu/user.pbsc.mjs +495 -0
  99. package/esm2020/api/ondewo/nlu/utility.pb.mjs +3302 -0
  100. package/esm2020/api/ondewo/nlu/utility.pbconf.mjs +13 -0
  101. package/esm2020/api/ondewo/nlu/utility.pbsc.mjs +284 -0
  102. package/esm2020/api/ondewo/nlu/webhook.pb.mjs +705 -0
  103. package/esm2020/api/ondewo/nlu/webhook.pbconf.mjs +13 -0
  104. package/esm2020/api/ondewo/nlu/webhook.pbsc.mjs +134 -0
  105. package/esm2020/api/ondewo/s2t/speech-to-text.pb.mjs +6452 -0
  106. package/esm2020/api/ondewo/s2t/speech-to-text.pbconf.mjs +13 -0
  107. package/esm2020/api/ondewo/s2t/speech-to-text.pbsc.mjs +495 -0
  108. package/esm2020/api/ondewo/t2s/text-to-speech.pb.mjs +5779 -0
  109. package/esm2020/api/ondewo/t2s/text-to-speech.pbconf.mjs +18 -0
  110. package/esm2020/api/ondewo/t2s/text-to-speech.pbsc.mjs +555 -0
  111. package/esm2020/ondewo-csi-client-angular.mjs +5 -0
  112. package/esm2020/public-api.mjs +55 -0
  113. package/fesm2015/ondewo-csi-client-angular.mjs +62142 -0
  114. package/fesm2015/ondewo-csi-client-angular.mjs.map +1 -0
  115. package/fesm2020/ondewo-csi-client-angular.mjs +62135 -0
  116. package/fesm2020/ondewo-csi-client-angular.mjs.map +1 -0
  117. package/index.d.ts +5 -0
  118. package/ondewo-csi-api/README.md +91 -0
  119. package/ondewo-csi-api/google/ads/googleads/README.md +21 -0
  120. package/ondewo-csi-api/google/api/README.md +5 -0
  121. package/ondewo-csi-api/google/api/servicecontrol/README.md +126 -0
  122. package/ondewo-csi-api/google/api/servicemanagement/README.md +102 -0
  123. package/ondewo-csi-api/google/appengine/README.md +12 -0
  124. package/ondewo-csi-api/google/assistant/embedded/README.md +3 -0
  125. package/ondewo-csi-api/google/cloud/functions/README.md +2 -0
  126. package/ondewo-csi-api/google/cloud/language/README.md +0 -0
  127. package/ondewo-csi-api/google/cloud/runtimeconfig/README.md +39 -0
  128. package/ondewo-csi-api/google/cloud/speech/README.md +3 -0
  129. package/ondewo-csi-api/google/container/README.md +0 -0
  130. package/ondewo-csi-api/google/datastore/README.md +0 -0
  131. package/ondewo-csi-api/google/devtools/cloudbuild/README.md +1 -0
  132. package/ondewo-csi-api/google/devtools/clouderrorreporting/README.md +1 -0
  133. package/ondewo-csi-api/google/example/library/README.md +4 -0
  134. package/ondewo-csi-api/google/firestore/README.md +0 -0
  135. package/ondewo-csi-api/google/genomics/README.md +14 -0
  136. package/ondewo-csi-api/google/iam/README.md +14 -0
  137. package/ondewo-csi-api/google/logging/README.md +3 -0
  138. package/ondewo-csi-api/google/longrunning/README.md +5 -0
  139. package/ondewo-csi-api/google/privacy/dlp/README.md +7 -0
  140. package/ondewo-csi-api/google/pubsub/v1beta2/README.md +136 -0
  141. package/ondewo-csi-api/google/rpc/README.md +5 -0
  142. package/ondewo-csi-api/google/streetview/publish/README.md +1 -0
  143. package/ondewo-csi-api/google/type/README.md +16 -0
  144. package/ondewo-csi-api/googleapis/README.md +87 -0
  145. package/ondewo-csi-api/googleapis/google/ads/googleads/README.md +21 -0
  146. package/ondewo-csi-api/googleapis/google/api/README.md +5 -0
  147. package/ondewo-csi-api/googleapis/google/api/servicecontrol/README.md +126 -0
  148. package/ondewo-csi-api/googleapis/google/api/servicemanagement/README.md +102 -0
  149. package/ondewo-csi-api/googleapis/google/appengine/README.md +12 -0
  150. package/ondewo-csi-api/googleapis/google/assistant/embedded/README.md +3 -0
  151. package/ondewo-csi-api/googleapis/google/cloud/functions/README.md +2 -0
  152. package/ondewo-csi-api/googleapis/google/cloud/language/README.md +0 -0
  153. package/ondewo-csi-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
  154. package/ondewo-csi-api/googleapis/google/cloud/speech/README.md +3 -0
  155. package/ondewo-csi-api/googleapis/google/container/README.md +0 -0
  156. package/ondewo-csi-api/googleapis/google/datastore/README.md +0 -0
  157. package/ondewo-csi-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
  158. package/ondewo-csi-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
  159. package/ondewo-csi-api/googleapis/google/example/library/README.md +4 -0
  160. package/ondewo-csi-api/googleapis/google/firestore/README.md +0 -0
  161. package/ondewo-csi-api/googleapis/google/genomics/README.md +14 -0
  162. package/ondewo-csi-api/googleapis/google/iam/README.md +14 -0
  163. package/ondewo-csi-api/googleapis/google/logging/README.md +3 -0
  164. package/ondewo-csi-api/googleapis/google/longrunning/README.md +5 -0
  165. package/ondewo-csi-api/googleapis/google/privacy/dlp/README.md +7 -0
  166. package/ondewo-csi-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
  167. package/ondewo-csi-api/googleapis/google/rpc/README.md +5 -0
  168. package/ondewo-csi-api/googleapis/google/streetview/publish/README.md +1 -0
  169. package/ondewo-csi-api/googleapis/google/type/README.md +16 -0
  170. package/ondewo-csi-api/ondewo-nlu-api/README.md +117 -0
  171. package/ondewo-csi-api/ondewo-nlu-api/googleapis/README.md +87 -0
  172. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/ads/googleads/README.md +21 -0
  173. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/README.md +5 -0
  174. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicecontrol/README.md +126 -0
  175. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicemanagement/README.md +102 -0
  176. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/appengine/README.md +12 -0
  177. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/assistant/embedded/README.md +3 -0
  178. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/functions/README.md +2 -0
  179. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/language/README.md +0 -0
  180. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
  181. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/speech/README.md +3 -0
  182. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/container/README.md +0 -0
  183. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/datastore/README.md +0 -0
  184. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
  185. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
  186. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/example/library/README.md +4 -0
  187. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/firestore/README.md +0 -0
  188. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/genomics/README.md +14 -0
  189. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/iam/README.md +14 -0
  190. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/logging/README.md +3 -0
  191. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/longrunning/README.md +5 -0
  192. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/privacy/dlp/README.md +7 -0
  193. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
  194. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/rpc/README.md +5 -0
  195. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/streetview/publish/README.md +1 -0
  196. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/type/README.md +16 -0
  197. package/ondewo-csi-api/ondewo-s2t-api/README.md +89 -0
  198. package/ondewo-csi-api/ondewo-t2s-api/README.md +89 -0
  199. package/package.json +49 -0
  200. package/public-api.d.ts +54 -0
@@ -0,0 +1,2472 @@
1
+ import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
+ import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
+ import * as ondewoNlu010 from '../../ondewo/nlu/intent.pb';
4
+ import * as ondewoNlu011 from '../../ondewo/nlu/entity-type.pb';
5
+ export declare enum Mode {
6
+ UNSPECIFIED = 0,
7
+ EXCLUSIVE = 1,
8
+ INCLUSIVE = 2
9
+ }
10
+ export declare enum IntentAlgorithms {
11
+ OndewoIntentExactContextDetector = 0,
12
+ OndewoIntentExactMatch = 1,
13
+ OndewoIntentNamedExactMatch = 2,
14
+ OndewoIntentSimilarityMatch = 3,
15
+ OndewoIntentNamedSimilarityMatch = 4,
16
+ OndewoIntentBertClassifier = 7,
17
+ OndewoIntentMetaClassifier = 8,
18
+ IntentExitDetector = 10,
19
+ OndewoIntentRankingMatch = 11,
20
+ OndewoWeightedEnsemble = 13,
21
+ OndewoIntentExitDetector = 14,
22
+ OndewoIntentParameterMatch = 15
23
+ }
24
+ /**
25
+ * Message implementation for ondewo.nlu.ExtractEntitiesRequest
26
+ */
27
+ export declare class ExtractEntitiesRequest implements GrpcMessage {
28
+ static id: string;
29
+ /**
30
+ * Deserialize binary data to message
31
+ * @param instance message instance
32
+ */
33
+ static deserializeBinary(bytes: ByteSource): ExtractEntitiesRequest;
34
+ /**
35
+ * Check all the properties and set default protobuf values if necessary
36
+ * @param _instance message instance
37
+ */
38
+ static refineValues(_instance: ExtractEntitiesRequest): void;
39
+ /**
40
+ * Deserializes / reads binary message into message instance using provided binary reader
41
+ * @param _instance message instance
42
+ * @param _reader binary reader instance
43
+ */
44
+ static deserializeBinaryFromReader(_instance: ExtractEntitiesRequest, _reader: BinaryReader): void;
45
+ /**
46
+ * Serializes a message to binary format using provided binary reader
47
+ * @param _instance message instance
48
+ * @param _writer binary writer instance
49
+ */
50
+ static serializeBinaryToWriter(_instance: ExtractEntitiesRequest, _writer: BinaryWriter): void;
51
+ private _parent?;
52
+ private _text?;
53
+ private _languageCode?;
54
+ private _intentName?;
55
+ /**
56
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
57
+ * @param _value initial values object or instance of ExtractEntitiesRequest to deeply clone from
58
+ */
59
+ constructor(_value?: RecursivePartial<ExtractEntitiesRequest.AsObject>);
60
+ get parent(): string | undefined;
61
+ set parent(value: string | undefined);
62
+ get text(): string | undefined;
63
+ set text(value: string | undefined);
64
+ get languageCode(): string | undefined;
65
+ set languageCode(value: string | undefined);
66
+ get intentName(): string | undefined;
67
+ set intentName(value: string | undefined);
68
+ /**
69
+ * Serialize message to binary data
70
+ * @param instance message instance
71
+ */
72
+ serializeBinary(): any;
73
+ /**
74
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
75
+ */
76
+ toObject(): ExtractEntitiesRequest.AsObject;
77
+ /**
78
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
79
+ */
80
+ toJSON(): ExtractEntitiesRequest.AsObject;
81
+ /**
82
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
83
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
84
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
85
+ */
86
+ toProtobufJSON(options?: ToProtobufJSONOptions): ExtractEntitiesRequest.AsProtobufJSON;
87
+ }
88
+ export declare module ExtractEntitiesRequest {
89
+ /**
90
+ * Standard JavaScript object representation for ExtractEntitiesRequest
91
+ */
92
+ interface AsObject {
93
+ parent?: string;
94
+ text?: string;
95
+ languageCode?: string;
96
+ intentName?: string;
97
+ }
98
+ /**
99
+ * Protobuf JSON representation for ExtractEntitiesRequest
100
+ */
101
+ interface AsProtobufJSON {
102
+ parent?: string;
103
+ text?: string;
104
+ languageCode?: string;
105
+ intentName?: string;
106
+ }
107
+ }
108
+ /**
109
+ * Message implementation for ondewo.nlu.ExtractEntitiesFuzzyRequest
110
+ */
111
+ export declare class ExtractEntitiesFuzzyRequest implements GrpcMessage {
112
+ static id: string;
113
+ /**
114
+ * Deserialize binary data to message
115
+ * @param instance message instance
116
+ */
117
+ static deserializeBinary(bytes: ByteSource): ExtractEntitiesFuzzyRequest;
118
+ /**
119
+ * Check all the properties and set default protobuf values if necessary
120
+ * @param _instance message instance
121
+ */
122
+ static refineValues(_instance: ExtractEntitiesFuzzyRequest): void;
123
+ /**
124
+ * Deserializes / reads binary message into message instance using provided binary reader
125
+ * @param _instance message instance
126
+ * @param _reader binary reader instance
127
+ */
128
+ static deserializeBinaryFromReader(_instance: ExtractEntitiesFuzzyRequest, _reader: BinaryReader): void;
129
+ /**
130
+ * Serializes a message to binary format using provided binary reader
131
+ * @param _instance message instance
132
+ * @param _writer binary writer instance
133
+ */
134
+ static serializeBinaryToWriter(_instance: ExtractEntitiesFuzzyRequest, _writer: BinaryWriter): void;
135
+ private _parent?;
136
+ private _text?;
137
+ private _potentialEntities?;
138
+ private _minimalScore?;
139
+ private _allowOverlaps?;
140
+ /**
141
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
142
+ * @param _value initial values object or instance of ExtractEntitiesFuzzyRequest to deeply clone from
143
+ */
144
+ constructor(_value?: RecursivePartial<ExtractEntitiesFuzzyRequest.AsObject>);
145
+ get parent(): string | undefined;
146
+ set parent(value: string | undefined);
147
+ get text(): string | undefined;
148
+ set text(value: string | undefined);
149
+ get potentialEntities(): EntityTypeFuzzyNerConfig[] | undefined;
150
+ set potentialEntities(value: EntityTypeFuzzyNerConfig[] | undefined);
151
+ get minimalScore(): number | undefined;
152
+ set minimalScore(value: number | undefined);
153
+ get allowOverlaps(): boolean | undefined;
154
+ set allowOverlaps(value: boolean | undefined);
155
+ /**
156
+ * Serialize message to binary data
157
+ * @param instance message instance
158
+ */
159
+ serializeBinary(): any;
160
+ /**
161
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
162
+ */
163
+ toObject(): ExtractEntitiesFuzzyRequest.AsObject;
164
+ /**
165
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
166
+ */
167
+ toJSON(): ExtractEntitiesFuzzyRequest.AsObject;
168
+ /**
169
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
170
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
171
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
172
+ */
173
+ toProtobufJSON(options?: ToProtobufJSONOptions): ExtractEntitiesFuzzyRequest.AsProtobufJSON;
174
+ }
175
+ export declare module ExtractEntitiesFuzzyRequest {
176
+ /**
177
+ * Standard JavaScript object representation for ExtractEntitiesFuzzyRequest
178
+ */
179
+ interface AsObject {
180
+ parent?: string;
181
+ text?: string;
182
+ potentialEntities?: EntityTypeFuzzyNerConfig.AsObject[];
183
+ minimalScore?: number;
184
+ allowOverlaps?: boolean;
185
+ }
186
+ /**
187
+ * Protobuf JSON representation for ExtractEntitiesFuzzyRequest
188
+ */
189
+ interface AsProtobufJSON {
190
+ parent?: string;
191
+ text?: string;
192
+ potentialEntities?: EntityTypeFuzzyNerConfig.AsProtobufJSON[] | null;
193
+ minimalScore?: number;
194
+ allowOverlaps?: boolean;
195
+ }
196
+ }
197
+ /**
198
+ * Message implementation for ondewo.nlu.EntityTypeFuzzyNerConfig
199
+ */
200
+ export declare class EntityTypeFuzzyNerConfig implements GrpcMessage {
201
+ static id: string;
202
+ /**
203
+ * Deserialize binary data to message
204
+ * @param instance message instance
205
+ */
206
+ static deserializeBinary(bytes: ByteSource): EntityTypeFuzzyNerConfig;
207
+ /**
208
+ * Check all the properties and set default protobuf values if necessary
209
+ * @param _instance message instance
210
+ */
211
+ static refineValues(_instance: EntityTypeFuzzyNerConfig): void;
212
+ /**
213
+ * Deserializes / reads binary message into message instance using provided binary reader
214
+ * @param _instance message instance
215
+ * @param _reader binary reader instance
216
+ */
217
+ static deserializeBinaryFromReader(_instance: EntityTypeFuzzyNerConfig, _reader: BinaryReader): void;
218
+ /**
219
+ * Serializes a message to binary format using provided binary reader
220
+ * @param _instance message instance
221
+ * @param _writer binary writer instance
222
+ */
223
+ static serializeBinaryToWriter(_instance: EntityTypeFuzzyNerConfig, _writer: BinaryWriter): void;
224
+ private _entityType?;
225
+ private _minimalScore?;
226
+ private _entityValues?;
227
+ private _algorithm?;
228
+ /**
229
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
230
+ * @param _value initial values object or instance of EntityTypeFuzzyNerConfig to deeply clone from
231
+ */
232
+ constructor(_value?: RecursivePartial<EntityTypeFuzzyNerConfig.AsObject>);
233
+ get entityType(): ondewoNlu011.EntityType | undefined;
234
+ set entityType(value: ondewoNlu011.EntityType | undefined);
235
+ get minimalScore(): number | undefined;
236
+ set minimalScore(value: number | undefined);
237
+ get entityValues(): string[] | undefined;
238
+ set entityValues(value: string[] | undefined);
239
+ get algorithm(): EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm | undefined;
240
+ set algorithm(value: EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm | undefined);
241
+ /**
242
+ * Serialize message to binary data
243
+ * @param instance message instance
244
+ */
245
+ serializeBinary(): any;
246
+ /**
247
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
248
+ */
249
+ toObject(): EntityTypeFuzzyNerConfig.AsObject;
250
+ /**
251
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
252
+ */
253
+ toJSON(): EntityTypeFuzzyNerConfig.AsObject;
254
+ /**
255
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
256
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
257
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
258
+ */
259
+ toProtobufJSON(options?: ToProtobufJSONOptions): EntityTypeFuzzyNerConfig.AsProtobufJSON;
260
+ }
261
+ export declare module EntityTypeFuzzyNerConfig {
262
+ /**
263
+ * Standard JavaScript object representation for EntityTypeFuzzyNerConfig
264
+ */
265
+ interface AsObject {
266
+ entityType?: ondewoNlu011.EntityType.AsObject;
267
+ minimalScore?: number;
268
+ entityValues?: string[];
269
+ algorithm?: EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm;
270
+ }
271
+ /**
272
+ * Protobuf JSON representation for EntityTypeFuzzyNerConfig
273
+ */
274
+ interface AsProtobufJSON {
275
+ entityType?: ondewoNlu011.EntityType.AsProtobufJSON | null;
276
+ minimalScore?: number;
277
+ entityValues?: string[];
278
+ algorithm?: string;
279
+ }
280
+ enum FuzzyNerAlgorithm {
281
+ PREFILTER_LEVENSHTEIN = 0,
282
+ LOCAL_MAXIMUM = 1
283
+ }
284
+ }
285
+ /**
286
+ * Message implementation for ondewo.nlu.EntityDetected
287
+ */
288
+ export declare class EntityDetected implements GrpcMessage {
289
+ static id: string;
290
+ /**
291
+ * Deserialize binary data to message
292
+ * @param instance message instance
293
+ */
294
+ static deserializeBinary(bytes: ByteSource): EntityDetected;
295
+ /**
296
+ * Check all the properties and set default protobuf values if necessary
297
+ * @param _instance message instance
298
+ */
299
+ static refineValues(_instance: EntityDetected): void;
300
+ /**
301
+ * Deserializes / reads binary message into message instance using provided binary reader
302
+ * @param _instance message instance
303
+ * @param _reader binary reader instance
304
+ */
305
+ static deserializeBinaryFromReader(_instance: EntityDetected, _reader: BinaryReader): void;
306
+ /**
307
+ * Serializes a message to binary format using provided binary reader
308
+ * @param _instance message instance
309
+ * @param _writer binary writer instance
310
+ */
311
+ static serializeBinaryToWriter(_instance: EntityDetected, _writer: BinaryWriter): void;
312
+ private _entity?;
313
+ private _extractionMethod?;
314
+ private _score?;
315
+ /**
316
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
317
+ * @param _value initial values object or instance of EntityDetected to deeply clone from
318
+ */
319
+ constructor(_value?: RecursivePartial<EntityDetected.AsObject>);
320
+ get entity(): ondewoNlu010.Intent.TrainingPhrase.Entity | undefined;
321
+ set entity(value: ondewoNlu010.Intent.TrainingPhrase.Entity | undefined);
322
+ get extractionMethod(): string | undefined;
323
+ set extractionMethod(value: string | undefined);
324
+ get score(): number | undefined;
325
+ set score(value: number | undefined);
326
+ /**
327
+ * Serialize message to binary data
328
+ * @param instance message instance
329
+ */
330
+ serializeBinary(): any;
331
+ /**
332
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
333
+ */
334
+ toObject(): EntityDetected.AsObject;
335
+ /**
336
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
337
+ */
338
+ toJSON(): EntityDetected.AsObject;
339
+ /**
340
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
341
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
342
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
343
+ */
344
+ toProtobufJSON(options?: ToProtobufJSONOptions): EntityDetected.AsProtobufJSON;
345
+ }
346
+ export declare module EntityDetected {
347
+ /**
348
+ * Standard JavaScript object representation for EntityDetected
349
+ */
350
+ interface AsObject {
351
+ entity?: ondewoNlu010.Intent.TrainingPhrase.Entity.AsObject;
352
+ extractionMethod?: string;
353
+ score?: number;
354
+ }
355
+ /**
356
+ * Protobuf JSON representation for EntityDetected
357
+ */
358
+ interface AsProtobufJSON {
359
+ entity?: ondewoNlu010.Intent.TrainingPhrase.Entity.AsProtobufJSON | null;
360
+ extractionMethod?: string;
361
+ score?: number;
362
+ }
363
+ }
364
+ /**
365
+ * Message implementation for ondewo.nlu.ExtractEntitiesResponse
366
+ */
367
+ export declare class ExtractEntitiesResponse implements GrpcMessage {
368
+ static id: string;
369
+ /**
370
+ * Deserialize binary data to message
371
+ * @param instance message instance
372
+ */
373
+ static deserializeBinary(bytes: ByteSource): ExtractEntitiesResponse;
374
+ /**
375
+ * Check all the properties and set default protobuf values if necessary
376
+ * @param _instance message instance
377
+ */
378
+ static refineValues(_instance: ExtractEntitiesResponse): void;
379
+ /**
380
+ * Deserializes / reads binary message into message instance using provided binary reader
381
+ * @param _instance message instance
382
+ * @param _reader binary reader instance
383
+ */
384
+ static deserializeBinaryFromReader(_instance: ExtractEntitiesResponse, _reader: BinaryReader): void;
385
+ /**
386
+ * Serializes a message to binary format using provided binary reader
387
+ * @param _instance message instance
388
+ * @param _writer binary writer instance
389
+ */
390
+ static serializeBinaryToWriter(_instance: ExtractEntitiesResponse, _writer: BinaryWriter): void;
391
+ private _entitiesDetected?;
392
+ private _text?;
393
+ /**
394
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
395
+ * @param _value initial values object or instance of ExtractEntitiesResponse to deeply clone from
396
+ */
397
+ constructor(_value?: RecursivePartial<ExtractEntitiesResponse.AsObject>);
398
+ get entitiesDetected(): EntityDetected[] | undefined;
399
+ set entitiesDetected(value: EntityDetected[] | undefined);
400
+ get text(): string | undefined;
401
+ set text(value: string | undefined);
402
+ /**
403
+ * Serialize message to binary data
404
+ * @param instance message instance
405
+ */
406
+ serializeBinary(): any;
407
+ /**
408
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
409
+ */
410
+ toObject(): ExtractEntitiesResponse.AsObject;
411
+ /**
412
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
413
+ */
414
+ toJSON(): ExtractEntitiesResponse.AsObject;
415
+ /**
416
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
417
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
418
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
419
+ */
420
+ toProtobufJSON(options?: ToProtobufJSONOptions): ExtractEntitiesResponse.AsProtobufJSON;
421
+ }
422
+ export declare module ExtractEntitiesResponse {
423
+ /**
424
+ * Standard JavaScript object representation for ExtractEntitiesResponse
425
+ */
426
+ interface AsObject {
427
+ entitiesDetected?: EntityDetected.AsObject[];
428
+ text?: string;
429
+ }
430
+ /**
431
+ * Protobuf JSON representation for ExtractEntitiesResponse
432
+ */
433
+ interface AsProtobufJSON {
434
+ entitiesDetected?: EntityDetected.AsProtobufJSON[] | null;
435
+ text?: string;
436
+ }
437
+ }
438
+ /**
439
+ * Message implementation for ondewo.nlu.GetAlternativeSentencesRequest
440
+ */
441
+ export declare class GetAlternativeSentencesRequest implements GrpcMessage {
442
+ static id: string;
443
+ /**
444
+ * Deserialize binary data to message
445
+ * @param instance message instance
446
+ */
447
+ static deserializeBinary(bytes: ByteSource): GetAlternativeSentencesRequest;
448
+ /**
449
+ * Check all the properties and set default protobuf values if necessary
450
+ * @param _instance message instance
451
+ */
452
+ static refineValues(_instance: GetAlternativeSentencesRequest): void;
453
+ /**
454
+ * Deserializes / reads binary message into message instance using provided binary reader
455
+ * @param _instance message instance
456
+ * @param _reader binary reader instance
457
+ */
458
+ static deserializeBinaryFromReader(_instance: GetAlternativeSentencesRequest, _reader: BinaryReader): void;
459
+ /**
460
+ * Serializes a message to binary format using provided binary reader
461
+ * @param _instance message instance
462
+ * @param _writer binary writer instance
463
+ */
464
+ static serializeBinaryToWriter(_instance: GetAlternativeSentencesRequest, _writer: BinaryWriter): void;
465
+ private _config?;
466
+ private _sentence?;
467
+ private _languageCode?;
468
+ private _parent?;
469
+ private _protectedWords?;
470
+ private _wordsToChange?;
471
+ /**
472
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
473
+ * @param _value initial values object or instance of GetAlternativeSentencesRequest to deeply clone from
474
+ */
475
+ constructor(_value?: RecursivePartial<GetAlternativeSentencesRequest.AsObject>);
476
+ get config(): DataEnrichmentConfig | undefined;
477
+ set config(value: DataEnrichmentConfig | undefined);
478
+ get sentence(): string | undefined;
479
+ set sentence(value: string | undefined);
480
+ get languageCode(): string | undefined;
481
+ set languageCode(value: string | undefined);
482
+ get parent(): string | undefined;
483
+ set parent(value: string | undefined);
484
+ get protectedWords(): string[] | undefined;
485
+ set protectedWords(value: string[] | undefined);
486
+ get wordsToChange(): string[] | undefined;
487
+ set wordsToChange(value: string[] | undefined);
488
+ /**
489
+ * Serialize message to binary data
490
+ * @param instance message instance
491
+ */
492
+ serializeBinary(): any;
493
+ /**
494
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
495
+ */
496
+ toObject(): GetAlternativeSentencesRequest.AsObject;
497
+ /**
498
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
499
+ */
500
+ toJSON(): GetAlternativeSentencesRequest.AsObject;
501
+ /**
502
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
503
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
504
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
505
+ */
506
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeSentencesRequest.AsProtobufJSON;
507
+ }
508
+ export declare module GetAlternativeSentencesRequest {
509
+ /**
510
+ * Standard JavaScript object representation for GetAlternativeSentencesRequest
511
+ */
512
+ interface AsObject {
513
+ config?: DataEnrichmentConfig.AsObject;
514
+ sentence?: string;
515
+ languageCode?: string;
516
+ parent?: string;
517
+ protectedWords?: string[];
518
+ wordsToChange?: string[];
519
+ }
520
+ /**
521
+ * Protobuf JSON representation for GetAlternativeSentencesRequest
522
+ */
523
+ interface AsProtobufJSON {
524
+ config?: DataEnrichmentConfig.AsProtobufJSON | null;
525
+ sentence?: string;
526
+ languageCode?: string;
527
+ parent?: string;
528
+ protectedWords?: string[];
529
+ wordsToChange?: string[];
530
+ }
531
+ }
532
+ /**
533
+ * Message implementation for ondewo.nlu.GenerateUserSaysRequest
534
+ */
535
+ export declare class GenerateUserSaysRequest implements GrpcMessage {
536
+ static id: string;
537
+ /**
538
+ * Deserialize binary data to message
539
+ * @param instance message instance
540
+ */
541
+ static deserializeBinary(bytes: ByteSource): GenerateUserSaysRequest;
542
+ /**
543
+ * Check all the properties and set default protobuf values if necessary
544
+ * @param _instance message instance
545
+ */
546
+ static refineValues(_instance: GenerateUserSaysRequest): void;
547
+ /**
548
+ * Deserializes / reads binary message into message instance using provided binary reader
549
+ * @param _instance message instance
550
+ * @param _reader binary reader instance
551
+ */
552
+ static deserializeBinaryFromReader(_instance: GenerateUserSaysRequest, _reader: BinaryReader): void;
553
+ /**
554
+ * Serializes a message to binary format using provided binary reader
555
+ * @param _instance message instance
556
+ * @param _writer binary writer instance
557
+ */
558
+ static serializeBinaryToWriter(_instance: GenerateUserSaysRequest, _writer: BinaryWriter): void;
559
+ private _languageCode?;
560
+ private _parent?;
561
+ private _nRepeatSynonym?;
562
+ private _branch?;
563
+ /**
564
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
565
+ * @param _value initial values object or instance of GenerateUserSaysRequest to deeply clone from
566
+ */
567
+ constructor(_value?: RecursivePartial<GenerateUserSaysRequest.AsObject>);
568
+ get languageCode(): string | undefined;
569
+ set languageCode(value: string | undefined);
570
+ get parent(): string | undefined;
571
+ set parent(value: string | undefined);
572
+ get nRepeatSynonym(): number | undefined;
573
+ set nRepeatSynonym(value: number | undefined);
574
+ get branch(): string | undefined;
575
+ set branch(value: string | undefined);
576
+ /**
577
+ * Serialize message to binary data
578
+ * @param instance message instance
579
+ */
580
+ serializeBinary(): any;
581
+ /**
582
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
583
+ */
584
+ toObject(): GenerateUserSaysRequest.AsObject;
585
+ /**
586
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
587
+ */
588
+ toJSON(): GenerateUserSaysRequest.AsObject;
589
+ /**
590
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
591
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
592
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
593
+ */
594
+ toProtobufJSON(options?: ToProtobufJSONOptions): GenerateUserSaysRequest.AsProtobufJSON;
595
+ }
596
+ export declare module GenerateUserSaysRequest {
597
+ /**
598
+ * Standard JavaScript object representation for GenerateUserSaysRequest
599
+ */
600
+ interface AsObject {
601
+ languageCode?: string;
602
+ parent?: string;
603
+ nRepeatSynonym?: number;
604
+ branch?: string;
605
+ }
606
+ /**
607
+ * Protobuf JSON representation for GenerateUserSaysRequest
608
+ */
609
+ interface AsProtobufJSON {
610
+ languageCode?: string;
611
+ parent?: string;
612
+ nRepeatSynonym?: number;
613
+ branch?: string;
614
+ }
615
+ }
616
+ /**
617
+ * Message implementation for ondewo.nlu.GenerateResponsesRequest
618
+ */
619
+ export declare class GenerateResponsesRequest implements GrpcMessage {
620
+ static id: string;
621
+ /**
622
+ * Deserialize binary data to message
623
+ * @param instance message instance
624
+ */
625
+ static deserializeBinary(bytes: ByteSource): GenerateResponsesRequest;
626
+ /**
627
+ * Check all the properties and set default protobuf values if necessary
628
+ * @param _instance message instance
629
+ */
630
+ static refineValues(_instance: GenerateResponsesRequest): void;
631
+ /**
632
+ * Deserializes / reads binary message into message instance using provided binary reader
633
+ * @param _instance message instance
634
+ * @param _reader binary reader instance
635
+ */
636
+ static deserializeBinaryFromReader(_instance: GenerateResponsesRequest, _reader: BinaryReader): void;
637
+ /**
638
+ * Serializes a message to binary format using provided binary reader
639
+ * @param _instance message instance
640
+ * @param _writer binary writer instance
641
+ */
642
+ static serializeBinaryToWriter(_instance: GenerateResponsesRequest, _writer: BinaryWriter): void;
643
+ private _languageCode?;
644
+ private _parent?;
645
+ private _nRepeatSynonym?;
646
+ private _branch?;
647
+ private _dropUnknownParameters?;
648
+ /**
649
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
650
+ * @param _value initial values object or instance of GenerateResponsesRequest to deeply clone from
651
+ */
652
+ constructor(_value?: RecursivePartial<GenerateResponsesRequest.AsObject>);
653
+ get languageCode(): string | undefined;
654
+ set languageCode(value: string | undefined);
655
+ get parent(): string | undefined;
656
+ set parent(value: string | undefined);
657
+ get nRepeatSynonym(): number | undefined;
658
+ set nRepeatSynonym(value: number | undefined);
659
+ get branch(): string | undefined;
660
+ set branch(value: string | undefined);
661
+ get dropUnknownParameters(): boolean | undefined;
662
+ set dropUnknownParameters(value: boolean | undefined);
663
+ /**
664
+ * Serialize message to binary data
665
+ * @param instance message instance
666
+ */
667
+ serializeBinary(): any;
668
+ /**
669
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
670
+ */
671
+ toObject(): GenerateResponsesRequest.AsObject;
672
+ /**
673
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
674
+ */
675
+ toJSON(): GenerateResponsesRequest.AsObject;
676
+ /**
677
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
678
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
679
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
680
+ */
681
+ toProtobufJSON(options?: ToProtobufJSONOptions): GenerateResponsesRequest.AsProtobufJSON;
682
+ }
683
+ export declare module GenerateResponsesRequest {
684
+ /**
685
+ * Standard JavaScript object representation for GenerateResponsesRequest
686
+ */
687
+ interface AsObject {
688
+ languageCode?: string;
689
+ parent?: string;
690
+ nRepeatSynonym?: number;
691
+ branch?: string;
692
+ dropUnknownParameters?: boolean;
693
+ }
694
+ /**
695
+ * Protobuf JSON representation for GenerateResponsesRequest
696
+ */
697
+ interface AsProtobufJSON {
698
+ languageCode?: string;
699
+ parent?: string;
700
+ nRepeatSynonym?: number;
701
+ branch?: string;
702
+ dropUnknownParameters?: boolean;
703
+ }
704
+ }
705
+ /**
706
+ * Message implementation for ondewo.nlu.GetAlternativeTrainingPhrasesRequest
707
+ */
708
+ export declare class GetAlternativeTrainingPhrasesRequest implements GrpcMessage {
709
+ static id: string;
710
+ /**
711
+ * Deserialize binary data to message
712
+ * @param instance message instance
713
+ */
714
+ static deserializeBinary(bytes: ByteSource): GetAlternativeTrainingPhrasesRequest;
715
+ /**
716
+ * Check all the properties and set default protobuf values if necessary
717
+ * @param _instance message instance
718
+ */
719
+ static refineValues(_instance: GetAlternativeTrainingPhrasesRequest): void;
720
+ /**
721
+ * Deserializes / reads binary message into message instance using provided binary reader
722
+ * @param _instance message instance
723
+ * @param _reader binary reader instance
724
+ */
725
+ static deserializeBinaryFromReader(_instance: GetAlternativeTrainingPhrasesRequest, _reader: BinaryReader): void;
726
+ /**
727
+ * Serializes a message to binary format using provided binary reader
728
+ * @param _instance message instance
729
+ * @param _writer binary writer instance
730
+ */
731
+ static serializeBinaryToWriter(_instance: GetAlternativeTrainingPhrasesRequest, _writer: BinaryWriter): void;
732
+ private _config?;
733
+ private _trainingPhrase?;
734
+ private _intentName?;
735
+ private _languageCode?;
736
+ private _parent?;
737
+ private _detectEntities?;
738
+ private _similarityThreshold?;
739
+ private _protectedWords?;
740
+ private _wordsToChange?;
741
+ private _branch?;
742
+ /**
743
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
744
+ * @param _value initial values object or instance of GetAlternativeTrainingPhrasesRequest to deeply clone from
745
+ */
746
+ constructor(_value?: RecursivePartial<GetAlternativeTrainingPhrasesRequest.AsObject>);
747
+ get config(): DataEnrichmentConfig | undefined;
748
+ set config(value: DataEnrichmentConfig | undefined);
749
+ get trainingPhrase(): ondewoNlu010.Intent.TrainingPhrase | undefined;
750
+ set trainingPhrase(value: ondewoNlu010.Intent.TrainingPhrase | undefined);
751
+ get intentName(): string | undefined;
752
+ set intentName(value: string | undefined);
753
+ get languageCode(): string | undefined;
754
+ set languageCode(value: string | undefined);
755
+ get parent(): string | undefined;
756
+ set parent(value: string | undefined);
757
+ get detectEntities(): boolean | undefined;
758
+ set detectEntities(value: boolean | undefined);
759
+ get similarityThreshold(): number | undefined;
760
+ set similarityThreshold(value: number | undefined);
761
+ get protectedWords(): string[] | undefined;
762
+ set protectedWords(value: string[] | undefined);
763
+ get wordsToChange(): string[] | undefined;
764
+ set wordsToChange(value: string[] | undefined);
765
+ get branch(): string | undefined;
766
+ set branch(value: string | undefined);
767
+ /**
768
+ * Serialize message to binary data
769
+ * @param instance message instance
770
+ */
771
+ serializeBinary(): any;
772
+ /**
773
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
774
+ */
775
+ toObject(): GetAlternativeTrainingPhrasesRequest.AsObject;
776
+ /**
777
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
778
+ */
779
+ toJSON(): GetAlternativeTrainingPhrasesRequest.AsObject;
780
+ /**
781
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
782
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
783
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
784
+ */
785
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeTrainingPhrasesRequest.AsProtobufJSON;
786
+ }
787
+ export declare module GetAlternativeTrainingPhrasesRequest {
788
+ /**
789
+ * Standard JavaScript object representation for GetAlternativeTrainingPhrasesRequest
790
+ */
791
+ interface AsObject {
792
+ config?: DataEnrichmentConfig.AsObject;
793
+ trainingPhrase?: ondewoNlu010.Intent.TrainingPhrase.AsObject;
794
+ intentName?: string;
795
+ languageCode?: string;
796
+ parent?: string;
797
+ detectEntities?: boolean;
798
+ similarityThreshold?: number;
799
+ protectedWords?: string[];
800
+ wordsToChange?: string[];
801
+ branch?: string;
802
+ }
803
+ /**
804
+ * Protobuf JSON representation for GetAlternativeTrainingPhrasesRequest
805
+ */
806
+ interface AsProtobufJSON {
807
+ config?: DataEnrichmentConfig.AsProtobufJSON | null;
808
+ trainingPhrase?: ondewoNlu010.Intent.TrainingPhrase.AsProtobufJSON | null;
809
+ intentName?: string;
810
+ languageCode?: string;
811
+ parent?: string;
812
+ detectEntities?: boolean;
813
+ similarityThreshold?: number;
814
+ protectedWords?: string[];
815
+ wordsToChange?: string[];
816
+ branch?: string;
817
+ }
818
+ }
819
+ /**
820
+ * Message implementation for ondewo.nlu.GetSynonymsRequest
821
+ */
822
+ export declare class GetSynonymsRequest implements GrpcMessage {
823
+ static id: string;
824
+ /**
825
+ * Deserialize binary data to message
826
+ * @param instance message instance
827
+ */
828
+ static deserializeBinary(bytes: ByteSource): GetSynonymsRequest;
829
+ /**
830
+ * Check all the properties and set default protobuf values if necessary
831
+ * @param _instance message instance
832
+ */
833
+ static refineValues(_instance: GetSynonymsRequest): void;
834
+ /**
835
+ * Deserializes / reads binary message into message instance using provided binary reader
836
+ * @param _instance message instance
837
+ * @param _reader binary reader instance
838
+ */
839
+ static deserializeBinaryFromReader(_instance: GetSynonymsRequest, _reader: BinaryReader): void;
840
+ /**
841
+ * Serializes a message to binary format using provided binary reader
842
+ * @param _instance message instance
843
+ * @param _writer binary writer instance
844
+ */
845
+ static serializeBinaryToWriter(_instance: GetSynonymsRequest, _writer: BinaryWriter): void;
846
+ private _config?;
847
+ private _word?;
848
+ private _languageCode?;
849
+ private _parent?;
850
+ /**
851
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
852
+ * @param _value initial values object or instance of GetSynonymsRequest to deeply clone from
853
+ */
854
+ constructor(_value?: RecursivePartial<GetSynonymsRequest.AsObject>);
855
+ get config(): DataEnrichmentConfig | undefined;
856
+ set config(value: DataEnrichmentConfig | undefined);
857
+ get word(): string | undefined;
858
+ set word(value: string | undefined);
859
+ get languageCode(): string | undefined;
860
+ set languageCode(value: string | undefined);
861
+ get parent(): string | undefined;
862
+ set parent(value: string | undefined);
863
+ /**
864
+ * Serialize message to binary data
865
+ * @param instance message instance
866
+ */
867
+ serializeBinary(): any;
868
+ /**
869
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
870
+ */
871
+ toObject(): GetSynonymsRequest.AsObject;
872
+ /**
873
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
874
+ */
875
+ toJSON(): GetSynonymsRequest.AsObject;
876
+ /**
877
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
878
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
879
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
880
+ */
881
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetSynonymsRequest.AsProtobufJSON;
882
+ }
883
+ export declare module GetSynonymsRequest {
884
+ /**
885
+ * Standard JavaScript object representation for GetSynonymsRequest
886
+ */
887
+ interface AsObject {
888
+ config?: DataEnrichmentConfig.AsObject;
889
+ word?: string;
890
+ languageCode?: string;
891
+ parent?: string;
892
+ }
893
+ /**
894
+ * Protobuf JSON representation for GetSynonymsRequest
895
+ */
896
+ interface AsProtobufJSON {
897
+ config?: DataEnrichmentConfig.AsProtobufJSON | null;
898
+ word?: string;
899
+ languageCode?: string;
900
+ parent?: string;
901
+ }
902
+ }
903
+ /**
904
+ * Message implementation for ondewo.nlu.GetSynonymsResponse
905
+ */
906
+ export declare class GetSynonymsResponse implements GrpcMessage {
907
+ static id: string;
908
+ /**
909
+ * Deserialize binary data to message
910
+ * @param instance message instance
911
+ */
912
+ static deserializeBinary(bytes: ByteSource): GetSynonymsResponse;
913
+ /**
914
+ * Check all the properties and set default protobuf values if necessary
915
+ * @param _instance message instance
916
+ */
917
+ static refineValues(_instance: GetSynonymsResponse): void;
918
+ /**
919
+ * Deserializes / reads binary message into message instance using provided binary reader
920
+ * @param _instance message instance
921
+ * @param _reader binary reader instance
922
+ */
923
+ static deserializeBinaryFromReader(_instance: GetSynonymsResponse, _reader: BinaryReader): void;
924
+ /**
925
+ * Serializes a message to binary format using provided binary reader
926
+ * @param _instance message instance
927
+ * @param _writer binary writer instance
928
+ */
929
+ static serializeBinaryToWriter(_instance: GetSynonymsResponse, _writer: BinaryWriter): void;
930
+ private _synonyms?;
931
+ /**
932
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
933
+ * @param _value initial values object or instance of GetSynonymsResponse to deeply clone from
934
+ */
935
+ constructor(_value?: RecursivePartial<GetSynonymsResponse.AsObject>);
936
+ get synonyms(): Synonym[] | undefined;
937
+ set synonyms(value: Synonym[] | undefined);
938
+ /**
939
+ * Serialize message to binary data
940
+ * @param instance message instance
941
+ */
942
+ serializeBinary(): any;
943
+ /**
944
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
945
+ */
946
+ toObject(): GetSynonymsResponse.AsObject;
947
+ /**
948
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
949
+ */
950
+ toJSON(): GetSynonymsResponse.AsObject;
951
+ /**
952
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
953
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
954
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
955
+ */
956
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetSynonymsResponse.AsProtobufJSON;
957
+ }
958
+ export declare module GetSynonymsResponse {
959
+ /**
960
+ * Standard JavaScript object representation for GetSynonymsResponse
961
+ */
962
+ interface AsObject {
963
+ synonyms?: Synonym.AsObject[];
964
+ }
965
+ /**
966
+ * Protobuf JSON representation for GetSynonymsResponse
967
+ */
968
+ interface AsProtobufJSON {
969
+ synonyms?: Synonym.AsProtobufJSON[] | null;
970
+ }
971
+ }
972
+ /**
973
+ * Message implementation for ondewo.nlu.Synonym
974
+ */
975
+ export declare class Synonym implements GrpcMessage {
976
+ static id: string;
977
+ /**
978
+ * Deserialize binary data to message
979
+ * @param instance message instance
980
+ */
981
+ static deserializeBinary(bytes: ByteSource): Synonym;
982
+ /**
983
+ * Check all the properties and set default protobuf values if necessary
984
+ * @param _instance message instance
985
+ */
986
+ static refineValues(_instance: Synonym): void;
987
+ /**
988
+ * Deserializes / reads binary message into message instance using provided binary reader
989
+ * @param _instance message instance
990
+ * @param _reader binary reader instance
991
+ */
992
+ static deserializeBinaryFromReader(_instance: Synonym, _reader: BinaryReader): void;
993
+ /**
994
+ * Serializes a message to binary format using provided binary reader
995
+ * @param _instance message instance
996
+ * @param _writer binary writer instance
997
+ */
998
+ static serializeBinaryToWriter(_instance: Synonym, _writer: BinaryWriter): void;
999
+ private _synonym?;
1000
+ private _score?;
1001
+ /**
1002
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1003
+ * @param _value initial values object or instance of Synonym to deeply clone from
1004
+ */
1005
+ constructor(_value?: RecursivePartial<Synonym.AsObject>);
1006
+ get synonym(): string | undefined;
1007
+ set synonym(value: string | undefined);
1008
+ get score(): number | undefined;
1009
+ set score(value: number | undefined);
1010
+ /**
1011
+ * Serialize message to binary data
1012
+ * @param instance message instance
1013
+ */
1014
+ serializeBinary(): any;
1015
+ /**
1016
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1017
+ */
1018
+ toObject(): Synonym.AsObject;
1019
+ /**
1020
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1021
+ */
1022
+ toJSON(): Synonym.AsObject;
1023
+ /**
1024
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1025
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1026
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1027
+ */
1028
+ toProtobufJSON(options?: ToProtobufJSONOptions): Synonym.AsProtobufJSON;
1029
+ }
1030
+ export declare module Synonym {
1031
+ /**
1032
+ * Standard JavaScript object representation for Synonym
1033
+ */
1034
+ interface AsObject {
1035
+ synonym?: string;
1036
+ score?: number;
1037
+ }
1038
+ /**
1039
+ * Protobuf JSON representation for Synonym
1040
+ */
1041
+ interface AsProtobufJSON {
1042
+ synonym?: string;
1043
+ score?: number;
1044
+ }
1045
+ }
1046
+ /**
1047
+ * Message implementation for ondewo.nlu.GetAlternativeSentencesResponse
1048
+ */
1049
+ export declare class GetAlternativeSentencesResponse implements GrpcMessage {
1050
+ static id: string;
1051
+ /**
1052
+ * Deserialize binary data to message
1053
+ * @param instance message instance
1054
+ */
1055
+ static deserializeBinary(bytes: ByteSource): GetAlternativeSentencesResponse;
1056
+ /**
1057
+ * Check all the properties and set default protobuf values if necessary
1058
+ * @param _instance message instance
1059
+ */
1060
+ static refineValues(_instance: GetAlternativeSentencesResponse): void;
1061
+ /**
1062
+ * Deserializes / reads binary message into message instance using provided binary reader
1063
+ * @param _instance message instance
1064
+ * @param _reader binary reader instance
1065
+ */
1066
+ static deserializeBinaryFromReader(_instance: GetAlternativeSentencesResponse, _reader: BinaryReader): void;
1067
+ /**
1068
+ * Serializes a message to binary format using provided binary reader
1069
+ * @param _instance message instance
1070
+ * @param _writer binary writer instance
1071
+ */
1072
+ static serializeBinaryToWriter(_instance: GetAlternativeSentencesResponse, _writer: BinaryWriter): void;
1073
+ private _alternativeSentences?;
1074
+ /**
1075
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1076
+ * @param _value initial values object or instance of GetAlternativeSentencesResponse to deeply clone from
1077
+ */
1078
+ constructor(_value?: RecursivePartial<GetAlternativeSentencesResponse.AsObject>);
1079
+ get alternativeSentences(): AltSentence[] | undefined;
1080
+ set alternativeSentences(value: AltSentence[] | undefined);
1081
+ /**
1082
+ * Serialize message to binary data
1083
+ * @param instance message instance
1084
+ */
1085
+ serializeBinary(): any;
1086
+ /**
1087
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1088
+ */
1089
+ toObject(): GetAlternativeSentencesResponse.AsObject;
1090
+ /**
1091
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1092
+ */
1093
+ toJSON(): GetAlternativeSentencesResponse.AsObject;
1094
+ /**
1095
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1096
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1097
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1098
+ */
1099
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeSentencesResponse.AsProtobufJSON;
1100
+ }
1101
+ export declare module GetAlternativeSentencesResponse {
1102
+ /**
1103
+ * Standard JavaScript object representation for GetAlternativeSentencesResponse
1104
+ */
1105
+ interface AsObject {
1106
+ alternativeSentences?: AltSentence.AsObject[];
1107
+ }
1108
+ /**
1109
+ * Protobuf JSON representation for GetAlternativeSentencesResponse
1110
+ */
1111
+ interface AsProtobufJSON {
1112
+ alternativeSentences?: AltSentence.AsProtobufJSON[] | null;
1113
+ }
1114
+ }
1115
+ /**
1116
+ * Message implementation for ondewo.nlu.GenerateResponsesResponse
1117
+ */
1118
+ export declare class GenerateResponsesResponse implements GrpcMessage {
1119
+ static id: string;
1120
+ /**
1121
+ * Deserialize binary data to message
1122
+ * @param instance message instance
1123
+ */
1124
+ static deserializeBinary(bytes: ByteSource): GenerateResponsesResponse;
1125
+ /**
1126
+ * Check all the properties and set default protobuf values if necessary
1127
+ * @param _instance message instance
1128
+ */
1129
+ static refineValues(_instance: GenerateResponsesResponse): void;
1130
+ /**
1131
+ * Deserializes / reads binary message into message instance using provided binary reader
1132
+ * @param _instance message instance
1133
+ * @param _reader binary reader instance
1134
+ */
1135
+ static deserializeBinaryFromReader(_instance: GenerateResponsesResponse, _reader: BinaryReader): void;
1136
+ /**
1137
+ * Serializes a message to binary format using provided binary reader
1138
+ * @param _instance message instance
1139
+ * @param _writer binary writer instance
1140
+ */
1141
+ static serializeBinaryToWriter(_instance: GenerateResponsesResponse, _writer: BinaryWriter): void;
1142
+ private _responses?;
1143
+ /**
1144
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1145
+ * @param _value initial values object or instance of GenerateResponsesResponse to deeply clone from
1146
+ */
1147
+ constructor(_value?: RecursivePartial<GenerateResponsesResponse.AsObject>);
1148
+ get responses(): string[] | undefined;
1149
+ set responses(value: string[] | undefined);
1150
+ /**
1151
+ * Serialize message to binary data
1152
+ * @param instance message instance
1153
+ */
1154
+ serializeBinary(): any;
1155
+ /**
1156
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1157
+ */
1158
+ toObject(): GenerateResponsesResponse.AsObject;
1159
+ /**
1160
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1161
+ */
1162
+ toJSON(): GenerateResponsesResponse.AsObject;
1163
+ /**
1164
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1165
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1166
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1167
+ */
1168
+ toProtobufJSON(options?: ToProtobufJSONOptions): GenerateResponsesResponse.AsProtobufJSON;
1169
+ }
1170
+ export declare module GenerateResponsesResponse {
1171
+ /**
1172
+ * Standard JavaScript object representation for GenerateResponsesResponse
1173
+ */
1174
+ interface AsObject {
1175
+ responses?: string[];
1176
+ }
1177
+ /**
1178
+ * Protobuf JSON representation for GenerateResponsesResponse
1179
+ */
1180
+ interface AsProtobufJSON {
1181
+ responses?: string[];
1182
+ }
1183
+ }
1184
+ /**
1185
+ * Message implementation for ondewo.nlu.GenerateUserSaysResponse
1186
+ */
1187
+ export declare class GenerateUserSaysResponse implements GrpcMessage {
1188
+ static id: string;
1189
+ /**
1190
+ * Deserialize binary data to message
1191
+ * @param instance message instance
1192
+ */
1193
+ static deserializeBinary(bytes: ByteSource): GenerateUserSaysResponse;
1194
+ /**
1195
+ * Check all the properties and set default protobuf values if necessary
1196
+ * @param _instance message instance
1197
+ */
1198
+ static refineValues(_instance: GenerateUserSaysResponse): void;
1199
+ /**
1200
+ * Deserializes / reads binary message into message instance using provided binary reader
1201
+ * @param _instance message instance
1202
+ * @param _reader binary reader instance
1203
+ */
1204
+ static deserializeBinaryFromReader(_instance: GenerateUserSaysResponse, _reader: BinaryReader): void;
1205
+ /**
1206
+ * Serializes a message to binary format using provided binary reader
1207
+ * @param _instance message instance
1208
+ * @param _writer binary writer instance
1209
+ */
1210
+ static serializeBinaryToWriter(_instance: GenerateUserSaysResponse, _writer: BinaryWriter): void;
1211
+ private _userSays?;
1212
+ /**
1213
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1214
+ * @param _value initial values object or instance of GenerateUserSaysResponse to deeply clone from
1215
+ */
1216
+ constructor(_value?: RecursivePartial<GenerateUserSaysResponse.AsObject>);
1217
+ get userSays(): string[] | undefined;
1218
+ set userSays(value: string[] | undefined);
1219
+ /**
1220
+ * Serialize message to binary data
1221
+ * @param instance message instance
1222
+ */
1223
+ serializeBinary(): any;
1224
+ /**
1225
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1226
+ */
1227
+ toObject(): GenerateUserSaysResponse.AsObject;
1228
+ /**
1229
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1230
+ */
1231
+ toJSON(): GenerateUserSaysResponse.AsObject;
1232
+ /**
1233
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1234
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1235
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1236
+ */
1237
+ toProtobufJSON(options?: ToProtobufJSONOptions): GenerateUserSaysResponse.AsProtobufJSON;
1238
+ }
1239
+ export declare module GenerateUserSaysResponse {
1240
+ /**
1241
+ * Standard JavaScript object representation for GenerateUserSaysResponse
1242
+ */
1243
+ interface AsObject {
1244
+ userSays?: string[];
1245
+ }
1246
+ /**
1247
+ * Protobuf JSON representation for GenerateUserSaysResponse
1248
+ */
1249
+ interface AsProtobufJSON {
1250
+ userSays?: string[];
1251
+ }
1252
+ }
1253
+ /**
1254
+ * Message implementation for ondewo.nlu.GetAlternativeTrainingPhrasesResponse
1255
+ */
1256
+ export declare class GetAlternativeTrainingPhrasesResponse implements GrpcMessage {
1257
+ static id: string;
1258
+ /**
1259
+ * Deserialize binary data to message
1260
+ * @param instance message instance
1261
+ */
1262
+ static deserializeBinary(bytes: ByteSource): GetAlternativeTrainingPhrasesResponse;
1263
+ /**
1264
+ * Check all the properties and set default protobuf values if necessary
1265
+ * @param _instance message instance
1266
+ */
1267
+ static refineValues(_instance: GetAlternativeTrainingPhrasesResponse): void;
1268
+ /**
1269
+ * Deserializes / reads binary message into message instance using provided binary reader
1270
+ * @param _instance message instance
1271
+ * @param _reader binary reader instance
1272
+ */
1273
+ static deserializeBinaryFromReader(_instance: GetAlternativeTrainingPhrasesResponse, _reader: BinaryReader): void;
1274
+ /**
1275
+ * Serializes a message to binary format using provided binary reader
1276
+ * @param _instance message instance
1277
+ * @param _writer binary writer instance
1278
+ */
1279
+ static serializeBinaryToWriter(_instance: GetAlternativeTrainingPhrasesResponse, _writer: BinaryWriter): void;
1280
+ private _alternativeTrainingPhrases?;
1281
+ /**
1282
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1283
+ * @param _value initial values object or instance of GetAlternativeTrainingPhrasesResponse to deeply clone from
1284
+ */
1285
+ constructor(_value?: RecursivePartial<GetAlternativeTrainingPhrasesResponse.AsObject>);
1286
+ get alternativeTrainingPhrases(): AltTrainingPhrase[] | undefined;
1287
+ set alternativeTrainingPhrases(value: AltTrainingPhrase[] | undefined);
1288
+ /**
1289
+ * Serialize message to binary data
1290
+ * @param instance message instance
1291
+ */
1292
+ serializeBinary(): any;
1293
+ /**
1294
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1295
+ */
1296
+ toObject(): GetAlternativeTrainingPhrasesResponse.AsObject;
1297
+ /**
1298
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1299
+ */
1300
+ toJSON(): GetAlternativeTrainingPhrasesResponse.AsObject;
1301
+ /**
1302
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1303
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1304
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1305
+ */
1306
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeTrainingPhrasesResponse.AsProtobufJSON;
1307
+ }
1308
+ export declare module GetAlternativeTrainingPhrasesResponse {
1309
+ /**
1310
+ * Standard JavaScript object representation for GetAlternativeTrainingPhrasesResponse
1311
+ */
1312
+ interface AsObject {
1313
+ alternativeTrainingPhrases?: AltTrainingPhrase.AsObject[];
1314
+ }
1315
+ /**
1316
+ * Protobuf JSON representation for GetAlternativeTrainingPhrasesResponse
1317
+ */
1318
+ interface AsProtobufJSON {
1319
+ alternativeTrainingPhrases?: AltTrainingPhrase.AsProtobufJSON[] | null;
1320
+ }
1321
+ }
1322
+ /**
1323
+ * Message implementation for ondewo.nlu.AltSentence
1324
+ */
1325
+ export declare class AltSentence implements GrpcMessage {
1326
+ static id: string;
1327
+ /**
1328
+ * Deserialize binary data to message
1329
+ * @param instance message instance
1330
+ */
1331
+ static deserializeBinary(bytes: ByteSource): AltSentence;
1332
+ /**
1333
+ * Check all the properties and set default protobuf values if necessary
1334
+ * @param _instance message instance
1335
+ */
1336
+ static refineValues(_instance: AltSentence): void;
1337
+ /**
1338
+ * Deserializes / reads binary message into message instance using provided binary reader
1339
+ * @param _instance message instance
1340
+ * @param _reader binary reader instance
1341
+ */
1342
+ static deserializeBinaryFromReader(_instance: AltSentence, _reader: BinaryReader): void;
1343
+ /**
1344
+ * Serializes a message to binary format using provided binary reader
1345
+ * @param _instance message instance
1346
+ * @param _writer binary writer instance
1347
+ */
1348
+ static serializeBinaryToWriter(_instance: AltSentence, _writer: BinaryWriter): void;
1349
+ private _sentence?;
1350
+ private _score?;
1351
+ /**
1352
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1353
+ * @param _value initial values object or instance of AltSentence to deeply clone from
1354
+ */
1355
+ constructor(_value?: RecursivePartial<AltSentence.AsObject>);
1356
+ get sentence(): string | undefined;
1357
+ set sentence(value: string | undefined);
1358
+ get score(): number | undefined;
1359
+ set score(value: number | undefined);
1360
+ /**
1361
+ * Serialize message to binary data
1362
+ * @param instance message instance
1363
+ */
1364
+ serializeBinary(): any;
1365
+ /**
1366
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1367
+ */
1368
+ toObject(): AltSentence.AsObject;
1369
+ /**
1370
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1371
+ */
1372
+ toJSON(): AltSentence.AsObject;
1373
+ /**
1374
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1375
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1376
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1377
+ */
1378
+ toProtobufJSON(options?: ToProtobufJSONOptions): AltSentence.AsProtobufJSON;
1379
+ }
1380
+ export declare module AltSentence {
1381
+ /**
1382
+ * Standard JavaScript object representation for AltSentence
1383
+ */
1384
+ interface AsObject {
1385
+ sentence?: string;
1386
+ score?: number;
1387
+ }
1388
+ /**
1389
+ * Protobuf JSON representation for AltSentence
1390
+ */
1391
+ interface AsProtobufJSON {
1392
+ sentence?: string;
1393
+ score?: number;
1394
+ }
1395
+ }
1396
+ /**
1397
+ * Message implementation for ondewo.nlu.AltTrainingPhrase
1398
+ */
1399
+ export declare class AltTrainingPhrase implements GrpcMessage {
1400
+ static id: string;
1401
+ /**
1402
+ * Deserialize binary data to message
1403
+ * @param instance message instance
1404
+ */
1405
+ static deserializeBinary(bytes: ByteSource): AltTrainingPhrase;
1406
+ /**
1407
+ * Check all the properties and set default protobuf values if necessary
1408
+ * @param _instance message instance
1409
+ */
1410
+ static refineValues(_instance: AltTrainingPhrase): void;
1411
+ /**
1412
+ * Deserializes / reads binary message into message instance using provided binary reader
1413
+ * @param _instance message instance
1414
+ * @param _reader binary reader instance
1415
+ */
1416
+ static deserializeBinaryFromReader(_instance: AltTrainingPhrase, _reader: BinaryReader): void;
1417
+ /**
1418
+ * Serializes a message to binary format using provided binary reader
1419
+ * @param _instance message instance
1420
+ * @param _writer binary writer instance
1421
+ */
1422
+ static serializeBinaryToWriter(_instance: AltTrainingPhrase, _writer: BinaryWriter): void;
1423
+ private _trainingPhrase?;
1424
+ private _score?;
1425
+ /**
1426
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1427
+ * @param _value initial values object or instance of AltTrainingPhrase to deeply clone from
1428
+ */
1429
+ constructor(_value?: RecursivePartial<AltTrainingPhrase.AsObject>);
1430
+ get trainingPhrase(): ondewoNlu010.Intent.TrainingPhrase | undefined;
1431
+ set trainingPhrase(value: ondewoNlu010.Intent.TrainingPhrase | undefined);
1432
+ get score(): number | undefined;
1433
+ set score(value: number | undefined);
1434
+ /**
1435
+ * Serialize message to binary data
1436
+ * @param instance message instance
1437
+ */
1438
+ serializeBinary(): any;
1439
+ /**
1440
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1441
+ */
1442
+ toObject(): AltTrainingPhrase.AsObject;
1443
+ /**
1444
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1445
+ */
1446
+ toJSON(): AltTrainingPhrase.AsObject;
1447
+ /**
1448
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1449
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1450
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1451
+ */
1452
+ toProtobufJSON(options?: ToProtobufJSONOptions): AltTrainingPhrase.AsProtobufJSON;
1453
+ }
1454
+ export declare module AltTrainingPhrase {
1455
+ /**
1456
+ * Standard JavaScript object representation for AltTrainingPhrase
1457
+ */
1458
+ interface AsObject {
1459
+ trainingPhrase?: ondewoNlu010.Intent.TrainingPhrase.AsObject;
1460
+ score?: number;
1461
+ }
1462
+ /**
1463
+ * Protobuf JSON representation for AltTrainingPhrase
1464
+ */
1465
+ interface AsProtobufJSON {
1466
+ trainingPhrase?: ondewoNlu010.Intent.TrainingPhrase.AsProtobufJSON | null;
1467
+ score?: number;
1468
+ }
1469
+ }
1470
+ /**
1471
+ * Message implementation for ondewo.nlu.DataEnrichmentConfig
1472
+ */
1473
+ export declare class DataEnrichmentConfig implements GrpcMessage {
1474
+ static id: string;
1475
+ /**
1476
+ * Deserialize binary data to message
1477
+ * @param instance message instance
1478
+ */
1479
+ static deserializeBinary(bytes: ByteSource): DataEnrichmentConfig;
1480
+ /**
1481
+ * Check all the properties and set default protobuf values if necessary
1482
+ * @param _instance message instance
1483
+ */
1484
+ static refineValues(_instance: DataEnrichmentConfig): void;
1485
+ /**
1486
+ * Deserializes / reads binary message into message instance using provided binary reader
1487
+ * @param _instance message instance
1488
+ * @param _reader binary reader instance
1489
+ */
1490
+ static deserializeBinaryFromReader(_instance: DataEnrichmentConfig, _reader: BinaryReader): void;
1491
+ /**
1492
+ * Serializes a message to binary format using provided binary reader
1493
+ * @param _instance message instance
1494
+ * @param _writer binary writer instance
1495
+ */
1496
+ static serializeBinaryToWriter(_instance: DataEnrichmentConfig, _writer: BinaryWriter): void;
1497
+ private _entityEnrichment?;
1498
+ private _thesaurusEnrichment?;
1499
+ private _word2vecEnrichment?;
1500
+ private _wordNetEnrichment?;
1501
+ private _gpt2Enrichment?;
1502
+ private _gloveEnrichment?;
1503
+ private _bertEnrichment?;
1504
+ private _xlnetEnrichment?;
1505
+ /**
1506
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1507
+ * @param _value initial values object or instance of DataEnrichmentConfig to deeply clone from
1508
+ */
1509
+ constructor(_value?: RecursivePartial<DataEnrichmentConfig.AsObject>);
1510
+ get entityEnrichment(): EntityEnrichmentConfig | undefined;
1511
+ set entityEnrichment(value: EntityEnrichmentConfig | undefined);
1512
+ get thesaurusEnrichment(): ThesaurusEnrichmentConfig | undefined;
1513
+ set thesaurusEnrichment(value: ThesaurusEnrichmentConfig | undefined);
1514
+ get word2vecEnrichment(): Word2VecEnrichmentConfig | undefined;
1515
+ set word2vecEnrichment(value: Word2VecEnrichmentConfig | undefined);
1516
+ get wordNetEnrichment(): WordNetAugEnrichmentConfig | undefined;
1517
+ set wordNetEnrichment(value: WordNetAugEnrichmentConfig | undefined);
1518
+ get gpt2Enrichment(): GPT2EnrichmentConfig | undefined;
1519
+ set gpt2Enrichment(value: GPT2EnrichmentConfig | undefined);
1520
+ get gloveEnrichment(): GloVeEnrichmentConfig | undefined;
1521
+ set gloveEnrichment(value: GloVeEnrichmentConfig | undefined);
1522
+ get bertEnrichment(): BertAugEnrichmentConfig | undefined;
1523
+ set bertEnrichment(value: BertAugEnrichmentConfig | undefined);
1524
+ get xlnetEnrichment(): XLNetAugEnrichmentConfig | undefined;
1525
+ set xlnetEnrichment(value: XLNetAugEnrichmentConfig | undefined);
1526
+ /**
1527
+ * Serialize message to binary data
1528
+ * @param instance message instance
1529
+ */
1530
+ serializeBinary(): any;
1531
+ /**
1532
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1533
+ */
1534
+ toObject(): DataEnrichmentConfig.AsObject;
1535
+ /**
1536
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1537
+ */
1538
+ toJSON(): DataEnrichmentConfig.AsObject;
1539
+ /**
1540
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1541
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1542
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1543
+ */
1544
+ toProtobufJSON(options?: ToProtobufJSONOptions): DataEnrichmentConfig.AsProtobufJSON;
1545
+ }
1546
+ export declare module DataEnrichmentConfig {
1547
+ /**
1548
+ * Standard JavaScript object representation for DataEnrichmentConfig
1549
+ */
1550
+ interface AsObject {
1551
+ entityEnrichment?: EntityEnrichmentConfig.AsObject;
1552
+ thesaurusEnrichment?: ThesaurusEnrichmentConfig.AsObject;
1553
+ word2vecEnrichment?: Word2VecEnrichmentConfig.AsObject;
1554
+ wordNetEnrichment?: WordNetAugEnrichmentConfig.AsObject;
1555
+ gpt2Enrichment?: GPT2EnrichmentConfig.AsObject;
1556
+ gloveEnrichment?: GloVeEnrichmentConfig.AsObject;
1557
+ bertEnrichment?: BertAugEnrichmentConfig.AsObject;
1558
+ xlnetEnrichment?: XLNetAugEnrichmentConfig.AsObject;
1559
+ }
1560
+ /**
1561
+ * Protobuf JSON representation for DataEnrichmentConfig
1562
+ */
1563
+ interface AsProtobufJSON {
1564
+ entityEnrichment?: EntityEnrichmentConfig.AsProtobufJSON | null;
1565
+ thesaurusEnrichment?: ThesaurusEnrichmentConfig.AsProtobufJSON | null;
1566
+ word2vecEnrichment?: Word2VecEnrichmentConfig.AsProtobufJSON | null;
1567
+ wordNetEnrichment?: WordNetAugEnrichmentConfig.AsProtobufJSON | null;
1568
+ gpt2Enrichment?: GPT2EnrichmentConfig.AsProtobufJSON | null;
1569
+ gloveEnrichment?: GloVeEnrichmentConfig.AsProtobufJSON | null;
1570
+ bertEnrichment?: BertAugEnrichmentConfig.AsProtobufJSON | null;
1571
+ xlnetEnrichment?: XLNetAugEnrichmentConfig.AsProtobufJSON | null;
1572
+ }
1573
+ }
1574
+ /**
1575
+ * Message implementation for ondewo.nlu.EntityEnrichmentConfig
1576
+ */
1577
+ export declare class EntityEnrichmentConfig implements GrpcMessage {
1578
+ static id: string;
1579
+ /**
1580
+ * Deserialize binary data to message
1581
+ * @param instance message instance
1582
+ */
1583
+ static deserializeBinary(bytes: ByteSource): EntityEnrichmentConfig;
1584
+ /**
1585
+ * Check all the properties and set default protobuf values if necessary
1586
+ * @param _instance message instance
1587
+ */
1588
+ static refineValues(_instance: EntityEnrichmentConfig): void;
1589
+ /**
1590
+ * Deserializes / reads binary message into message instance using provided binary reader
1591
+ * @param _instance message instance
1592
+ * @param _reader binary reader instance
1593
+ */
1594
+ static deserializeBinaryFromReader(_instance: EntityEnrichmentConfig, _reader: BinaryReader): void;
1595
+ /**
1596
+ * Serializes a message to binary format using provided binary reader
1597
+ * @param _instance message instance
1598
+ * @param _writer binary writer instance
1599
+ */
1600
+ static serializeBinaryToWriter(_instance: EntityEnrichmentConfig, _writer: BinaryWriter): void;
1601
+ private _isActive?;
1602
+ private _enrichmentFactor?;
1603
+ private _executionOrder?;
1604
+ /**
1605
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1606
+ * @param _value initial values object or instance of EntityEnrichmentConfig to deeply clone from
1607
+ */
1608
+ constructor(_value?: RecursivePartial<EntityEnrichmentConfig.AsObject>);
1609
+ get isActive(): boolean | undefined;
1610
+ set isActive(value: boolean | undefined);
1611
+ get enrichmentFactor(): number | undefined;
1612
+ set enrichmentFactor(value: number | undefined);
1613
+ get executionOrder(): number | undefined;
1614
+ set executionOrder(value: number | undefined);
1615
+ /**
1616
+ * Serialize message to binary data
1617
+ * @param instance message instance
1618
+ */
1619
+ serializeBinary(): any;
1620
+ /**
1621
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1622
+ */
1623
+ toObject(): EntityEnrichmentConfig.AsObject;
1624
+ /**
1625
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1626
+ */
1627
+ toJSON(): EntityEnrichmentConfig.AsObject;
1628
+ /**
1629
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1630
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1631
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1632
+ */
1633
+ toProtobufJSON(options?: ToProtobufJSONOptions): EntityEnrichmentConfig.AsProtobufJSON;
1634
+ }
1635
+ export declare module EntityEnrichmentConfig {
1636
+ /**
1637
+ * Standard JavaScript object representation for EntityEnrichmentConfig
1638
+ */
1639
+ interface AsObject {
1640
+ isActive?: boolean;
1641
+ enrichmentFactor?: number;
1642
+ executionOrder?: number;
1643
+ }
1644
+ /**
1645
+ * Protobuf JSON representation for EntityEnrichmentConfig
1646
+ */
1647
+ interface AsProtobufJSON {
1648
+ isActive?: boolean;
1649
+ enrichmentFactor?: number;
1650
+ executionOrder?: number;
1651
+ }
1652
+ }
1653
+ /**
1654
+ * Message implementation for ondewo.nlu.ThesaurusEnrichmentConfig
1655
+ */
1656
+ export declare class ThesaurusEnrichmentConfig implements GrpcMessage {
1657
+ static id: string;
1658
+ /**
1659
+ * Deserialize binary data to message
1660
+ * @param instance message instance
1661
+ */
1662
+ static deserializeBinary(bytes: ByteSource): ThesaurusEnrichmentConfig;
1663
+ /**
1664
+ * Check all the properties and set default protobuf values if necessary
1665
+ * @param _instance message instance
1666
+ */
1667
+ static refineValues(_instance: ThesaurusEnrichmentConfig): void;
1668
+ /**
1669
+ * Deserializes / reads binary message into message instance using provided binary reader
1670
+ * @param _instance message instance
1671
+ * @param _reader binary reader instance
1672
+ */
1673
+ static deserializeBinaryFromReader(_instance: ThesaurusEnrichmentConfig, _reader: BinaryReader): void;
1674
+ /**
1675
+ * Serializes a message to binary format using provided binary reader
1676
+ * @param _instance message instance
1677
+ * @param _writer binary writer instance
1678
+ */
1679
+ static serializeBinaryToWriter(_instance: ThesaurusEnrichmentConfig, _writer: BinaryWriter): void;
1680
+ private _isActive?;
1681
+ private _enrichmentFactor?;
1682
+ private _executionOrder?;
1683
+ /**
1684
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1685
+ * @param _value initial values object or instance of ThesaurusEnrichmentConfig to deeply clone from
1686
+ */
1687
+ constructor(_value?: RecursivePartial<ThesaurusEnrichmentConfig.AsObject>);
1688
+ get isActive(): boolean | undefined;
1689
+ set isActive(value: boolean | undefined);
1690
+ get enrichmentFactor(): number | undefined;
1691
+ set enrichmentFactor(value: number | undefined);
1692
+ get executionOrder(): number | undefined;
1693
+ set executionOrder(value: number | undefined);
1694
+ /**
1695
+ * Serialize message to binary data
1696
+ * @param instance message instance
1697
+ */
1698
+ serializeBinary(): any;
1699
+ /**
1700
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1701
+ */
1702
+ toObject(): ThesaurusEnrichmentConfig.AsObject;
1703
+ /**
1704
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1705
+ */
1706
+ toJSON(): ThesaurusEnrichmentConfig.AsObject;
1707
+ /**
1708
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1709
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1710
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1711
+ */
1712
+ toProtobufJSON(options?: ToProtobufJSONOptions): ThesaurusEnrichmentConfig.AsProtobufJSON;
1713
+ }
1714
+ export declare module ThesaurusEnrichmentConfig {
1715
+ /**
1716
+ * Standard JavaScript object representation for ThesaurusEnrichmentConfig
1717
+ */
1718
+ interface AsObject {
1719
+ isActive?: boolean;
1720
+ enrichmentFactor?: number;
1721
+ executionOrder?: number;
1722
+ }
1723
+ /**
1724
+ * Protobuf JSON representation for ThesaurusEnrichmentConfig
1725
+ */
1726
+ interface AsProtobufJSON {
1727
+ isActive?: boolean;
1728
+ enrichmentFactor?: number;
1729
+ executionOrder?: number;
1730
+ }
1731
+ }
1732
+ /**
1733
+ * Message implementation for ondewo.nlu.BertAugEnrichmentConfig
1734
+ */
1735
+ export declare class BertAugEnrichmentConfig implements GrpcMessage {
1736
+ static id: string;
1737
+ /**
1738
+ * Deserialize binary data to message
1739
+ * @param instance message instance
1740
+ */
1741
+ static deserializeBinary(bytes: ByteSource): BertAugEnrichmentConfig;
1742
+ /**
1743
+ * Check all the properties and set default protobuf values if necessary
1744
+ * @param _instance message instance
1745
+ */
1746
+ static refineValues(_instance: BertAugEnrichmentConfig): void;
1747
+ /**
1748
+ * Deserializes / reads binary message into message instance using provided binary reader
1749
+ * @param _instance message instance
1750
+ * @param _reader binary reader instance
1751
+ */
1752
+ static deserializeBinaryFromReader(_instance: BertAugEnrichmentConfig, _reader: BinaryReader): void;
1753
+ /**
1754
+ * Serializes a message to binary format using provided binary reader
1755
+ * @param _instance message instance
1756
+ * @param _writer binary writer instance
1757
+ */
1758
+ static serializeBinaryToWriter(_instance: BertAugEnrichmentConfig, _writer: BinaryWriter): void;
1759
+ private _isActive?;
1760
+ private _enrichmentFactor?;
1761
+ private _executionOrder?;
1762
+ /**
1763
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1764
+ * @param _value initial values object or instance of BertAugEnrichmentConfig to deeply clone from
1765
+ */
1766
+ constructor(_value?: RecursivePartial<BertAugEnrichmentConfig.AsObject>);
1767
+ get isActive(): boolean | undefined;
1768
+ set isActive(value: boolean | undefined);
1769
+ get enrichmentFactor(): number | undefined;
1770
+ set enrichmentFactor(value: number | undefined);
1771
+ get executionOrder(): number | undefined;
1772
+ set executionOrder(value: number | undefined);
1773
+ /**
1774
+ * Serialize message to binary data
1775
+ * @param instance message instance
1776
+ */
1777
+ serializeBinary(): any;
1778
+ /**
1779
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1780
+ */
1781
+ toObject(): BertAugEnrichmentConfig.AsObject;
1782
+ /**
1783
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1784
+ */
1785
+ toJSON(): BertAugEnrichmentConfig.AsObject;
1786
+ /**
1787
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1788
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1789
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1790
+ */
1791
+ toProtobufJSON(options?: ToProtobufJSONOptions): BertAugEnrichmentConfig.AsProtobufJSON;
1792
+ }
1793
+ export declare module BertAugEnrichmentConfig {
1794
+ /**
1795
+ * Standard JavaScript object representation for BertAugEnrichmentConfig
1796
+ */
1797
+ interface AsObject {
1798
+ isActive?: boolean;
1799
+ enrichmentFactor?: number;
1800
+ executionOrder?: number;
1801
+ }
1802
+ /**
1803
+ * Protobuf JSON representation for BertAugEnrichmentConfig
1804
+ */
1805
+ interface AsProtobufJSON {
1806
+ isActive?: boolean;
1807
+ enrichmentFactor?: number;
1808
+ executionOrder?: number;
1809
+ }
1810
+ }
1811
+ /**
1812
+ * Message implementation for ondewo.nlu.GloVeEnrichmentConfig
1813
+ */
1814
+ export declare class GloVeEnrichmentConfig implements GrpcMessage {
1815
+ static id: string;
1816
+ /**
1817
+ * Deserialize binary data to message
1818
+ * @param instance message instance
1819
+ */
1820
+ static deserializeBinary(bytes: ByteSource): GloVeEnrichmentConfig;
1821
+ /**
1822
+ * Check all the properties and set default protobuf values if necessary
1823
+ * @param _instance message instance
1824
+ */
1825
+ static refineValues(_instance: GloVeEnrichmentConfig): void;
1826
+ /**
1827
+ * Deserializes / reads binary message into message instance using provided binary reader
1828
+ * @param _instance message instance
1829
+ * @param _reader binary reader instance
1830
+ */
1831
+ static deserializeBinaryFromReader(_instance: GloVeEnrichmentConfig, _reader: BinaryReader): void;
1832
+ /**
1833
+ * Serializes a message to binary format using provided binary reader
1834
+ * @param _instance message instance
1835
+ * @param _writer binary writer instance
1836
+ */
1837
+ static serializeBinaryToWriter(_instance: GloVeEnrichmentConfig, _writer: BinaryWriter): void;
1838
+ private _isActive?;
1839
+ private _enrichmentFactor?;
1840
+ private _executionOrder?;
1841
+ /**
1842
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1843
+ * @param _value initial values object or instance of GloVeEnrichmentConfig to deeply clone from
1844
+ */
1845
+ constructor(_value?: RecursivePartial<GloVeEnrichmentConfig.AsObject>);
1846
+ get isActive(): boolean | undefined;
1847
+ set isActive(value: boolean | undefined);
1848
+ get enrichmentFactor(): number | undefined;
1849
+ set enrichmentFactor(value: number | undefined);
1850
+ get executionOrder(): number | undefined;
1851
+ set executionOrder(value: number | undefined);
1852
+ /**
1853
+ * Serialize message to binary data
1854
+ * @param instance message instance
1855
+ */
1856
+ serializeBinary(): any;
1857
+ /**
1858
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1859
+ */
1860
+ toObject(): GloVeEnrichmentConfig.AsObject;
1861
+ /**
1862
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1863
+ */
1864
+ toJSON(): GloVeEnrichmentConfig.AsObject;
1865
+ /**
1866
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1867
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1868
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1869
+ */
1870
+ toProtobufJSON(options?: ToProtobufJSONOptions): GloVeEnrichmentConfig.AsProtobufJSON;
1871
+ }
1872
+ export declare module GloVeEnrichmentConfig {
1873
+ /**
1874
+ * Standard JavaScript object representation for GloVeEnrichmentConfig
1875
+ */
1876
+ interface AsObject {
1877
+ isActive?: boolean;
1878
+ enrichmentFactor?: number;
1879
+ executionOrder?: number;
1880
+ }
1881
+ /**
1882
+ * Protobuf JSON representation for GloVeEnrichmentConfig
1883
+ */
1884
+ interface AsProtobufJSON {
1885
+ isActive?: boolean;
1886
+ enrichmentFactor?: number;
1887
+ executionOrder?: number;
1888
+ }
1889
+ }
1890
+ /**
1891
+ * Message implementation for ondewo.nlu.GPT2EnrichmentConfig
1892
+ */
1893
+ export declare class GPT2EnrichmentConfig implements GrpcMessage {
1894
+ static id: string;
1895
+ /**
1896
+ * Deserialize binary data to message
1897
+ * @param instance message instance
1898
+ */
1899
+ static deserializeBinary(bytes: ByteSource): GPT2EnrichmentConfig;
1900
+ /**
1901
+ * Check all the properties and set default protobuf values if necessary
1902
+ * @param _instance message instance
1903
+ */
1904
+ static refineValues(_instance: GPT2EnrichmentConfig): void;
1905
+ /**
1906
+ * Deserializes / reads binary message into message instance using provided binary reader
1907
+ * @param _instance message instance
1908
+ * @param _reader binary reader instance
1909
+ */
1910
+ static deserializeBinaryFromReader(_instance: GPT2EnrichmentConfig, _reader: BinaryReader): void;
1911
+ /**
1912
+ * Serializes a message to binary format using provided binary reader
1913
+ * @param _instance message instance
1914
+ * @param _writer binary writer instance
1915
+ */
1916
+ static serializeBinaryToWriter(_instance: GPT2EnrichmentConfig, _writer: BinaryWriter): void;
1917
+ private _isActive?;
1918
+ private _enrichmentFactor?;
1919
+ private _executionOrder?;
1920
+ /**
1921
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1922
+ * @param _value initial values object or instance of GPT2EnrichmentConfig to deeply clone from
1923
+ */
1924
+ constructor(_value?: RecursivePartial<GPT2EnrichmentConfig.AsObject>);
1925
+ get isActive(): boolean | undefined;
1926
+ set isActive(value: boolean | undefined);
1927
+ get enrichmentFactor(): number | undefined;
1928
+ set enrichmentFactor(value: number | undefined);
1929
+ get executionOrder(): number | undefined;
1930
+ set executionOrder(value: number | undefined);
1931
+ /**
1932
+ * Serialize message to binary data
1933
+ * @param instance message instance
1934
+ */
1935
+ serializeBinary(): any;
1936
+ /**
1937
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1938
+ */
1939
+ toObject(): GPT2EnrichmentConfig.AsObject;
1940
+ /**
1941
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1942
+ */
1943
+ toJSON(): GPT2EnrichmentConfig.AsObject;
1944
+ /**
1945
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1946
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1947
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
1948
+ */
1949
+ toProtobufJSON(options?: ToProtobufJSONOptions): GPT2EnrichmentConfig.AsProtobufJSON;
1950
+ }
1951
+ export declare module GPT2EnrichmentConfig {
1952
+ /**
1953
+ * Standard JavaScript object representation for GPT2EnrichmentConfig
1954
+ */
1955
+ interface AsObject {
1956
+ isActive?: boolean;
1957
+ enrichmentFactor?: number;
1958
+ executionOrder?: number;
1959
+ }
1960
+ /**
1961
+ * Protobuf JSON representation for GPT2EnrichmentConfig
1962
+ */
1963
+ interface AsProtobufJSON {
1964
+ isActive?: boolean;
1965
+ enrichmentFactor?: number;
1966
+ executionOrder?: number;
1967
+ }
1968
+ }
1969
+ /**
1970
+ * Message implementation for ondewo.nlu.Word2VecEnrichmentConfig
1971
+ */
1972
+ export declare class Word2VecEnrichmentConfig implements GrpcMessage {
1973
+ static id: string;
1974
+ /**
1975
+ * Deserialize binary data to message
1976
+ * @param instance message instance
1977
+ */
1978
+ static deserializeBinary(bytes: ByteSource): Word2VecEnrichmentConfig;
1979
+ /**
1980
+ * Check all the properties and set default protobuf values if necessary
1981
+ * @param _instance message instance
1982
+ */
1983
+ static refineValues(_instance: Word2VecEnrichmentConfig): void;
1984
+ /**
1985
+ * Deserializes / reads binary message into message instance using provided binary reader
1986
+ * @param _instance message instance
1987
+ * @param _reader binary reader instance
1988
+ */
1989
+ static deserializeBinaryFromReader(_instance: Word2VecEnrichmentConfig, _reader: BinaryReader): void;
1990
+ /**
1991
+ * Serializes a message to binary format using provided binary reader
1992
+ * @param _instance message instance
1993
+ * @param _writer binary writer instance
1994
+ */
1995
+ static serializeBinaryToWriter(_instance: Word2VecEnrichmentConfig, _writer: BinaryWriter): void;
1996
+ private _isActive?;
1997
+ private _enrichmentFactor?;
1998
+ private _executionOrder?;
1999
+ /**
2000
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2001
+ * @param _value initial values object or instance of Word2VecEnrichmentConfig to deeply clone from
2002
+ */
2003
+ constructor(_value?: RecursivePartial<Word2VecEnrichmentConfig.AsObject>);
2004
+ get isActive(): boolean | undefined;
2005
+ set isActive(value: boolean | undefined);
2006
+ get enrichmentFactor(): number | undefined;
2007
+ set enrichmentFactor(value: number | undefined);
2008
+ get executionOrder(): number | undefined;
2009
+ set executionOrder(value: number | undefined);
2010
+ /**
2011
+ * Serialize message to binary data
2012
+ * @param instance message instance
2013
+ */
2014
+ serializeBinary(): any;
2015
+ /**
2016
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
2017
+ */
2018
+ toObject(): Word2VecEnrichmentConfig.AsObject;
2019
+ /**
2020
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
2021
+ */
2022
+ toJSON(): Word2VecEnrichmentConfig.AsObject;
2023
+ /**
2024
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
2025
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
2026
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
2027
+ */
2028
+ toProtobufJSON(options?: ToProtobufJSONOptions): Word2VecEnrichmentConfig.AsProtobufJSON;
2029
+ }
2030
+ export declare module Word2VecEnrichmentConfig {
2031
+ /**
2032
+ * Standard JavaScript object representation for Word2VecEnrichmentConfig
2033
+ */
2034
+ interface AsObject {
2035
+ isActive?: boolean;
2036
+ enrichmentFactor?: number;
2037
+ executionOrder?: number;
2038
+ }
2039
+ /**
2040
+ * Protobuf JSON representation for Word2VecEnrichmentConfig
2041
+ */
2042
+ interface AsProtobufJSON {
2043
+ isActive?: boolean;
2044
+ enrichmentFactor?: number;
2045
+ executionOrder?: number;
2046
+ }
2047
+ }
2048
+ /**
2049
+ * Message implementation for ondewo.nlu.WordNetAugEnrichmentConfig
2050
+ */
2051
+ export declare class WordNetAugEnrichmentConfig implements GrpcMessage {
2052
+ static id: string;
2053
+ /**
2054
+ * Deserialize binary data to message
2055
+ * @param instance message instance
2056
+ */
2057
+ static deserializeBinary(bytes: ByteSource): WordNetAugEnrichmentConfig;
2058
+ /**
2059
+ * Check all the properties and set default protobuf values if necessary
2060
+ * @param _instance message instance
2061
+ */
2062
+ static refineValues(_instance: WordNetAugEnrichmentConfig): void;
2063
+ /**
2064
+ * Deserializes / reads binary message into message instance using provided binary reader
2065
+ * @param _instance message instance
2066
+ * @param _reader binary reader instance
2067
+ */
2068
+ static deserializeBinaryFromReader(_instance: WordNetAugEnrichmentConfig, _reader: BinaryReader): void;
2069
+ /**
2070
+ * Serializes a message to binary format using provided binary reader
2071
+ * @param _instance message instance
2072
+ * @param _writer binary writer instance
2073
+ */
2074
+ static serializeBinaryToWriter(_instance: WordNetAugEnrichmentConfig, _writer: BinaryWriter): void;
2075
+ private _isActive?;
2076
+ private _enrichmentFactor?;
2077
+ private _executionOrder?;
2078
+ /**
2079
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2080
+ * @param _value initial values object or instance of WordNetAugEnrichmentConfig to deeply clone from
2081
+ */
2082
+ constructor(_value?: RecursivePartial<WordNetAugEnrichmentConfig.AsObject>);
2083
+ get isActive(): boolean | undefined;
2084
+ set isActive(value: boolean | undefined);
2085
+ get enrichmentFactor(): number | undefined;
2086
+ set enrichmentFactor(value: number | undefined);
2087
+ get executionOrder(): number | undefined;
2088
+ set executionOrder(value: number | undefined);
2089
+ /**
2090
+ * Serialize message to binary data
2091
+ * @param instance message instance
2092
+ */
2093
+ serializeBinary(): any;
2094
+ /**
2095
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
2096
+ */
2097
+ toObject(): WordNetAugEnrichmentConfig.AsObject;
2098
+ /**
2099
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
2100
+ */
2101
+ toJSON(): WordNetAugEnrichmentConfig.AsObject;
2102
+ /**
2103
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
2104
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
2105
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
2106
+ */
2107
+ toProtobufJSON(options?: ToProtobufJSONOptions): WordNetAugEnrichmentConfig.AsProtobufJSON;
2108
+ }
2109
+ export declare module WordNetAugEnrichmentConfig {
2110
+ /**
2111
+ * Standard JavaScript object representation for WordNetAugEnrichmentConfig
2112
+ */
2113
+ interface AsObject {
2114
+ isActive?: boolean;
2115
+ enrichmentFactor?: number;
2116
+ executionOrder?: number;
2117
+ }
2118
+ /**
2119
+ * Protobuf JSON representation for WordNetAugEnrichmentConfig
2120
+ */
2121
+ interface AsProtobufJSON {
2122
+ isActive?: boolean;
2123
+ enrichmentFactor?: number;
2124
+ executionOrder?: number;
2125
+ }
2126
+ }
2127
+ /**
2128
+ * Message implementation for ondewo.nlu.XLNetAugEnrichmentConfig
2129
+ */
2130
+ export declare class XLNetAugEnrichmentConfig implements GrpcMessage {
2131
+ static id: string;
2132
+ /**
2133
+ * Deserialize binary data to message
2134
+ * @param instance message instance
2135
+ */
2136
+ static deserializeBinary(bytes: ByteSource): XLNetAugEnrichmentConfig;
2137
+ /**
2138
+ * Check all the properties and set default protobuf values if necessary
2139
+ * @param _instance message instance
2140
+ */
2141
+ static refineValues(_instance: XLNetAugEnrichmentConfig): void;
2142
+ /**
2143
+ * Deserializes / reads binary message into message instance using provided binary reader
2144
+ * @param _instance message instance
2145
+ * @param _reader binary reader instance
2146
+ */
2147
+ static deserializeBinaryFromReader(_instance: XLNetAugEnrichmentConfig, _reader: BinaryReader): void;
2148
+ /**
2149
+ * Serializes a message to binary format using provided binary reader
2150
+ * @param _instance message instance
2151
+ * @param _writer binary writer instance
2152
+ */
2153
+ static serializeBinaryToWriter(_instance: XLNetAugEnrichmentConfig, _writer: BinaryWriter): void;
2154
+ private _isActive?;
2155
+ private _enrichmentFactor?;
2156
+ private _executionOrder?;
2157
+ /**
2158
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2159
+ * @param _value initial values object or instance of XLNetAugEnrichmentConfig to deeply clone from
2160
+ */
2161
+ constructor(_value?: RecursivePartial<XLNetAugEnrichmentConfig.AsObject>);
2162
+ get isActive(): boolean | undefined;
2163
+ set isActive(value: boolean | undefined);
2164
+ get enrichmentFactor(): number | undefined;
2165
+ set enrichmentFactor(value: number | undefined);
2166
+ get executionOrder(): number | undefined;
2167
+ set executionOrder(value: number | undefined);
2168
+ /**
2169
+ * Serialize message to binary data
2170
+ * @param instance message instance
2171
+ */
2172
+ serializeBinary(): any;
2173
+ /**
2174
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
2175
+ */
2176
+ toObject(): XLNetAugEnrichmentConfig.AsObject;
2177
+ /**
2178
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
2179
+ */
2180
+ toJSON(): XLNetAugEnrichmentConfig.AsObject;
2181
+ /**
2182
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
2183
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
2184
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
2185
+ */
2186
+ toProtobufJSON(options?: ToProtobufJSONOptions): XLNetAugEnrichmentConfig.AsProtobufJSON;
2187
+ }
2188
+ export declare module XLNetAugEnrichmentConfig {
2189
+ /**
2190
+ * Standard JavaScript object representation for XLNetAugEnrichmentConfig
2191
+ */
2192
+ interface AsObject {
2193
+ isActive?: boolean;
2194
+ enrichmentFactor?: number;
2195
+ executionOrder?: number;
2196
+ }
2197
+ /**
2198
+ * Protobuf JSON representation for XLNetAugEnrichmentConfig
2199
+ */
2200
+ interface AsProtobufJSON {
2201
+ isActive?: boolean;
2202
+ enrichmentFactor?: number;
2203
+ executionOrder?: number;
2204
+ }
2205
+ }
2206
+ /**
2207
+ * Message implementation for ondewo.nlu.ClassifyIntentsRequest
2208
+ */
2209
+ export declare class ClassifyIntentsRequest implements GrpcMessage {
2210
+ static id: string;
2211
+ /**
2212
+ * Deserialize binary data to message
2213
+ * @param instance message instance
2214
+ */
2215
+ static deserializeBinary(bytes: ByteSource): ClassifyIntentsRequest;
2216
+ /**
2217
+ * Check all the properties and set default protobuf values if necessary
2218
+ * @param _instance message instance
2219
+ */
2220
+ static refineValues(_instance: ClassifyIntentsRequest): void;
2221
+ /**
2222
+ * Deserializes / reads binary message into message instance using provided binary reader
2223
+ * @param _instance message instance
2224
+ * @param _reader binary reader instance
2225
+ */
2226
+ static deserializeBinaryFromReader(_instance: ClassifyIntentsRequest, _reader: BinaryReader): void;
2227
+ /**
2228
+ * Serializes a message to binary format using provided binary reader
2229
+ * @param _instance message instance
2230
+ * @param _writer binary writer instance
2231
+ */
2232
+ static serializeBinaryToWriter(_instance: ClassifyIntentsRequest, _writer: BinaryWriter): void;
2233
+ private _parent?;
2234
+ private _text?;
2235
+ private _languageCode?;
2236
+ private _activeContexts?;
2237
+ private _contextNames?;
2238
+ private _mode?;
2239
+ private _algorithms?;
2240
+ /**
2241
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2242
+ * @param _value initial values object or instance of ClassifyIntentsRequest to deeply clone from
2243
+ */
2244
+ constructor(_value?: RecursivePartial<ClassifyIntentsRequest.AsObject>);
2245
+ get parent(): string | undefined;
2246
+ set parent(value: string | undefined);
2247
+ get text(): string | undefined;
2248
+ set text(value: string | undefined);
2249
+ get languageCode(): string | undefined;
2250
+ set languageCode(value: string | undefined);
2251
+ get activeContexts(): boolean | undefined;
2252
+ set activeContexts(value: boolean | undefined);
2253
+ get contextNames(): string[] | undefined;
2254
+ set contextNames(value: string[] | undefined);
2255
+ get mode(): Mode | undefined;
2256
+ set mode(value: Mode | undefined);
2257
+ get algorithms(): IntentAlgorithms[] | undefined;
2258
+ set algorithms(value: IntentAlgorithms[] | undefined);
2259
+ /**
2260
+ * Serialize message to binary data
2261
+ * @param instance message instance
2262
+ */
2263
+ serializeBinary(): any;
2264
+ /**
2265
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
2266
+ */
2267
+ toObject(): ClassifyIntentsRequest.AsObject;
2268
+ /**
2269
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
2270
+ */
2271
+ toJSON(): ClassifyIntentsRequest.AsObject;
2272
+ /**
2273
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
2274
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
2275
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
2276
+ */
2277
+ toProtobufJSON(options?: ToProtobufJSONOptions): ClassifyIntentsRequest.AsProtobufJSON;
2278
+ }
2279
+ export declare module ClassifyIntentsRequest {
2280
+ /**
2281
+ * Standard JavaScript object representation for ClassifyIntentsRequest
2282
+ */
2283
+ interface AsObject {
2284
+ parent?: string;
2285
+ text?: string;
2286
+ languageCode?: string;
2287
+ activeContexts?: boolean;
2288
+ contextNames?: string[];
2289
+ mode?: Mode;
2290
+ algorithms?: IntentAlgorithms[];
2291
+ }
2292
+ /**
2293
+ * Protobuf JSON representation for ClassifyIntentsRequest
2294
+ */
2295
+ interface AsProtobufJSON {
2296
+ parent?: string;
2297
+ text?: string;
2298
+ languageCode?: string;
2299
+ activeContexts?: boolean;
2300
+ contextNames?: string[];
2301
+ mode?: string;
2302
+ algorithms?: string[];
2303
+ }
2304
+ }
2305
+ /**
2306
+ * Message implementation for ondewo.nlu.IntentClassified
2307
+ */
2308
+ export declare class IntentClassified implements GrpcMessage {
2309
+ static id: string;
2310
+ /**
2311
+ * Deserialize binary data to message
2312
+ * @param instance message instance
2313
+ */
2314
+ static deserializeBinary(bytes: ByteSource): IntentClassified;
2315
+ /**
2316
+ * Check all the properties and set default protobuf values if necessary
2317
+ * @param _instance message instance
2318
+ */
2319
+ static refineValues(_instance: IntentClassified): void;
2320
+ /**
2321
+ * Deserializes / reads binary message into message instance using provided binary reader
2322
+ * @param _instance message instance
2323
+ * @param _reader binary reader instance
2324
+ */
2325
+ static deserializeBinaryFromReader(_instance: IntentClassified, _reader: BinaryReader): void;
2326
+ /**
2327
+ * Serializes a message to binary format using provided binary reader
2328
+ * @param _instance message instance
2329
+ * @param _writer binary writer instance
2330
+ */
2331
+ static serializeBinaryToWriter(_instance: IntentClassified, _writer: BinaryWriter): void;
2332
+ private _intentName?;
2333
+ private _intentDisplayName?;
2334
+ private _classifier?;
2335
+ private _score?;
2336
+ /**
2337
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2338
+ * @param _value initial values object or instance of IntentClassified to deeply clone from
2339
+ */
2340
+ constructor(_value?: RecursivePartial<IntentClassified.AsObject>);
2341
+ get intentName(): string | undefined;
2342
+ set intentName(value: string | undefined);
2343
+ get intentDisplayName(): string | undefined;
2344
+ set intentDisplayName(value: string | undefined);
2345
+ get classifier(): string | undefined;
2346
+ set classifier(value: string | undefined);
2347
+ get score(): number | undefined;
2348
+ set score(value: number | undefined);
2349
+ /**
2350
+ * Serialize message to binary data
2351
+ * @param instance message instance
2352
+ */
2353
+ serializeBinary(): any;
2354
+ /**
2355
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
2356
+ */
2357
+ toObject(): IntentClassified.AsObject;
2358
+ /**
2359
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
2360
+ */
2361
+ toJSON(): IntentClassified.AsObject;
2362
+ /**
2363
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
2364
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
2365
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
2366
+ */
2367
+ toProtobufJSON(options?: ToProtobufJSONOptions): IntentClassified.AsProtobufJSON;
2368
+ }
2369
+ export declare module IntentClassified {
2370
+ /**
2371
+ * Standard JavaScript object representation for IntentClassified
2372
+ */
2373
+ interface AsObject {
2374
+ intentName?: string;
2375
+ intentDisplayName?: string;
2376
+ classifier?: string;
2377
+ score?: number;
2378
+ }
2379
+ /**
2380
+ * Protobuf JSON representation for IntentClassified
2381
+ */
2382
+ interface AsProtobufJSON {
2383
+ intentName?: string;
2384
+ intentDisplayName?: string;
2385
+ classifier?: string;
2386
+ score?: number;
2387
+ }
2388
+ }
2389
+ /**
2390
+ * Message implementation for ondewo.nlu.ClassifyIntentsResponse
2391
+ */
2392
+ export declare class ClassifyIntentsResponse implements GrpcMessage {
2393
+ static id: string;
2394
+ /**
2395
+ * Deserialize binary data to message
2396
+ * @param instance message instance
2397
+ */
2398
+ static deserializeBinary(bytes: ByteSource): ClassifyIntentsResponse;
2399
+ /**
2400
+ * Check all the properties and set default protobuf values if necessary
2401
+ * @param _instance message instance
2402
+ */
2403
+ static refineValues(_instance: ClassifyIntentsResponse): void;
2404
+ /**
2405
+ * Deserializes / reads binary message into message instance using provided binary reader
2406
+ * @param _instance message instance
2407
+ * @param _reader binary reader instance
2408
+ */
2409
+ static deserializeBinaryFromReader(_instance: ClassifyIntentsResponse, _reader: BinaryReader): void;
2410
+ /**
2411
+ * Serializes a message to binary format using provided binary reader
2412
+ * @param _instance message instance
2413
+ * @param _writer binary writer instance
2414
+ */
2415
+ static serializeBinaryToWriter(_instance: ClassifyIntentsResponse, _writer: BinaryWriter): void;
2416
+ private _intentsClassified?;
2417
+ private _text?;
2418
+ private _activeContexts?;
2419
+ private _contextNames?;
2420
+ /**
2421
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
2422
+ * @param _value initial values object or instance of ClassifyIntentsResponse to deeply clone from
2423
+ */
2424
+ constructor(_value?: RecursivePartial<ClassifyIntentsResponse.AsObject>);
2425
+ get intentsClassified(): IntentClassified[] | undefined;
2426
+ set intentsClassified(value: IntentClassified[] | undefined);
2427
+ get text(): string | undefined;
2428
+ set text(value: string | undefined);
2429
+ get activeContexts(): boolean | undefined;
2430
+ set activeContexts(value: boolean | undefined);
2431
+ get contextNames(): string[] | undefined;
2432
+ set contextNames(value: string[] | undefined);
2433
+ /**
2434
+ * Serialize message to binary data
2435
+ * @param instance message instance
2436
+ */
2437
+ serializeBinary(): any;
2438
+ /**
2439
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
2440
+ */
2441
+ toObject(): ClassifyIntentsResponse.AsObject;
2442
+ /**
2443
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
2444
+ */
2445
+ toJSON(): ClassifyIntentsResponse.AsObject;
2446
+ /**
2447
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
2448
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
2449
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
2450
+ */
2451
+ toProtobufJSON(options?: ToProtobufJSONOptions): ClassifyIntentsResponse.AsProtobufJSON;
2452
+ }
2453
+ export declare module ClassifyIntentsResponse {
2454
+ /**
2455
+ * Standard JavaScript object representation for ClassifyIntentsResponse
2456
+ */
2457
+ interface AsObject {
2458
+ intentsClassified?: IntentClassified.AsObject[];
2459
+ text?: string;
2460
+ activeContexts?: boolean;
2461
+ contextNames?: string[];
2462
+ }
2463
+ /**
2464
+ * Protobuf JSON representation for ClassifyIntentsResponse
2465
+ */
2466
+ interface AsProtobufJSON {
2467
+ intentsClassified?: IntentClassified.AsProtobufJSON[] | null;
2468
+ text?: string;
2469
+ activeContexts?: boolean;
2470
+ contextNames?: string[];
2471
+ }
2472
+ }