@ondewo/s2t-client-typescript 5.3.0 → 5.5.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/s2t/speech-to-text_pb.d.ts +185 -195
- package/api/ondewo/s2t/speech-to-text_pb.js +1407 -1544
- package/package.json +1 -1
- package/public-api.js +1 -1
|
@@ -28,16 +28,21 @@ export class TranscribeRequestConfig extends jspb.Message {
|
|
|
28
28
|
hasPyannote(): boolean;
|
|
29
29
|
clearPyannote(): TranscribeRequestConfig;
|
|
30
30
|
|
|
31
|
-
getMatchbox(): Matchbox | undefined;
|
|
32
|
-
setMatchbox(value?: Matchbox): TranscribeRequestConfig;
|
|
33
|
-
hasMatchbox(): boolean;
|
|
34
|
-
clearMatchbox(): TranscribeRequestConfig;
|
|
35
|
-
|
|
36
31
|
getReturnOptions(): TranscriptionReturnOptions | undefined;
|
|
37
32
|
setReturnOptions(value?: TranscriptionReturnOptions): TranscribeRequestConfig;
|
|
38
33
|
hasReturnOptions(): boolean;
|
|
39
34
|
clearReturnOptions(): TranscribeRequestConfig;
|
|
40
35
|
|
|
36
|
+
getLanguage(): string;
|
|
37
|
+
setLanguage(value: string): TranscribeRequestConfig;
|
|
38
|
+
hasLanguage(): boolean;
|
|
39
|
+
clearLanguage(): TranscribeRequestConfig;
|
|
40
|
+
|
|
41
|
+
getTask(): string;
|
|
42
|
+
setTask(value: string): TranscribeRequestConfig;
|
|
43
|
+
hasTask(): boolean;
|
|
44
|
+
clearTask(): TranscribeRequestConfig;
|
|
45
|
+
|
|
41
46
|
getOneofLanguageModelNameCase(): TranscribeRequestConfig.OneofLanguageModelNameCase;
|
|
42
47
|
|
|
43
48
|
getOneofPostProcessingCase(): TranscribeRequestConfig.OneofPostProcessingCase;
|
|
@@ -64,8 +69,9 @@ export namespace TranscribeRequestConfig {
|
|
|
64
69
|
postProcessing?: PostProcessingOptions.AsObject,
|
|
65
70
|
utteranceDetection?: UtteranceDetectionOptions.AsObject,
|
|
66
71
|
pyannote?: Pyannote.AsObject,
|
|
67
|
-
matchbox?: Matchbox.AsObject,
|
|
68
72
|
returnOptions?: TranscriptionReturnOptions.AsObject,
|
|
73
|
+
language?: string,
|
|
74
|
+
task?: string,
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
export enum OneofLanguageModelNameCase {
|
|
@@ -86,13 +92,22 @@ export namespace TranscribeRequestConfig {
|
|
|
86
92
|
export enum VoiceActivityDetectionCase {
|
|
87
93
|
VOICE_ACTIVITY_DETECTION_NOT_SET = 0,
|
|
88
94
|
PYANNOTE = 6,
|
|
89
|
-
MATCHBOX = 7,
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
export enum OneofReturnOptionsCase {
|
|
93
98
|
ONEOF_RETURN_OPTIONS_NOT_SET = 0,
|
|
94
99
|
RETURN_OPTIONS = 8,
|
|
95
100
|
}
|
|
101
|
+
|
|
102
|
+
export enum LanguageCase {
|
|
103
|
+
_LANGUAGE_NOT_SET = 0,
|
|
104
|
+
LANGUAGE = 9,
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export enum TaskCase {
|
|
108
|
+
_TASK_NOT_SET = 0,
|
|
109
|
+
TASK = 10,
|
|
110
|
+
}
|
|
96
111
|
}
|
|
97
112
|
|
|
98
113
|
export class TranscriptionReturnOptions extends jspb.Message {
|
|
@@ -206,6 +221,126 @@ export namespace PostProcessingOptions {
|
|
|
206
221
|
}
|
|
207
222
|
}
|
|
208
223
|
|
|
224
|
+
export class Transcription extends jspb.Message {
|
|
225
|
+
getTranscription(): string;
|
|
226
|
+
setTranscription(value: string): Transcription;
|
|
227
|
+
|
|
228
|
+
getConfidenceScore(): number;
|
|
229
|
+
setConfidenceScore(value: number): Transcription;
|
|
230
|
+
|
|
231
|
+
getWordsList(): Array<WordDetail>;
|
|
232
|
+
setWordsList(value: Array<WordDetail>): Transcription;
|
|
233
|
+
clearWordsList(): Transcription;
|
|
234
|
+
addWords(value?: WordDetail, index?: number): WordDetail;
|
|
235
|
+
|
|
236
|
+
getAlternativesList(): Array<TranscriptionAlternative>;
|
|
237
|
+
setAlternativesList(value: Array<TranscriptionAlternative>): Transcription;
|
|
238
|
+
clearAlternativesList(): Transcription;
|
|
239
|
+
addAlternatives(value?: TranscriptionAlternative, index?: number): TranscriptionAlternative;
|
|
240
|
+
|
|
241
|
+
serializeBinary(): Uint8Array;
|
|
242
|
+
toObject(includeInstance?: boolean): Transcription.AsObject;
|
|
243
|
+
static toObject(includeInstance: boolean, msg: Transcription): Transcription.AsObject;
|
|
244
|
+
static serializeBinaryToWriter(message: Transcription, writer: jspb.BinaryWriter): void;
|
|
245
|
+
static deserializeBinary(bytes: Uint8Array): Transcription;
|
|
246
|
+
static deserializeBinaryFromReader(message: Transcription, reader: jspb.BinaryReader): Transcription;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export namespace Transcription {
|
|
250
|
+
export type AsObject = {
|
|
251
|
+
transcription: string,
|
|
252
|
+
confidenceScore: number,
|
|
253
|
+
wordsList: Array<WordDetail.AsObject>,
|
|
254
|
+
alternativesList: Array<TranscriptionAlternative.AsObject>,
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export class TranscriptionAlternative extends jspb.Message {
|
|
259
|
+
getTranscript(): string;
|
|
260
|
+
setTranscript(value: string): TranscriptionAlternative;
|
|
261
|
+
|
|
262
|
+
getConfidence(): number;
|
|
263
|
+
setConfidence(value: number): TranscriptionAlternative;
|
|
264
|
+
|
|
265
|
+
getWordsList(): Array<WordDetail>;
|
|
266
|
+
setWordsList(value: Array<WordDetail>): TranscriptionAlternative;
|
|
267
|
+
clearWordsList(): TranscriptionAlternative;
|
|
268
|
+
addWords(value?: WordDetail, index?: number): WordDetail;
|
|
269
|
+
|
|
270
|
+
serializeBinary(): Uint8Array;
|
|
271
|
+
toObject(includeInstance?: boolean): TranscriptionAlternative.AsObject;
|
|
272
|
+
static toObject(includeInstance: boolean, msg: TranscriptionAlternative): TranscriptionAlternative.AsObject;
|
|
273
|
+
static serializeBinaryToWriter(message: TranscriptionAlternative, writer: jspb.BinaryWriter): void;
|
|
274
|
+
static deserializeBinary(bytes: Uint8Array): TranscriptionAlternative;
|
|
275
|
+
static deserializeBinaryFromReader(message: TranscriptionAlternative, reader: jspb.BinaryReader): TranscriptionAlternative;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export namespace TranscriptionAlternative {
|
|
279
|
+
export type AsObject = {
|
|
280
|
+
transcript: string,
|
|
281
|
+
confidence: number,
|
|
282
|
+
wordsList: Array<WordDetail.AsObject>,
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export class WordDetail extends jspb.Message {
|
|
287
|
+
getStartTime(): number;
|
|
288
|
+
setStartTime(value: number): WordDetail;
|
|
289
|
+
|
|
290
|
+
getEndTime(): number;
|
|
291
|
+
setEndTime(value: number): WordDetail;
|
|
292
|
+
|
|
293
|
+
getWord(): string;
|
|
294
|
+
setWord(value: string): WordDetail;
|
|
295
|
+
|
|
296
|
+
getConfidence(): number;
|
|
297
|
+
setConfidence(value: number): WordDetail;
|
|
298
|
+
|
|
299
|
+
getWordAlternativesList(): Array<WordAlternative>;
|
|
300
|
+
setWordAlternativesList(value: Array<WordAlternative>): WordDetail;
|
|
301
|
+
clearWordAlternativesList(): WordDetail;
|
|
302
|
+
addWordAlternatives(value?: WordAlternative, index?: number): WordAlternative;
|
|
303
|
+
|
|
304
|
+
serializeBinary(): Uint8Array;
|
|
305
|
+
toObject(includeInstance?: boolean): WordDetail.AsObject;
|
|
306
|
+
static toObject(includeInstance: boolean, msg: WordDetail): WordDetail.AsObject;
|
|
307
|
+
static serializeBinaryToWriter(message: WordDetail, writer: jspb.BinaryWriter): void;
|
|
308
|
+
static deserializeBinary(bytes: Uint8Array): WordDetail;
|
|
309
|
+
static deserializeBinaryFromReader(message: WordDetail, reader: jspb.BinaryReader): WordDetail;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export namespace WordDetail {
|
|
313
|
+
export type AsObject = {
|
|
314
|
+
startTime: number,
|
|
315
|
+
endTime: number,
|
|
316
|
+
word: string,
|
|
317
|
+
confidence: number,
|
|
318
|
+
wordAlternativesList: Array<WordAlternative.AsObject>,
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export class WordAlternative extends jspb.Message {
|
|
323
|
+
getWord(): string;
|
|
324
|
+
setWord(value: string): WordAlternative;
|
|
325
|
+
|
|
326
|
+
getConfidence(): number;
|
|
327
|
+
setConfidence(value: number): WordAlternative;
|
|
328
|
+
|
|
329
|
+
serializeBinary(): Uint8Array;
|
|
330
|
+
toObject(includeInstance?: boolean): WordAlternative.AsObject;
|
|
331
|
+
static toObject(includeInstance: boolean, msg: WordAlternative): WordAlternative.AsObject;
|
|
332
|
+
static serializeBinaryToWriter(message: WordAlternative, writer: jspb.BinaryWriter): void;
|
|
333
|
+
static deserializeBinary(bytes: Uint8Array): WordAlternative;
|
|
334
|
+
static deserializeBinaryFromReader(message: WordAlternative, reader: jspb.BinaryReader): WordAlternative;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export namespace WordAlternative {
|
|
338
|
+
export type AsObject = {
|
|
339
|
+
word: string,
|
|
340
|
+
confidence: number,
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
209
344
|
export class TranscribeStreamRequest extends jspb.Message {
|
|
210
345
|
getAudioChunk(): Uint8Array | string;
|
|
211
346
|
getAudioChunk_asU8(): Uint8Array;
|
|
@@ -240,28 +375,6 @@ export namespace TranscribeStreamRequest {
|
|
|
240
375
|
}
|
|
241
376
|
}
|
|
242
377
|
|
|
243
|
-
export class Transcription extends jspb.Message {
|
|
244
|
-
getTranscription(): string;
|
|
245
|
-
setTranscription(value: string): Transcription;
|
|
246
|
-
|
|
247
|
-
getConfidenceScore(): number;
|
|
248
|
-
setConfidenceScore(value: number): Transcription;
|
|
249
|
-
|
|
250
|
-
serializeBinary(): Uint8Array;
|
|
251
|
-
toObject(includeInstance?: boolean): Transcription.AsObject;
|
|
252
|
-
static toObject(includeInstance: boolean, msg: Transcription): Transcription.AsObject;
|
|
253
|
-
static serializeBinaryToWriter(message: Transcription, writer: jspb.BinaryWriter): void;
|
|
254
|
-
static deserializeBinary(bytes: Uint8Array): Transcription;
|
|
255
|
-
static deserializeBinaryFromReader(message: Transcription, reader: jspb.BinaryReader): Transcription;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
export namespace Transcription {
|
|
259
|
-
export type AsObject = {
|
|
260
|
-
transcription: string,
|
|
261
|
-
confidenceScore: number,
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
378
|
export class TranscribeStreamResponse extends jspb.Message {
|
|
266
379
|
getTranscriptionsList(): Array<Transcription>;
|
|
267
380
|
setTranscriptionsList(value: Array<Transcription>): TranscribeStreamResponse;
|
|
@@ -356,11 +469,6 @@ export class TranscribeFileResponse extends jspb.Message {
|
|
|
356
469
|
getTime(): number;
|
|
357
470
|
setTime(value: number): TranscribeFileResponse;
|
|
358
471
|
|
|
359
|
-
getWordTimingList(): Array<WordTiming>;
|
|
360
|
-
setWordTimingList(value: Array<WordTiming>): TranscribeFileResponse;
|
|
361
|
-
clearWordTimingList(): TranscribeFileResponse;
|
|
362
|
-
addWordTiming(value?: WordTiming, index?: number): WordTiming;
|
|
363
|
-
|
|
364
472
|
getAudioUuid(): string;
|
|
365
473
|
setAudioUuid(value: string): TranscribeFileResponse;
|
|
366
474
|
|
|
@@ -376,37 +484,10 @@ export namespace TranscribeFileResponse {
|
|
|
376
484
|
export type AsObject = {
|
|
377
485
|
transcriptionsList: Array<Transcription.AsObject>,
|
|
378
486
|
time: number,
|
|
379
|
-
wordTimingList: Array<WordTiming.AsObject>,
|
|
380
487
|
audioUuid: string,
|
|
381
488
|
}
|
|
382
489
|
}
|
|
383
490
|
|
|
384
|
-
export class WordTiming extends jspb.Message {
|
|
385
|
-
getWord(): string;
|
|
386
|
-
setWord(value: string): WordTiming;
|
|
387
|
-
|
|
388
|
-
getBegin(): number;
|
|
389
|
-
setBegin(value: number): WordTiming;
|
|
390
|
-
|
|
391
|
-
getEnd(): number;
|
|
392
|
-
setEnd(value: number): WordTiming;
|
|
393
|
-
|
|
394
|
-
serializeBinary(): Uint8Array;
|
|
395
|
-
toObject(includeInstance?: boolean): WordTiming.AsObject;
|
|
396
|
-
static toObject(includeInstance: boolean, msg: WordTiming): WordTiming.AsObject;
|
|
397
|
-
static serializeBinaryToWriter(message: WordTiming, writer: jspb.BinaryWriter): void;
|
|
398
|
-
static deserializeBinary(bytes: Uint8Array): WordTiming;
|
|
399
|
-
static deserializeBinaryFromReader(message: WordTiming, reader: jspb.BinaryReader): WordTiming;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export namespace WordTiming {
|
|
403
|
-
export type AsObject = {
|
|
404
|
-
word: string,
|
|
405
|
-
begin: number,
|
|
406
|
-
end: number,
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
491
|
export class S2tPipelineId extends jspb.Message {
|
|
411
492
|
getId(): string;
|
|
412
493
|
setId(value: string): S2tPipelineId;
|
|
@@ -713,16 +794,6 @@ export class AcousticModels extends jspb.Message {
|
|
|
713
794
|
getType(): string;
|
|
714
795
|
setType(value: string): AcousticModels;
|
|
715
796
|
|
|
716
|
-
getQuartznet(): Quartznet | undefined;
|
|
717
|
-
setQuartznet(value?: Quartznet): AcousticModels;
|
|
718
|
-
hasQuartznet(): boolean;
|
|
719
|
-
clearQuartznet(): AcousticModels;
|
|
720
|
-
|
|
721
|
-
getQuartznetTriton(): QuartznetTriton | undefined;
|
|
722
|
-
setQuartznetTriton(value?: QuartznetTriton): AcousticModels;
|
|
723
|
-
hasQuartznetTriton(): boolean;
|
|
724
|
-
clearQuartznetTriton(): AcousticModels;
|
|
725
|
-
|
|
726
797
|
getWav2vec(): Wav2Vec | undefined;
|
|
727
798
|
setWav2vec(value?: Wav2Vec): AcousticModels;
|
|
728
799
|
hasWav2vec(): boolean;
|
|
@@ -754,8 +825,6 @@ export class AcousticModels extends jspb.Message {
|
|
|
754
825
|
export namespace AcousticModels {
|
|
755
826
|
export type AsObject = {
|
|
756
827
|
type: string,
|
|
757
|
-
quartznet?: Quartznet.AsObject,
|
|
758
|
-
quartznetTriton?: QuartznetTriton.AsObject,
|
|
759
828
|
wav2vec?: Wav2Vec.AsObject,
|
|
760
829
|
wav2vecTriton?: Wav2VecTriton.AsObject,
|
|
761
830
|
whisper?: Whisper.AsObject,
|
|
@@ -773,6 +842,9 @@ export class Whisper extends jspb.Message {
|
|
|
773
842
|
getLanguage(): string;
|
|
774
843
|
setLanguage(value: string): Whisper;
|
|
775
844
|
|
|
845
|
+
getTask(): string;
|
|
846
|
+
setTask(value: string): Whisper;
|
|
847
|
+
|
|
776
848
|
serializeBinary(): Uint8Array;
|
|
777
849
|
toObject(includeInstance?: boolean): Whisper.AsObject;
|
|
778
850
|
static toObject(includeInstance: boolean, msg: Whisper): Whisper.AsObject;
|
|
@@ -786,6 +858,7 @@ export namespace Whisper {
|
|
|
786
858
|
modelPath: string,
|
|
787
859
|
useGpu: boolean,
|
|
788
860
|
language: string,
|
|
861
|
+
task: string,
|
|
789
862
|
}
|
|
790
863
|
}
|
|
791
864
|
|
|
@@ -802,6 +875,18 @@ export class WhisperTriton extends jspb.Message {
|
|
|
802
875
|
getCheckStatusTimeout(): number;
|
|
803
876
|
setCheckStatusTimeout(value: number): WhisperTriton;
|
|
804
877
|
|
|
878
|
+
getLanguage(): string;
|
|
879
|
+
setLanguage(value: string): WhisperTriton;
|
|
880
|
+
|
|
881
|
+
getTask(): string;
|
|
882
|
+
setTask(value: string): WhisperTriton;
|
|
883
|
+
|
|
884
|
+
getTritonServerHost(): string;
|
|
885
|
+
setTritonServerHost(value: string): WhisperTriton;
|
|
886
|
+
|
|
887
|
+
getTritonServerPort(): number;
|
|
888
|
+
setTritonServerPort(value: number): WhisperTriton;
|
|
889
|
+
|
|
805
890
|
serializeBinary(): Uint8Array;
|
|
806
891
|
toObject(includeInstance?: boolean): WhisperTriton.AsObject;
|
|
807
892
|
static toObject(includeInstance: boolean, msg: WhisperTriton): WhisperTriton.AsObject;
|
|
@@ -816,6 +901,10 @@ export namespace WhisperTriton {
|
|
|
816
901
|
tritonModelName: string,
|
|
817
902
|
tritonModelVersion: string,
|
|
818
903
|
checkStatusTimeout: number,
|
|
904
|
+
language: string,
|
|
905
|
+
task: string,
|
|
906
|
+
tritonServerHost: string,
|
|
907
|
+
tritonServerPort: number,
|
|
819
908
|
}
|
|
820
909
|
}
|
|
821
910
|
|
|
@@ -854,6 +943,12 @@ export class Wav2VecTriton extends jspb.Message {
|
|
|
854
943
|
getCheckStatusTimeout(): number;
|
|
855
944
|
setCheckStatusTimeout(value: number): Wav2VecTriton;
|
|
856
945
|
|
|
946
|
+
getTritonServerHost(): string;
|
|
947
|
+
setTritonServerHost(value: string): Wav2VecTriton;
|
|
948
|
+
|
|
949
|
+
getTritonServerPort(): number;
|
|
950
|
+
setTritonServerPort(value: number): Wav2VecTriton;
|
|
951
|
+
|
|
857
952
|
serializeBinary(): Uint8Array;
|
|
858
953
|
toObject(includeInstance?: boolean): Wav2VecTriton.AsObject;
|
|
859
954
|
static toObject(includeInstance: boolean, msg: Wav2VecTriton): Wav2VecTriton.AsObject;
|
|
@@ -868,44 +963,8 @@ export namespace Wav2VecTriton {
|
|
|
868
963
|
tritonModelName: string,
|
|
869
964
|
tritonModelVersion: string,
|
|
870
965
|
checkStatusTimeout: number,
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
export class Quartznet extends jspb.Message {
|
|
875
|
-
getConfigPath(): string;
|
|
876
|
-
setConfigPath(value: string): Quartznet;
|
|
877
|
-
|
|
878
|
-
getLoadType(): string;
|
|
879
|
-
setLoadType(value: string): Quartznet;
|
|
880
|
-
|
|
881
|
-
getPtFiles(): PtFiles | undefined;
|
|
882
|
-
setPtFiles(value?: PtFiles): Quartznet;
|
|
883
|
-
hasPtFiles(): boolean;
|
|
884
|
-
clearPtFiles(): Quartznet;
|
|
885
|
-
|
|
886
|
-
getCkptFile(): CkptFile | undefined;
|
|
887
|
-
setCkptFile(value?: CkptFile): Quartznet;
|
|
888
|
-
hasCkptFile(): boolean;
|
|
889
|
-
clearCkptFile(): Quartznet;
|
|
890
|
-
|
|
891
|
-
getUseGpu(): boolean;
|
|
892
|
-
setUseGpu(value: boolean): Quartznet;
|
|
893
|
-
|
|
894
|
-
serializeBinary(): Uint8Array;
|
|
895
|
-
toObject(includeInstance?: boolean): Quartznet.AsObject;
|
|
896
|
-
static toObject(includeInstance: boolean, msg: Quartznet): Quartznet.AsObject;
|
|
897
|
-
static serializeBinaryToWriter(message: Quartznet, writer: jspb.BinaryWriter): void;
|
|
898
|
-
static deserializeBinary(bytes: Uint8Array): Quartznet;
|
|
899
|
-
static deserializeBinaryFromReader(message: Quartznet, reader: jspb.BinaryReader): Quartznet;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
export namespace Quartznet {
|
|
903
|
-
export type AsObject = {
|
|
904
|
-
configPath: string,
|
|
905
|
-
loadType: string,
|
|
906
|
-
ptFiles?: PtFiles.AsObject,
|
|
907
|
-
ckptFile?: CkptFile.AsObject,
|
|
908
|
-
useGpu: boolean,
|
|
966
|
+
tritonServerHost: string,
|
|
967
|
+
tritonServerPort: number,
|
|
909
968
|
}
|
|
910
969
|
}
|
|
911
970
|
|
|
@@ -949,32 +1008,6 @@ export namespace CkptFile {
|
|
|
949
1008
|
}
|
|
950
1009
|
}
|
|
951
1010
|
|
|
952
|
-
export class QuartznetTriton extends jspb.Message {
|
|
953
|
-
getConfigPath(): string;
|
|
954
|
-
setConfigPath(value: string): QuartznetTriton;
|
|
955
|
-
|
|
956
|
-
getTritonUrl(): string;
|
|
957
|
-
setTritonUrl(value: string): QuartznetTriton;
|
|
958
|
-
|
|
959
|
-
getTritonModel(): string;
|
|
960
|
-
setTritonModel(value: string): QuartznetTriton;
|
|
961
|
-
|
|
962
|
-
serializeBinary(): Uint8Array;
|
|
963
|
-
toObject(includeInstance?: boolean): QuartznetTriton.AsObject;
|
|
964
|
-
static toObject(includeInstance: boolean, msg: QuartznetTriton): QuartznetTriton.AsObject;
|
|
965
|
-
static serializeBinaryToWriter(message: QuartznetTriton, writer: jspb.BinaryWriter): void;
|
|
966
|
-
static deserializeBinary(bytes: Uint8Array): QuartznetTriton;
|
|
967
|
-
static deserializeBinaryFromReader(message: QuartznetTriton, reader: jspb.BinaryReader): QuartznetTriton;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
export namespace QuartznetTriton {
|
|
971
|
-
export type AsObject = {
|
|
972
|
-
configPath: string,
|
|
973
|
-
tritonUrl: string,
|
|
974
|
-
tritonModel: string,
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
|
|
978
1011
|
export class LanguageModels extends jspb.Message {
|
|
979
1012
|
getPath(): string;
|
|
980
1013
|
setPath(value: string): LanguageModels;
|
|
@@ -1095,11 +1128,6 @@ export class VoiceActivityDetection extends jspb.Message {
|
|
|
1095
1128
|
hasPyannote(): boolean;
|
|
1096
1129
|
clearPyannote(): VoiceActivityDetection;
|
|
1097
1130
|
|
|
1098
|
-
getMatchbox(): Matchbox | undefined;
|
|
1099
|
-
setMatchbox(value?: Matchbox): VoiceActivityDetection;
|
|
1100
|
-
hasMatchbox(): boolean;
|
|
1101
|
-
clearMatchbox(): VoiceActivityDetection;
|
|
1102
|
-
|
|
1103
1131
|
serializeBinary(): Uint8Array;
|
|
1104
1132
|
toObject(includeInstance?: boolean): VoiceActivityDetection.AsObject;
|
|
1105
1133
|
static toObject(includeInstance: boolean, msg: VoiceActivityDetection): VoiceActivityDetection.AsObject;
|
|
@@ -1113,33 +1141,27 @@ export namespace VoiceActivityDetection {
|
|
|
1113
1141
|
active: string,
|
|
1114
1142
|
samplingRate: number,
|
|
1115
1143
|
pyannote?: Pyannote.AsObject,
|
|
1116
|
-
matchbox?: Matchbox.AsObject,
|
|
1117
1144
|
}
|
|
1118
1145
|
}
|
|
1119
1146
|
|
|
1120
1147
|
export class Pyannote extends jspb.Message {
|
|
1121
|
-
|
|
1122
|
-
|
|
1148
|
+
getModelName(): string;
|
|
1149
|
+
setModelName(value: string): Pyannote;
|
|
1123
1150
|
|
|
1124
1151
|
getMinAudioSize(): number;
|
|
1125
1152
|
setMinAudioSize(value: number): Pyannote;
|
|
1126
1153
|
|
|
1127
|
-
getOffset(): number;
|
|
1128
|
-
setOffset(value: number): Pyannote;
|
|
1129
|
-
|
|
1130
|
-
getOnset(): number;
|
|
1131
|
-
setOnset(value: number): Pyannote;
|
|
1132
|
-
|
|
1133
|
-
getLogScale(): boolean;
|
|
1134
|
-
setLogScale(value: boolean): Pyannote;
|
|
1135
|
-
|
|
1136
1154
|
getMinDurationOff(): number;
|
|
1137
1155
|
setMinDurationOff(value: number): Pyannote;
|
|
1138
1156
|
|
|
1139
1157
|
getMinDurationOn(): number;
|
|
1140
1158
|
setMinDurationOn(value: number): Pyannote;
|
|
1141
1159
|
|
|
1142
|
-
|
|
1160
|
+
getTritonServerHost(): string;
|
|
1161
|
+
setTritonServerHost(value: string): Pyannote;
|
|
1162
|
+
|
|
1163
|
+
getTritonServerPort(): number;
|
|
1164
|
+
setTritonServerPort(value: number): Pyannote;
|
|
1143
1165
|
|
|
1144
1166
|
serializeBinary(): Uint8Array;
|
|
1145
1167
|
toObject(includeInstance?: boolean): Pyannote.AsObject;
|
|
@@ -1151,44 +1173,12 @@ export class Pyannote extends jspb.Message {
|
|
|
1151
1173
|
|
|
1152
1174
|
export namespace Pyannote {
|
|
1153
1175
|
export type AsObject = {
|
|
1154
|
-
|
|
1176
|
+
modelName: string,
|
|
1155
1177
|
minAudioSize: number,
|
|
1156
|
-
offset: number,
|
|
1157
|
-
onset: number,
|
|
1158
|
-
logScale: boolean,
|
|
1159
1178
|
minDurationOff: number,
|
|
1160
1179
|
minDurationOn: number,
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
export enum OneofLogScaleCase {
|
|
1164
|
-
ONEOF_LOG_SCALE_NOT_SET = 0,
|
|
1165
|
-
LOG_SCALE = 5,
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
export class Matchbox extends jspb.Message {
|
|
1170
|
-
getModelConfig(): string;
|
|
1171
|
-
setModelConfig(value: string): Matchbox;
|
|
1172
|
-
|
|
1173
|
-
getEncoderPath(): string;
|
|
1174
|
-
setEncoderPath(value: string): Matchbox;
|
|
1175
|
-
|
|
1176
|
-
getDecoderPath(): string;
|
|
1177
|
-
setDecoderPath(value: string): Matchbox;
|
|
1178
|
-
|
|
1179
|
-
serializeBinary(): Uint8Array;
|
|
1180
|
-
toObject(includeInstance?: boolean): Matchbox.AsObject;
|
|
1181
|
-
static toObject(includeInstance: boolean, msg: Matchbox): Matchbox.AsObject;
|
|
1182
|
-
static serializeBinaryToWriter(message: Matchbox, writer: jspb.BinaryWriter): void;
|
|
1183
|
-
static deserializeBinary(bytes: Uint8Array): Matchbox;
|
|
1184
|
-
static deserializeBinaryFromReader(message: Matchbox, reader: jspb.BinaryReader): Matchbox;
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
export namespace Matchbox {
|
|
1188
|
-
export type AsObject = {
|
|
1189
|
-
modelConfig: string,
|
|
1190
|
-
encoderPath: string,
|
|
1191
|
-
decoderPath: string,
|
|
1180
|
+
tritonServerHost: string,
|
|
1181
|
+
tritonServerPort: number,
|
|
1192
1182
|
}
|
|
1193
1183
|
}
|
|
1194
1184
|
|
|
@@ -1456,14 +1446,14 @@ export namespace TrainUserLanguageModelRequest {
|
|
|
1456
1446
|
}
|
|
1457
1447
|
}
|
|
1458
1448
|
|
|
1459
|
-
export enum InferenceBackend {
|
|
1460
|
-
INFERENCE_BACKEND_UNKNOWN = 0,
|
|
1461
|
-
INFERENCE_BACKEND_PYTORCH = 1,
|
|
1462
|
-
INFERENCE_BACKEND_FLAX = 2,
|
|
1463
|
-
}
|
|
1464
1449
|
export enum Decoding {
|
|
1465
1450
|
DEFAULT = 0,
|
|
1466
1451
|
GREEDY = 1,
|
|
1467
1452
|
BEAM_SEARCH_WITH_LM = 2,
|
|
1468
1453
|
BEAM_SEARCH = 3,
|
|
1469
1454
|
}
|
|
1455
|
+
export enum InferenceBackend {
|
|
1456
|
+
INFERENCE_BACKEND_UNKNOWN = 0,
|
|
1457
|
+
INFERENCE_BACKEND_PYTORCH = 1,
|
|
1458
|
+
INFERENCE_BACKEND_FLAX = 2,
|
|
1459
|
+
}
|