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