@ondewo/csi-client-angular 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/google/api/http.pb.d.ts +3 -3
- package/api/google/rpc/status.pb.d.ts +1 -1
- package/api/google/type/latlng.pb.d.ts +1 -1
- package/api/ondewo/csi/conversation.pb.d.ts +21 -17
- package/api/ondewo/nlu/agent.pb.d.ts +68 -68
- package/api/ondewo/nlu/agent.pbsc.d.ts +0 -81
- package/api/ondewo/nlu/aiservices.pb.d.ts +589 -48
- package/api/ondewo/nlu/aiservices.pbsc.d.ts +48 -0
- package/api/ondewo/nlu/ccai-project.pb.d.ts +135 -17
- package/api/ondewo/nlu/ccai-project.pbsc.d.ts +16 -0
- package/api/ondewo/nlu/common.pb.d.ts +36 -36
- package/api/ondewo/nlu/context.pb.d.ts +10 -10
- package/api/ondewo/nlu/entity-type.pb.d.ts +28 -28
- package/api/ondewo/nlu/intent.pb.d.ts +78 -78
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +1 -1
- package/api/ondewo/nlu/operations.pb.d.ts +7 -7
- package/api/ondewo/nlu/project-role.pb.d.ts +7 -7
- package/api/ondewo/nlu/project-statistics.pb.d.ts +4 -4
- package/api/ondewo/nlu/server-statistics.pb.d.ts +1 -1
- package/api/ondewo/nlu/session.pb.d.ts +743 -96
- package/api/ondewo/nlu/session.pbsc.d.ts +54 -6
- package/api/ondewo/nlu/user.pb.d.ts +30 -30
- package/api/ondewo/nlu/utility.pb.d.ts +22 -22
- package/api/ondewo/nlu/webhook.pb.d.ts +12 -12
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +869 -47
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +801 -44
- package/esm2022/api/google/api/http.pb.mjs +1 -1
- package/esm2022/api/google/rpc/status.pb.mjs +1 -1
- package/esm2022/api/google/type/latlng.pb.mjs +1 -1
- package/esm2022/api/ondewo/csi/conversation.pb.mjs +5 -1
- package/esm2022/api/ondewo/csi/conversation.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/agent.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/agent.pbsc.mjs +6 -157
- package/esm2022/api/ondewo/nlu/aiservices.pb.mjs +945 -19
- package/esm2022/api/ondewo/nlu/aiservices.pbsc.mjs +96 -6
- package/esm2022/api/ondewo/nlu/ccai-project.pb.mjs +205 -4
- package/esm2022/api/ondewo/nlu/ccai-project.pbsc.mjs +36 -6
- package/esm2022/api/ondewo/nlu/common.pb.mjs +58 -56
- package/esm2022/api/ondewo/nlu/context.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/context.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/entity-type.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/entity-type.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/intent.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/intent.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/operation-metadata.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/operations.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/operations.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/project-role.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/project-role.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/project-statistics.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/project-statistics.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/server-statistics.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/server-statistics.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/session.pb.mjs +2040 -738
- package/esm2022/api/ondewo/nlu/session.pbsc.mjs +106 -16
- package/esm2022/api/ondewo/nlu/user.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/user.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/utility.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/utility.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/nlu/webhook.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/webhook.pbsc.mjs +5 -5
- package/esm2022/api/ondewo/s2t/speech-to-text.pb.mjs +2907 -1266
- package/esm2022/api/ondewo/s2t/speech-to-text.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/t2s/text-to-speech.pb.mjs +2794 -1373
- package/esm2022/api/ondewo/t2s/text-to-speech.pbsc.mjs +6 -6
- package/fesm2022/ondewo-csi-client-angular.mjs +14747 -9195
- package/fesm2022/ondewo-csi-client-angular.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as googleProtobuf003 from '@ngx-grpc/well-known-types';
|
|
4
|
+
import * as ondewoNlu012 from '../../ondewo/nlu/intent.pb';
|
|
5
|
+
import * as ondewoNlu013 from '../../ondewo/nlu/entity-type.pb';
|
|
6
|
+
import * as ondewoNlu014 from '../../ondewo/nlu/ccai-project.pb';
|
|
7
|
+
import * as ondewoNlu015 from '../../ondewo/nlu/session.pb';
|
|
5
8
|
export declare enum Mode {
|
|
6
9
|
UNSPECIFIED = 0,
|
|
7
10
|
EXCLUSIVE = 1,
|
|
@@ -21,6 +24,455 @@ export declare enum IntentAlgorithms {
|
|
|
21
24
|
OndewoIntentExitDetector = 14,
|
|
22
25
|
OndewoIntentParameterMatch = 15
|
|
23
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Message implementation for ondewo.nlu.ListLlmModelsRequest
|
|
29
|
+
*/
|
|
30
|
+
export declare class ListLlmModelsRequest implements GrpcMessage {
|
|
31
|
+
static id: string;
|
|
32
|
+
/**
|
|
33
|
+
* Deserialize binary data to message
|
|
34
|
+
* @param instance message instance
|
|
35
|
+
*/
|
|
36
|
+
static deserializeBinary(bytes: ByteSource): ListLlmModelsRequest;
|
|
37
|
+
/**
|
|
38
|
+
* Check all the properties and set default protobuf values if necessary
|
|
39
|
+
* @param _instance message instance
|
|
40
|
+
*/
|
|
41
|
+
static refineValues(_instance: ListLlmModelsRequest): void;
|
|
42
|
+
/**
|
|
43
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
44
|
+
* @param _instance message instance
|
|
45
|
+
* @param _reader binary reader instance
|
|
46
|
+
*/
|
|
47
|
+
static deserializeBinaryFromReader(_instance: ListLlmModelsRequest, _reader: BinaryReader): void;
|
|
48
|
+
/**
|
|
49
|
+
* Serializes a message to binary format using provided binary reader
|
|
50
|
+
* @param _instance message instance
|
|
51
|
+
* @param _writer binary writer instance
|
|
52
|
+
*/
|
|
53
|
+
static serializeBinaryToWriter(_instance: ListLlmModelsRequest, _writer: BinaryWriter): void;
|
|
54
|
+
private _ccaiServiceName;
|
|
55
|
+
/**
|
|
56
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
57
|
+
* @param _value initial values object or instance of ListLlmModelsRequest to deeply clone from
|
|
58
|
+
*/
|
|
59
|
+
constructor(_value?: RecursivePartial<ListLlmModelsRequest.AsObject>);
|
|
60
|
+
get ccaiServiceName(): string;
|
|
61
|
+
set ccaiServiceName(value: string);
|
|
62
|
+
/**
|
|
63
|
+
* Serialize message to binary data
|
|
64
|
+
* @param instance message instance
|
|
65
|
+
*/
|
|
66
|
+
serializeBinary(): any;
|
|
67
|
+
/**
|
|
68
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
69
|
+
*/
|
|
70
|
+
toObject(): ListLlmModelsRequest.AsObject;
|
|
71
|
+
/**
|
|
72
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
73
|
+
*/
|
|
74
|
+
toJSON(): ListLlmModelsRequest.AsObject;
|
|
75
|
+
/**
|
|
76
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
77
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
78
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
79
|
+
*/
|
|
80
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListLlmModelsRequest.AsProtobufJSON;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace ListLlmModelsRequest {
|
|
83
|
+
/**
|
|
84
|
+
* Standard JavaScript object representation for ListLlmModelsRequest
|
|
85
|
+
*/
|
|
86
|
+
interface AsObject {
|
|
87
|
+
ccaiServiceName: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Protobuf JSON representation for ListLlmModelsRequest
|
|
91
|
+
*/
|
|
92
|
+
interface AsProtobufJSON {
|
|
93
|
+
ccaiServiceName: string;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Message implementation for ondewo.nlu.ListLlmModelsResponse
|
|
98
|
+
*/
|
|
99
|
+
export declare class ListLlmModelsResponse implements GrpcMessage {
|
|
100
|
+
static id: string;
|
|
101
|
+
/**
|
|
102
|
+
* Deserialize binary data to message
|
|
103
|
+
* @param instance message instance
|
|
104
|
+
*/
|
|
105
|
+
static deserializeBinary(bytes: ByteSource): ListLlmModelsResponse;
|
|
106
|
+
/**
|
|
107
|
+
* Check all the properties and set default protobuf values if necessary
|
|
108
|
+
* @param _instance message instance
|
|
109
|
+
*/
|
|
110
|
+
static refineValues(_instance: ListLlmModelsResponse): void;
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
113
|
+
* @param _instance message instance
|
|
114
|
+
* @param _reader binary reader instance
|
|
115
|
+
*/
|
|
116
|
+
static deserializeBinaryFromReader(_instance: ListLlmModelsResponse, _reader: BinaryReader): void;
|
|
117
|
+
/**
|
|
118
|
+
* Serializes a message to binary format using provided binary reader
|
|
119
|
+
* @param _instance message instance
|
|
120
|
+
* @param _writer binary writer instance
|
|
121
|
+
*/
|
|
122
|
+
static serializeBinaryToWriter(_instance: ListLlmModelsResponse, _writer: BinaryWriter): void;
|
|
123
|
+
private _llmModels?;
|
|
124
|
+
/**
|
|
125
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
126
|
+
* @param _value initial values object or instance of ListLlmModelsResponse to deeply clone from
|
|
127
|
+
*/
|
|
128
|
+
constructor(_value?: RecursivePartial<ListLlmModelsResponse.AsObject>);
|
|
129
|
+
get llmModels(): LlmModel[] | undefined;
|
|
130
|
+
set llmModels(value: LlmModel[] | undefined);
|
|
131
|
+
/**
|
|
132
|
+
* Serialize message to binary data
|
|
133
|
+
* @param instance message instance
|
|
134
|
+
*/
|
|
135
|
+
serializeBinary(): any;
|
|
136
|
+
/**
|
|
137
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
138
|
+
*/
|
|
139
|
+
toObject(): ListLlmModelsResponse.AsObject;
|
|
140
|
+
/**
|
|
141
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
142
|
+
*/
|
|
143
|
+
toJSON(): ListLlmModelsResponse.AsObject;
|
|
144
|
+
/**
|
|
145
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
146
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
147
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
148
|
+
*/
|
|
149
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListLlmModelsResponse.AsProtobufJSON;
|
|
150
|
+
}
|
|
151
|
+
export declare namespace ListLlmModelsResponse {
|
|
152
|
+
/**
|
|
153
|
+
* Standard JavaScript object representation for ListLlmModelsResponse
|
|
154
|
+
*/
|
|
155
|
+
interface AsObject {
|
|
156
|
+
llmModels?: LlmModel.AsObject[];
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Protobuf JSON representation for ListLlmModelsResponse
|
|
160
|
+
*/
|
|
161
|
+
interface AsProtobufJSON {
|
|
162
|
+
llmModels: LlmModel.AsProtobufJSON[] | null;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Message implementation for ondewo.nlu.LlmModel
|
|
167
|
+
*/
|
|
168
|
+
export declare class LlmModel implements GrpcMessage {
|
|
169
|
+
static id: string;
|
|
170
|
+
/**
|
|
171
|
+
* Deserialize binary data to message
|
|
172
|
+
* @param instance message instance
|
|
173
|
+
*/
|
|
174
|
+
static deserializeBinary(bytes: ByteSource): LlmModel;
|
|
175
|
+
/**
|
|
176
|
+
* Check all the properties and set default protobuf values if necessary
|
|
177
|
+
* @param _instance message instance
|
|
178
|
+
*/
|
|
179
|
+
static refineValues(_instance: LlmModel): void;
|
|
180
|
+
/**
|
|
181
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
182
|
+
* @param _instance message instance
|
|
183
|
+
* @param _reader binary reader instance
|
|
184
|
+
*/
|
|
185
|
+
static deserializeBinaryFromReader(_instance: LlmModel, _reader: BinaryReader): void;
|
|
186
|
+
/**
|
|
187
|
+
* Serializes a message to binary format using provided binary reader
|
|
188
|
+
* @param _instance message instance
|
|
189
|
+
* @param _writer binary writer instance
|
|
190
|
+
*/
|
|
191
|
+
static serializeBinaryToWriter(_instance: LlmModel, _writer: BinaryWriter): void;
|
|
192
|
+
private _name;
|
|
193
|
+
private _displayName;
|
|
194
|
+
private _description;
|
|
195
|
+
private _ccaiServiceName;
|
|
196
|
+
private _ccaiServiceProvider;
|
|
197
|
+
/**
|
|
198
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
199
|
+
* @param _value initial values object or instance of LlmModel to deeply clone from
|
|
200
|
+
*/
|
|
201
|
+
constructor(_value?: RecursivePartial<LlmModel.AsObject>);
|
|
202
|
+
get name(): string;
|
|
203
|
+
set name(value: string);
|
|
204
|
+
get displayName(): string;
|
|
205
|
+
set displayName(value: string);
|
|
206
|
+
get description(): string;
|
|
207
|
+
set description(value: string);
|
|
208
|
+
get ccaiServiceName(): string;
|
|
209
|
+
set ccaiServiceName(value: string);
|
|
210
|
+
get ccaiServiceProvider(): ondewoNlu014.CcaiServiceProvider;
|
|
211
|
+
set ccaiServiceProvider(value: ondewoNlu014.CcaiServiceProvider);
|
|
212
|
+
/**
|
|
213
|
+
* Serialize message to binary data
|
|
214
|
+
* @param instance message instance
|
|
215
|
+
*/
|
|
216
|
+
serializeBinary(): any;
|
|
217
|
+
/**
|
|
218
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
219
|
+
*/
|
|
220
|
+
toObject(): LlmModel.AsObject;
|
|
221
|
+
/**
|
|
222
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
223
|
+
*/
|
|
224
|
+
toJSON(): LlmModel.AsObject;
|
|
225
|
+
/**
|
|
226
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
227
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
228
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
229
|
+
*/
|
|
230
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LlmModel.AsProtobufJSON;
|
|
231
|
+
}
|
|
232
|
+
export declare namespace LlmModel {
|
|
233
|
+
/**
|
|
234
|
+
* Standard JavaScript object representation for LlmModel
|
|
235
|
+
*/
|
|
236
|
+
interface AsObject {
|
|
237
|
+
name: string;
|
|
238
|
+
displayName: string;
|
|
239
|
+
description: string;
|
|
240
|
+
ccaiServiceName: string;
|
|
241
|
+
ccaiServiceProvider: ondewoNlu014.CcaiServiceProvider;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Protobuf JSON representation for LlmModel
|
|
245
|
+
*/
|
|
246
|
+
interface AsProtobufJSON {
|
|
247
|
+
name: string;
|
|
248
|
+
displayName: string;
|
|
249
|
+
description: string;
|
|
250
|
+
ccaiServiceName: string;
|
|
251
|
+
ccaiServiceProvider: string;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Message implementation for ondewo.nlu.LlmGenerateRequest
|
|
256
|
+
*/
|
|
257
|
+
export declare class LlmGenerateRequest implements GrpcMessage {
|
|
258
|
+
static id: string;
|
|
259
|
+
/**
|
|
260
|
+
* Deserialize binary data to message
|
|
261
|
+
* @param instance message instance
|
|
262
|
+
*/
|
|
263
|
+
static deserializeBinary(bytes: ByteSource): LlmGenerateRequest;
|
|
264
|
+
/**
|
|
265
|
+
* Check all the properties and set default protobuf values if necessary
|
|
266
|
+
* @param _instance message instance
|
|
267
|
+
*/
|
|
268
|
+
static refineValues(_instance: LlmGenerateRequest): void;
|
|
269
|
+
/**
|
|
270
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
271
|
+
* @param _instance message instance
|
|
272
|
+
* @param _reader binary reader instance
|
|
273
|
+
*/
|
|
274
|
+
static deserializeBinaryFromReader(_instance: LlmGenerateRequest, _reader: BinaryReader): void;
|
|
275
|
+
/**
|
|
276
|
+
* Serializes a message to binary format using provided binary reader
|
|
277
|
+
* @param _instance message instance
|
|
278
|
+
* @param _writer binary writer instance
|
|
279
|
+
*/
|
|
280
|
+
static serializeBinaryToWriter(_instance: LlmGenerateRequest, _writer: BinaryWriter): void;
|
|
281
|
+
private _llmGenerationRequest?;
|
|
282
|
+
private _ccaiServiceName;
|
|
283
|
+
private _fileResources?;
|
|
284
|
+
/**
|
|
285
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
286
|
+
* @param _value initial values object or instance of LlmGenerateRequest to deeply clone from
|
|
287
|
+
*/
|
|
288
|
+
constructor(_value?: RecursivePartial<LlmGenerateRequest.AsObject>);
|
|
289
|
+
get llmGenerationRequest(): googleProtobuf003.Struct | undefined;
|
|
290
|
+
set llmGenerationRequest(value: googleProtobuf003.Struct | undefined);
|
|
291
|
+
get ccaiServiceName(): string;
|
|
292
|
+
set ccaiServiceName(value: string);
|
|
293
|
+
get fileResources(): ondewoNlu015.FileResource[] | undefined;
|
|
294
|
+
set fileResources(value: ondewoNlu015.FileResource[] | undefined);
|
|
295
|
+
/**
|
|
296
|
+
* Serialize message to binary data
|
|
297
|
+
* @param instance message instance
|
|
298
|
+
*/
|
|
299
|
+
serializeBinary(): any;
|
|
300
|
+
/**
|
|
301
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
302
|
+
*/
|
|
303
|
+
toObject(): LlmGenerateRequest.AsObject;
|
|
304
|
+
/**
|
|
305
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
306
|
+
*/
|
|
307
|
+
toJSON(): LlmGenerateRequest.AsObject;
|
|
308
|
+
/**
|
|
309
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
310
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
311
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
312
|
+
*/
|
|
313
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LlmGenerateRequest.AsProtobufJSON;
|
|
314
|
+
}
|
|
315
|
+
export declare namespace LlmGenerateRequest {
|
|
316
|
+
/**
|
|
317
|
+
* Standard JavaScript object representation for LlmGenerateRequest
|
|
318
|
+
*/
|
|
319
|
+
interface AsObject {
|
|
320
|
+
llmGenerationRequest?: googleProtobuf003.Struct.AsObject;
|
|
321
|
+
ccaiServiceName: string;
|
|
322
|
+
fileResources?: ondewoNlu015.FileResource.AsObject[];
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Protobuf JSON representation for LlmGenerateRequest
|
|
326
|
+
*/
|
|
327
|
+
interface AsProtobufJSON {
|
|
328
|
+
llmGenerationRequest: googleProtobuf003.Struct.AsProtobufJSON | null;
|
|
329
|
+
ccaiServiceName: string;
|
|
330
|
+
fileResources: ondewoNlu015.FileResource.AsProtobufJSON[] | null;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Message implementation for ondewo.nlu.LlmGenerateResponse
|
|
335
|
+
*/
|
|
336
|
+
export declare class LlmGenerateResponse implements GrpcMessage {
|
|
337
|
+
static id: string;
|
|
338
|
+
/**
|
|
339
|
+
* Deserialize binary data to message
|
|
340
|
+
* @param instance message instance
|
|
341
|
+
*/
|
|
342
|
+
static deserializeBinary(bytes: ByteSource): LlmGenerateResponse;
|
|
343
|
+
/**
|
|
344
|
+
* Check all the properties and set default protobuf values if necessary
|
|
345
|
+
* @param _instance message instance
|
|
346
|
+
*/
|
|
347
|
+
static refineValues(_instance: LlmGenerateResponse): void;
|
|
348
|
+
/**
|
|
349
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
350
|
+
* @param _instance message instance
|
|
351
|
+
* @param _reader binary reader instance
|
|
352
|
+
*/
|
|
353
|
+
static deserializeBinaryFromReader(_instance: LlmGenerateResponse, _reader: BinaryReader): void;
|
|
354
|
+
/**
|
|
355
|
+
* Serializes a message to binary format using provided binary reader
|
|
356
|
+
* @param _instance message instance
|
|
357
|
+
* @param _writer binary writer instance
|
|
358
|
+
*/
|
|
359
|
+
static serializeBinaryToWriter(_instance: LlmGenerateResponse, _writer: BinaryWriter): void;
|
|
360
|
+
private _llmGenerationResponse?;
|
|
361
|
+
private _fileResources?;
|
|
362
|
+
/**
|
|
363
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
364
|
+
* @param _value initial values object or instance of LlmGenerateResponse to deeply clone from
|
|
365
|
+
*/
|
|
366
|
+
constructor(_value?: RecursivePartial<LlmGenerateResponse.AsObject>);
|
|
367
|
+
get llmGenerationResponse(): googleProtobuf003.Struct | undefined;
|
|
368
|
+
set llmGenerationResponse(value: googleProtobuf003.Struct | undefined);
|
|
369
|
+
get fileResources(): ondewoNlu015.FileResource[] | undefined;
|
|
370
|
+
set fileResources(value: ondewoNlu015.FileResource[] | undefined);
|
|
371
|
+
/**
|
|
372
|
+
* Serialize message to binary data
|
|
373
|
+
* @param instance message instance
|
|
374
|
+
*/
|
|
375
|
+
serializeBinary(): any;
|
|
376
|
+
/**
|
|
377
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
378
|
+
*/
|
|
379
|
+
toObject(): LlmGenerateResponse.AsObject;
|
|
380
|
+
/**
|
|
381
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
382
|
+
*/
|
|
383
|
+
toJSON(): LlmGenerateResponse.AsObject;
|
|
384
|
+
/**
|
|
385
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
386
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
387
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
388
|
+
*/
|
|
389
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LlmGenerateResponse.AsProtobufJSON;
|
|
390
|
+
}
|
|
391
|
+
export declare namespace LlmGenerateResponse {
|
|
392
|
+
/**
|
|
393
|
+
* Standard JavaScript object representation for LlmGenerateResponse
|
|
394
|
+
*/
|
|
395
|
+
interface AsObject {
|
|
396
|
+
llmGenerationResponse?: googleProtobuf003.Struct.AsObject;
|
|
397
|
+
fileResources?: ondewoNlu015.FileResource.AsObject[];
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Protobuf JSON representation for LlmGenerateResponse
|
|
401
|
+
*/
|
|
402
|
+
interface AsProtobufJSON {
|
|
403
|
+
llmGenerationResponse: googleProtobuf003.Struct.AsProtobufJSON | null;
|
|
404
|
+
fileResources: ondewoNlu015.FileResource.AsProtobufJSON[] | null;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Message implementation for ondewo.nlu.StreamingLlmGenerateResponse
|
|
409
|
+
*/
|
|
410
|
+
export declare class StreamingLlmGenerateResponse implements GrpcMessage {
|
|
411
|
+
static id: string;
|
|
412
|
+
/**
|
|
413
|
+
* Deserialize binary data to message
|
|
414
|
+
* @param instance message instance
|
|
415
|
+
*/
|
|
416
|
+
static deserializeBinary(bytes: ByteSource): StreamingLlmGenerateResponse;
|
|
417
|
+
/**
|
|
418
|
+
* Check all the properties and set default protobuf values if necessary
|
|
419
|
+
* @param _instance message instance
|
|
420
|
+
*/
|
|
421
|
+
static refineValues(_instance: StreamingLlmGenerateResponse): void;
|
|
422
|
+
/**
|
|
423
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
424
|
+
* @param _instance message instance
|
|
425
|
+
* @param _reader binary reader instance
|
|
426
|
+
*/
|
|
427
|
+
static deserializeBinaryFromReader(_instance: StreamingLlmGenerateResponse, _reader: BinaryReader): void;
|
|
428
|
+
/**
|
|
429
|
+
* Serializes a message to binary format using provided binary reader
|
|
430
|
+
* @param _instance message instance
|
|
431
|
+
* @param _writer binary writer instance
|
|
432
|
+
*/
|
|
433
|
+
static serializeBinaryToWriter(_instance: StreamingLlmGenerateResponse, _writer: BinaryWriter): void;
|
|
434
|
+
private _llmGenerationStreamResponse?;
|
|
435
|
+
/**
|
|
436
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
437
|
+
* @param _value initial values object or instance of StreamingLlmGenerateResponse to deeply clone from
|
|
438
|
+
*/
|
|
439
|
+
constructor(_value?: RecursivePartial<StreamingLlmGenerateResponse.AsObject>);
|
|
440
|
+
get llmGenerationStreamResponse(): googleProtobuf003.Struct | undefined;
|
|
441
|
+
set llmGenerationStreamResponse(value: googleProtobuf003.Struct | undefined);
|
|
442
|
+
/**
|
|
443
|
+
* Serialize message to binary data
|
|
444
|
+
* @param instance message instance
|
|
445
|
+
*/
|
|
446
|
+
serializeBinary(): any;
|
|
447
|
+
/**
|
|
448
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
449
|
+
*/
|
|
450
|
+
toObject(): StreamingLlmGenerateResponse.AsObject;
|
|
451
|
+
/**
|
|
452
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
453
|
+
*/
|
|
454
|
+
toJSON(): StreamingLlmGenerateResponse.AsObject;
|
|
455
|
+
/**
|
|
456
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
457
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
458
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
459
|
+
*/
|
|
460
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingLlmGenerateResponse.AsProtobufJSON;
|
|
461
|
+
}
|
|
462
|
+
export declare namespace StreamingLlmGenerateResponse {
|
|
463
|
+
/**
|
|
464
|
+
* Standard JavaScript object representation for StreamingLlmGenerateResponse
|
|
465
|
+
*/
|
|
466
|
+
interface AsObject {
|
|
467
|
+
llmGenerationStreamResponse?: googleProtobuf003.Struct.AsObject;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Protobuf JSON representation for StreamingLlmGenerateResponse
|
|
471
|
+
*/
|
|
472
|
+
interface AsProtobufJSON {
|
|
473
|
+
llmGenerationStreamResponse: googleProtobuf003.Struct.AsProtobufJSON | null;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
24
476
|
/**
|
|
25
477
|
* Message implementation for ondewo.nlu.ExtractEntitiesRequest
|
|
26
478
|
*/
|
|
@@ -85,7 +537,7 @@ export declare class ExtractEntitiesRequest implements GrpcMessage {
|
|
|
85
537
|
*/
|
|
86
538
|
toProtobufJSON(options?: ToProtobufJSONOptions): ExtractEntitiesRequest.AsProtobufJSON;
|
|
87
539
|
}
|
|
88
|
-
export declare
|
|
540
|
+
export declare namespace ExtractEntitiesRequest {
|
|
89
541
|
/**
|
|
90
542
|
* Standard JavaScript object representation for ExtractEntitiesRequest
|
|
91
543
|
*/
|
|
@@ -172,7 +624,7 @@ export declare class ExtractEntitiesFuzzyRequest implements GrpcMessage {
|
|
|
172
624
|
*/
|
|
173
625
|
toProtobufJSON(options?: ToProtobufJSONOptions): ExtractEntitiesFuzzyRequest.AsProtobufJSON;
|
|
174
626
|
}
|
|
175
|
-
export declare
|
|
627
|
+
export declare namespace ExtractEntitiesFuzzyRequest {
|
|
176
628
|
/**
|
|
177
629
|
* Standard JavaScript object representation for ExtractEntitiesFuzzyRequest
|
|
178
630
|
*/
|
|
@@ -231,8 +683,8 @@ export declare class EntityTypeFuzzyNerConfig implements GrpcMessage {
|
|
|
231
683
|
* @param _value initial values object or instance of EntityTypeFuzzyNerConfig to deeply clone from
|
|
232
684
|
*/
|
|
233
685
|
constructor(_value?: RecursivePartial<EntityTypeFuzzyNerConfig.AsObject>);
|
|
234
|
-
get entityType():
|
|
235
|
-
set entityType(value:
|
|
686
|
+
get entityType(): ondewoNlu013.EntityType | undefined;
|
|
687
|
+
set entityType(value: ondewoNlu013.EntityType | undefined);
|
|
236
688
|
get minimalScore(): number;
|
|
237
689
|
set minimalScore(value: number);
|
|
238
690
|
get entityValues(): string[];
|
|
@@ -261,12 +713,12 @@ export declare class EntityTypeFuzzyNerConfig implements GrpcMessage {
|
|
|
261
713
|
*/
|
|
262
714
|
toProtobufJSON(options?: ToProtobufJSONOptions): EntityTypeFuzzyNerConfig.AsProtobufJSON;
|
|
263
715
|
}
|
|
264
|
-
export declare
|
|
716
|
+
export declare namespace EntityTypeFuzzyNerConfig {
|
|
265
717
|
/**
|
|
266
718
|
* Standard JavaScript object representation for EntityTypeFuzzyNerConfig
|
|
267
719
|
*/
|
|
268
720
|
interface AsObject {
|
|
269
|
-
entityType?:
|
|
721
|
+
entityType?: ondewoNlu013.EntityType.AsObject;
|
|
270
722
|
minimalScore: number;
|
|
271
723
|
entityValues: string[];
|
|
272
724
|
algorithm: EntityTypeFuzzyNerConfig.FuzzyNerAlgorithm;
|
|
@@ -276,7 +728,7 @@ export declare module EntityTypeFuzzyNerConfig {
|
|
|
276
728
|
* Protobuf JSON representation for EntityTypeFuzzyNerConfig
|
|
277
729
|
*/
|
|
278
730
|
interface AsProtobufJSON {
|
|
279
|
-
entityType:
|
|
731
|
+
entityType: ondewoNlu013.EntityType.AsProtobufJSON | null;
|
|
280
732
|
minimalScore: number;
|
|
281
733
|
entityValues: string[];
|
|
282
734
|
algorithm: string;
|
|
@@ -322,8 +774,8 @@ export declare class EntityDetected implements GrpcMessage {
|
|
|
322
774
|
* @param _value initial values object or instance of EntityDetected to deeply clone from
|
|
323
775
|
*/
|
|
324
776
|
constructor(_value?: RecursivePartial<EntityDetected.AsObject>);
|
|
325
|
-
get entity():
|
|
326
|
-
set entity(value:
|
|
777
|
+
get entity(): ondewoNlu012.Intent.TrainingPhrase.Entity | undefined;
|
|
778
|
+
set entity(value: ondewoNlu012.Intent.TrainingPhrase.Entity | undefined);
|
|
327
779
|
get extractionMethod(): string;
|
|
328
780
|
set extractionMethod(value: string);
|
|
329
781
|
get score(): number;
|
|
@@ -348,12 +800,12 @@ export declare class EntityDetected implements GrpcMessage {
|
|
|
348
800
|
*/
|
|
349
801
|
toProtobufJSON(options?: ToProtobufJSONOptions): EntityDetected.AsProtobufJSON;
|
|
350
802
|
}
|
|
351
|
-
export declare
|
|
803
|
+
export declare namespace EntityDetected {
|
|
352
804
|
/**
|
|
353
805
|
* Standard JavaScript object representation for EntityDetected
|
|
354
806
|
*/
|
|
355
807
|
interface AsObject {
|
|
356
|
-
entity?:
|
|
808
|
+
entity?: ondewoNlu012.Intent.TrainingPhrase.Entity.AsObject;
|
|
357
809
|
extractionMethod: string;
|
|
358
810
|
score: number;
|
|
359
811
|
}
|
|
@@ -361,7 +813,7 @@ export declare module EntityDetected {
|
|
|
361
813
|
* Protobuf JSON representation for EntityDetected
|
|
362
814
|
*/
|
|
363
815
|
interface AsProtobufJSON {
|
|
364
|
-
entity:
|
|
816
|
+
entity: ondewoNlu012.Intent.TrainingPhrase.Entity.AsProtobufJSON | null;
|
|
365
817
|
extractionMethod: string;
|
|
366
818
|
score: number;
|
|
367
819
|
}
|
|
@@ -424,7 +876,7 @@ export declare class ExtractEntitiesResponse implements GrpcMessage {
|
|
|
424
876
|
*/
|
|
425
877
|
toProtobufJSON(options?: ToProtobufJSONOptions): ExtractEntitiesResponse.AsProtobufJSON;
|
|
426
878
|
}
|
|
427
|
-
export declare
|
|
879
|
+
export declare namespace ExtractEntitiesResponse {
|
|
428
880
|
/**
|
|
429
881
|
* Standard JavaScript object representation for ExtractEntitiesResponse
|
|
430
882
|
*/
|
|
@@ -510,7 +962,7 @@ export declare class GetAlternativeSentencesRequest implements GrpcMessage {
|
|
|
510
962
|
*/
|
|
511
963
|
toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeSentencesRequest.AsProtobufJSON;
|
|
512
964
|
}
|
|
513
|
-
export declare
|
|
965
|
+
export declare namespace GetAlternativeSentencesRequest {
|
|
514
966
|
/**
|
|
515
967
|
* Standard JavaScript object representation for GetAlternativeSentencesRequest
|
|
516
968
|
*/
|
|
@@ -598,7 +1050,7 @@ export declare class GenerateUserSaysRequest implements GrpcMessage {
|
|
|
598
1050
|
*/
|
|
599
1051
|
toProtobufJSON(options?: ToProtobufJSONOptions): GenerateUserSaysRequest.AsProtobufJSON;
|
|
600
1052
|
}
|
|
601
|
-
export declare
|
|
1053
|
+
export declare namespace GenerateUserSaysRequest {
|
|
602
1054
|
/**
|
|
603
1055
|
* Standard JavaScript object representation for GenerateUserSaysRequest
|
|
604
1056
|
*/
|
|
@@ -685,7 +1137,7 @@ export declare class GenerateResponsesRequest implements GrpcMessage {
|
|
|
685
1137
|
*/
|
|
686
1138
|
toProtobufJSON(options?: ToProtobufJSONOptions): GenerateResponsesRequest.AsProtobufJSON;
|
|
687
1139
|
}
|
|
688
|
-
export declare
|
|
1140
|
+
export declare namespace GenerateResponsesRequest {
|
|
689
1141
|
/**
|
|
690
1142
|
* Standard JavaScript object representation for GenerateResponsesRequest
|
|
691
1143
|
*/
|
|
@@ -751,8 +1203,8 @@ export declare class GetAlternativeTrainingPhrasesRequest implements GrpcMessage
|
|
|
751
1203
|
constructor(_value?: RecursivePartial<GetAlternativeTrainingPhrasesRequest.AsObject>);
|
|
752
1204
|
get config(): DataEnrichmentConfig | undefined;
|
|
753
1205
|
set config(value: DataEnrichmentConfig | undefined);
|
|
754
|
-
get trainingPhrase():
|
|
755
|
-
set trainingPhrase(value:
|
|
1206
|
+
get trainingPhrase(): ondewoNlu012.Intent.TrainingPhrase | undefined;
|
|
1207
|
+
set trainingPhrase(value: ondewoNlu012.Intent.TrainingPhrase | undefined);
|
|
756
1208
|
get intentName(): string;
|
|
757
1209
|
set intentName(value: string);
|
|
758
1210
|
get languageCode(): string;
|
|
@@ -789,13 +1241,13 @@ export declare class GetAlternativeTrainingPhrasesRequest implements GrpcMessage
|
|
|
789
1241
|
*/
|
|
790
1242
|
toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeTrainingPhrasesRequest.AsProtobufJSON;
|
|
791
1243
|
}
|
|
792
|
-
export declare
|
|
1244
|
+
export declare namespace GetAlternativeTrainingPhrasesRequest {
|
|
793
1245
|
/**
|
|
794
1246
|
* Standard JavaScript object representation for GetAlternativeTrainingPhrasesRequest
|
|
795
1247
|
*/
|
|
796
1248
|
interface AsObject {
|
|
797
1249
|
config?: DataEnrichmentConfig.AsObject;
|
|
798
|
-
trainingPhrase?:
|
|
1250
|
+
trainingPhrase?: ondewoNlu012.Intent.TrainingPhrase.AsObject;
|
|
799
1251
|
intentName: string;
|
|
800
1252
|
languageCode: string;
|
|
801
1253
|
parent: string;
|
|
@@ -810,7 +1262,7 @@ export declare module GetAlternativeTrainingPhrasesRequest {
|
|
|
810
1262
|
*/
|
|
811
1263
|
interface AsProtobufJSON {
|
|
812
1264
|
config: DataEnrichmentConfig.AsProtobufJSON | null;
|
|
813
|
-
trainingPhrase:
|
|
1265
|
+
trainingPhrase: ondewoNlu012.Intent.TrainingPhrase.AsProtobufJSON | null;
|
|
814
1266
|
intentName: string;
|
|
815
1267
|
languageCode: string;
|
|
816
1268
|
parent: string;
|
|
@@ -885,7 +1337,7 @@ export declare class GetSynonymsRequest implements GrpcMessage {
|
|
|
885
1337
|
*/
|
|
886
1338
|
toProtobufJSON(options?: ToProtobufJSONOptions): GetSynonymsRequest.AsProtobufJSON;
|
|
887
1339
|
}
|
|
888
|
-
export declare
|
|
1340
|
+
export declare namespace GetSynonymsRequest {
|
|
889
1341
|
/**
|
|
890
1342
|
* Standard JavaScript object representation for GetSynonymsRequest
|
|
891
1343
|
*/
|
|
@@ -960,7 +1412,7 @@ export declare class GetSynonymsResponse implements GrpcMessage {
|
|
|
960
1412
|
*/
|
|
961
1413
|
toProtobufJSON(options?: ToProtobufJSONOptions): GetSynonymsResponse.AsProtobufJSON;
|
|
962
1414
|
}
|
|
963
|
-
export declare
|
|
1415
|
+
export declare namespace GetSynonymsResponse {
|
|
964
1416
|
/**
|
|
965
1417
|
* Standard JavaScript object representation for GetSynonymsResponse
|
|
966
1418
|
*/
|
|
@@ -1032,7 +1484,7 @@ export declare class Synonym implements GrpcMessage {
|
|
|
1032
1484
|
*/
|
|
1033
1485
|
toProtobufJSON(options?: ToProtobufJSONOptions): Synonym.AsProtobufJSON;
|
|
1034
1486
|
}
|
|
1035
|
-
export declare
|
|
1487
|
+
export declare namespace Synonym {
|
|
1036
1488
|
/**
|
|
1037
1489
|
* Standard JavaScript object representation for Synonym
|
|
1038
1490
|
*/
|
|
@@ -1103,7 +1555,7 @@ export declare class GetAlternativeSentencesResponse implements GrpcMessage {
|
|
|
1103
1555
|
*/
|
|
1104
1556
|
toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeSentencesResponse.AsProtobufJSON;
|
|
1105
1557
|
}
|
|
1106
|
-
export declare
|
|
1558
|
+
export declare namespace GetAlternativeSentencesResponse {
|
|
1107
1559
|
/**
|
|
1108
1560
|
* Standard JavaScript object representation for GetAlternativeSentencesResponse
|
|
1109
1561
|
*/
|
|
@@ -1172,7 +1624,7 @@ export declare class GenerateResponsesResponse implements GrpcMessage {
|
|
|
1172
1624
|
*/
|
|
1173
1625
|
toProtobufJSON(options?: ToProtobufJSONOptions): GenerateResponsesResponse.AsProtobufJSON;
|
|
1174
1626
|
}
|
|
1175
|
-
export declare
|
|
1627
|
+
export declare namespace GenerateResponsesResponse {
|
|
1176
1628
|
/**
|
|
1177
1629
|
* Standard JavaScript object representation for GenerateResponsesResponse
|
|
1178
1630
|
*/
|
|
@@ -1241,7 +1693,7 @@ export declare class GenerateUserSaysResponse implements GrpcMessage {
|
|
|
1241
1693
|
*/
|
|
1242
1694
|
toProtobufJSON(options?: ToProtobufJSONOptions): GenerateUserSaysResponse.AsProtobufJSON;
|
|
1243
1695
|
}
|
|
1244
|
-
export declare
|
|
1696
|
+
export declare namespace GenerateUserSaysResponse {
|
|
1245
1697
|
/**
|
|
1246
1698
|
* Standard JavaScript object representation for GenerateUserSaysResponse
|
|
1247
1699
|
*/
|
|
@@ -1310,7 +1762,7 @@ export declare class GetAlternativeTrainingPhrasesResponse implements GrpcMessag
|
|
|
1310
1762
|
*/
|
|
1311
1763
|
toProtobufJSON(options?: ToProtobufJSONOptions): GetAlternativeTrainingPhrasesResponse.AsProtobufJSON;
|
|
1312
1764
|
}
|
|
1313
|
-
export declare
|
|
1765
|
+
export declare namespace GetAlternativeTrainingPhrasesResponse {
|
|
1314
1766
|
/**
|
|
1315
1767
|
* Standard JavaScript object representation for GetAlternativeTrainingPhrasesResponse
|
|
1316
1768
|
*/
|
|
@@ -1382,7 +1834,7 @@ export declare class AltSentence implements GrpcMessage {
|
|
|
1382
1834
|
*/
|
|
1383
1835
|
toProtobufJSON(options?: ToProtobufJSONOptions): AltSentence.AsProtobufJSON;
|
|
1384
1836
|
}
|
|
1385
|
-
export declare
|
|
1837
|
+
export declare namespace AltSentence {
|
|
1386
1838
|
/**
|
|
1387
1839
|
* Standard JavaScript object representation for AltSentence
|
|
1388
1840
|
*/
|
|
@@ -1432,8 +1884,8 @@ export declare class AltTrainingPhrase implements GrpcMessage {
|
|
|
1432
1884
|
* @param _value initial values object or instance of AltTrainingPhrase to deeply clone from
|
|
1433
1885
|
*/
|
|
1434
1886
|
constructor(_value?: RecursivePartial<AltTrainingPhrase.AsObject>);
|
|
1435
|
-
get trainingPhrase():
|
|
1436
|
-
set trainingPhrase(value:
|
|
1887
|
+
get trainingPhrase(): ondewoNlu012.Intent.TrainingPhrase | undefined;
|
|
1888
|
+
set trainingPhrase(value: ondewoNlu012.Intent.TrainingPhrase | undefined);
|
|
1437
1889
|
get score(): number;
|
|
1438
1890
|
set score(value: number);
|
|
1439
1891
|
/**
|
|
@@ -1456,19 +1908,19 @@ export declare class AltTrainingPhrase implements GrpcMessage {
|
|
|
1456
1908
|
*/
|
|
1457
1909
|
toProtobufJSON(options?: ToProtobufJSONOptions): AltTrainingPhrase.AsProtobufJSON;
|
|
1458
1910
|
}
|
|
1459
|
-
export declare
|
|
1911
|
+
export declare namespace AltTrainingPhrase {
|
|
1460
1912
|
/**
|
|
1461
1913
|
* Standard JavaScript object representation for AltTrainingPhrase
|
|
1462
1914
|
*/
|
|
1463
1915
|
interface AsObject {
|
|
1464
|
-
trainingPhrase?:
|
|
1916
|
+
trainingPhrase?: ondewoNlu012.Intent.TrainingPhrase.AsObject;
|
|
1465
1917
|
score: number;
|
|
1466
1918
|
}
|
|
1467
1919
|
/**
|
|
1468
1920
|
* Protobuf JSON representation for AltTrainingPhrase
|
|
1469
1921
|
*/
|
|
1470
1922
|
interface AsProtobufJSON {
|
|
1471
|
-
trainingPhrase:
|
|
1923
|
+
trainingPhrase: ondewoNlu012.Intent.TrainingPhrase.AsProtobufJSON | null;
|
|
1472
1924
|
score: number;
|
|
1473
1925
|
}
|
|
1474
1926
|
}
|
|
@@ -1507,6 +1959,7 @@ export declare class DataEnrichmentConfig implements GrpcMessage {
|
|
|
1507
1959
|
private _gloveEnrichment?;
|
|
1508
1960
|
private _bertEnrichment?;
|
|
1509
1961
|
private _xlnetEnrichment?;
|
|
1962
|
+
private _llmEnrichment?;
|
|
1510
1963
|
/**
|
|
1511
1964
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1512
1965
|
* @param _value initial values object or instance of DataEnrichmentConfig to deeply clone from
|
|
@@ -1528,6 +1981,8 @@ export declare class DataEnrichmentConfig implements GrpcMessage {
|
|
|
1528
1981
|
set bertEnrichment(value: BertAugEnrichmentConfig | undefined);
|
|
1529
1982
|
get xlnetEnrichment(): XLNetAugEnrichmentConfig | undefined;
|
|
1530
1983
|
set xlnetEnrichment(value: XLNetAugEnrichmentConfig | undefined);
|
|
1984
|
+
get llmEnrichment(): LlmEnrichmentConfig | undefined;
|
|
1985
|
+
set llmEnrichment(value: LlmEnrichmentConfig | undefined);
|
|
1531
1986
|
/**
|
|
1532
1987
|
* Serialize message to binary data
|
|
1533
1988
|
* @param instance message instance
|
|
@@ -1548,7 +2003,7 @@ export declare class DataEnrichmentConfig implements GrpcMessage {
|
|
|
1548
2003
|
*/
|
|
1549
2004
|
toProtobufJSON(options?: ToProtobufJSONOptions): DataEnrichmentConfig.AsProtobufJSON;
|
|
1550
2005
|
}
|
|
1551
|
-
export declare
|
|
2006
|
+
export declare namespace DataEnrichmentConfig {
|
|
1552
2007
|
/**
|
|
1553
2008
|
* Standard JavaScript object representation for DataEnrichmentConfig
|
|
1554
2009
|
*/
|
|
@@ -1561,6 +2016,7 @@ export declare module DataEnrichmentConfig {
|
|
|
1561
2016
|
gloveEnrichment?: GloVeEnrichmentConfig.AsObject;
|
|
1562
2017
|
bertEnrichment?: BertAugEnrichmentConfig.AsObject;
|
|
1563
2018
|
xlnetEnrichment?: XLNetAugEnrichmentConfig.AsObject;
|
|
2019
|
+
llmEnrichment?: LlmEnrichmentConfig.AsObject;
|
|
1564
2020
|
}
|
|
1565
2021
|
/**
|
|
1566
2022
|
* Protobuf JSON representation for DataEnrichmentConfig
|
|
@@ -1574,6 +2030,7 @@ export declare module DataEnrichmentConfig {
|
|
|
1574
2030
|
gloveEnrichment: GloVeEnrichmentConfig.AsProtobufJSON | null;
|
|
1575
2031
|
bertEnrichment: BertAugEnrichmentConfig.AsProtobufJSON | null;
|
|
1576
2032
|
xlnetEnrichment: XLNetAugEnrichmentConfig.AsProtobufJSON | null;
|
|
2033
|
+
llmEnrichment: LlmEnrichmentConfig.AsProtobufJSON | null;
|
|
1577
2034
|
}
|
|
1578
2035
|
}
|
|
1579
2036
|
/**
|
|
@@ -1637,7 +2094,7 @@ export declare class EntityEnrichmentConfig implements GrpcMessage {
|
|
|
1637
2094
|
*/
|
|
1638
2095
|
toProtobufJSON(options?: ToProtobufJSONOptions): EntityEnrichmentConfig.AsProtobufJSON;
|
|
1639
2096
|
}
|
|
1640
|
-
export declare
|
|
2097
|
+
export declare namespace EntityEnrichmentConfig {
|
|
1641
2098
|
/**
|
|
1642
2099
|
* Standard JavaScript object representation for EntityEnrichmentConfig
|
|
1643
2100
|
*/
|
|
@@ -1716,7 +2173,7 @@ export declare class ThesaurusEnrichmentConfig implements GrpcMessage {
|
|
|
1716
2173
|
*/
|
|
1717
2174
|
toProtobufJSON(options?: ToProtobufJSONOptions): ThesaurusEnrichmentConfig.AsProtobufJSON;
|
|
1718
2175
|
}
|
|
1719
|
-
export declare
|
|
2176
|
+
export declare namespace ThesaurusEnrichmentConfig {
|
|
1720
2177
|
/**
|
|
1721
2178
|
* Standard JavaScript object representation for ThesaurusEnrichmentConfig
|
|
1722
2179
|
*/
|
|
@@ -1795,7 +2252,7 @@ export declare class BertAugEnrichmentConfig implements GrpcMessage {
|
|
|
1795
2252
|
*/
|
|
1796
2253
|
toProtobufJSON(options?: ToProtobufJSONOptions): BertAugEnrichmentConfig.AsProtobufJSON;
|
|
1797
2254
|
}
|
|
1798
|
-
export declare
|
|
2255
|
+
export declare namespace BertAugEnrichmentConfig {
|
|
1799
2256
|
/**
|
|
1800
2257
|
* Standard JavaScript object representation for BertAugEnrichmentConfig
|
|
1801
2258
|
*/
|
|
@@ -1874,7 +2331,7 @@ export declare class GloVeEnrichmentConfig implements GrpcMessage {
|
|
|
1874
2331
|
*/
|
|
1875
2332
|
toProtobufJSON(options?: ToProtobufJSONOptions): GloVeEnrichmentConfig.AsProtobufJSON;
|
|
1876
2333
|
}
|
|
1877
|
-
export declare
|
|
2334
|
+
export declare namespace GloVeEnrichmentConfig {
|
|
1878
2335
|
/**
|
|
1879
2336
|
* Standard JavaScript object representation for GloVeEnrichmentConfig
|
|
1880
2337
|
*/
|
|
@@ -1953,7 +2410,7 @@ export declare class GPT2EnrichmentConfig implements GrpcMessage {
|
|
|
1953
2410
|
*/
|
|
1954
2411
|
toProtobufJSON(options?: ToProtobufJSONOptions): GPT2EnrichmentConfig.AsProtobufJSON;
|
|
1955
2412
|
}
|
|
1956
|
-
export declare
|
|
2413
|
+
export declare namespace GPT2EnrichmentConfig {
|
|
1957
2414
|
/**
|
|
1958
2415
|
* Standard JavaScript object representation for GPT2EnrichmentConfig
|
|
1959
2416
|
*/
|
|
@@ -2032,7 +2489,7 @@ export declare class Word2VecEnrichmentConfig implements GrpcMessage {
|
|
|
2032
2489
|
*/
|
|
2033
2490
|
toProtobufJSON(options?: ToProtobufJSONOptions): Word2VecEnrichmentConfig.AsProtobufJSON;
|
|
2034
2491
|
}
|
|
2035
|
-
export declare
|
|
2492
|
+
export declare namespace Word2VecEnrichmentConfig {
|
|
2036
2493
|
/**
|
|
2037
2494
|
* Standard JavaScript object representation for Word2VecEnrichmentConfig
|
|
2038
2495
|
*/
|
|
@@ -2111,7 +2568,7 @@ export declare class WordNetAugEnrichmentConfig implements GrpcMessage {
|
|
|
2111
2568
|
*/
|
|
2112
2569
|
toProtobufJSON(options?: ToProtobufJSONOptions): WordNetAugEnrichmentConfig.AsProtobufJSON;
|
|
2113
2570
|
}
|
|
2114
|
-
export declare
|
|
2571
|
+
export declare namespace WordNetAugEnrichmentConfig {
|
|
2115
2572
|
/**
|
|
2116
2573
|
* Standard JavaScript object representation for WordNetAugEnrichmentConfig
|
|
2117
2574
|
*/
|
|
@@ -2190,7 +2647,7 @@ export declare class XLNetAugEnrichmentConfig implements GrpcMessage {
|
|
|
2190
2647
|
*/
|
|
2191
2648
|
toProtobufJSON(options?: ToProtobufJSONOptions): XLNetAugEnrichmentConfig.AsProtobufJSON;
|
|
2192
2649
|
}
|
|
2193
|
-
export declare
|
|
2650
|
+
export declare namespace XLNetAugEnrichmentConfig {
|
|
2194
2651
|
/**
|
|
2195
2652
|
* Standard JavaScript object representation for XLNetAugEnrichmentConfig
|
|
2196
2653
|
*/
|
|
@@ -2208,6 +2665,90 @@ export declare module XLNetAugEnrichmentConfig {
|
|
|
2208
2665
|
executionOrder: number;
|
|
2209
2666
|
}
|
|
2210
2667
|
}
|
|
2668
|
+
/**
|
|
2669
|
+
* Message implementation for ondewo.nlu.LlmEnrichmentConfig
|
|
2670
|
+
*/
|
|
2671
|
+
export declare class LlmEnrichmentConfig implements GrpcMessage {
|
|
2672
|
+
static id: string;
|
|
2673
|
+
/**
|
|
2674
|
+
* Deserialize binary data to message
|
|
2675
|
+
* @param instance message instance
|
|
2676
|
+
*/
|
|
2677
|
+
static deserializeBinary(bytes: ByteSource): LlmEnrichmentConfig;
|
|
2678
|
+
/**
|
|
2679
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2680
|
+
* @param _instance message instance
|
|
2681
|
+
*/
|
|
2682
|
+
static refineValues(_instance: LlmEnrichmentConfig): void;
|
|
2683
|
+
/**
|
|
2684
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2685
|
+
* @param _instance message instance
|
|
2686
|
+
* @param _reader binary reader instance
|
|
2687
|
+
*/
|
|
2688
|
+
static deserializeBinaryFromReader(_instance: LlmEnrichmentConfig, _reader: BinaryReader): void;
|
|
2689
|
+
/**
|
|
2690
|
+
* Serializes a message to binary format using provided binary reader
|
|
2691
|
+
* @param _instance message instance
|
|
2692
|
+
* @param _writer binary writer instance
|
|
2693
|
+
*/
|
|
2694
|
+
static serializeBinaryToWriter(_instance: LlmEnrichmentConfig, _writer: BinaryWriter): void;
|
|
2695
|
+
private _isActive;
|
|
2696
|
+
private _enrichmentFactor;
|
|
2697
|
+
private _executionOrder;
|
|
2698
|
+
private _ccaiServiceName;
|
|
2699
|
+
/**
|
|
2700
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2701
|
+
* @param _value initial values object or instance of LlmEnrichmentConfig to deeply clone from
|
|
2702
|
+
*/
|
|
2703
|
+
constructor(_value?: RecursivePartial<LlmEnrichmentConfig.AsObject>);
|
|
2704
|
+
get isActive(): boolean;
|
|
2705
|
+
set isActive(value: boolean);
|
|
2706
|
+
get enrichmentFactor(): number;
|
|
2707
|
+
set enrichmentFactor(value: number);
|
|
2708
|
+
get executionOrder(): number;
|
|
2709
|
+
set executionOrder(value: number);
|
|
2710
|
+
get ccaiServiceName(): string;
|
|
2711
|
+
set ccaiServiceName(value: string);
|
|
2712
|
+
/**
|
|
2713
|
+
* Serialize message to binary data
|
|
2714
|
+
* @param instance message instance
|
|
2715
|
+
*/
|
|
2716
|
+
serializeBinary(): any;
|
|
2717
|
+
/**
|
|
2718
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2719
|
+
*/
|
|
2720
|
+
toObject(): LlmEnrichmentConfig.AsObject;
|
|
2721
|
+
/**
|
|
2722
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2723
|
+
*/
|
|
2724
|
+
toJSON(): LlmEnrichmentConfig.AsObject;
|
|
2725
|
+
/**
|
|
2726
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2727
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2728
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2729
|
+
*/
|
|
2730
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LlmEnrichmentConfig.AsProtobufJSON;
|
|
2731
|
+
}
|
|
2732
|
+
export declare namespace LlmEnrichmentConfig {
|
|
2733
|
+
/**
|
|
2734
|
+
* Standard JavaScript object representation for LlmEnrichmentConfig
|
|
2735
|
+
*/
|
|
2736
|
+
interface AsObject {
|
|
2737
|
+
isActive: boolean;
|
|
2738
|
+
enrichmentFactor: number;
|
|
2739
|
+
executionOrder: number;
|
|
2740
|
+
ccaiServiceName: string;
|
|
2741
|
+
}
|
|
2742
|
+
/**
|
|
2743
|
+
* Protobuf JSON representation for LlmEnrichmentConfig
|
|
2744
|
+
*/
|
|
2745
|
+
interface AsProtobufJSON {
|
|
2746
|
+
isActive: boolean;
|
|
2747
|
+
enrichmentFactor: number;
|
|
2748
|
+
executionOrder: number;
|
|
2749
|
+
ccaiServiceName: string;
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2211
2752
|
/**
|
|
2212
2753
|
* Message implementation for ondewo.nlu.ClassifyIntentsRequest
|
|
2213
2754
|
*/
|
|
@@ -2281,7 +2822,7 @@ export declare class ClassifyIntentsRequest implements GrpcMessage {
|
|
|
2281
2822
|
*/
|
|
2282
2823
|
toProtobufJSON(options?: ToProtobufJSONOptions): ClassifyIntentsRequest.AsProtobufJSON;
|
|
2283
2824
|
}
|
|
2284
|
-
export declare
|
|
2825
|
+
export declare namespace ClassifyIntentsRequest {
|
|
2285
2826
|
/**
|
|
2286
2827
|
* Standard JavaScript object representation for ClassifyIntentsRequest
|
|
2287
2828
|
*/
|
|
@@ -2371,7 +2912,7 @@ export declare class IntentClassified implements GrpcMessage {
|
|
|
2371
2912
|
*/
|
|
2372
2913
|
toProtobufJSON(options?: ToProtobufJSONOptions): IntentClassified.AsProtobufJSON;
|
|
2373
2914
|
}
|
|
2374
|
-
export declare
|
|
2915
|
+
export declare namespace IntentClassified {
|
|
2375
2916
|
/**
|
|
2376
2917
|
* Standard JavaScript object representation for IntentClassified
|
|
2377
2918
|
*/
|
|
@@ -2455,7 +2996,7 @@ export declare class ClassifyIntentsResponse implements GrpcMessage {
|
|
|
2455
2996
|
*/
|
|
2456
2997
|
toProtobufJSON(options?: ToProtobufJSONOptions): ClassifyIntentsResponse.AsProtobufJSON;
|
|
2457
2998
|
}
|
|
2458
|
-
export declare
|
|
2999
|
+
export declare namespace ClassifyIntentsResponse {
|
|
2459
3000
|
/**
|
|
2460
3001
|
* Standard JavaScript object representation for ClassifyIntentsResponse
|
|
2461
3002
|
*/
|