@ondewo/nlu-client-typescript 3.5.2 → 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 -478
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1143 -1213
- package/api/ondewo/nlu/agent_pb.d.ts +1965 -1672
- package/api/ondewo/nlu/agent_pb.js +9401 -10036
- 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 +746 -671
- package/api/ondewo/nlu/aiservices_pb.js +3648 -4383
- 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 +892 -1045
- 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 -460
- package/api/ondewo/nlu/session_pb.d.ts +1132 -867
- package/api/ondewo/nlu/session_pb.js +5960 -5662
- 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,933 +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;
|
|
84
|
+
|
|
85
|
+
getMinimalScore(): number;
|
|
86
|
+
setMinimalScore(value: number): EntityTypeFuzzyNerConfig;
|
|
79
87
|
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
getEntityValuesList(): Array<string>;
|
|
89
|
+
setEntityValuesList(value: Array<string>): EntityTypeFuzzyNerConfig;
|
|
90
|
+
clearEntityValuesList(): EntityTypeFuzzyNerConfig;
|
|
91
|
+
addEntityValues(value: string, index?: number): EntityTypeFuzzyNerConfig;
|
|
82
92
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
clearEntityValuesList(): EntityTypeFuzzyNerConfig;
|
|
86
|
-
addEntityValues(value: string, index?: number): EntityTypeFuzzyNerConfig;
|
|
93
|
+
getAlgorithm(): EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm;
|
|
94
|
+
setAlgorithm(value: EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm): EntityTypeFuzzyNerConfig;
|
|
87
95
|
|
|
88
|
-
|
|
89
|
-
|
|
96
|
+
getAllowOverlaps(): boolean;
|
|
97
|
+
setAllowOverlaps(value: boolean): EntityTypeFuzzyNerConfig;
|
|
90
98
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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;
|
|
97
108
|
}
|
|
98
109
|
|
|
99
110
|
export namespace EntityTypeFuzzyNerConfig {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
+
};
|
|
106
118
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
119
|
+
export enum FuzzyNerAlgorithm {
|
|
120
|
+
PREFILTER_LEVENSHTEIN = 0,
|
|
121
|
+
LOCAL_MAXIMUM = 1
|
|
122
|
+
}
|
|
111
123
|
}
|
|
112
124
|
|
|
113
125
|
export class EntityDetected extends jspb.Message {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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;
|
|
118
130
|
|
|
119
|
-
|
|
120
|
-
|
|
131
|
+
getExtractionMethod(): string;
|
|
132
|
+
setExtractionMethod(value: string): EntityDetected;
|
|
121
133
|
|
|
122
|
-
|
|
123
|
-
|
|
134
|
+
getScore(): number;
|
|
135
|
+
setScore(value: number): EntityDetected;
|
|
124
136
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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;
|
|
131
143
|
}
|
|
132
144
|
|
|
133
145
|
export namespace EntityDetected {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
146
|
+
export type AsObject = {
|
|
147
|
+
entity?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.Entity.AsObject;
|
|
148
|
+
extractionMethod: string;
|
|
149
|
+
score: number;
|
|
150
|
+
};
|
|
139
151
|
}
|
|
140
152
|
|
|
141
153
|
export class ExtractEntitiesResponse extends jspb.Message {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
154
|
+
getEntitiesDetectedList(): Array<EntityDetected>;
|
|
155
|
+
setEntitiesDetectedList(value: Array<EntityDetected>): ExtractEntitiesResponse;
|
|
156
|
+
clearEntitiesDetectedList(): ExtractEntitiesResponse;
|
|
157
|
+
addEntitiesDetected(value?: EntityDetected, index?: number): EntityDetected;
|
|
146
158
|
|
|
147
|
-
|
|
148
|
-
|
|
159
|
+
getText(): string;
|
|
160
|
+
setText(value: string): ExtractEntitiesResponse;
|
|
149
161
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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;
|
|
156
171
|
}
|
|
157
172
|
|
|
158
173
|
export namespace ExtractEntitiesResponse {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
174
|
+
export type AsObject = {
|
|
175
|
+
entitiesDetectedList: Array<EntityDetected.AsObject>;
|
|
176
|
+
text: string;
|
|
177
|
+
};
|
|
163
178
|
}
|
|
164
179
|
|
|
165
180
|
export class GetAlternativeSentencesRequest extends jspb.Message {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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
|
-
|
|
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;
|
|
196
217
|
}
|
|
197
218
|
|
|
198
219
|
export namespace GetAlternativeSentencesRequest {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
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
|
+
};
|
|
207
228
|
}
|
|
208
229
|
|
|
209
230
|
export class GenerateUserSaysRequest extends jspb.Message {
|
|
210
|
-
|
|
211
|
-
|
|
231
|
+
getLanguageCode(): string;
|
|
232
|
+
setLanguageCode(value: string): GenerateUserSaysRequest;
|
|
212
233
|
|
|
213
|
-
|
|
214
|
-
|
|
234
|
+
getParent(): string;
|
|
235
|
+
setParent(value: string): GenerateUserSaysRequest;
|
|
215
236
|
|
|
216
|
-
|
|
217
|
-
|
|
237
|
+
getNRepeatSynonym(): number;
|
|
238
|
+
setNRepeatSynonym(value: number): GenerateUserSaysRequest;
|
|
218
239
|
|
|
219
|
-
|
|
220
|
-
|
|
240
|
+
getBranch(): string;
|
|
241
|
+
setBranch(value: string): GenerateUserSaysRequest;
|
|
221
242
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
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;
|
|
228
252
|
}
|
|
229
253
|
|
|
230
254
|
export namespace GenerateUserSaysRequest {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
255
|
+
export type AsObject = {
|
|
256
|
+
languageCode: string;
|
|
257
|
+
parent: string;
|
|
258
|
+
nRepeatSynonym: number;
|
|
259
|
+
branch: string;
|
|
260
|
+
};
|
|
237
261
|
}
|
|
238
262
|
|
|
239
263
|
export class GenerateResponsesRequest extends jspb.Message {
|
|
240
|
-
|
|
241
|
-
|
|
264
|
+
getLanguageCode(): string;
|
|
265
|
+
setLanguageCode(value: string): GenerateResponsesRequest;
|
|
242
266
|
|
|
243
|
-
|
|
244
|
-
|
|
267
|
+
getParent(): string;
|
|
268
|
+
setParent(value: string): GenerateResponsesRequest;
|
|
245
269
|
|
|
246
|
-
|
|
247
|
-
|
|
270
|
+
getNRepeatSynonym(): number;
|
|
271
|
+
setNRepeatSynonym(value: number): GenerateResponsesRequest;
|
|
248
272
|
|
|
249
|
-
|
|
250
|
-
|
|
273
|
+
getBranch(): string;
|
|
274
|
+
setBranch(value: string): GenerateResponsesRequest;
|
|
251
275
|
|
|
252
|
-
|
|
253
|
-
|
|
276
|
+
getDropUnknownParameters(): boolean;
|
|
277
|
+
setDropUnknownParameters(value: boolean): GenerateResponsesRequest;
|
|
254
278
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
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;
|
|
261
288
|
}
|
|
262
289
|
|
|
263
290
|
export namespace GenerateResponsesRequest {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
291
|
+
export type AsObject = {
|
|
292
|
+
languageCode: string;
|
|
293
|
+
parent: string;
|
|
294
|
+
nRepeatSynonym: number;
|
|
295
|
+
branch: string;
|
|
296
|
+
dropUnknownParameters: boolean;
|
|
297
|
+
};
|
|
271
298
|
}
|
|
272
299
|
|
|
273
300
|
export class GetAlternativeTrainingPhrasesRequest extends jspb.Message {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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
|
-
|
|
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;
|
|
318
351
|
}
|
|
319
352
|
|
|
320
353
|
export namespace GetAlternativeTrainingPhrasesRequest {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
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
|
+
};
|
|
333
366
|
}
|
|
334
367
|
|
|
335
368
|
export class GetSynonymsRequest extends jspb.Message {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
369
|
+
getConfig(): DataEnrichmentConfig | undefined;
|
|
370
|
+
setConfig(value?: DataEnrichmentConfig): GetSynonymsRequest;
|
|
371
|
+
hasConfig(): boolean;
|
|
372
|
+
clearConfig(): GetSynonymsRequest;
|
|
340
373
|
|
|
341
|
-
|
|
342
|
-
|
|
374
|
+
getWord(): string;
|
|
375
|
+
setWord(value: string): GetSynonymsRequest;
|
|
343
376
|
|
|
344
|
-
|
|
345
|
-
|
|
377
|
+
getLanguageCode(): string;
|
|
378
|
+
setLanguageCode(value: string): GetSynonymsRequest;
|
|
346
379
|
|
|
347
|
-
|
|
348
|
-
|
|
380
|
+
getParent(): string;
|
|
381
|
+
setParent(value: string): GetSynonymsRequest;
|
|
349
382
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
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;
|
|
356
389
|
}
|
|
357
390
|
|
|
358
391
|
export namespace GetSynonymsRequest {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
392
|
+
export type AsObject = {
|
|
393
|
+
config?: DataEnrichmentConfig.AsObject;
|
|
394
|
+
word: string;
|
|
395
|
+
languageCode: string;
|
|
396
|
+
parent: string;
|
|
397
|
+
};
|
|
365
398
|
}
|
|
366
399
|
|
|
367
400
|
export class GetSynonymsResponse extends jspb.Message {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
401
|
+
getSynonymsList(): Array<Synonym>;
|
|
402
|
+
setSynonymsList(value: Array<Synonym>): GetSynonymsResponse;
|
|
403
|
+
clearSynonymsList(): GetSynonymsResponse;
|
|
404
|
+
addSynonyms(value?: Synonym, index?: number): Synonym;
|
|
372
405
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
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;
|
|
379
412
|
}
|
|
380
413
|
|
|
381
414
|
export namespace GetSynonymsResponse {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
415
|
+
export type AsObject = {
|
|
416
|
+
synonymsList: Array<Synonym.AsObject>;
|
|
417
|
+
};
|
|
385
418
|
}
|
|
386
419
|
|
|
387
420
|
export class Synonym extends jspb.Message {
|
|
388
|
-
|
|
389
|
-
|
|
421
|
+
getSynonym(): string;
|
|
422
|
+
setSynonym(value: string): Synonym;
|
|
390
423
|
|
|
391
|
-
|
|
392
|
-
|
|
424
|
+
getScore(): number;
|
|
425
|
+
setScore(value: number): Synonym;
|
|
393
426
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
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;
|
|
400
433
|
}
|
|
401
434
|
|
|
402
435
|
export namespace Synonym {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
436
|
+
export type AsObject = {
|
|
437
|
+
synonym: string;
|
|
438
|
+
score: number;
|
|
439
|
+
};
|
|
407
440
|
}
|
|
408
441
|
|
|
409
442
|
export class GetAlternativeSentencesResponse extends jspb.Message {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
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;
|
|
421
460
|
}
|
|
422
461
|
|
|
423
462
|
export namespace GetAlternativeSentencesResponse {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
463
|
+
export type AsObject = {
|
|
464
|
+
alternativeSentencesList: Array<AltSentence.AsObject>;
|
|
465
|
+
};
|
|
427
466
|
}
|
|
428
467
|
|
|
429
468
|
export class GenerateResponsesResponse extends jspb.Message {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
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;
|
|
441
483
|
}
|
|
442
484
|
|
|
443
485
|
export namespace GenerateResponsesResponse {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
486
|
+
export type AsObject = {
|
|
487
|
+
responsesList: Array<string>;
|
|
488
|
+
};
|
|
447
489
|
}
|
|
448
490
|
|
|
449
491
|
export class GenerateUserSaysResponse extends jspb.Message {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
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;
|
|
461
506
|
}
|
|
462
507
|
|
|
463
508
|
export namespace GenerateUserSaysResponse {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
509
|
+
export type AsObject = {
|
|
510
|
+
userSaysList: Array<string>;
|
|
511
|
+
};
|
|
467
512
|
}
|
|
468
513
|
|
|
469
514
|
export class GetAlternativeTrainingPhrasesResponse extends jspb.Message {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
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;
|
|
481
532
|
}
|
|
482
533
|
|
|
483
534
|
export namespace GetAlternativeTrainingPhrasesResponse {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
535
|
+
export type AsObject = {
|
|
536
|
+
alternativeTrainingPhrasesList: Array<AltTrainingPhrase.AsObject>;
|
|
537
|
+
};
|
|
487
538
|
}
|
|
488
539
|
|
|
489
540
|
export class AltSentence extends jspb.Message {
|
|
490
|
-
|
|
491
|
-
|
|
541
|
+
getSentence(): string;
|
|
542
|
+
setSentence(value: string): AltSentence;
|
|
492
543
|
|
|
493
|
-
|
|
494
|
-
|
|
544
|
+
getScore(): number;
|
|
545
|
+
setScore(value: number): AltSentence;
|
|
495
546
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
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;
|
|
502
553
|
}
|
|
503
554
|
|
|
504
555
|
export namespace AltSentence {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
556
|
+
export type AsObject = {
|
|
557
|
+
sentence: string;
|
|
558
|
+
score: number;
|
|
559
|
+
};
|
|
509
560
|
}
|
|
510
561
|
|
|
511
562
|
export class AltTrainingPhrase extends jspb.Message {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
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;
|
|
516
567
|
|
|
517
|
-
|
|
518
|
-
|
|
568
|
+
getScore(): number;
|
|
569
|
+
setScore(value: number): AltTrainingPhrase;
|
|
519
570
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
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;
|
|
526
577
|
}
|
|
527
578
|
|
|
528
579
|
export namespace AltTrainingPhrase {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
580
|
+
export type AsObject = {
|
|
581
|
+
trainingPhrase?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.AsObject;
|
|
582
|
+
score: number;
|
|
583
|
+
};
|
|
533
584
|
}
|
|
534
585
|
|
|
535
586
|
export class DataEnrichmentConfig extends jspb.Message {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
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
|
-
|
|
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;
|
|
582
633
|
}
|
|
583
634
|
|
|
584
635
|
export namespace DataEnrichmentConfig {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
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
|
+
};
|
|
595
646
|
}
|
|
596
647
|
|
|
597
648
|
export class EntityEnrichmentConfig extends jspb.Message {
|
|
598
|
-
|
|
599
|
-
|
|
649
|
+
getIsActive(): boolean;
|
|
650
|
+
setIsActive(value: boolean): EntityEnrichmentConfig;
|
|
600
651
|
|
|
601
|
-
|
|
602
|
-
|
|
652
|
+
getEnrichmentFactor(): number;
|
|
653
|
+
setEnrichmentFactor(value: number): EntityEnrichmentConfig;
|
|
603
654
|
|
|
604
|
-
|
|
605
|
-
|
|
655
|
+
getExecutionOrder(): number;
|
|
656
|
+
setExecutionOrder(value: number): EntityEnrichmentConfig;
|
|
606
657
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
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;
|
|
613
667
|
}
|
|
614
668
|
|
|
615
669
|
export namespace EntityEnrichmentConfig {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
670
|
+
export type AsObject = {
|
|
671
|
+
isActive: boolean;
|
|
672
|
+
enrichmentFactor: number;
|
|
673
|
+
executionOrder: number;
|
|
674
|
+
};
|
|
621
675
|
}
|
|
622
676
|
|
|
623
677
|
export class ThesaurusEnrichmentConfig extends jspb.Message {
|
|
624
|
-
|
|
625
|
-
|
|
678
|
+
getIsActive(): boolean;
|
|
679
|
+
setIsActive(value: boolean): ThesaurusEnrichmentConfig;
|
|
626
680
|
|
|
627
|
-
|
|
628
|
-
|
|
681
|
+
getEnrichmentFactor(): number;
|
|
682
|
+
setEnrichmentFactor(value: number): ThesaurusEnrichmentConfig;
|
|
629
683
|
|
|
630
|
-
|
|
631
|
-
|
|
684
|
+
getExecutionOrder(): number;
|
|
685
|
+
setExecutionOrder(value: number): ThesaurusEnrichmentConfig;
|
|
632
686
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
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;
|
|
639
696
|
}
|
|
640
697
|
|
|
641
698
|
export namespace ThesaurusEnrichmentConfig {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
699
|
+
export type AsObject = {
|
|
700
|
+
isActive: boolean;
|
|
701
|
+
enrichmentFactor: number;
|
|
702
|
+
executionOrder: number;
|
|
703
|
+
};
|
|
647
704
|
}
|
|
648
705
|
|
|
649
706
|
export class BertAugEnrichmentConfig extends jspb.Message {
|
|
650
|
-
|
|
651
|
-
|
|
707
|
+
getIsActive(): boolean;
|
|
708
|
+
setIsActive(value: boolean): BertAugEnrichmentConfig;
|
|
652
709
|
|
|
653
|
-
|
|
654
|
-
|
|
710
|
+
getEnrichmentFactor(): number;
|
|
711
|
+
setEnrichmentFactor(value: number): BertAugEnrichmentConfig;
|
|
655
712
|
|
|
656
|
-
|
|
657
|
-
|
|
713
|
+
getExecutionOrder(): number;
|
|
714
|
+
setExecutionOrder(value: number): BertAugEnrichmentConfig;
|
|
658
715
|
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
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;
|
|
665
725
|
}
|
|
666
726
|
|
|
667
727
|
export namespace BertAugEnrichmentConfig {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
728
|
+
export type AsObject = {
|
|
729
|
+
isActive: boolean;
|
|
730
|
+
enrichmentFactor: number;
|
|
731
|
+
executionOrder: number;
|
|
732
|
+
};
|
|
673
733
|
}
|
|
674
734
|
|
|
675
735
|
export class GloVeEnrichmentConfig extends jspb.Message {
|
|
676
|
-
|
|
677
|
-
|
|
736
|
+
getIsActive(): boolean;
|
|
737
|
+
setIsActive(value: boolean): GloVeEnrichmentConfig;
|
|
678
738
|
|
|
679
|
-
|
|
680
|
-
|
|
739
|
+
getEnrichmentFactor(): number;
|
|
740
|
+
setEnrichmentFactor(value: number): GloVeEnrichmentConfig;
|
|
681
741
|
|
|
682
|
-
|
|
683
|
-
|
|
742
|
+
getExecutionOrder(): number;
|
|
743
|
+
setExecutionOrder(value: number): GloVeEnrichmentConfig;
|
|
684
744
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
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;
|
|
691
751
|
}
|
|
692
752
|
|
|
693
753
|
export namespace GloVeEnrichmentConfig {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
754
|
+
export type AsObject = {
|
|
755
|
+
isActive: boolean;
|
|
756
|
+
enrichmentFactor: number;
|
|
757
|
+
executionOrder: number;
|
|
758
|
+
};
|
|
699
759
|
}
|
|
700
760
|
|
|
701
761
|
export class GPT2EnrichmentConfig extends jspb.Message {
|
|
702
|
-
|
|
703
|
-
|
|
762
|
+
getIsActive(): boolean;
|
|
763
|
+
setIsActive(value: boolean): GPT2EnrichmentConfig;
|
|
704
764
|
|
|
705
|
-
|
|
706
|
-
|
|
765
|
+
getEnrichmentFactor(): number;
|
|
766
|
+
setEnrichmentFactor(value: number): GPT2EnrichmentConfig;
|
|
707
767
|
|
|
708
|
-
|
|
709
|
-
|
|
768
|
+
getExecutionOrder(): number;
|
|
769
|
+
setExecutionOrder(value: number): GPT2EnrichmentConfig;
|
|
710
770
|
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
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;
|
|
717
777
|
}
|
|
718
778
|
|
|
719
779
|
export namespace GPT2EnrichmentConfig {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
780
|
+
export type AsObject = {
|
|
781
|
+
isActive: boolean;
|
|
782
|
+
enrichmentFactor: number;
|
|
783
|
+
executionOrder: number;
|
|
784
|
+
};
|
|
725
785
|
}
|
|
726
786
|
|
|
727
787
|
export class Word2VecEnrichmentConfig extends jspb.Message {
|
|
728
|
-
|
|
729
|
-
|
|
788
|
+
getIsActive(): boolean;
|
|
789
|
+
setIsActive(value: boolean): Word2VecEnrichmentConfig;
|
|
730
790
|
|
|
731
|
-
|
|
732
|
-
|
|
791
|
+
getEnrichmentFactor(): number;
|
|
792
|
+
setEnrichmentFactor(value: number): Word2VecEnrichmentConfig;
|
|
733
793
|
|
|
734
|
-
|
|
735
|
-
|
|
794
|
+
getExecutionOrder(): number;
|
|
795
|
+
setExecutionOrder(value: number): Word2VecEnrichmentConfig;
|
|
736
796
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
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;
|
|
743
806
|
}
|
|
744
807
|
|
|
745
808
|
export namespace Word2VecEnrichmentConfig {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
809
|
+
export type AsObject = {
|
|
810
|
+
isActive: boolean;
|
|
811
|
+
enrichmentFactor: number;
|
|
812
|
+
executionOrder: number;
|
|
813
|
+
};
|
|
751
814
|
}
|
|
752
815
|
|
|
753
816
|
export class WordNetAugEnrichmentConfig extends jspb.Message {
|
|
754
|
-
|
|
755
|
-
|
|
817
|
+
getIsActive(): boolean;
|
|
818
|
+
setIsActive(value: boolean): WordNetAugEnrichmentConfig;
|
|
756
819
|
|
|
757
|
-
|
|
758
|
-
|
|
820
|
+
getEnrichmentFactor(): number;
|
|
821
|
+
setEnrichmentFactor(value: number): WordNetAugEnrichmentConfig;
|
|
759
822
|
|
|
760
|
-
|
|
761
|
-
|
|
823
|
+
getExecutionOrder(): number;
|
|
824
|
+
setExecutionOrder(value: number): WordNetAugEnrichmentConfig;
|
|
762
825
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
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;
|
|
769
835
|
}
|
|
770
836
|
|
|
771
837
|
export namespace WordNetAugEnrichmentConfig {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
838
|
+
export type AsObject = {
|
|
839
|
+
isActive: boolean;
|
|
840
|
+
enrichmentFactor: number;
|
|
841
|
+
executionOrder: number;
|
|
842
|
+
};
|
|
777
843
|
}
|
|
778
844
|
|
|
779
845
|
export class XLNetAugEnrichmentConfig extends jspb.Message {
|
|
780
|
-
|
|
781
|
-
|
|
846
|
+
getIsActive(): boolean;
|
|
847
|
+
setIsActive(value: boolean): XLNetAugEnrichmentConfig;
|
|
782
848
|
|
|
783
|
-
|
|
784
|
-
|
|
849
|
+
getEnrichmentFactor(): number;
|
|
850
|
+
setEnrichmentFactor(value: number): XLNetAugEnrichmentConfig;
|
|
785
851
|
|
|
786
|
-
|
|
787
|
-
|
|
852
|
+
getExecutionOrder(): number;
|
|
853
|
+
setExecutionOrder(value: number): XLNetAugEnrichmentConfig;
|
|
788
854
|
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
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;
|
|
795
864
|
}
|
|
796
865
|
|
|
797
866
|
export namespace XLNetAugEnrichmentConfig {
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
867
|
+
export type AsObject = {
|
|
868
|
+
isActive: boolean;
|
|
869
|
+
enrichmentFactor: number;
|
|
870
|
+
executionOrder: number;
|
|
871
|
+
};
|
|
803
872
|
}
|
|
804
873
|
|
|
805
874
|
export class ClassifyIntentsRequest extends jspb.Message {
|
|
806
|
-
|
|
807
|
-
|
|
875
|
+
getParent(): string;
|
|
876
|
+
setParent(value: string): ClassifyIntentsRequest;
|
|
808
877
|
|
|
809
|
-
|
|
810
|
-
|
|
878
|
+
getText(): string;
|
|
879
|
+
setText(value: string): ClassifyIntentsRequest;
|
|
811
880
|
|
|
812
|
-
|
|
813
|
-
|
|
881
|
+
getLanguageCode(): string;
|
|
882
|
+
setLanguageCode(value: string): ClassifyIntentsRequest;
|
|
814
883
|
|
|
815
|
-
|
|
816
|
-
|
|
884
|
+
getActiveContexts(): boolean;
|
|
885
|
+
setActiveContexts(value: boolean): ClassifyIntentsRequest;
|
|
817
886
|
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
887
|
+
getContextNamesList(): Array<string>;
|
|
888
|
+
setContextNamesList(value: Array<string>): ClassifyIntentsRequest;
|
|
889
|
+
clearContextNamesList(): ClassifyIntentsRequest;
|
|
890
|
+
addContextNames(value: string, index?: number): ClassifyIntentsRequest;
|
|
822
891
|
|
|
823
|
-
|
|
824
|
-
|
|
892
|
+
getMode(): Mode;
|
|
893
|
+
setMode(value: Mode): ClassifyIntentsRequest;
|
|
825
894
|
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
895
|
+
getAlgorithmsList(): Array<IntentAlgorithms>;
|
|
896
|
+
setAlgorithmsList(value: Array<IntentAlgorithms>): ClassifyIntentsRequest;
|
|
897
|
+
clearAlgorithmsList(): ClassifyIntentsRequest;
|
|
898
|
+
addAlgorithms(value: IntentAlgorithms, index?: number): ClassifyIntentsRequest;
|
|
830
899
|
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
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;
|
|
837
909
|
}
|
|
838
910
|
|
|
839
911
|
export namespace ClassifyIntentsRequest {
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
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
|
+
};
|
|
849
921
|
}
|
|
850
922
|
|
|
851
923
|
export class IntentClassified extends jspb.Message {
|
|
852
|
-
|
|
853
|
-
|
|
924
|
+
getIntentName(): string;
|
|
925
|
+
setIntentName(value: string): IntentClassified;
|
|
854
926
|
|
|
855
|
-
|
|
856
|
-
|
|
927
|
+
getIntentDisplayName(): string;
|
|
928
|
+
setIntentDisplayName(value: string): IntentClassified;
|
|
857
929
|
|
|
858
|
-
|
|
859
|
-
|
|
930
|
+
getClassifier(): string;
|
|
931
|
+
setClassifier(value: string): IntentClassified;
|
|
860
932
|
|
|
861
|
-
|
|
862
|
-
|
|
933
|
+
getScore(): number;
|
|
934
|
+
setScore(value: number): IntentClassified;
|
|
863
935
|
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
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;
|
|
870
942
|
}
|
|
871
943
|
|
|
872
944
|
export namespace IntentClassified {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
945
|
+
export type AsObject = {
|
|
946
|
+
intentName: string;
|
|
947
|
+
intentDisplayName: string;
|
|
948
|
+
classifier: string;
|
|
949
|
+
score: number;
|
|
950
|
+
};
|
|
879
951
|
}
|
|
880
952
|
|
|
881
953
|
export class ClassifyIntentsResponse extends jspb.Message {
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
954
|
+
getIntentsClassifiedList(): Array<IntentClassified>;
|
|
955
|
+
setIntentsClassifiedList(value: Array<IntentClassified>): ClassifyIntentsResponse;
|
|
956
|
+
clearIntentsClassifiedList(): ClassifyIntentsResponse;
|
|
957
|
+
addIntentsClassified(value?: IntentClassified, index?: number): IntentClassified;
|
|
886
958
|
|
|
887
|
-
|
|
888
|
-
|
|
959
|
+
getText(): string;
|
|
960
|
+
setText(value: string): ClassifyIntentsResponse;
|
|
889
961
|
|
|
890
|
-
|
|
891
|
-
|
|
962
|
+
getActiveContexts(): boolean;
|
|
963
|
+
setActiveContexts(value: boolean): ClassifyIntentsResponse;
|
|
892
964
|
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
965
|
+
getContextNamesList(): Array<string>;
|
|
966
|
+
setContextNamesList(value: Array<string>): ClassifyIntentsResponse;
|
|
967
|
+
clearContextNamesList(): ClassifyIntentsResponse;
|
|
968
|
+
addContextNames(value: string, index?: number): ClassifyIntentsResponse;
|
|
897
969
|
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
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;
|
|
904
979
|
}
|
|
905
980
|
|
|
906
981
|
export namespace ClassifyIntentsResponse {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
export enum Mode {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
}
|
|
920
|
-
export enum IntentAlgorithms {
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
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
|
|
933
1008
|
}
|