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