@ondewo/nlu-client-typescript 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations_pb.d.ts +6 -0
- package/api/google/api/annotations_pb.js +48 -0
- package/api/google/protobuf/any_pb.d.ts +28 -0
- package/api/google/protobuf/any_pb.js +275 -0
- package/api/google/protobuf/empty_pb.d.ts +18 -0
- package/api/google/protobuf/empty_pb.js +141 -0
- package/api/google/protobuf/field_mask_pb.d.ts +24 -0
- package/api/google/protobuf/field_mask_pb.js +196 -0
- package/api/google/protobuf/struct_pb.d.ts +99 -0
- package/api/google/protobuf/struct_pb.js +948 -0
- package/api/google/protobuf/timestamp_pb.d.ts +26 -0
- package/api/google/protobuf/timestamp_pb.js +236 -0
- package/api/google/rpc/status_pb.d.ts +33 -0
- package/api/google/rpc/status_pb.js +262 -0
- package/api/google/type/latlng_pb.d.ts +26 -0
- package/api/google/type/latlng_pb.js +200 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
- package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
- package/api/ondewo/nlu/agent_pb.js +16648 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
- package/api/ondewo/nlu/aiservices_pb.js +7601 -0
- package/api/ondewo/nlu/common_pb.d.ts +26 -0
- package/api/ondewo/nlu/common_pb.js +179 -0
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
- package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
- package/api/ondewo/nlu/context_pb.d.ts +218 -0
- package/api/ondewo/nlu/context_pb.js +1788 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
- package/api/ondewo/nlu/entity_type_pb.js +5970 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
- package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
- package/api/ondewo/nlu/intent_pb.js +18784 -0
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
- package/api/ondewo/nlu/operations_pb.d.ts +236 -0
- package/api/ondewo/nlu/operations_pb.js +1826 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
- package/api/ondewo/nlu/project_role_pb.js +1713 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
- package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
- package/api/ondewo/nlu/project_statistics_pb.js +724 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
- package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
- package/api/ondewo/nlu/server_statistics_pb.js +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
- package/api/ondewo/nlu/session_pb.d.ts +1192 -0
- package/api/ondewo/nlu/session_pb.js +9762 -0
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
- package/api/ondewo/nlu/user_pb.d.ts +489 -0
- package/api/ondewo/nlu/user_pb.js +4057 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
- package/api/ondewo/nlu/utility_pb.d.ts +708 -0
- package/api/ondewo/nlu/utility_pb.js +5914 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
- package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
- package/api/ondewo/nlu/webhook_pb.js +1267 -0
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
- package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
- package/api/ondewo/qa/qa_pb.d.ts +304 -0
- package/api/ondewo/qa/qa_pb.js +2553 -0
- package/package.json +18 -0
- package/public-api.d.ts +38 -0
|
@@ -0,0 +1,708 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
|
|
4
|
+
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class ValidateRegexRequest extends jspb.Message {
|
|
8
|
+
getRegex(): string;
|
|
9
|
+
setRegex(value: string): ValidateRegexRequest;
|
|
10
|
+
|
|
11
|
+
serializeBinary(): Uint8Array;
|
|
12
|
+
toObject(includeInstance?: boolean): ValidateRegexRequest.AsObject;
|
|
13
|
+
static toObject(includeInstance: boolean, msg: ValidateRegexRequest): ValidateRegexRequest.AsObject;
|
|
14
|
+
static serializeBinaryToWriter(message: ValidateRegexRequest, writer: jspb.BinaryWriter): void;
|
|
15
|
+
static deserializeBinary(bytes: Uint8Array): ValidateRegexRequest;
|
|
16
|
+
static deserializeBinaryFromReader(message: ValidateRegexRequest, reader: jspb.BinaryReader): ValidateRegexRequest;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export namespace ValidateRegexRequest {
|
|
20
|
+
export type AsObject = {
|
|
21
|
+
regex: string,
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export class ValidateRegexResponse extends jspb.Message {
|
|
26
|
+
getErrorMessagesList(): Array<string>;
|
|
27
|
+
setErrorMessagesList(value: Array<string>): ValidateRegexResponse;
|
|
28
|
+
clearErrorMessagesList(): ValidateRegexResponse;
|
|
29
|
+
addErrorMessages(value: string, index?: number): ValidateRegexResponse;
|
|
30
|
+
|
|
31
|
+
serializeBinary(): Uint8Array;
|
|
32
|
+
toObject(includeInstance?: boolean): ValidateRegexResponse.AsObject;
|
|
33
|
+
static toObject(includeInstance: boolean, msg: ValidateRegexResponse): ValidateRegexResponse.AsObject;
|
|
34
|
+
static serializeBinaryToWriter(message: ValidateRegexResponse, writer: jspb.BinaryWriter): void;
|
|
35
|
+
static deserializeBinary(bytes: Uint8Array): ValidateRegexResponse;
|
|
36
|
+
static deserializeBinaryFromReader(message: ValidateRegexResponse, reader: jspb.BinaryReader): ValidateRegexResponse;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export namespace ValidateRegexResponse {
|
|
40
|
+
export type AsObject = {
|
|
41
|
+
errorMessagesList: Array<string>,
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class ValidateEmbeddedRegexRequest extends jspb.Message {
|
|
46
|
+
getEntityType(): ondewo_nlu_entity_type_pb.EntityType.Entity | undefined;
|
|
47
|
+
setEntityType(value?: ondewo_nlu_entity_type_pb.EntityType.Entity): ValidateEmbeddedRegexRequest;
|
|
48
|
+
hasEntityType(): boolean;
|
|
49
|
+
clearEntityType(): ValidateEmbeddedRegexRequest;
|
|
50
|
+
|
|
51
|
+
serializeBinary(): Uint8Array;
|
|
52
|
+
toObject(includeInstance?: boolean): ValidateEmbeddedRegexRequest.AsObject;
|
|
53
|
+
static toObject(includeInstance: boolean, msg: ValidateEmbeddedRegexRequest): ValidateEmbeddedRegexRequest.AsObject;
|
|
54
|
+
static serializeBinaryToWriter(message: ValidateEmbeddedRegexRequest, writer: jspb.BinaryWriter): void;
|
|
55
|
+
static deserializeBinary(bytes: Uint8Array): ValidateEmbeddedRegexRequest;
|
|
56
|
+
static deserializeBinaryFromReader(message: ValidateEmbeddedRegexRequest, reader: jspb.BinaryReader): ValidateEmbeddedRegexRequest;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export namespace ValidateEmbeddedRegexRequest {
|
|
60
|
+
export type AsObject = {
|
|
61
|
+
entityType?: ondewo_nlu_entity_type_pb.EntityType.Entity.AsObject,
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class ValidateEmbeddedRegexResponse extends jspb.Message {
|
|
66
|
+
getErrorMessagesList(): Array<string>;
|
|
67
|
+
setErrorMessagesList(value: Array<string>): ValidateEmbeddedRegexResponse;
|
|
68
|
+
clearErrorMessagesList(): ValidateEmbeddedRegexResponse;
|
|
69
|
+
addErrorMessages(value: string, index?: number): ValidateEmbeddedRegexResponse;
|
|
70
|
+
|
|
71
|
+
serializeBinary(): Uint8Array;
|
|
72
|
+
toObject(includeInstance?: boolean): ValidateEmbeddedRegexResponse.AsObject;
|
|
73
|
+
static toObject(includeInstance: boolean, msg: ValidateEmbeddedRegexResponse): ValidateEmbeddedRegexResponse.AsObject;
|
|
74
|
+
static serializeBinaryToWriter(message: ValidateEmbeddedRegexResponse, writer: jspb.BinaryWriter): void;
|
|
75
|
+
static deserializeBinary(bytes: Uint8Array): ValidateEmbeddedRegexResponse;
|
|
76
|
+
static deserializeBinaryFromReader(message: ValidateEmbeddedRegexResponse, reader: jspb.BinaryReader): ValidateEmbeddedRegexResponse;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export namespace ValidateEmbeddedRegexResponse {
|
|
80
|
+
export type AsObject = {
|
|
81
|
+
errorMessagesList: Array<string>,
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class CleanAllIntentsRequest extends jspb.Message {
|
|
86
|
+
getParent(): string;
|
|
87
|
+
setParent(value: string): CleanAllIntentsRequest;
|
|
88
|
+
|
|
89
|
+
getLanguageCode(): string;
|
|
90
|
+
setLanguageCode(value: string): CleanAllIntentsRequest;
|
|
91
|
+
|
|
92
|
+
getSpecialCharacters(): string;
|
|
93
|
+
setSpecialCharacters(value: string): CleanAllIntentsRequest;
|
|
94
|
+
|
|
95
|
+
getSubstringWhiteListList(): Array<string>;
|
|
96
|
+
setSubstringWhiteListList(value: Array<string>): CleanAllIntentsRequest;
|
|
97
|
+
clearSubstringWhiteListList(): CleanAllIntentsRequest;
|
|
98
|
+
addSubstringWhiteList(value: string, index?: number): CleanAllIntentsRequest;
|
|
99
|
+
|
|
100
|
+
getDryRun(): boolean;
|
|
101
|
+
setDryRun(value: boolean): CleanAllIntentsRequest;
|
|
102
|
+
|
|
103
|
+
getTrainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
104
|
+
setTrainingPhraseCleanerOptions(value?: TrainingPhraseCleanerOptions): CleanAllIntentsRequest;
|
|
105
|
+
hasTrainingPhraseCleanerOptions(): boolean;
|
|
106
|
+
clearTrainingPhraseCleanerOptions(): CleanAllIntentsRequest;
|
|
107
|
+
|
|
108
|
+
getReannotateEntitiesOptions(): ReannotateEntitiesOptions;
|
|
109
|
+
setReannotateEntitiesOptions(value: ReannotateEntitiesOptions): CleanAllIntentsRequest;
|
|
110
|
+
|
|
111
|
+
getNumberOfWorkers(): number;
|
|
112
|
+
setNumberOfWorkers(value: number): CleanAllIntentsRequest;
|
|
113
|
+
|
|
114
|
+
serializeBinary(): Uint8Array;
|
|
115
|
+
toObject(includeInstance?: boolean): CleanAllIntentsRequest.AsObject;
|
|
116
|
+
static toObject(includeInstance: boolean, msg: CleanAllIntentsRequest): CleanAllIntentsRequest.AsObject;
|
|
117
|
+
static serializeBinaryToWriter(message: CleanAllIntentsRequest, writer: jspb.BinaryWriter): void;
|
|
118
|
+
static deserializeBinary(bytes: Uint8Array): CleanAllIntentsRequest;
|
|
119
|
+
static deserializeBinaryFromReader(message: CleanAllIntentsRequest, reader: jspb.BinaryReader): CleanAllIntentsRequest;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export namespace CleanAllIntentsRequest {
|
|
123
|
+
export type AsObject = {
|
|
124
|
+
parent: string,
|
|
125
|
+
languageCode: string,
|
|
126
|
+
specialCharacters: string,
|
|
127
|
+
substringWhiteListList: Array<string>,
|
|
128
|
+
dryRun: boolean,
|
|
129
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject,
|
|
130
|
+
reannotateEntitiesOptions: ReannotateEntitiesOptions,
|
|
131
|
+
numberOfWorkers: number,
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export class CleanAllIntentsResponse extends jspb.Message {
|
|
136
|
+
getCleanedIntentsList(): Array<ondewo_nlu_intent_pb.Intent>;
|
|
137
|
+
setCleanedIntentsList(value: Array<ondewo_nlu_intent_pb.Intent>): CleanAllIntentsResponse;
|
|
138
|
+
clearCleanedIntentsList(): CleanAllIntentsResponse;
|
|
139
|
+
addCleanedIntents(value?: ondewo_nlu_intent_pb.Intent, index?: number): ondewo_nlu_intent_pb.Intent;
|
|
140
|
+
|
|
141
|
+
getIntentUpdateListList(): Array<IntentUpdate>;
|
|
142
|
+
setIntentUpdateListList(value: Array<IntentUpdate>): CleanAllIntentsResponse;
|
|
143
|
+
clearIntentUpdateListList(): CleanAllIntentsResponse;
|
|
144
|
+
addIntentUpdateList(value?: IntentUpdate, index?: number): IntentUpdate;
|
|
145
|
+
|
|
146
|
+
serializeBinary(): Uint8Array;
|
|
147
|
+
toObject(includeInstance?: boolean): CleanAllIntentsResponse.AsObject;
|
|
148
|
+
static toObject(includeInstance: boolean, msg: CleanAllIntentsResponse): CleanAllIntentsResponse.AsObject;
|
|
149
|
+
static serializeBinaryToWriter(message: CleanAllIntentsResponse, writer: jspb.BinaryWriter): void;
|
|
150
|
+
static deserializeBinary(bytes: Uint8Array): CleanAllIntentsResponse;
|
|
151
|
+
static deserializeBinaryFromReader(message: CleanAllIntentsResponse, reader: jspb.BinaryReader): CleanAllIntentsResponse;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export namespace CleanAllIntentsResponse {
|
|
155
|
+
export type AsObject = {
|
|
156
|
+
cleanedIntentsList: Array<ondewo_nlu_intent_pb.Intent.AsObject>,
|
|
157
|
+
intentUpdateListList: Array<IntentUpdate.AsObject>,
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export class CleanIntentRequest extends jspb.Message {
|
|
162
|
+
getParent(): string;
|
|
163
|
+
setParent(value: string): CleanIntentRequest;
|
|
164
|
+
|
|
165
|
+
getIntentName(): string;
|
|
166
|
+
setIntentName(value: string): CleanIntentRequest;
|
|
167
|
+
|
|
168
|
+
getLanguageCode(): string;
|
|
169
|
+
setLanguageCode(value: string): CleanIntentRequest;
|
|
170
|
+
|
|
171
|
+
getSpecialCharacters(): string;
|
|
172
|
+
setSpecialCharacters(value: string): CleanIntentRequest;
|
|
173
|
+
|
|
174
|
+
getSubstringWhiteListList(): Array<string>;
|
|
175
|
+
setSubstringWhiteListList(value: Array<string>): CleanIntentRequest;
|
|
176
|
+
clearSubstringWhiteListList(): CleanIntentRequest;
|
|
177
|
+
addSubstringWhiteList(value: string, index?: number): CleanIntentRequest;
|
|
178
|
+
|
|
179
|
+
getDryRun(): boolean;
|
|
180
|
+
setDryRun(value: boolean): CleanIntentRequest;
|
|
181
|
+
|
|
182
|
+
getTrainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
183
|
+
setTrainingPhraseCleanerOptions(value?: TrainingPhraseCleanerOptions): CleanIntentRequest;
|
|
184
|
+
hasTrainingPhraseCleanerOptions(): boolean;
|
|
185
|
+
clearTrainingPhraseCleanerOptions(): CleanIntentRequest;
|
|
186
|
+
|
|
187
|
+
getReannotateEntitiesOptions(): ReannotateEntitiesOptions;
|
|
188
|
+
setReannotateEntitiesOptions(value: ReannotateEntitiesOptions): CleanIntentRequest;
|
|
189
|
+
|
|
190
|
+
serializeBinary(): Uint8Array;
|
|
191
|
+
toObject(includeInstance?: boolean): CleanIntentRequest.AsObject;
|
|
192
|
+
static toObject(includeInstance: boolean, msg: CleanIntentRequest): CleanIntentRequest.AsObject;
|
|
193
|
+
static serializeBinaryToWriter(message: CleanIntentRequest, writer: jspb.BinaryWriter): void;
|
|
194
|
+
static deserializeBinary(bytes: Uint8Array): CleanIntentRequest;
|
|
195
|
+
static deserializeBinaryFromReader(message: CleanIntentRequest, reader: jspb.BinaryReader): CleanIntentRequest;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export namespace CleanIntentRequest {
|
|
199
|
+
export type AsObject = {
|
|
200
|
+
parent: string,
|
|
201
|
+
intentName: string,
|
|
202
|
+
languageCode: string,
|
|
203
|
+
specialCharacters: string,
|
|
204
|
+
substringWhiteListList: Array<string>,
|
|
205
|
+
dryRun: boolean,
|
|
206
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject,
|
|
207
|
+
reannotateEntitiesOptions: ReannotateEntitiesOptions,
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export class CleanIntentResponse extends jspb.Message {
|
|
212
|
+
getCleanedIntent(): ondewo_nlu_intent_pb.Intent | undefined;
|
|
213
|
+
setCleanedIntent(value?: ondewo_nlu_intent_pb.Intent): CleanIntentResponse;
|
|
214
|
+
hasCleanedIntent(): boolean;
|
|
215
|
+
clearCleanedIntent(): CleanIntentResponse;
|
|
216
|
+
|
|
217
|
+
getIntentUpdate(): IntentUpdate | undefined;
|
|
218
|
+
setIntentUpdate(value?: IntentUpdate): CleanIntentResponse;
|
|
219
|
+
hasIntentUpdate(): boolean;
|
|
220
|
+
clearIntentUpdate(): CleanIntentResponse;
|
|
221
|
+
|
|
222
|
+
serializeBinary(): Uint8Array;
|
|
223
|
+
toObject(includeInstance?: boolean): CleanIntentResponse.AsObject;
|
|
224
|
+
static toObject(includeInstance: boolean, msg: CleanIntentResponse): CleanIntentResponse.AsObject;
|
|
225
|
+
static serializeBinaryToWriter(message: CleanIntentResponse, writer: jspb.BinaryWriter): void;
|
|
226
|
+
static deserializeBinary(bytes: Uint8Array): CleanIntentResponse;
|
|
227
|
+
static deserializeBinaryFromReader(message: CleanIntentResponse, reader: jspb.BinaryReader): CleanIntentResponse;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export namespace CleanIntentResponse {
|
|
231
|
+
export type AsObject = {
|
|
232
|
+
cleanedIntent?: ondewo_nlu_intent_pb.Intent.AsObject,
|
|
233
|
+
intentUpdate?: IntentUpdate.AsObject,
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export class TrainingPhraseCleanerOptions extends jspb.Message {
|
|
238
|
+
getDeleteRepeatedWhitespaces(): boolean;
|
|
239
|
+
setDeleteRepeatedWhitespaces(value: boolean): TrainingPhraseCleanerOptions;
|
|
240
|
+
|
|
241
|
+
getDeleteLeadingSpecialCharacters(): boolean;
|
|
242
|
+
setDeleteLeadingSpecialCharacters(value: boolean): TrainingPhraseCleanerOptions;
|
|
243
|
+
|
|
244
|
+
getDeleteTrailingSpecialCharacters(): boolean;
|
|
245
|
+
setDeleteTrailingSpecialCharacters(value: boolean): TrainingPhraseCleanerOptions;
|
|
246
|
+
|
|
247
|
+
serializeBinary(): Uint8Array;
|
|
248
|
+
toObject(includeInstance?: boolean): TrainingPhraseCleanerOptions.AsObject;
|
|
249
|
+
static toObject(includeInstance: boolean, msg: TrainingPhraseCleanerOptions): TrainingPhraseCleanerOptions.AsObject;
|
|
250
|
+
static serializeBinaryToWriter(message: TrainingPhraseCleanerOptions, writer: jspb.BinaryWriter): void;
|
|
251
|
+
static deserializeBinary(bytes: Uint8Array): TrainingPhraseCleanerOptions;
|
|
252
|
+
static deserializeBinaryFromReader(message: TrainingPhraseCleanerOptions, reader: jspb.BinaryReader): TrainingPhraseCleanerOptions;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export namespace TrainingPhraseCleanerOptions {
|
|
256
|
+
export type AsObject = {
|
|
257
|
+
deleteRepeatedWhitespaces: boolean,
|
|
258
|
+
deleteLeadingSpecialCharacters: boolean,
|
|
259
|
+
deleteTrailingSpecialCharacters: boolean,
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export class StringUpdate extends jspb.Message {
|
|
264
|
+
getNew(): string;
|
|
265
|
+
setNew(value: string): StringUpdate;
|
|
266
|
+
|
|
267
|
+
getOld(): string;
|
|
268
|
+
setOld(value: string): StringUpdate;
|
|
269
|
+
|
|
270
|
+
serializeBinary(): Uint8Array;
|
|
271
|
+
toObject(includeInstance?: boolean): StringUpdate.AsObject;
|
|
272
|
+
static toObject(includeInstance: boolean, msg: StringUpdate): StringUpdate.AsObject;
|
|
273
|
+
static serializeBinaryToWriter(message: StringUpdate, writer: jspb.BinaryWriter): void;
|
|
274
|
+
static deserializeBinary(bytes: Uint8Array): StringUpdate;
|
|
275
|
+
static deserializeBinaryFromReader(message: StringUpdate, reader: jspb.BinaryReader): StringUpdate;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export namespace StringUpdate {
|
|
279
|
+
export type AsObject = {
|
|
280
|
+
pb_new: string,
|
|
281
|
+
old: string,
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class IntentUpdate extends jspb.Message {
|
|
286
|
+
getIntentDisplayName(): string;
|
|
287
|
+
setIntentDisplayName(value: string): IntentUpdate;
|
|
288
|
+
|
|
289
|
+
getTrainingPhraseUpdateListList(): Array<IntentUpdate.TrainingPhraseUpdate>;
|
|
290
|
+
setTrainingPhraseUpdateListList(value: Array<IntentUpdate.TrainingPhraseUpdate>): IntentUpdate;
|
|
291
|
+
clearTrainingPhraseUpdateListList(): IntentUpdate;
|
|
292
|
+
addTrainingPhraseUpdateList(value?: IntentUpdate.TrainingPhraseUpdate, index?: number): IntentUpdate.TrainingPhraseUpdate;
|
|
293
|
+
|
|
294
|
+
getDeletedParametersList(): Array<string>;
|
|
295
|
+
setDeletedParametersList(value: Array<string>): IntentUpdate;
|
|
296
|
+
clearDeletedParametersList(): IntentUpdate;
|
|
297
|
+
addDeletedParameters(value: string, index?: number): IntentUpdate;
|
|
298
|
+
|
|
299
|
+
serializeBinary(): Uint8Array;
|
|
300
|
+
toObject(includeInstance?: boolean): IntentUpdate.AsObject;
|
|
301
|
+
static toObject(includeInstance: boolean, msg: IntentUpdate): IntentUpdate.AsObject;
|
|
302
|
+
static serializeBinaryToWriter(message: IntentUpdate, writer: jspb.BinaryWriter): void;
|
|
303
|
+
static deserializeBinary(bytes: Uint8Array): IntentUpdate;
|
|
304
|
+
static deserializeBinaryFromReader(message: IntentUpdate, reader: jspb.BinaryReader): IntentUpdate;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export namespace IntentUpdate {
|
|
308
|
+
export type AsObject = {
|
|
309
|
+
intentDisplayName: string,
|
|
310
|
+
trainingPhraseUpdateListList: Array<IntentUpdate.TrainingPhraseUpdate.AsObject>,
|
|
311
|
+
deletedParametersList: Array<string>,
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export class TrainingPhraseUpdate extends jspb.Message {
|
|
315
|
+
getTrainingPhraseUpdate(): StringUpdate | undefined;
|
|
316
|
+
setTrainingPhraseUpdate(value?: StringUpdate): TrainingPhraseUpdate;
|
|
317
|
+
hasTrainingPhraseUpdate(): boolean;
|
|
318
|
+
clearTrainingPhraseUpdate(): TrainingPhraseUpdate;
|
|
319
|
+
|
|
320
|
+
getEntityUpdatesList(): Array<StringUpdate>;
|
|
321
|
+
setEntityUpdatesList(value: Array<StringUpdate>): TrainingPhraseUpdate;
|
|
322
|
+
clearEntityUpdatesList(): TrainingPhraseUpdate;
|
|
323
|
+
addEntityUpdates(value?: StringUpdate, index?: number): StringUpdate;
|
|
324
|
+
|
|
325
|
+
getEntitiesReannotatedList(): Array<string>;
|
|
326
|
+
setEntitiesReannotatedList(value: Array<string>): TrainingPhraseUpdate;
|
|
327
|
+
clearEntitiesReannotatedList(): TrainingPhraseUpdate;
|
|
328
|
+
addEntitiesReannotated(value: string, index?: number): TrainingPhraseUpdate;
|
|
329
|
+
|
|
330
|
+
getContainsUpdateVariable(): boolean;
|
|
331
|
+
setContainsUpdateVariable(value: boolean): TrainingPhraseUpdate;
|
|
332
|
+
|
|
333
|
+
serializeBinary(): Uint8Array;
|
|
334
|
+
toObject(includeInstance?: boolean): TrainingPhraseUpdate.AsObject;
|
|
335
|
+
static toObject(includeInstance: boolean, msg: TrainingPhraseUpdate): TrainingPhraseUpdate.AsObject;
|
|
336
|
+
static serializeBinaryToWriter(message: TrainingPhraseUpdate, writer: jspb.BinaryWriter): void;
|
|
337
|
+
static deserializeBinary(bytes: Uint8Array): TrainingPhraseUpdate;
|
|
338
|
+
static deserializeBinaryFromReader(message: TrainingPhraseUpdate, reader: jspb.BinaryReader): TrainingPhraseUpdate;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export namespace TrainingPhraseUpdate {
|
|
342
|
+
export type AsObject = {
|
|
343
|
+
trainingPhraseUpdate?: StringUpdate.AsObject,
|
|
344
|
+
entityUpdatesList: Array<StringUpdate.AsObject>,
|
|
345
|
+
entitiesReannotatedList: Array<string>,
|
|
346
|
+
containsUpdateVariable: boolean,
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export class EntityTypeUpdate extends jspb.Message {
|
|
353
|
+
getEntityTypeName(): string;
|
|
354
|
+
setEntityTypeName(value: string): EntityTypeUpdate;
|
|
355
|
+
|
|
356
|
+
getValuesUpdateListList(): Array<EntityTypeUpdate.EntityUpdate>;
|
|
357
|
+
setValuesUpdateListList(value: Array<EntityTypeUpdate.EntityUpdate>): EntityTypeUpdate;
|
|
358
|
+
clearValuesUpdateListList(): EntityTypeUpdate;
|
|
359
|
+
addValuesUpdateList(value?: EntityTypeUpdate.EntityUpdate, index?: number): EntityTypeUpdate.EntityUpdate;
|
|
360
|
+
|
|
361
|
+
serializeBinary(): Uint8Array;
|
|
362
|
+
toObject(includeInstance?: boolean): EntityTypeUpdate.AsObject;
|
|
363
|
+
static toObject(includeInstance: boolean, msg: EntityTypeUpdate): EntityTypeUpdate.AsObject;
|
|
364
|
+
static serializeBinaryToWriter(message: EntityTypeUpdate, writer: jspb.BinaryWriter): void;
|
|
365
|
+
static deserializeBinary(bytes: Uint8Array): EntityTypeUpdate;
|
|
366
|
+
static deserializeBinaryFromReader(message: EntityTypeUpdate, reader: jspb.BinaryReader): EntityTypeUpdate;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export namespace EntityTypeUpdate {
|
|
370
|
+
export type AsObject = {
|
|
371
|
+
entityTypeName: string,
|
|
372
|
+
valuesUpdateListList: Array<EntityTypeUpdate.EntityUpdate.AsObject>,
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export class EntityUpdate extends jspb.Message {
|
|
376
|
+
getEntityValueUpdate(): StringUpdate | undefined;
|
|
377
|
+
setEntityValueUpdate(value?: StringUpdate): EntityUpdate;
|
|
378
|
+
hasEntityValueUpdate(): boolean;
|
|
379
|
+
clearEntityValueUpdate(): EntityUpdate;
|
|
380
|
+
|
|
381
|
+
getEntitySynonymUpdatesList(): Array<StringUpdate>;
|
|
382
|
+
setEntitySynonymUpdatesList(value: Array<StringUpdate>): EntityUpdate;
|
|
383
|
+
clearEntitySynonymUpdatesList(): EntityUpdate;
|
|
384
|
+
addEntitySynonymUpdates(value?: StringUpdate, index?: number): StringUpdate;
|
|
385
|
+
|
|
386
|
+
serializeBinary(): Uint8Array;
|
|
387
|
+
toObject(includeInstance?: boolean): EntityUpdate.AsObject;
|
|
388
|
+
static toObject(includeInstance: boolean, msg: EntityUpdate): EntityUpdate.AsObject;
|
|
389
|
+
static serializeBinaryToWriter(message: EntityUpdate, writer: jspb.BinaryWriter): void;
|
|
390
|
+
static deserializeBinary(bytes: Uint8Array): EntityUpdate;
|
|
391
|
+
static deserializeBinaryFromReader(message: EntityUpdate, reader: jspb.BinaryReader): EntityUpdate;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export namespace EntityUpdate {
|
|
395
|
+
export type AsObject = {
|
|
396
|
+
entityValueUpdate?: StringUpdate.AsObject,
|
|
397
|
+
entitySynonymUpdatesList: Array<StringUpdate.AsObject>,
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export class CleanAllEntityTypesRequest extends jspb.Message {
|
|
404
|
+
getParent(): string;
|
|
405
|
+
setParent(value: string): CleanAllEntityTypesRequest;
|
|
406
|
+
|
|
407
|
+
getLanguageCode(): string;
|
|
408
|
+
setLanguageCode(value: string): CleanAllEntityTypesRequest;
|
|
409
|
+
|
|
410
|
+
getSpecialCharacters(): string;
|
|
411
|
+
setSpecialCharacters(value: string): CleanAllEntityTypesRequest;
|
|
412
|
+
|
|
413
|
+
getSubstringWhiteListList(): Array<string>;
|
|
414
|
+
setSubstringWhiteListList(value: Array<string>): CleanAllEntityTypesRequest;
|
|
415
|
+
clearSubstringWhiteListList(): CleanAllEntityTypesRequest;
|
|
416
|
+
addSubstringWhiteList(value: string, index?: number): CleanAllEntityTypesRequest;
|
|
417
|
+
|
|
418
|
+
getMaxEntityCountUpdate(): number;
|
|
419
|
+
setMaxEntityCountUpdate(value: number): CleanAllEntityTypesRequest;
|
|
420
|
+
|
|
421
|
+
getForbiddenEntityTypePatternsList(): Array<string>;
|
|
422
|
+
setForbiddenEntityTypePatternsList(value: Array<string>): CleanAllEntityTypesRequest;
|
|
423
|
+
clearForbiddenEntityTypePatternsList(): CleanAllEntityTypesRequest;
|
|
424
|
+
addForbiddenEntityTypePatterns(value: string, index?: number): CleanAllEntityTypesRequest;
|
|
425
|
+
|
|
426
|
+
getDryRun(): boolean;
|
|
427
|
+
setDryRun(value: boolean): CleanAllEntityTypesRequest;
|
|
428
|
+
|
|
429
|
+
getNumberOfWorkers(): number;
|
|
430
|
+
setNumberOfWorkers(value: number): CleanAllEntityTypesRequest;
|
|
431
|
+
|
|
432
|
+
serializeBinary(): Uint8Array;
|
|
433
|
+
toObject(includeInstance?: boolean): CleanAllEntityTypesRequest.AsObject;
|
|
434
|
+
static toObject(includeInstance: boolean, msg: CleanAllEntityTypesRequest): CleanAllEntityTypesRequest.AsObject;
|
|
435
|
+
static serializeBinaryToWriter(message: CleanAllEntityTypesRequest, writer: jspb.BinaryWriter): void;
|
|
436
|
+
static deserializeBinary(bytes: Uint8Array): CleanAllEntityTypesRequest;
|
|
437
|
+
static deserializeBinaryFromReader(message: CleanAllEntityTypesRequest, reader: jspb.BinaryReader): CleanAllEntityTypesRequest;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export namespace CleanAllEntityTypesRequest {
|
|
441
|
+
export type AsObject = {
|
|
442
|
+
parent: string,
|
|
443
|
+
languageCode: string,
|
|
444
|
+
specialCharacters: string,
|
|
445
|
+
substringWhiteListList: Array<string>,
|
|
446
|
+
maxEntityCountUpdate: number,
|
|
447
|
+
forbiddenEntityTypePatternsList: Array<string>,
|
|
448
|
+
dryRun: boolean,
|
|
449
|
+
numberOfWorkers: number,
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export class CleanAllEntityTypesResponse extends jspb.Message {
|
|
454
|
+
getCleanedEntityTypesList(): Array<ondewo_nlu_entity_type_pb.EntityType>;
|
|
455
|
+
setCleanedEntityTypesList(value: Array<ondewo_nlu_entity_type_pb.EntityType>): CleanAllEntityTypesResponse;
|
|
456
|
+
clearCleanedEntityTypesList(): CleanAllEntityTypesResponse;
|
|
457
|
+
addCleanedEntityTypes(value?: ondewo_nlu_entity_type_pb.EntityType, index?: number): ondewo_nlu_entity_type_pb.EntityType;
|
|
458
|
+
|
|
459
|
+
getDeletedEntityTypesList(): Array<ondewo_nlu_entity_type_pb.EntityType>;
|
|
460
|
+
setDeletedEntityTypesList(value: Array<ondewo_nlu_entity_type_pb.EntityType>): CleanAllEntityTypesResponse;
|
|
461
|
+
clearDeletedEntityTypesList(): CleanAllEntityTypesResponse;
|
|
462
|
+
addDeletedEntityTypes(value?: ondewo_nlu_entity_type_pb.EntityType, index?: number): ondewo_nlu_entity_type_pb.EntityType;
|
|
463
|
+
|
|
464
|
+
getEntityTypeUpdatesList(): Array<EntityTypeUpdate>;
|
|
465
|
+
setEntityTypeUpdatesList(value: Array<EntityTypeUpdate>): CleanAllEntityTypesResponse;
|
|
466
|
+
clearEntityTypeUpdatesList(): CleanAllEntityTypesResponse;
|
|
467
|
+
addEntityTypeUpdates(value?: EntityTypeUpdate, index?: number): EntityTypeUpdate;
|
|
468
|
+
|
|
469
|
+
getEntityTypeDeletionsList(): Array<EntityTypeUpdate>;
|
|
470
|
+
setEntityTypeDeletionsList(value: Array<EntityTypeUpdate>): CleanAllEntityTypesResponse;
|
|
471
|
+
clearEntityTypeDeletionsList(): CleanAllEntityTypesResponse;
|
|
472
|
+
addEntityTypeDeletions(value?: EntityTypeUpdate, index?: number): EntityTypeUpdate;
|
|
473
|
+
|
|
474
|
+
serializeBinary(): Uint8Array;
|
|
475
|
+
toObject(includeInstance?: boolean): CleanAllEntityTypesResponse.AsObject;
|
|
476
|
+
static toObject(includeInstance: boolean, msg: CleanAllEntityTypesResponse): CleanAllEntityTypesResponse.AsObject;
|
|
477
|
+
static serializeBinaryToWriter(message: CleanAllEntityTypesResponse, writer: jspb.BinaryWriter): void;
|
|
478
|
+
static deserializeBinary(bytes: Uint8Array): CleanAllEntityTypesResponse;
|
|
479
|
+
static deserializeBinaryFromReader(message: CleanAllEntityTypesResponse, reader: jspb.BinaryReader): CleanAllEntityTypesResponse;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export namespace CleanAllEntityTypesResponse {
|
|
483
|
+
export type AsObject = {
|
|
484
|
+
cleanedEntityTypesList: Array<ondewo_nlu_entity_type_pb.EntityType.AsObject>,
|
|
485
|
+
deletedEntityTypesList: Array<ondewo_nlu_entity_type_pb.EntityType.AsObject>,
|
|
486
|
+
entityTypeUpdatesList: Array<EntityTypeUpdate.AsObject>,
|
|
487
|
+
entityTypeDeletionsList: Array<EntityTypeUpdate.AsObject>,
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export class CleanEntityTypeRequest extends jspb.Message {
|
|
492
|
+
getParent(): string;
|
|
493
|
+
setParent(value: string): CleanEntityTypeRequest;
|
|
494
|
+
|
|
495
|
+
getEntityTypeName(): string;
|
|
496
|
+
setEntityTypeName(value: string): CleanEntityTypeRequest;
|
|
497
|
+
|
|
498
|
+
getLanguageCode(): string;
|
|
499
|
+
setLanguageCode(value: string): CleanEntityTypeRequest;
|
|
500
|
+
|
|
501
|
+
getSpecialCharacters(): string;
|
|
502
|
+
setSpecialCharacters(value: string): CleanEntityTypeRequest;
|
|
503
|
+
|
|
504
|
+
getSubstringWhiteListList(): Array<string>;
|
|
505
|
+
setSubstringWhiteListList(value: Array<string>): CleanEntityTypeRequest;
|
|
506
|
+
clearSubstringWhiteListList(): CleanEntityTypeRequest;
|
|
507
|
+
addSubstringWhiteList(value: string, index?: number): CleanEntityTypeRequest;
|
|
508
|
+
|
|
509
|
+
getMaxEntityCountUpdate(): number;
|
|
510
|
+
setMaxEntityCountUpdate(value: number): CleanEntityTypeRequest;
|
|
511
|
+
|
|
512
|
+
getDryRun(): boolean;
|
|
513
|
+
setDryRun(value: boolean): CleanEntityTypeRequest;
|
|
514
|
+
|
|
515
|
+
serializeBinary(): Uint8Array;
|
|
516
|
+
toObject(includeInstance?: boolean): CleanEntityTypeRequest.AsObject;
|
|
517
|
+
static toObject(includeInstance: boolean, msg: CleanEntityTypeRequest): CleanEntityTypeRequest.AsObject;
|
|
518
|
+
static serializeBinaryToWriter(message: CleanEntityTypeRequest, writer: jspb.BinaryWriter): void;
|
|
519
|
+
static deserializeBinary(bytes: Uint8Array): CleanEntityTypeRequest;
|
|
520
|
+
static deserializeBinaryFromReader(message: CleanEntityTypeRequest, reader: jspb.BinaryReader): CleanEntityTypeRequest;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export namespace CleanEntityTypeRequest {
|
|
524
|
+
export type AsObject = {
|
|
525
|
+
parent: string,
|
|
526
|
+
entityTypeName: string,
|
|
527
|
+
languageCode: string,
|
|
528
|
+
specialCharacters: string,
|
|
529
|
+
substringWhiteListList: Array<string>,
|
|
530
|
+
maxEntityCountUpdate: number,
|
|
531
|
+
dryRun: boolean,
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export class CleanEntityTypeResponse extends jspb.Message {
|
|
536
|
+
getCleanedEntityType(): ondewo_nlu_entity_type_pb.EntityType | undefined;
|
|
537
|
+
setCleanedEntityType(value?: ondewo_nlu_entity_type_pb.EntityType): CleanEntityTypeResponse;
|
|
538
|
+
hasCleanedEntityType(): boolean;
|
|
539
|
+
clearCleanedEntityType(): CleanEntityTypeResponse;
|
|
540
|
+
|
|
541
|
+
getEntityTypeUpdate(): EntityTypeUpdate | undefined;
|
|
542
|
+
setEntityTypeUpdate(value?: EntityTypeUpdate): CleanEntityTypeResponse;
|
|
543
|
+
hasEntityTypeUpdate(): boolean;
|
|
544
|
+
clearEntityTypeUpdate(): CleanEntityTypeResponse;
|
|
545
|
+
|
|
546
|
+
serializeBinary(): Uint8Array;
|
|
547
|
+
toObject(includeInstance?: boolean): CleanEntityTypeResponse.AsObject;
|
|
548
|
+
static toObject(includeInstance: boolean, msg: CleanEntityTypeResponse): CleanEntityTypeResponse.AsObject;
|
|
549
|
+
static serializeBinaryToWriter(message: CleanEntityTypeResponse, writer: jspb.BinaryWriter): void;
|
|
550
|
+
static deserializeBinary(bytes: Uint8Array): CleanEntityTypeResponse;
|
|
551
|
+
static deserializeBinaryFromReader(message: CleanEntityTypeResponse, reader: jspb.BinaryReader): CleanEntityTypeResponse;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export namespace CleanEntityTypeResponse {
|
|
555
|
+
export type AsObject = {
|
|
556
|
+
cleanedEntityType?: ondewo_nlu_entity_type_pb.EntityType.AsObject,
|
|
557
|
+
entityTypeUpdate?: EntityTypeUpdate.AsObject,
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export class AddTrainingPhrasesRequest extends jspb.Message {
|
|
562
|
+
getParent(): string;
|
|
563
|
+
setParent(value: string): AddTrainingPhrasesRequest;
|
|
564
|
+
|
|
565
|
+
getLanguageCode(): string;
|
|
566
|
+
setLanguageCode(value: string): AddTrainingPhrasesRequest;
|
|
567
|
+
|
|
568
|
+
getTrainingPhraseListList(): Array<AddTrainingPhrasesRequest.TrainingPhraseForIntent>;
|
|
569
|
+
setTrainingPhraseListList(value: Array<AddTrainingPhrasesRequest.TrainingPhraseForIntent>): AddTrainingPhrasesRequest;
|
|
570
|
+
clearTrainingPhraseListList(): AddTrainingPhrasesRequest;
|
|
571
|
+
addTrainingPhraseList(value?: AddTrainingPhrasesRequest.TrainingPhraseForIntent, index?: number): AddTrainingPhrasesRequest.TrainingPhraseForIntent;
|
|
572
|
+
|
|
573
|
+
getExtractEntities(): boolean;
|
|
574
|
+
setExtractEntities(value: boolean): AddTrainingPhrasesRequest;
|
|
575
|
+
|
|
576
|
+
getSpecialCharacters(): string;
|
|
577
|
+
setSpecialCharacters(value: string): AddTrainingPhrasesRequest;
|
|
578
|
+
|
|
579
|
+
getTrainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
580
|
+
setTrainingPhraseCleanerOptions(value?: TrainingPhraseCleanerOptions): AddTrainingPhrasesRequest;
|
|
581
|
+
hasTrainingPhraseCleanerOptions(): boolean;
|
|
582
|
+
clearTrainingPhraseCleanerOptions(): AddTrainingPhrasesRequest;
|
|
583
|
+
|
|
584
|
+
getNumberOfWorkers(): number;
|
|
585
|
+
setNumberOfWorkers(value: number): AddTrainingPhrasesRequest;
|
|
586
|
+
|
|
587
|
+
serializeBinary(): Uint8Array;
|
|
588
|
+
toObject(includeInstance?: boolean): AddTrainingPhrasesRequest.AsObject;
|
|
589
|
+
static toObject(includeInstance: boolean, msg: AddTrainingPhrasesRequest): AddTrainingPhrasesRequest.AsObject;
|
|
590
|
+
static serializeBinaryToWriter(message: AddTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
591
|
+
static deserializeBinary(bytes: Uint8Array): AddTrainingPhrasesRequest;
|
|
592
|
+
static deserializeBinaryFromReader(message: AddTrainingPhrasesRequest, reader: jspb.BinaryReader): AddTrainingPhrasesRequest;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export namespace AddTrainingPhrasesRequest {
|
|
596
|
+
export type AsObject = {
|
|
597
|
+
parent: string,
|
|
598
|
+
languageCode: string,
|
|
599
|
+
trainingPhraseListList: Array<AddTrainingPhrasesRequest.TrainingPhraseForIntent.AsObject>,
|
|
600
|
+
extractEntities: boolean,
|
|
601
|
+
specialCharacters: string,
|
|
602
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject,
|
|
603
|
+
numberOfWorkers: number,
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export class TrainingPhraseForIntent extends jspb.Message {
|
|
607
|
+
getTrainingPhrase(): string;
|
|
608
|
+
setTrainingPhrase(value: string): TrainingPhraseForIntent;
|
|
609
|
+
|
|
610
|
+
getIntentDisplayName(): string;
|
|
611
|
+
setIntentDisplayName(value: string): TrainingPhraseForIntent;
|
|
612
|
+
|
|
613
|
+
getEntitiesList(): Array<ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity>;
|
|
614
|
+
setEntitiesList(value: Array<ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity>): TrainingPhraseForIntent;
|
|
615
|
+
clearEntitiesList(): TrainingPhraseForIntent;
|
|
616
|
+
addEntities(value?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity, index?: number): ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity;
|
|
617
|
+
|
|
618
|
+
serializeBinary(): Uint8Array;
|
|
619
|
+
toObject(includeInstance?: boolean): TrainingPhraseForIntent.AsObject;
|
|
620
|
+
static toObject(includeInstance: boolean, msg: TrainingPhraseForIntent): TrainingPhraseForIntent.AsObject;
|
|
621
|
+
static serializeBinaryToWriter(message: TrainingPhraseForIntent, writer: jspb.BinaryWriter): void;
|
|
622
|
+
static deserializeBinary(bytes: Uint8Array): TrainingPhraseForIntent;
|
|
623
|
+
static deserializeBinaryFromReader(message: TrainingPhraseForIntent, reader: jspb.BinaryReader): TrainingPhraseForIntent;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export namespace TrainingPhraseForIntent {
|
|
627
|
+
export type AsObject = {
|
|
628
|
+
trainingPhrase: string,
|
|
629
|
+
intentDisplayName: string,
|
|
630
|
+
entitiesList: Array<ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.AsObject>,
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export class AddTrainingPhrasesResponse extends jspb.Message {
|
|
637
|
+
getErrorMessagesList(): Array<string>;
|
|
638
|
+
setErrorMessagesList(value: Array<string>): AddTrainingPhrasesResponse;
|
|
639
|
+
clearErrorMessagesList(): AddTrainingPhrasesResponse;
|
|
640
|
+
addErrorMessages(value: string, index?: number): AddTrainingPhrasesResponse;
|
|
641
|
+
|
|
642
|
+
serializeBinary(): Uint8Array;
|
|
643
|
+
toObject(includeInstance?: boolean): AddTrainingPhrasesResponse.AsObject;
|
|
644
|
+
static toObject(includeInstance: boolean, msg: AddTrainingPhrasesResponse): AddTrainingPhrasesResponse.AsObject;
|
|
645
|
+
static serializeBinaryToWriter(message: AddTrainingPhrasesResponse, writer: jspb.BinaryWriter): void;
|
|
646
|
+
static deserializeBinary(bytes: Uint8Array): AddTrainingPhrasesResponse;
|
|
647
|
+
static deserializeBinaryFromReader(message: AddTrainingPhrasesResponse, reader: jspb.BinaryReader): AddTrainingPhrasesResponse;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export namespace AddTrainingPhrasesResponse {
|
|
651
|
+
export type AsObject = {
|
|
652
|
+
errorMessagesList: Array<string>,
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export class AddTrainingPhrasesFromCSVRequest extends jspb.Message {
|
|
657
|
+
getParent(): string;
|
|
658
|
+
setParent(value: string): AddTrainingPhrasesFromCSVRequest;
|
|
659
|
+
|
|
660
|
+
getLanguageCode(): string;
|
|
661
|
+
setLanguageCode(value: string): AddTrainingPhrasesFromCSVRequest;
|
|
662
|
+
|
|
663
|
+
getCsvContents(): Uint8Array | string;
|
|
664
|
+
getCsvContents_asU8(): Uint8Array;
|
|
665
|
+
getCsvContents_asB64(): string;
|
|
666
|
+
setCsvContents(value: Uint8Array | string): AddTrainingPhrasesFromCSVRequest;
|
|
667
|
+
|
|
668
|
+
getExtractEntities(): boolean;
|
|
669
|
+
setExtractEntities(value: boolean): AddTrainingPhrasesFromCSVRequest;
|
|
670
|
+
|
|
671
|
+
getSpecialCharacters(): string;
|
|
672
|
+
setSpecialCharacters(value: string): AddTrainingPhrasesFromCSVRequest;
|
|
673
|
+
|
|
674
|
+
getTrainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
675
|
+
setTrainingPhraseCleanerOptions(value?: TrainingPhraseCleanerOptions): AddTrainingPhrasesFromCSVRequest;
|
|
676
|
+
hasTrainingPhraseCleanerOptions(): boolean;
|
|
677
|
+
clearTrainingPhraseCleanerOptions(): AddTrainingPhrasesFromCSVRequest;
|
|
678
|
+
|
|
679
|
+
getNumberOfWorkers(): number;
|
|
680
|
+
setNumberOfWorkers(value: number): AddTrainingPhrasesFromCSVRequest;
|
|
681
|
+
|
|
682
|
+
serializeBinary(): Uint8Array;
|
|
683
|
+
toObject(includeInstance?: boolean): AddTrainingPhrasesFromCSVRequest.AsObject;
|
|
684
|
+
static toObject(includeInstance: boolean, msg: AddTrainingPhrasesFromCSVRequest): AddTrainingPhrasesFromCSVRequest.AsObject;
|
|
685
|
+
static serializeBinaryToWriter(message: AddTrainingPhrasesFromCSVRequest, writer: jspb.BinaryWriter): void;
|
|
686
|
+
static deserializeBinary(bytes: Uint8Array): AddTrainingPhrasesFromCSVRequest;
|
|
687
|
+
static deserializeBinaryFromReader(message: AddTrainingPhrasesFromCSVRequest, reader: jspb.BinaryReader): AddTrainingPhrasesFromCSVRequest;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export namespace AddTrainingPhrasesFromCSVRequest {
|
|
691
|
+
export type AsObject = {
|
|
692
|
+
parent: string,
|
|
693
|
+
languageCode: string,
|
|
694
|
+
csvContents: Uint8Array | string,
|
|
695
|
+
extractEntities: boolean,
|
|
696
|
+
specialCharacters: string,
|
|
697
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject,
|
|
698
|
+
numberOfWorkers: number,
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export enum ReannotateEntitiesOptions {
|
|
703
|
+
REANNOTATE_NEVER = 0,
|
|
704
|
+
REANNOTATE_ALWAYS = 1,
|
|
705
|
+
REANNOTATE_IF_EMPTY = 2,
|
|
706
|
+
REANNOTATE_AFTER_DELETION = 3,
|
|
707
|
+
REANNOTATE_IF_EMPTY_OR_AFTER_DELETION = 4,
|
|
708
|
+
}
|