@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,933 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
+
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
|
|
5
|
+
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export class ExtractEntitiesRequest extends jspb.Message {
|
|
9
|
+
getParent(): string;
|
|
10
|
+
setParent(value: string): ExtractEntitiesRequest;
|
|
11
|
+
|
|
12
|
+
getText(): string;
|
|
13
|
+
setText(value: string): ExtractEntitiesRequest;
|
|
14
|
+
|
|
15
|
+
getLanguageCode(): string;
|
|
16
|
+
setLanguageCode(value: string): ExtractEntitiesRequest;
|
|
17
|
+
|
|
18
|
+
getIntentName(): string;
|
|
19
|
+
setIntentName(value: string): ExtractEntitiesRequest;
|
|
20
|
+
|
|
21
|
+
serializeBinary(): Uint8Array;
|
|
22
|
+
toObject(includeInstance?: boolean): ExtractEntitiesRequest.AsObject;
|
|
23
|
+
static toObject(includeInstance: boolean, msg: ExtractEntitiesRequest): ExtractEntitiesRequest.AsObject;
|
|
24
|
+
static serializeBinaryToWriter(message: ExtractEntitiesRequest, writer: jspb.BinaryWriter): void;
|
|
25
|
+
static deserializeBinary(bytes: Uint8Array): ExtractEntitiesRequest;
|
|
26
|
+
static deserializeBinaryFromReader(message: ExtractEntitiesRequest, reader: jspb.BinaryReader): ExtractEntitiesRequest;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export namespace ExtractEntitiesRequest {
|
|
30
|
+
export type AsObject = {
|
|
31
|
+
parent: string,
|
|
32
|
+
text: string,
|
|
33
|
+
languageCode: string,
|
|
34
|
+
intentName: string,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class ExtractEntitiesFuzzyRequest extends jspb.Message {
|
|
39
|
+
getParent(): string;
|
|
40
|
+
setParent(value: string): ExtractEntitiesFuzzyRequest;
|
|
41
|
+
|
|
42
|
+
getText(): string;
|
|
43
|
+
setText(value: string): ExtractEntitiesFuzzyRequest;
|
|
44
|
+
|
|
45
|
+
getPotentialEntitiesList(): Array<EntityTypeFuzzyNerConfig>;
|
|
46
|
+
setPotentialEntitiesList(value: Array<EntityTypeFuzzyNerConfig>): ExtractEntitiesFuzzyRequest;
|
|
47
|
+
clearPotentialEntitiesList(): ExtractEntitiesFuzzyRequest;
|
|
48
|
+
addPotentialEntities(value?: EntityTypeFuzzyNerConfig, index?: number): EntityTypeFuzzyNerConfig;
|
|
49
|
+
|
|
50
|
+
getMinimalScore(): number;
|
|
51
|
+
setMinimalScore(value: number): ExtractEntitiesFuzzyRequest;
|
|
52
|
+
|
|
53
|
+
getAllowOverlaps(): boolean;
|
|
54
|
+
setAllowOverlaps(value: boolean): ExtractEntitiesFuzzyRequest;
|
|
55
|
+
|
|
56
|
+
serializeBinary(): Uint8Array;
|
|
57
|
+
toObject(includeInstance?: boolean): ExtractEntitiesFuzzyRequest.AsObject;
|
|
58
|
+
static toObject(includeInstance: boolean, msg: ExtractEntitiesFuzzyRequest): ExtractEntitiesFuzzyRequest.AsObject;
|
|
59
|
+
static serializeBinaryToWriter(message: ExtractEntitiesFuzzyRequest, writer: jspb.BinaryWriter): void;
|
|
60
|
+
static deserializeBinary(bytes: Uint8Array): ExtractEntitiesFuzzyRequest;
|
|
61
|
+
static deserializeBinaryFromReader(message: ExtractEntitiesFuzzyRequest, reader: jspb.BinaryReader): ExtractEntitiesFuzzyRequest;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export namespace ExtractEntitiesFuzzyRequest {
|
|
65
|
+
export type AsObject = {
|
|
66
|
+
parent: string,
|
|
67
|
+
text: string,
|
|
68
|
+
potentialEntitiesList: Array<EntityTypeFuzzyNerConfig.AsObject>,
|
|
69
|
+
minimalScore: number,
|
|
70
|
+
allowOverlaps: boolean,
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class EntityTypeFuzzyNerConfig extends jspb.Message {
|
|
75
|
+
getEntityType(): ondewo_nlu_entity_type_pb.EntityType | undefined;
|
|
76
|
+
setEntityType(value?: ondewo_nlu_entity_type_pb.EntityType): EntityTypeFuzzyNerConfig;
|
|
77
|
+
hasEntityType(): boolean;
|
|
78
|
+
clearEntityType(): EntityTypeFuzzyNerConfig;
|
|
79
|
+
|
|
80
|
+
getMinimalScore(): number;
|
|
81
|
+
setMinimalScore(value: number): EntityTypeFuzzyNerConfig;
|
|
82
|
+
|
|
83
|
+
getEntityValuesList(): Array<string>;
|
|
84
|
+
setEntityValuesList(value: Array<string>): EntityTypeFuzzyNerConfig;
|
|
85
|
+
clearEntityValuesList(): EntityTypeFuzzyNerConfig;
|
|
86
|
+
addEntityValues(value: string, index?: number): EntityTypeFuzzyNerConfig;
|
|
87
|
+
|
|
88
|
+
getAlgorithm(): EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm;
|
|
89
|
+
setAlgorithm(value: EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm): EntityTypeFuzzyNerConfig;
|
|
90
|
+
|
|
91
|
+
serializeBinary(): Uint8Array;
|
|
92
|
+
toObject(includeInstance?: boolean): EntityTypeFuzzyNerConfig.AsObject;
|
|
93
|
+
static toObject(includeInstance: boolean, msg: EntityTypeFuzzyNerConfig): EntityTypeFuzzyNerConfig.AsObject;
|
|
94
|
+
static serializeBinaryToWriter(message: EntityTypeFuzzyNerConfig, writer: jspb.BinaryWriter): void;
|
|
95
|
+
static deserializeBinary(bytes: Uint8Array): EntityTypeFuzzyNerConfig;
|
|
96
|
+
static deserializeBinaryFromReader(message: EntityTypeFuzzyNerConfig, reader: jspb.BinaryReader): EntityTypeFuzzyNerConfig;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export namespace EntityTypeFuzzyNerConfig {
|
|
100
|
+
export type AsObject = {
|
|
101
|
+
entityType?: ondewo_nlu_entity_type_pb.EntityType.AsObject,
|
|
102
|
+
minimalScore: number,
|
|
103
|
+
entityValuesList: Array<string>,
|
|
104
|
+
algorithm: EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm,
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export enum FuzzyNerAlgorithm {
|
|
108
|
+
PREFILTER_LEVENSHTEIN = 0,
|
|
109
|
+
LOCAL_MAXIMUM = 1,
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export class EntityDetected extends jspb.Message {
|
|
114
|
+
getEntity(): ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity | undefined;
|
|
115
|
+
setEntity(value?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity): EntityDetected;
|
|
116
|
+
hasEntity(): boolean;
|
|
117
|
+
clearEntity(): EntityDetected;
|
|
118
|
+
|
|
119
|
+
getExtractionMethod(): string;
|
|
120
|
+
setExtractionMethod(value: string): EntityDetected;
|
|
121
|
+
|
|
122
|
+
getScore(): number;
|
|
123
|
+
setScore(value: number): EntityDetected;
|
|
124
|
+
|
|
125
|
+
serializeBinary(): Uint8Array;
|
|
126
|
+
toObject(includeInstance?: boolean): EntityDetected.AsObject;
|
|
127
|
+
static toObject(includeInstance: boolean, msg: EntityDetected): EntityDetected.AsObject;
|
|
128
|
+
static serializeBinaryToWriter(message: EntityDetected, writer: jspb.BinaryWriter): void;
|
|
129
|
+
static deserializeBinary(bytes: Uint8Array): EntityDetected;
|
|
130
|
+
static deserializeBinaryFromReader(message: EntityDetected, reader: jspb.BinaryReader): EntityDetected;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export namespace EntityDetected {
|
|
134
|
+
export type AsObject = {
|
|
135
|
+
entity?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.AsObject,
|
|
136
|
+
extractionMethod: string,
|
|
137
|
+
score: number,
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export class ExtractEntitiesResponse extends jspb.Message {
|
|
142
|
+
getEntitiesDetectedList(): Array<EntityDetected>;
|
|
143
|
+
setEntitiesDetectedList(value: Array<EntityDetected>): ExtractEntitiesResponse;
|
|
144
|
+
clearEntitiesDetectedList(): ExtractEntitiesResponse;
|
|
145
|
+
addEntitiesDetected(value?: EntityDetected, index?: number): EntityDetected;
|
|
146
|
+
|
|
147
|
+
getText(): string;
|
|
148
|
+
setText(value: string): ExtractEntitiesResponse;
|
|
149
|
+
|
|
150
|
+
serializeBinary(): Uint8Array;
|
|
151
|
+
toObject(includeInstance?: boolean): ExtractEntitiesResponse.AsObject;
|
|
152
|
+
static toObject(includeInstance: boolean, msg: ExtractEntitiesResponse): ExtractEntitiesResponse.AsObject;
|
|
153
|
+
static serializeBinaryToWriter(message: ExtractEntitiesResponse, writer: jspb.BinaryWriter): void;
|
|
154
|
+
static deserializeBinary(bytes: Uint8Array): ExtractEntitiesResponse;
|
|
155
|
+
static deserializeBinaryFromReader(message: ExtractEntitiesResponse, reader: jspb.BinaryReader): ExtractEntitiesResponse;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export namespace ExtractEntitiesResponse {
|
|
159
|
+
export type AsObject = {
|
|
160
|
+
entitiesDetectedList: Array<EntityDetected.AsObject>,
|
|
161
|
+
text: string,
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export class GetAlternativeSentencesRequest extends jspb.Message {
|
|
166
|
+
getConfig(): DataEnrichmentConfig | undefined;
|
|
167
|
+
setConfig(value?: DataEnrichmentConfig): GetAlternativeSentencesRequest;
|
|
168
|
+
hasConfig(): boolean;
|
|
169
|
+
clearConfig(): GetAlternativeSentencesRequest;
|
|
170
|
+
|
|
171
|
+
getSentence(): string;
|
|
172
|
+
setSentence(value: string): GetAlternativeSentencesRequest;
|
|
173
|
+
|
|
174
|
+
getLanguageCode(): string;
|
|
175
|
+
setLanguageCode(value: string): GetAlternativeSentencesRequest;
|
|
176
|
+
|
|
177
|
+
getParent(): string;
|
|
178
|
+
setParent(value: string): GetAlternativeSentencesRequest;
|
|
179
|
+
|
|
180
|
+
getProtectedWordsList(): Array<string>;
|
|
181
|
+
setProtectedWordsList(value: Array<string>): GetAlternativeSentencesRequest;
|
|
182
|
+
clearProtectedWordsList(): GetAlternativeSentencesRequest;
|
|
183
|
+
addProtectedWords(value: string, index?: number): GetAlternativeSentencesRequest;
|
|
184
|
+
|
|
185
|
+
getWordsToChangeList(): Array<string>;
|
|
186
|
+
setWordsToChangeList(value: Array<string>): GetAlternativeSentencesRequest;
|
|
187
|
+
clearWordsToChangeList(): GetAlternativeSentencesRequest;
|
|
188
|
+
addWordsToChange(value: string, index?: number): GetAlternativeSentencesRequest;
|
|
189
|
+
|
|
190
|
+
serializeBinary(): Uint8Array;
|
|
191
|
+
toObject(includeInstance?: boolean): GetAlternativeSentencesRequest.AsObject;
|
|
192
|
+
static toObject(includeInstance: boolean, msg: GetAlternativeSentencesRequest): GetAlternativeSentencesRequest.AsObject;
|
|
193
|
+
static serializeBinaryToWriter(message: GetAlternativeSentencesRequest, writer: jspb.BinaryWriter): void;
|
|
194
|
+
static deserializeBinary(bytes: Uint8Array): GetAlternativeSentencesRequest;
|
|
195
|
+
static deserializeBinaryFromReader(message: GetAlternativeSentencesRequest, reader: jspb.BinaryReader): GetAlternativeSentencesRequest;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export namespace GetAlternativeSentencesRequest {
|
|
199
|
+
export type AsObject = {
|
|
200
|
+
config?: DataEnrichmentConfig.AsObject,
|
|
201
|
+
sentence: string,
|
|
202
|
+
languageCode: string,
|
|
203
|
+
parent: string,
|
|
204
|
+
protectedWordsList: Array<string>,
|
|
205
|
+
wordsToChangeList: Array<string>,
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export class GenerateUserSaysRequest extends jspb.Message {
|
|
210
|
+
getLanguageCode(): string;
|
|
211
|
+
setLanguageCode(value: string): GenerateUserSaysRequest;
|
|
212
|
+
|
|
213
|
+
getParent(): string;
|
|
214
|
+
setParent(value: string): GenerateUserSaysRequest;
|
|
215
|
+
|
|
216
|
+
getNRepeatSynonym(): number;
|
|
217
|
+
setNRepeatSynonym(value: number): GenerateUserSaysRequest;
|
|
218
|
+
|
|
219
|
+
getBranch(): string;
|
|
220
|
+
setBranch(value: string): GenerateUserSaysRequest;
|
|
221
|
+
|
|
222
|
+
serializeBinary(): Uint8Array;
|
|
223
|
+
toObject(includeInstance?: boolean): GenerateUserSaysRequest.AsObject;
|
|
224
|
+
static toObject(includeInstance: boolean, msg: GenerateUserSaysRequest): GenerateUserSaysRequest.AsObject;
|
|
225
|
+
static serializeBinaryToWriter(message: GenerateUserSaysRequest, writer: jspb.BinaryWriter): void;
|
|
226
|
+
static deserializeBinary(bytes: Uint8Array): GenerateUserSaysRequest;
|
|
227
|
+
static deserializeBinaryFromReader(message: GenerateUserSaysRequest, reader: jspb.BinaryReader): GenerateUserSaysRequest;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export namespace GenerateUserSaysRequest {
|
|
231
|
+
export type AsObject = {
|
|
232
|
+
languageCode: string,
|
|
233
|
+
parent: string,
|
|
234
|
+
nRepeatSynonym: number,
|
|
235
|
+
branch: string,
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export class GenerateResponsesRequest extends jspb.Message {
|
|
240
|
+
getLanguageCode(): string;
|
|
241
|
+
setLanguageCode(value: string): GenerateResponsesRequest;
|
|
242
|
+
|
|
243
|
+
getParent(): string;
|
|
244
|
+
setParent(value: string): GenerateResponsesRequest;
|
|
245
|
+
|
|
246
|
+
getNRepeatSynonym(): number;
|
|
247
|
+
setNRepeatSynonym(value: number): GenerateResponsesRequest;
|
|
248
|
+
|
|
249
|
+
getBranch(): string;
|
|
250
|
+
setBranch(value: string): GenerateResponsesRequest;
|
|
251
|
+
|
|
252
|
+
getDropUnknownParameters(): boolean;
|
|
253
|
+
setDropUnknownParameters(value: boolean): GenerateResponsesRequest;
|
|
254
|
+
|
|
255
|
+
serializeBinary(): Uint8Array;
|
|
256
|
+
toObject(includeInstance?: boolean): GenerateResponsesRequest.AsObject;
|
|
257
|
+
static toObject(includeInstance: boolean, msg: GenerateResponsesRequest): GenerateResponsesRequest.AsObject;
|
|
258
|
+
static serializeBinaryToWriter(message: GenerateResponsesRequest, writer: jspb.BinaryWriter): void;
|
|
259
|
+
static deserializeBinary(bytes: Uint8Array): GenerateResponsesRequest;
|
|
260
|
+
static deserializeBinaryFromReader(message: GenerateResponsesRequest, reader: jspb.BinaryReader): GenerateResponsesRequest;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export namespace GenerateResponsesRequest {
|
|
264
|
+
export type AsObject = {
|
|
265
|
+
languageCode: string,
|
|
266
|
+
parent: string,
|
|
267
|
+
nRepeatSynonym: number,
|
|
268
|
+
branch: string,
|
|
269
|
+
dropUnknownParameters: boolean,
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export class GetAlternativeTrainingPhrasesRequest extends jspb.Message {
|
|
274
|
+
getConfig(): DataEnrichmentConfig | undefined;
|
|
275
|
+
setConfig(value?: DataEnrichmentConfig): GetAlternativeTrainingPhrasesRequest;
|
|
276
|
+
hasConfig(): boolean;
|
|
277
|
+
clearConfig(): GetAlternativeTrainingPhrasesRequest;
|
|
278
|
+
|
|
279
|
+
getTrainingPhrase(): ondewo_nlu_intent_pb.Intent.TrainingPhrase | undefined;
|
|
280
|
+
setTrainingPhrase(value?: ondewo_nlu_intent_pb.Intent.TrainingPhrase): GetAlternativeTrainingPhrasesRequest;
|
|
281
|
+
hasTrainingPhrase(): boolean;
|
|
282
|
+
clearTrainingPhrase(): GetAlternativeTrainingPhrasesRequest;
|
|
283
|
+
|
|
284
|
+
getIntentName(): string;
|
|
285
|
+
setIntentName(value: string): GetAlternativeTrainingPhrasesRequest;
|
|
286
|
+
|
|
287
|
+
getLanguageCode(): string;
|
|
288
|
+
setLanguageCode(value: string): GetAlternativeTrainingPhrasesRequest;
|
|
289
|
+
|
|
290
|
+
getParent(): string;
|
|
291
|
+
setParent(value: string): GetAlternativeTrainingPhrasesRequest;
|
|
292
|
+
|
|
293
|
+
getDetectEntities(): boolean;
|
|
294
|
+
setDetectEntities(value: boolean): GetAlternativeTrainingPhrasesRequest;
|
|
295
|
+
|
|
296
|
+
getSimilarityThreshold(): number;
|
|
297
|
+
setSimilarityThreshold(value: number): GetAlternativeTrainingPhrasesRequest;
|
|
298
|
+
|
|
299
|
+
getProtectedWordsList(): Array<string>;
|
|
300
|
+
setProtectedWordsList(value: Array<string>): GetAlternativeTrainingPhrasesRequest;
|
|
301
|
+
clearProtectedWordsList(): GetAlternativeTrainingPhrasesRequest;
|
|
302
|
+
addProtectedWords(value: string, index?: number): GetAlternativeTrainingPhrasesRequest;
|
|
303
|
+
|
|
304
|
+
getWordsToChangeList(): Array<string>;
|
|
305
|
+
setWordsToChangeList(value: Array<string>): GetAlternativeTrainingPhrasesRequest;
|
|
306
|
+
clearWordsToChangeList(): GetAlternativeTrainingPhrasesRequest;
|
|
307
|
+
addWordsToChange(value: string, index?: number): GetAlternativeTrainingPhrasesRequest;
|
|
308
|
+
|
|
309
|
+
getBranch(): string;
|
|
310
|
+
setBranch(value: string): GetAlternativeTrainingPhrasesRequest;
|
|
311
|
+
|
|
312
|
+
serializeBinary(): Uint8Array;
|
|
313
|
+
toObject(includeInstance?: boolean): GetAlternativeTrainingPhrasesRequest.AsObject;
|
|
314
|
+
static toObject(includeInstance: boolean, msg: GetAlternativeTrainingPhrasesRequest): GetAlternativeTrainingPhrasesRequest.AsObject;
|
|
315
|
+
static serializeBinaryToWriter(message: GetAlternativeTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
316
|
+
static deserializeBinary(bytes: Uint8Array): GetAlternativeTrainingPhrasesRequest;
|
|
317
|
+
static deserializeBinaryFromReader(message: GetAlternativeTrainingPhrasesRequest, reader: jspb.BinaryReader): GetAlternativeTrainingPhrasesRequest;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export namespace GetAlternativeTrainingPhrasesRequest {
|
|
321
|
+
export type AsObject = {
|
|
322
|
+
config?: DataEnrichmentConfig.AsObject,
|
|
323
|
+
trainingPhrase?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.AsObject,
|
|
324
|
+
intentName: string,
|
|
325
|
+
languageCode: string,
|
|
326
|
+
parent: string,
|
|
327
|
+
detectEntities: boolean,
|
|
328
|
+
similarityThreshold: number,
|
|
329
|
+
protectedWordsList: Array<string>,
|
|
330
|
+
wordsToChangeList: Array<string>,
|
|
331
|
+
branch: string,
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export class GetSynonymsRequest extends jspb.Message {
|
|
336
|
+
getConfig(): DataEnrichmentConfig | undefined;
|
|
337
|
+
setConfig(value?: DataEnrichmentConfig): GetSynonymsRequest;
|
|
338
|
+
hasConfig(): boolean;
|
|
339
|
+
clearConfig(): GetSynonymsRequest;
|
|
340
|
+
|
|
341
|
+
getWord(): string;
|
|
342
|
+
setWord(value: string): GetSynonymsRequest;
|
|
343
|
+
|
|
344
|
+
getLanguageCode(): string;
|
|
345
|
+
setLanguageCode(value: string): GetSynonymsRequest;
|
|
346
|
+
|
|
347
|
+
getParent(): string;
|
|
348
|
+
setParent(value: string): GetSynonymsRequest;
|
|
349
|
+
|
|
350
|
+
serializeBinary(): Uint8Array;
|
|
351
|
+
toObject(includeInstance?: boolean): GetSynonymsRequest.AsObject;
|
|
352
|
+
static toObject(includeInstance: boolean, msg: GetSynonymsRequest): GetSynonymsRequest.AsObject;
|
|
353
|
+
static serializeBinaryToWriter(message: GetSynonymsRequest, writer: jspb.BinaryWriter): void;
|
|
354
|
+
static deserializeBinary(bytes: Uint8Array): GetSynonymsRequest;
|
|
355
|
+
static deserializeBinaryFromReader(message: GetSynonymsRequest, reader: jspb.BinaryReader): GetSynonymsRequest;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export namespace GetSynonymsRequest {
|
|
359
|
+
export type AsObject = {
|
|
360
|
+
config?: DataEnrichmentConfig.AsObject,
|
|
361
|
+
word: string,
|
|
362
|
+
languageCode: string,
|
|
363
|
+
parent: string,
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export class GetSynonymsResponse extends jspb.Message {
|
|
368
|
+
getSynonymsList(): Array<Synonym>;
|
|
369
|
+
setSynonymsList(value: Array<Synonym>): GetSynonymsResponse;
|
|
370
|
+
clearSynonymsList(): GetSynonymsResponse;
|
|
371
|
+
addSynonyms(value?: Synonym, index?: number): Synonym;
|
|
372
|
+
|
|
373
|
+
serializeBinary(): Uint8Array;
|
|
374
|
+
toObject(includeInstance?: boolean): GetSynonymsResponse.AsObject;
|
|
375
|
+
static toObject(includeInstance: boolean, msg: GetSynonymsResponse): GetSynonymsResponse.AsObject;
|
|
376
|
+
static serializeBinaryToWriter(message: GetSynonymsResponse, writer: jspb.BinaryWriter): void;
|
|
377
|
+
static deserializeBinary(bytes: Uint8Array): GetSynonymsResponse;
|
|
378
|
+
static deserializeBinaryFromReader(message: GetSynonymsResponse, reader: jspb.BinaryReader): GetSynonymsResponse;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export namespace GetSynonymsResponse {
|
|
382
|
+
export type AsObject = {
|
|
383
|
+
synonymsList: Array<Synonym.AsObject>,
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export class Synonym extends jspb.Message {
|
|
388
|
+
getSynonym(): string;
|
|
389
|
+
setSynonym(value: string): Synonym;
|
|
390
|
+
|
|
391
|
+
getScore(): number;
|
|
392
|
+
setScore(value: number): Synonym;
|
|
393
|
+
|
|
394
|
+
serializeBinary(): Uint8Array;
|
|
395
|
+
toObject(includeInstance?: boolean): Synonym.AsObject;
|
|
396
|
+
static toObject(includeInstance: boolean, msg: Synonym): Synonym.AsObject;
|
|
397
|
+
static serializeBinaryToWriter(message: Synonym, writer: jspb.BinaryWriter): void;
|
|
398
|
+
static deserializeBinary(bytes: Uint8Array): Synonym;
|
|
399
|
+
static deserializeBinaryFromReader(message: Synonym, reader: jspb.BinaryReader): Synonym;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export namespace Synonym {
|
|
403
|
+
export type AsObject = {
|
|
404
|
+
synonym: string,
|
|
405
|
+
score: number,
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export class GetAlternativeSentencesResponse extends jspb.Message {
|
|
410
|
+
getAlternativeSentencesList(): Array<AltSentence>;
|
|
411
|
+
setAlternativeSentencesList(value: Array<AltSentence>): GetAlternativeSentencesResponse;
|
|
412
|
+
clearAlternativeSentencesList(): GetAlternativeSentencesResponse;
|
|
413
|
+
addAlternativeSentences(value?: AltSentence, index?: number): AltSentence;
|
|
414
|
+
|
|
415
|
+
serializeBinary(): Uint8Array;
|
|
416
|
+
toObject(includeInstance?: boolean): GetAlternativeSentencesResponse.AsObject;
|
|
417
|
+
static toObject(includeInstance: boolean, msg: GetAlternativeSentencesResponse): GetAlternativeSentencesResponse.AsObject;
|
|
418
|
+
static serializeBinaryToWriter(message: GetAlternativeSentencesResponse, writer: jspb.BinaryWriter): void;
|
|
419
|
+
static deserializeBinary(bytes: Uint8Array): GetAlternativeSentencesResponse;
|
|
420
|
+
static deserializeBinaryFromReader(message: GetAlternativeSentencesResponse, reader: jspb.BinaryReader): GetAlternativeSentencesResponse;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export namespace GetAlternativeSentencesResponse {
|
|
424
|
+
export type AsObject = {
|
|
425
|
+
alternativeSentencesList: Array<AltSentence.AsObject>,
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export class GenerateResponsesResponse extends jspb.Message {
|
|
430
|
+
getResponsesList(): Array<string>;
|
|
431
|
+
setResponsesList(value: Array<string>): GenerateResponsesResponse;
|
|
432
|
+
clearResponsesList(): GenerateResponsesResponse;
|
|
433
|
+
addResponses(value: string, index?: number): GenerateResponsesResponse;
|
|
434
|
+
|
|
435
|
+
serializeBinary(): Uint8Array;
|
|
436
|
+
toObject(includeInstance?: boolean): GenerateResponsesResponse.AsObject;
|
|
437
|
+
static toObject(includeInstance: boolean, msg: GenerateResponsesResponse): GenerateResponsesResponse.AsObject;
|
|
438
|
+
static serializeBinaryToWriter(message: GenerateResponsesResponse, writer: jspb.BinaryWriter): void;
|
|
439
|
+
static deserializeBinary(bytes: Uint8Array): GenerateResponsesResponse;
|
|
440
|
+
static deserializeBinaryFromReader(message: GenerateResponsesResponse, reader: jspb.BinaryReader): GenerateResponsesResponse;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export namespace GenerateResponsesResponse {
|
|
444
|
+
export type AsObject = {
|
|
445
|
+
responsesList: Array<string>,
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export class GenerateUserSaysResponse extends jspb.Message {
|
|
450
|
+
getUserSaysList(): Array<string>;
|
|
451
|
+
setUserSaysList(value: Array<string>): GenerateUserSaysResponse;
|
|
452
|
+
clearUserSaysList(): GenerateUserSaysResponse;
|
|
453
|
+
addUserSays(value: string, index?: number): GenerateUserSaysResponse;
|
|
454
|
+
|
|
455
|
+
serializeBinary(): Uint8Array;
|
|
456
|
+
toObject(includeInstance?: boolean): GenerateUserSaysResponse.AsObject;
|
|
457
|
+
static toObject(includeInstance: boolean, msg: GenerateUserSaysResponse): GenerateUserSaysResponse.AsObject;
|
|
458
|
+
static serializeBinaryToWriter(message: GenerateUserSaysResponse, writer: jspb.BinaryWriter): void;
|
|
459
|
+
static deserializeBinary(bytes: Uint8Array): GenerateUserSaysResponse;
|
|
460
|
+
static deserializeBinaryFromReader(message: GenerateUserSaysResponse, reader: jspb.BinaryReader): GenerateUserSaysResponse;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export namespace GenerateUserSaysResponse {
|
|
464
|
+
export type AsObject = {
|
|
465
|
+
userSaysList: Array<string>,
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export class GetAlternativeTrainingPhrasesResponse extends jspb.Message {
|
|
470
|
+
getAlternativeTrainingPhrasesList(): Array<AltTrainingPhrase>;
|
|
471
|
+
setAlternativeTrainingPhrasesList(value: Array<AltTrainingPhrase>): GetAlternativeTrainingPhrasesResponse;
|
|
472
|
+
clearAlternativeTrainingPhrasesList(): GetAlternativeTrainingPhrasesResponse;
|
|
473
|
+
addAlternativeTrainingPhrases(value?: AltTrainingPhrase, index?: number): AltTrainingPhrase;
|
|
474
|
+
|
|
475
|
+
serializeBinary(): Uint8Array;
|
|
476
|
+
toObject(includeInstance?: boolean): GetAlternativeTrainingPhrasesResponse.AsObject;
|
|
477
|
+
static toObject(includeInstance: boolean, msg: GetAlternativeTrainingPhrasesResponse): GetAlternativeTrainingPhrasesResponse.AsObject;
|
|
478
|
+
static serializeBinaryToWriter(message: GetAlternativeTrainingPhrasesResponse, writer: jspb.BinaryWriter): void;
|
|
479
|
+
static deserializeBinary(bytes: Uint8Array): GetAlternativeTrainingPhrasesResponse;
|
|
480
|
+
static deserializeBinaryFromReader(message: GetAlternativeTrainingPhrasesResponse, reader: jspb.BinaryReader): GetAlternativeTrainingPhrasesResponse;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
export namespace GetAlternativeTrainingPhrasesResponse {
|
|
484
|
+
export type AsObject = {
|
|
485
|
+
alternativeTrainingPhrasesList: Array<AltTrainingPhrase.AsObject>,
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export class AltSentence extends jspb.Message {
|
|
490
|
+
getSentence(): string;
|
|
491
|
+
setSentence(value: string): AltSentence;
|
|
492
|
+
|
|
493
|
+
getScore(): number;
|
|
494
|
+
setScore(value: number): AltSentence;
|
|
495
|
+
|
|
496
|
+
serializeBinary(): Uint8Array;
|
|
497
|
+
toObject(includeInstance?: boolean): AltSentence.AsObject;
|
|
498
|
+
static toObject(includeInstance: boolean, msg: AltSentence): AltSentence.AsObject;
|
|
499
|
+
static serializeBinaryToWriter(message: AltSentence, writer: jspb.BinaryWriter): void;
|
|
500
|
+
static deserializeBinary(bytes: Uint8Array): AltSentence;
|
|
501
|
+
static deserializeBinaryFromReader(message: AltSentence, reader: jspb.BinaryReader): AltSentence;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export namespace AltSentence {
|
|
505
|
+
export type AsObject = {
|
|
506
|
+
sentence: string,
|
|
507
|
+
score: number,
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export class AltTrainingPhrase extends jspb.Message {
|
|
512
|
+
getTrainingPhrase(): ondewo_nlu_intent_pb.Intent.TrainingPhrase | undefined;
|
|
513
|
+
setTrainingPhrase(value?: ondewo_nlu_intent_pb.Intent.TrainingPhrase): AltTrainingPhrase;
|
|
514
|
+
hasTrainingPhrase(): boolean;
|
|
515
|
+
clearTrainingPhrase(): AltTrainingPhrase;
|
|
516
|
+
|
|
517
|
+
getScore(): number;
|
|
518
|
+
setScore(value: number): AltTrainingPhrase;
|
|
519
|
+
|
|
520
|
+
serializeBinary(): Uint8Array;
|
|
521
|
+
toObject(includeInstance?: boolean): AltTrainingPhrase.AsObject;
|
|
522
|
+
static toObject(includeInstance: boolean, msg: AltTrainingPhrase): AltTrainingPhrase.AsObject;
|
|
523
|
+
static serializeBinaryToWriter(message: AltTrainingPhrase, writer: jspb.BinaryWriter): void;
|
|
524
|
+
static deserializeBinary(bytes: Uint8Array): AltTrainingPhrase;
|
|
525
|
+
static deserializeBinaryFromReader(message: AltTrainingPhrase, reader: jspb.BinaryReader): AltTrainingPhrase;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export namespace AltTrainingPhrase {
|
|
529
|
+
export type AsObject = {
|
|
530
|
+
trainingPhrase?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.AsObject,
|
|
531
|
+
score: number,
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export class DataEnrichmentConfig extends jspb.Message {
|
|
536
|
+
getEntityEnrichment(): EntityEnrichmentConfig | undefined;
|
|
537
|
+
setEntityEnrichment(value?: EntityEnrichmentConfig): DataEnrichmentConfig;
|
|
538
|
+
hasEntityEnrichment(): boolean;
|
|
539
|
+
clearEntityEnrichment(): DataEnrichmentConfig;
|
|
540
|
+
|
|
541
|
+
getThesaurusEnrichment(): ThesaurusEnrichmentConfig | undefined;
|
|
542
|
+
setThesaurusEnrichment(value?: ThesaurusEnrichmentConfig): DataEnrichmentConfig;
|
|
543
|
+
hasThesaurusEnrichment(): boolean;
|
|
544
|
+
clearThesaurusEnrichment(): DataEnrichmentConfig;
|
|
545
|
+
|
|
546
|
+
getWord2vecEnrichment(): Word2VecEnrichmentConfig | undefined;
|
|
547
|
+
setWord2vecEnrichment(value?: Word2VecEnrichmentConfig): DataEnrichmentConfig;
|
|
548
|
+
hasWord2vecEnrichment(): boolean;
|
|
549
|
+
clearWord2vecEnrichment(): DataEnrichmentConfig;
|
|
550
|
+
|
|
551
|
+
getWordNetEnrichment(): WordNetAugEnrichmentConfig | undefined;
|
|
552
|
+
setWordNetEnrichment(value?: WordNetAugEnrichmentConfig): DataEnrichmentConfig;
|
|
553
|
+
hasWordNetEnrichment(): boolean;
|
|
554
|
+
clearWordNetEnrichment(): DataEnrichmentConfig;
|
|
555
|
+
|
|
556
|
+
getGpt2Enrichment(): GPT2EnrichmentConfig | undefined;
|
|
557
|
+
setGpt2Enrichment(value?: GPT2EnrichmentConfig): DataEnrichmentConfig;
|
|
558
|
+
hasGpt2Enrichment(): boolean;
|
|
559
|
+
clearGpt2Enrichment(): DataEnrichmentConfig;
|
|
560
|
+
|
|
561
|
+
getGloveEnrichment(): GloVeEnrichmentConfig | undefined;
|
|
562
|
+
setGloveEnrichment(value?: GloVeEnrichmentConfig): DataEnrichmentConfig;
|
|
563
|
+
hasGloveEnrichment(): boolean;
|
|
564
|
+
clearGloveEnrichment(): DataEnrichmentConfig;
|
|
565
|
+
|
|
566
|
+
getBertEnrichment(): BertAugEnrichmentConfig | undefined;
|
|
567
|
+
setBertEnrichment(value?: BertAugEnrichmentConfig): DataEnrichmentConfig;
|
|
568
|
+
hasBertEnrichment(): boolean;
|
|
569
|
+
clearBertEnrichment(): DataEnrichmentConfig;
|
|
570
|
+
|
|
571
|
+
getXlnetEnrichment(): XLNetAugEnrichmentConfig | undefined;
|
|
572
|
+
setXlnetEnrichment(value?: XLNetAugEnrichmentConfig): DataEnrichmentConfig;
|
|
573
|
+
hasXlnetEnrichment(): boolean;
|
|
574
|
+
clearXlnetEnrichment(): DataEnrichmentConfig;
|
|
575
|
+
|
|
576
|
+
serializeBinary(): Uint8Array;
|
|
577
|
+
toObject(includeInstance?: boolean): DataEnrichmentConfig.AsObject;
|
|
578
|
+
static toObject(includeInstance: boolean, msg: DataEnrichmentConfig): DataEnrichmentConfig.AsObject;
|
|
579
|
+
static serializeBinaryToWriter(message: DataEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
580
|
+
static deserializeBinary(bytes: Uint8Array): DataEnrichmentConfig;
|
|
581
|
+
static deserializeBinaryFromReader(message: DataEnrichmentConfig, reader: jspb.BinaryReader): DataEnrichmentConfig;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export namespace DataEnrichmentConfig {
|
|
585
|
+
export type AsObject = {
|
|
586
|
+
entityEnrichment?: EntityEnrichmentConfig.AsObject,
|
|
587
|
+
thesaurusEnrichment?: ThesaurusEnrichmentConfig.AsObject,
|
|
588
|
+
word2vecEnrichment?: Word2VecEnrichmentConfig.AsObject,
|
|
589
|
+
wordNetEnrichment?: WordNetAugEnrichmentConfig.AsObject,
|
|
590
|
+
gpt2Enrichment?: GPT2EnrichmentConfig.AsObject,
|
|
591
|
+
gloveEnrichment?: GloVeEnrichmentConfig.AsObject,
|
|
592
|
+
bertEnrichment?: BertAugEnrichmentConfig.AsObject,
|
|
593
|
+
xlnetEnrichment?: XLNetAugEnrichmentConfig.AsObject,
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export class EntityEnrichmentConfig extends jspb.Message {
|
|
598
|
+
getIsActive(): boolean;
|
|
599
|
+
setIsActive(value: boolean): EntityEnrichmentConfig;
|
|
600
|
+
|
|
601
|
+
getEnrichmentFactor(): number;
|
|
602
|
+
setEnrichmentFactor(value: number): EntityEnrichmentConfig;
|
|
603
|
+
|
|
604
|
+
getExecutionOrder(): number;
|
|
605
|
+
setExecutionOrder(value: number): EntityEnrichmentConfig;
|
|
606
|
+
|
|
607
|
+
serializeBinary(): Uint8Array;
|
|
608
|
+
toObject(includeInstance?: boolean): EntityEnrichmentConfig.AsObject;
|
|
609
|
+
static toObject(includeInstance: boolean, msg: EntityEnrichmentConfig): EntityEnrichmentConfig.AsObject;
|
|
610
|
+
static serializeBinaryToWriter(message: EntityEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
611
|
+
static deserializeBinary(bytes: Uint8Array): EntityEnrichmentConfig;
|
|
612
|
+
static deserializeBinaryFromReader(message: EntityEnrichmentConfig, reader: jspb.BinaryReader): EntityEnrichmentConfig;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export namespace EntityEnrichmentConfig {
|
|
616
|
+
export type AsObject = {
|
|
617
|
+
isActive: boolean,
|
|
618
|
+
enrichmentFactor: number,
|
|
619
|
+
executionOrder: number,
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export class ThesaurusEnrichmentConfig extends jspb.Message {
|
|
624
|
+
getIsActive(): boolean;
|
|
625
|
+
setIsActive(value: boolean): ThesaurusEnrichmentConfig;
|
|
626
|
+
|
|
627
|
+
getEnrichmentFactor(): number;
|
|
628
|
+
setEnrichmentFactor(value: number): ThesaurusEnrichmentConfig;
|
|
629
|
+
|
|
630
|
+
getExecutionOrder(): number;
|
|
631
|
+
setExecutionOrder(value: number): ThesaurusEnrichmentConfig;
|
|
632
|
+
|
|
633
|
+
serializeBinary(): Uint8Array;
|
|
634
|
+
toObject(includeInstance?: boolean): ThesaurusEnrichmentConfig.AsObject;
|
|
635
|
+
static toObject(includeInstance: boolean, msg: ThesaurusEnrichmentConfig): ThesaurusEnrichmentConfig.AsObject;
|
|
636
|
+
static serializeBinaryToWriter(message: ThesaurusEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
637
|
+
static deserializeBinary(bytes: Uint8Array): ThesaurusEnrichmentConfig;
|
|
638
|
+
static deserializeBinaryFromReader(message: ThesaurusEnrichmentConfig, reader: jspb.BinaryReader): ThesaurusEnrichmentConfig;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export namespace ThesaurusEnrichmentConfig {
|
|
642
|
+
export type AsObject = {
|
|
643
|
+
isActive: boolean,
|
|
644
|
+
enrichmentFactor: number,
|
|
645
|
+
executionOrder: number,
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export class BertAugEnrichmentConfig extends jspb.Message {
|
|
650
|
+
getIsActive(): boolean;
|
|
651
|
+
setIsActive(value: boolean): BertAugEnrichmentConfig;
|
|
652
|
+
|
|
653
|
+
getEnrichmentFactor(): number;
|
|
654
|
+
setEnrichmentFactor(value: number): BertAugEnrichmentConfig;
|
|
655
|
+
|
|
656
|
+
getExecutionOrder(): number;
|
|
657
|
+
setExecutionOrder(value: number): BertAugEnrichmentConfig;
|
|
658
|
+
|
|
659
|
+
serializeBinary(): Uint8Array;
|
|
660
|
+
toObject(includeInstance?: boolean): BertAugEnrichmentConfig.AsObject;
|
|
661
|
+
static toObject(includeInstance: boolean, msg: BertAugEnrichmentConfig): BertAugEnrichmentConfig.AsObject;
|
|
662
|
+
static serializeBinaryToWriter(message: BertAugEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
663
|
+
static deserializeBinary(bytes: Uint8Array): BertAugEnrichmentConfig;
|
|
664
|
+
static deserializeBinaryFromReader(message: BertAugEnrichmentConfig, reader: jspb.BinaryReader): BertAugEnrichmentConfig;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
export namespace BertAugEnrichmentConfig {
|
|
668
|
+
export type AsObject = {
|
|
669
|
+
isActive: boolean,
|
|
670
|
+
enrichmentFactor: number,
|
|
671
|
+
executionOrder: number,
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export class GloVeEnrichmentConfig extends jspb.Message {
|
|
676
|
+
getIsActive(): boolean;
|
|
677
|
+
setIsActive(value: boolean): GloVeEnrichmentConfig;
|
|
678
|
+
|
|
679
|
+
getEnrichmentFactor(): number;
|
|
680
|
+
setEnrichmentFactor(value: number): GloVeEnrichmentConfig;
|
|
681
|
+
|
|
682
|
+
getExecutionOrder(): number;
|
|
683
|
+
setExecutionOrder(value: number): GloVeEnrichmentConfig;
|
|
684
|
+
|
|
685
|
+
serializeBinary(): Uint8Array;
|
|
686
|
+
toObject(includeInstance?: boolean): GloVeEnrichmentConfig.AsObject;
|
|
687
|
+
static toObject(includeInstance: boolean, msg: GloVeEnrichmentConfig): GloVeEnrichmentConfig.AsObject;
|
|
688
|
+
static serializeBinaryToWriter(message: GloVeEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
689
|
+
static deserializeBinary(bytes: Uint8Array): GloVeEnrichmentConfig;
|
|
690
|
+
static deserializeBinaryFromReader(message: GloVeEnrichmentConfig, reader: jspb.BinaryReader): GloVeEnrichmentConfig;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export namespace GloVeEnrichmentConfig {
|
|
694
|
+
export type AsObject = {
|
|
695
|
+
isActive: boolean,
|
|
696
|
+
enrichmentFactor: number,
|
|
697
|
+
executionOrder: number,
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export class GPT2EnrichmentConfig extends jspb.Message {
|
|
702
|
+
getIsActive(): boolean;
|
|
703
|
+
setIsActive(value: boolean): GPT2EnrichmentConfig;
|
|
704
|
+
|
|
705
|
+
getEnrichmentFactor(): number;
|
|
706
|
+
setEnrichmentFactor(value: number): GPT2EnrichmentConfig;
|
|
707
|
+
|
|
708
|
+
getExecutionOrder(): number;
|
|
709
|
+
setExecutionOrder(value: number): GPT2EnrichmentConfig;
|
|
710
|
+
|
|
711
|
+
serializeBinary(): Uint8Array;
|
|
712
|
+
toObject(includeInstance?: boolean): GPT2EnrichmentConfig.AsObject;
|
|
713
|
+
static toObject(includeInstance: boolean, msg: GPT2EnrichmentConfig): GPT2EnrichmentConfig.AsObject;
|
|
714
|
+
static serializeBinaryToWriter(message: GPT2EnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
715
|
+
static deserializeBinary(bytes: Uint8Array): GPT2EnrichmentConfig;
|
|
716
|
+
static deserializeBinaryFromReader(message: GPT2EnrichmentConfig, reader: jspb.BinaryReader): GPT2EnrichmentConfig;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export namespace GPT2EnrichmentConfig {
|
|
720
|
+
export type AsObject = {
|
|
721
|
+
isActive: boolean,
|
|
722
|
+
enrichmentFactor: number,
|
|
723
|
+
executionOrder: number,
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export class Word2VecEnrichmentConfig extends jspb.Message {
|
|
728
|
+
getIsActive(): boolean;
|
|
729
|
+
setIsActive(value: boolean): Word2VecEnrichmentConfig;
|
|
730
|
+
|
|
731
|
+
getEnrichmentFactor(): number;
|
|
732
|
+
setEnrichmentFactor(value: number): Word2VecEnrichmentConfig;
|
|
733
|
+
|
|
734
|
+
getExecutionOrder(): number;
|
|
735
|
+
setExecutionOrder(value: number): Word2VecEnrichmentConfig;
|
|
736
|
+
|
|
737
|
+
serializeBinary(): Uint8Array;
|
|
738
|
+
toObject(includeInstance?: boolean): Word2VecEnrichmentConfig.AsObject;
|
|
739
|
+
static toObject(includeInstance: boolean, msg: Word2VecEnrichmentConfig): Word2VecEnrichmentConfig.AsObject;
|
|
740
|
+
static serializeBinaryToWriter(message: Word2VecEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
741
|
+
static deserializeBinary(bytes: Uint8Array): Word2VecEnrichmentConfig;
|
|
742
|
+
static deserializeBinaryFromReader(message: Word2VecEnrichmentConfig, reader: jspb.BinaryReader): Word2VecEnrichmentConfig;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export namespace Word2VecEnrichmentConfig {
|
|
746
|
+
export type AsObject = {
|
|
747
|
+
isActive: boolean,
|
|
748
|
+
enrichmentFactor: number,
|
|
749
|
+
executionOrder: number,
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export class WordNetAugEnrichmentConfig extends jspb.Message {
|
|
754
|
+
getIsActive(): boolean;
|
|
755
|
+
setIsActive(value: boolean): WordNetAugEnrichmentConfig;
|
|
756
|
+
|
|
757
|
+
getEnrichmentFactor(): number;
|
|
758
|
+
setEnrichmentFactor(value: number): WordNetAugEnrichmentConfig;
|
|
759
|
+
|
|
760
|
+
getExecutionOrder(): number;
|
|
761
|
+
setExecutionOrder(value: number): WordNetAugEnrichmentConfig;
|
|
762
|
+
|
|
763
|
+
serializeBinary(): Uint8Array;
|
|
764
|
+
toObject(includeInstance?: boolean): WordNetAugEnrichmentConfig.AsObject;
|
|
765
|
+
static toObject(includeInstance: boolean, msg: WordNetAugEnrichmentConfig): WordNetAugEnrichmentConfig.AsObject;
|
|
766
|
+
static serializeBinaryToWriter(message: WordNetAugEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
767
|
+
static deserializeBinary(bytes: Uint8Array): WordNetAugEnrichmentConfig;
|
|
768
|
+
static deserializeBinaryFromReader(message: WordNetAugEnrichmentConfig, reader: jspb.BinaryReader): WordNetAugEnrichmentConfig;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export namespace WordNetAugEnrichmentConfig {
|
|
772
|
+
export type AsObject = {
|
|
773
|
+
isActive: boolean,
|
|
774
|
+
enrichmentFactor: number,
|
|
775
|
+
executionOrder: number,
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
export class XLNetAugEnrichmentConfig extends jspb.Message {
|
|
780
|
+
getIsActive(): boolean;
|
|
781
|
+
setIsActive(value: boolean): XLNetAugEnrichmentConfig;
|
|
782
|
+
|
|
783
|
+
getEnrichmentFactor(): number;
|
|
784
|
+
setEnrichmentFactor(value: number): XLNetAugEnrichmentConfig;
|
|
785
|
+
|
|
786
|
+
getExecutionOrder(): number;
|
|
787
|
+
setExecutionOrder(value: number): XLNetAugEnrichmentConfig;
|
|
788
|
+
|
|
789
|
+
serializeBinary(): Uint8Array;
|
|
790
|
+
toObject(includeInstance?: boolean): XLNetAugEnrichmentConfig.AsObject;
|
|
791
|
+
static toObject(includeInstance: boolean, msg: XLNetAugEnrichmentConfig): XLNetAugEnrichmentConfig.AsObject;
|
|
792
|
+
static serializeBinaryToWriter(message: XLNetAugEnrichmentConfig, writer: jspb.BinaryWriter): void;
|
|
793
|
+
static deserializeBinary(bytes: Uint8Array): XLNetAugEnrichmentConfig;
|
|
794
|
+
static deserializeBinaryFromReader(message: XLNetAugEnrichmentConfig, reader: jspb.BinaryReader): XLNetAugEnrichmentConfig;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export namespace XLNetAugEnrichmentConfig {
|
|
798
|
+
export type AsObject = {
|
|
799
|
+
isActive: boolean,
|
|
800
|
+
enrichmentFactor: number,
|
|
801
|
+
executionOrder: number,
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export class ClassifyIntentsRequest extends jspb.Message {
|
|
806
|
+
getParent(): string;
|
|
807
|
+
setParent(value: string): ClassifyIntentsRequest;
|
|
808
|
+
|
|
809
|
+
getText(): string;
|
|
810
|
+
setText(value: string): ClassifyIntentsRequest;
|
|
811
|
+
|
|
812
|
+
getLanguageCode(): string;
|
|
813
|
+
setLanguageCode(value: string): ClassifyIntentsRequest;
|
|
814
|
+
|
|
815
|
+
getActiveContexts(): boolean;
|
|
816
|
+
setActiveContexts(value: boolean): ClassifyIntentsRequest;
|
|
817
|
+
|
|
818
|
+
getContextNamesList(): Array<string>;
|
|
819
|
+
setContextNamesList(value: Array<string>): ClassifyIntentsRequest;
|
|
820
|
+
clearContextNamesList(): ClassifyIntentsRequest;
|
|
821
|
+
addContextNames(value: string, index?: number): ClassifyIntentsRequest;
|
|
822
|
+
|
|
823
|
+
getMode(): Mode;
|
|
824
|
+
setMode(value: Mode): ClassifyIntentsRequest;
|
|
825
|
+
|
|
826
|
+
getAlgorithmsList(): Array<IntentAlgorithms>;
|
|
827
|
+
setAlgorithmsList(value: Array<IntentAlgorithms>): ClassifyIntentsRequest;
|
|
828
|
+
clearAlgorithmsList(): ClassifyIntentsRequest;
|
|
829
|
+
addAlgorithms(value: IntentAlgorithms, index?: number): ClassifyIntentsRequest;
|
|
830
|
+
|
|
831
|
+
serializeBinary(): Uint8Array;
|
|
832
|
+
toObject(includeInstance?: boolean): ClassifyIntentsRequest.AsObject;
|
|
833
|
+
static toObject(includeInstance: boolean, msg: ClassifyIntentsRequest): ClassifyIntentsRequest.AsObject;
|
|
834
|
+
static serializeBinaryToWriter(message: ClassifyIntentsRequest, writer: jspb.BinaryWriter): void;
|
|
835
|
+
static deserializeBinary(bytes: Uint8Array): ClassifyIntentsRequest;
|
|
836
|
+
static deserializeBinaryFromReader(message: ClassifyIntentsRequest, reader: jspb.BinaryReader): ClassifyIntentsRequest;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export namespace ClassifyIntentsRequest {
|
|
840
|
+
export type AsObject = {
|
|
841
|
+
parent: string,
|
|
842
|
+
text: string,
|
|
843
|
+
languageCode: string,
|
|
844
|
+
activeContexts: boolean,
|
|
845
|
+
contextNamesList: Array<string>,
|
|
846
|
+
mode: Mode,
|
|
847
|
+
algorithmsList: Array<IntentAlgorithms>,
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
export class IntentClassified extends jspb.Message {
|
|
852
|
+
getIntentName(): string;
|
|
853
|
+
setIntentName(value: string): IntentClassified;
|
|
854
|
+
|
|
855
|
+
getIntentDisplayName(): string;
|
|
856
|
+
setIntentDisplayName(value: string): IntentClassified;
|
|
857
|
+
|
|
858
|
+
getClassifier(): string;
|
|
859
|
+
setClassifier(value: string): IntentClassified;
|
|
860
|
+
|
|
861
|
+
getScore(): number;
|
|
862
|
+
setScore(value: number): IntentClassified;
|
|
863
|
+
|
|
864
|
+
serializeBinary(): Uint8Array;
|
|
865
|
+
toObject(includeInstance?: boolean): IntentClassified.AsObject;
|
|
866
|
+
static toObject(includeInstance: boolean, msg: IntentClassified): IntentClassified.AsObject;
|
|
867
|
+
static serializeBinaryToWriter(message: IntentClassified, writer: jspb.BinaryWriter): void;
|
|
868
|
+
static deserializeBinary(bytes: Uint8Array): IntentClassified;
|
|
869
|
+
static deserializeBinaryFromReader(message: IntentClassified, reader: jspb.BinaryReader): IntentClassified;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export namespace IntentClassified {
|
|
873
|
+
export type AsObject = {
|
|
874
|
+
intentName: string,
|
|
875
|
+
intentDisplayName: string,
|
|
876
|
+
classifier: string,
|
|
877
|
+
score: number,
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export class ClassifyIntentsResponse extends jspb.Message {
|
|
882
|
+
getIntentsClassifiedList(): Array<IntentClassified>;
|
|
883
|
+
setIntentsClassifiedList(value: Array<IntentClassified>): ClassifyIntentsResponse;
|
|
884
|
+
clearIntentsClassifiedList(): ClassifyIntentsResponse;
|
|
885
|
+
addIntentsClassified(value?: IntentClassified, index?: number): IntentClassified;
|
|
886
|
+
|
|
887
|
+
getText(): string;
|
|
888
|
+
setText(value: string): ClassifyIntentsResponse;
|
|
889
|
+
|
|
890
|
+
getActiveContexts(): boolean;
|
|
891
|
+
setActiveContexts(value: boolean): ClassifyIntentsResponse;
|
|
892
|
+
|
|
893
|
+
getContextNamesList(): Array<string>;
|
|
894
|
+
setContextNamesList(value: Array<string>): ClassifyIntentsResponse;
|
|
895
|
+
clearContextNamesList(): ClassifyIntentsResponse;
|
|
896
|
+
addContextNames(value: string, index?: number): ClassifyIntentsResponse;
|
|
897
|
+
|
|
898
|
+
serializeBinary(): Uint8Array;
|
|
899
|
+
toObject(includeInstance?: boolean): ClassifyIntentsResponse.AsObject;
|
|
900
|
+
static toObject(includeInstance: boolean, msg: ClassifyIntentsResponse): ClassifyIntentsResponse.AsObject;
|
|
901
|
+
static serializeBinaryToWriter(message: ClassifyIntentsResponse, writer: jspb.BinaryWriter): void;
|
|
902
|
+
static deserializeBinary(bytes: Uint8Array): ClassifyIntentsResponse;
|
|
903
|
+
static deserializeBinaryFromReader(message: ClassifyIntentsResponse, reader: jspb.BinaryReader): ClassifyIntentsResponse;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
export namespace ClassifyIntentsResponse {
|
|
907
|
+
export type AsObject = {
|
|
908
|
+
intentsClassifiedList: Array<IntentClassified.AsObject>,
|
|
909
|
+
text: string,
|
|
910
|
+
activeContexts: boolean,
|
|
911
|
+
contextNamesList: Array<string>,
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export enum Mode {
|
|
916
|
+
UNSPECIFIED = 0,
|
|
917
|
+
EXCLUSIVE = 1,
|
|
918
|
+
INCLUSIVE = 2,
|
|
919
|
+
}
|
|
920
|
+
export enum IntentAlgorithms {
|
|
921
|
+
ONDEWOINTENTEXACTCONTEXTDETECTOR = 0,
|
|
922
|
+
ONDEWOINTENTEXACTMATCH = 1,
|
|
923
|
+
ONDEWOINTENTNAMEDEXACTMATCH = 2,
|
|
924
|
+
ONDEWOINTENTSIMILARITYMATCH = 3,
|
|
925
|
+
ONDEWOINTENTNAMEDSIMILARITYMATCH = 4,
|
|
926
|
+
ONDEWOINTENTBERTCLASSIFIER = 7,
|
|
927
|
+
ONDEWOINTENTMETACLASSIFIER = 8,
|
|
928
|
+
INTENTEXITDETECTOR = 10,
|
|
929
|
+
ONDEWOINTENTRANKINGMATCH = 11,
|
|
930
|
+
ONDEWOWEIGHTEDENSEMBLE = 13,
|
|
931
|
+
ONDEWOINTENTEXITDETECTOR = 14,
|
|
932
|
+
ONDEWOINTENTPARAMETERMATCH = 15,
|
|
933
|
+
}
|