@ondewo/s2t-client-typescript 7.3.0 → 7.4.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 +41 -8
- package/api/ondewo/s2t/speech-to-text_pb.js +328 -23
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/public-api.js +2 -2
|
@@ -1156,6 +1156,11 @@ export class AcousticModels extends jspb.Message {
|
|
|
1156
1156
|
hasS2tCloudServiceMicrosoft(): boolean;
|
|
1157
1157
|
clearS2tCloudServiceMicrosoft(): AcousticModels;
|
|
1158
1158
|
|
|
1159
|
+
getParakeet(): Parakeet | undefined;
|
|
1160
|
+
setParakeet(value?: Parakeet): AcousticModels;
|
|
1161
|
+
hasParakeet(): boolean;
|
|
1162
|
+
clearParakeet(): AcousticModels;
|
|
1163
|
+
|
|
1159
1164
|
serializeBinary(): Uint8Array;
|
|
1160
1165
|
toObject(includeInstance?: boolean): AcousticModels.AsObject;
|
|
1161
1166
|
static toObject(includeInstance: boolean, msg: AcousticModels): AcousticModels.AsObject;
|
|
@@ -1175,6 +1180,7 @@ export namespace AcousticModels {
|
|
|
1175
1180
|
s2tCloudServiceDeepgram?: S2tCloudServiceDeepgram.AsObject,
|
|
1176
1181
|
s2tCloudServiceGoogle?: S2tCloudServiceGoogle.AsObject,
|
|
1177
1182
|
s2tCloudServiceMicrosoft?: S2tCloudServiceMicrosoft.AsObject,
|
|
1183
|
+
parakeet?: Parakeet.AsObject,
|
|
1178
1184
|
}
|
|
1179
1185
|
}
|
|
1180
1186
|
|
|
@@ -1462,6 +1468,40 @@ export namespace Wav2VecTriton {
|
|
|
1462
1468
|
}
|
|
1463
1469
|
}
|
|
1464
1470
|
|
|
1471
|
+
export class Parakeet extends jspb.Message {
|
|
1472
|
+
getTritonModelName(): string;
|
|
1473
|
+
setTritonModelName(value: string): Parakeet;
|
|
1474
|
+
|
|
1475
|
+
getTritonModelVersion(): string;
|
|
1476
|
+
setTritonModelVersion(value: string): Parakeet;
|
|
1477
|
+
|
|
1478
|
+
getCheckStatusTimeout(): number;
|
|
1479
|
+
setCheckStatusTimeout(value: number): Parakeet;
|
|
1480
|
+
|
|
1481
|
+
getTritonServerHost(): string;
|
|
1482
|
+
setTritonServerHost(value: string): Parakeet;
|
|
1483
|
+
|
|
1484
|
+
getTritonServerPort(): number;
|
|
1485
|
+
setTritonServerPort(value: number): Parakeet;
|
|
1486
|
+
|
|
1487
|
+
serializeBinary(): Uint8Array;
|
|
1488
|
+
toObject(includeInstance?: boolean): Parakeet.AsObject;
|
|
1489
|
+
static toObject(includeInstance: boolean, msg: Parakeet): Parakeet.AsObject;
|
|
1490
|
+
static serializeBinaryToWriter(message: Parakeet, writer: jspb.BinaryWriter): void;
|
|
1491
|
+
static deserializeBinary(bytes: Uint8Array): Parakeet;
|
|
1492
|
+
static deserializeBinaryFromReader(message: Parakeet, reader: jspb.BinaryReader): Parakeet;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
export namespace Parakeet {
|
|
1496
|
+
export type AsObject = {
|
|
1497
|
+
tritonModelName: string,
|
|
1498
|
+
tritonModelVersion: string,
|
|
1499
|
+
checkStatusTimeout: number,
|
|
1500
|
+
tritonServerHost: string,
|
|
1501
|
+
tritonServerPort: number,
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1465
1505
|
export class PtFiles extends jspb.Message {
|
|
1466
1506
|
getPath(): string;
|
|
1467
1507
|
setPath(value: string): PtFiles;
|
|
@@ -1733,8 +1773,6 @@ export class OpenaiLlmOptions extends jspb.Message {
|
|
|
1733
1773
|
|
|
1734
1774
|
getModel(): string;
|
|
1735
1775
|
setModel(value: string): OpenaiLlmOptions;
|
|
1736
|
-
hasModel(): boolean;
|
|
1737
|
-
clearModel(): OpenaiLlmOptions;
|
|
1738
1776
|
|
|
1739
1777
|
getFrequencyPenalty(): number;
|
|
1740
1778
|
setFrequencyPenalty(value: number): OpenaiLlmOptions;
|
|
@@ -1865,7 +1903,7 @@ export namespace OpenaiLlmOptions {
|
|
|
1865
1903
|
defaultHeadersMap: Array<[string, string]>,
|
|
1866
1904
|
defaultQuery?: google_protobuf_struct_pb.Struct.AsObject,
|
|
1867
1905
|
strictResponseValidation?: boolean,
|
|
1868
|
-
model
|
|
1906
|
+
model: string,
|
|
1869
1907
|
frequencyPenalty?: number,
|
|
1870
1908
|
logitBiasMap: Array<[string, number]>,
|
|
1871
1909
|
logprobs?: boolean,
|
|
@@ -1940,11 +1978,6 @@ export namespace OpenaiLlmOptions {
|
|
|
1940
1978
|
STRICT_RESPONSE_VALIDATION = 11,
|
|
1941
1979
|
}
|
|
1942
1980
|
|
|
1943
|
-
export enum ModelCase {
|
|
1944
|
-
_MODEL_NOT_SET = 0,
|
|
1945
|
-
MODEL = 12,
|
|
1946
|
-
}
|
|
1947
|
-
|
|
1948
1981
|
export enum FrequencyPenaltyCase {
|
|
1949
1982
|
_FREQUENCY_PENALTY_NOT_SET = 0,
|
|
1950
1983
|
FREQUENCY_PENALTY = 13,
|
|
@@ -46,6 +46,7 @@ goog.exportSymbol('proto.ondewo.s2t.ListS2tPipelinesRequest', null, global);
|
|
|
46
46
|
goog.exportSymbol('proto.ondewo.s2t.ListS2tPipelinesResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.ondewo.s2t.Logging', null, global);
|
|
48
48
|
goog.exportSymbol('proto.ondewo.s2t.OpenaiLlmOptions', null, global);
|
|
49
|
+
goog.exportSymbol('proto.ondewo.s2t.Parakeet', null, global);
|
|
49
50
|
goog.exportSymbol('proto.ondewo.s2t.PostProcessing', null, global);
|
|
50
51
|
goog.exportSymbol('proto.ondewo.s2t.PostProcessingOptions', null, global);
|
|
51
52
|
goog.exportSymbol('proto.ondewo.s2t.PostProcessors', null, global);
|
|
@@ -881,6 +882,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
881
882
|
*/
|
|
882
883
|
proto.ondewo.s2t.Wav2VecTriton.displayName = 'proto.ondewo.s2t.Wav2VecTriton';
|
|
883
884
|
}
|
|
885
|
+
/**
|
|
886
|
+
* Generated by JsPbCodeGenerator.
|
|
887
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
888
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
889
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
890
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
891
|
+
* valid.
|
|
892
|
+
* @extends {jspb.Message}
|
|
893
|
+
* @constructor
|
|
894
|
+
*/
|
|
895
|
+
proto.ondewo.s2t.Parakeet = function(opt_data) {
|
|
896
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
897
|
+
};
|
|
898
|
+
goog.inherits(proto.ondewo.s2t.Parakeet, jspb.Message);
|
|
899
|
+
if (goog.DEBUG && !COMPILED) {
|
|
900
|
+
/**
|
|
901
|
+
* @public
|
|
902
|
+
* @override
|
|
903
|
+
*/
|
|
904
|
+
proto.ondewo.s2t.Parakeet.displayName = 'proto.ondewo.s2t.Parakeet';
|
|
905
|
+
}
|
|
884
906
|
/**
|
|
885
907
|
* Generated by JsPbCodeGenerator.
|
|
886
908
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8954,7 +8976,8 @@ whisperTriton: (f = msg.getWhisperTriton()) && proto.ondewo.s2t.WhisperTriton.to
|
|
|
8954
8976
|
s2tCloudServiceAmazon: (f = msg.getS2tCloudServiceAmazon()) && proto.ondewo.s2t.S2tCloudServiceAmazon.toObject(includeInstance, f),
|
|
8955
8977
|
s2tCloudServiceDeepgram: (f = msg.getS2tCloudServiceDeepgram()) && proto.ondewo.s2t.S2tCloudServiceDeepgram.toObject(includeInstance, f),
|
|
8956
8978
|
s2tCloudServiceGoogle: (f = msg.getS2tCloudServiceGoogle()) && proto.ondewo.s2t.S2tCloudServiceGoogle.toObject(includeInstance, f),
|
|
8957
|
-
s2tCloudServiceMicrosoft: (f = msg.getS2tCloudServiceMicrosoft()) && proto.ondewo.s2t.S2tCloudServiceMicrosoft.toObject(includeInstance, f)
|
|
8979
|
+
s2tCloudServiceMicrosoft: (f = msg.getS2tCloudServiceMicrosoft()) && proto.ondewo.s2t.S2tCloudServiceMicrosoft.toObject(includeInstance, f),
|
|
8980
|
+
parakeet: (f = msg.getParakeet()) && proto.ondewo.s2t.Parakeet.toObject(includeInstance, f)
|
|
8958
8981
|
};
|
|
8959
8982
|
|
|
8960
8983
|
if (includeInstance) {
|
|
@@ -9035,6 +9058,11 @@ proto.ondewo.s2t.AcousticModels.deserializeBinaryFromReader = function(msg, read
|
|
|
9035
9058
|
reader.readMessage(value,proto.ondewo.s2t.S2tCloudServiceMicrosoft.deserializeBinaryFromReader);
|
|
9036
9059
|
msg.setS2tCloudServiceMicrosoft(value);
|
|
9037
9060
|
break;
|
|
9061
|
+
case 10:
|
|
9062
|
+
var value = new proto.ondewo.s2t.Parakeet;
|
|
9063
|
+
reader.readMessage(value,proto.ondewo.s2t.Parakeet.deserializeBinaryFromReader);
|
|
9064
|
+
msg.setParakeet(value);
|
|
9065
|
+
break;
|
|
9038
9066
|
default:
|
|
9039
9067
|
reader.skipField();
|
|
9040
9068
|
break;
|
|
@@ -9135,6 +9163,14 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
9135
9163
|
proto.ondewo.s2t.S2tCloudServiceMicrosoft.serializeBinaryToWriter
|
|
9136
9164
|
);
|
|
9137
9165
|
}
|
|
9166
|
+
f = message.getParakeet();
|
|
9167
|
+
if (f != null) {
|
|
9168
|
+
writer.writeMessage(
|
|
9169
|
+
10,
|
|
9170
|
+
f,
|
|
9171
|
+
proto.ondewo.s2t.Parakeet.serializeBinaryToWriter
|
|
9172
|
+
);
|
|
9173
|
+
}
|
|
9138
9174
|
};
|
|
9139
9175
|
|
|
9140
9176
|
|
|
@@ -9452,6 +9488,43 @@ proto.ondewo.s2t.AcousticModels.prototype.hasS2tCloudServiceMicrosoft = function
|
|
|
9452
9488
|
};
|
|
9453
9489
|
|
|
9454
9490
|
|
|
9491
|
+
/**
|
|
9492
|
+
* optional Parakeet parakeet = 10;
|
|
9493
|
+
* @return {?proto.ondewo.s2t.Parakeet}
|
|
9494
|
+
*/
|
|
9495
|
+
proto.ondewo.s2t.AcousticModels.prototype.getParakeet = function() {
|
|
9496
|
+
return /** @type{?proto.ondewo.s2t.Parakeet} */ (
|
|
9497
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Parakeet, 10));
|
|
9498
|
+
};
|
|
9499
|
+
|
|
9500
|
+
|
|
9501
|
+
/**
|
|
9502
|
+
* @param {?proto.ondewo.s2t.Parakeet|undefined} value
|
|
9503
|
+
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
9504
|
+
*/
|
|
9505
|
+
proto.ondewo.s2t.AcousticModels.prototype.setParakeet = function(value) {
|
|
9506
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
9507
|
+
};
|
|
9508
|
+
|
|
9509
|
+
|
|
9510
|
+
/**
|
|
9511
|
+
* Clears the message field making it undefined.
|
|
9512
|
+
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
9513
|
+
*/
|
|
9514
|
+
proto.ondewo.s2t.AcousticModels.prototype.clearParakeet = function() {
|
|
9515
|
+
return this.setParakeet(undefined);
|
|
9516
|
+
};
|
|
9517
|
+
|
|
9518
|
+
|
|
9519
|
+
/**
|
|
9520
|
+
* Returns whether this field is set.
|
|
9521
|
+
* @return {boolean}
|
|
9522
|
+
*/
|
|
9523
|
+
proto.ondewo.s2t.AcousticModels.prototype.hasParakeet = function() {
|
|
9524
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9525
|
+
};
|
|
9526
|
+
|
|
9527
|
+
|
|
9455
9528
|
|
|
9456
9529
|
|
|
9457
9530
|
|
|
@@ -11545,6 +11618,256 @@ proto.ondewo.s2t.Wav2VecTriton.prototype.setTritonServerPort = function(value) {
|
|
|
11545
11618
|
|
|
11546
11619
|
|
|
11547
11620
|
|
|
11621
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11622
|
+
/**
|
|
11623
|
+
* Creates an object representation of this proto.
|
|
11624
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11625
|
+
* Optional fields that are not set will be set to undefined.
|
|
11626
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11627
|
+
* For the list of reserved names please see:
|
|
11628
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11629
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11630
|
+
* JSPB instance for transitional soy proto support:
|
|
11631
|
+
* http://goto/soy-param-migration
|
|
11632
|
+
* @return {!Object}
|
|
11633
|
+
*/
|
|
11634
|
+
proto.ondewo.s2t.Parakeet.prototype.toObject = function(opt_includeInstance) {
|
|
11635
|
+
return proto.ondewo.s2t.Parakeet.toObject(opt_includeInstance, this);
|
|
11636
|
+
};
|
|
11637
|
+
|
|
11638
|
+
|
|
11639
|
+
/**
|
|
11640
|
+
* Static version of the {@see toObject} method.
|
|
11641
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11642
|
+
* the JSPB instance for transitional soy proto support:
|
|
11643
|
+
* http://goto/soy-param-migration
|
|
11644
|
+
* @param {!proto.ondewo.s2t.Parakeet} msg The msg instance to transform.
|
|
11645
|
+
* @return {!Object}
|
|
11646
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11647
|
+
*/
|
|
11648
|
+
proto.ondewo.s2t.Parakeet.toObject = function(includeInstance, msg) {
|
|
11649
|
+
var f, obj = {
|
|
11650
|
+
tritonModelName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11651
|
+
tritonModelVersion: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11652
|
+
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
11653
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11654
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
11655
|
+
};
|
|
11656
|
+
|
|
11657
|
+
if (includeInstance) {
|
|
11658
|
+
obj.$jspbMessageInstance = msg;
|
|
11659
|
+
}
|
|
11660
|
+
return obj;
|
|
11661
|
+
};
|
|
11662
|
+
}
|
|
11663
|
+
|
|
11664
|
+
|
|
11665
|
+
/**
|
|
11666
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11667
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11668
|
+
* @return {!proto.ondewo.s2t.Parakeet}
|
|
11669
|
+
*/
|
|
11670
|
+
proto.ondewo.s2t.Parakeet.deserializeBinary = function(bytes) {
|
|
11671
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11672
|
+
var msg = new proto.ondewo.s2t.Parakeet;
|
|
11673
|
+
return proto.ondewo.s2t.Parakeet.deserializeBinaryFromReader(msg, reader);
|
|
11674
|
+
};
|
|
11675
|
+
|
|
11676
|
+
|
|
11677
|
+
/**
|
|
11678
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11679
|
+
* given reader into the given message object.
|
|
11680
|
+
* @param {!proto.ondewo.s2t.Parakeet} msg The message object to deserialize into.
|
|
11681
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11682
|
+
* @return {!proto.ondewo.s2t.Parakeet}
|
|
11683
|
+
*/
|
|
11684
|
+
proto.ondewo.s2t.Parakeet.deserializeBinaryFromReader = function(msg, reader) {
|
|
11685
|
+
while (reader.nextField()) {
|
|
11686
|
+
if (reader.isEndGroup()) {
|
|
11687
|
+
break;
|
|
11688
|
+
}
|
|
11689
|
+
var field = reader.getFieldNumber();
|
|
11690
|
+
switch (field) {
|
|
11691
|
+
case 1:
|
|
11692
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11693
|
+
msg.setTritonModelName(value);
|
|
11694
|
+
break;
|
|
11695
|
+
case 2:
|
|
11696
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11697
|
+
msg.setTritonModelVersion(value);
|
|
11698
|
+
break;
|
|
11699
|
+
case 3:
|
|
11700
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11701
|
+
msg.setCheckStatusTimeout(value);
|
|
11702
|
+
break;
|
|
11703
|
+
case 4:
|
|
11704
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11705
|
+
msg.setTritonServerHost(value);
|
|
11706
|
+
break;
|
|
11707
|
+
case 5:
|
|
11708
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11709
|
+
msg.setTritonServerPort(value);
|
|
11710
|
+
break;
|
|
11711
|
+
default:
|
|
11712
|
+
reader.skipField();
|
|
11713
|
+
break;
|
|
11714
|
+
}
|
|
11715
|
+
}
|
|
11716
|
+
return msg;
|
|
11717
|
+
};
|
|
11718
|
+
|
|
11719
|
+
|
|
11720
|
+
/**
|
|
11721
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11722
|
+
* @return {!Uint8Array}
|
|
11723
|
+
*/
|
|
11724
|
+
proto.ondewo.s2t.Parakeet.prototype.serializeBinary = function() {
|
|
11725
|
+
var writer = new jspb.BinaryWriter();
|
|
11726
|
+
proto.ondewo.s2t.Parakeet.serializeBinaryToWriter(this, writer);
|
|
11727
|
+
return writer.getResultBuffer();
|
|
11728
|
+
};
|
|
11729
|
+
|
|
11730
|
+
|
|
11731
|
+
/**
|
|
11732
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11733
|
+
* format), writing to the given BinaryWriter.
|
|
11734
|
+
* @param {!proto.ondewo.s2t.Parakeet} message
|
|
11735
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11736
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11737
|
+
*/
|
|
11738
|
+
proto.ondewo.s2t.Parakeet.serializeBinaryToWriter = function(message, writer) {
|
|
11739
|
+
var f = undefined;
|
|
11740
|
+
f = message.getTritonModelName();
|
|
11741
|
+
if (f.length > 0) {
|
|
11742
|
+
writer.writeString(
|
|
11743
|
+
1,
|
|
11744
|
+
f
|
|
11745
|
+
);
|
|
11746
|
+
}
|
|
11747
|
+
f = message.getTritonModelVersion();
|
|
11748
|
+
if (f.length > 0) {
|
|
11749
|
+
writer.writeString(
|
|
11750
|
+
2,
|
|
11751
|
+
f
|
|
11752
|
+
);
|
|
11753
|
+
}
|
|
11754
|
+
f = message.getCheckStatusTimeout();
|
|
11755
|
+
if (f !== 0) {
|
|
11756
|
+
writer.writeInt64(
|
|
11757
|
+
3,
|
|
11758
|
+
f
|
|
11759
|
+
);
|
|
11760
|
+
}
|
|
11761
|
+
f = message.getTritonServerHost();
|
|
11762
|
+
if (f.length > 0) {
|
|
11763
|
+
writer.writeString(
|
|
11764
|
+
4,
|
|
11765
|
+
f
|
|
11766
|
+
);
|
|
11767
|
+
}
|
|
11768
|
+
f = message.getTritonServerPort();
|
|
11769
|
+
if (f !== 0) {
|
|
11770
|
+
writer.writeInt64(
|
|
11771
|
+
5,
|
|
11772
|
+
f
|
|
11773
|
+
);
|
|
11774
|
+
}
|
|
11775
|
+
};
|
|
11776
|
+
|
|
11777
|
+
|
|
11778
|
+
/**
|
|
11779
|
+
* optional string triton_model_name = 1;
|
|
11780
|
+
* @return {string}
|
|
11781
|
+
*/
|
|
11782
|
+
proto.ondewo.s2t.Parakeet.prototype.getTritonModelName = function() {
|
|
11783
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11784
|
+
};
|
|
11785
|
+
|
|
11786
|
+
|
|
11787
|
+
/**
|
|
11788
|
+
* @param {string} value
|
|
11789
|
+
* @return {!proto.ondewo.s2t.Parakeet} returns this
|
|
11790
|
+
*/
|
|
11791
|
+
proto.ondewo.s2t.Parakeet.prototype.setTritonModelName = function(value) {
|
|
11792
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11793
|
+
};
|
|
11794
|
+
|
|
11795
|
+
|
|
11796
|
+
/**
|
|
11797
|
+
* optional string triton_model_version = 2;
|
|
11798
|
+
* @return {string}
|
|
11799
|
+
*/
|
|
11800
|
+
proto.ondewo.s2t.Parakeet.prototype.getTritonModelVersion = function() {
|
|
11801
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11802
|
+
};
|
|
11803
|
+
|
|
11804
|
+
|
|
11805
|
+
/**
|
|
11806
|
+
* @param {string} value
|
|
11807
|
+
* @return {!proto.ondewo.s2t.Parakeet} returns this
|
|
11808
|
+
*/
|
|
11809
|
+
proto.ondewo.s2t.Parakeet.prototype.setTritonModelVersion = function(value) {
|
|
11810
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11811
|
+
};
|
|
11812
|
+
|
|
11813
|
+
|
|
11814
|
+
/**
|
|
11815
|
+
* optional int64 check_status_timeout = 3;
|
|
11816
|
+
* @return {number}
|
|
11817
|
+
*/
|
|
11818
|
+
proto.ondewo.s2t.Parakeet.prototype.getCheckStatusTimeout = function() {
|
|
11819
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
11820
|
+
};
|
|
11821
|
+
|
|
11822
|
+
|
|
11823
|
+
/**
|
|
11824
|
+
* @param {number} value
|
|
11825
|
+
* @return {!proto.ondewo.s2t.Parakeet} returns this
|
|
11826
|
+
*/
|
|
11827
|
+
proto.ondewo.s2t.Parakeet.prototype.setCheckStatusTimeout = function(value) {
|
|
11828
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
11829
|
+
};
|
|
11830
|
+
|
|
11831
|
+
|
|
11832
|
+
/**
|
|
11833
|
+
* optional string triton_server_host = 4;
|
|
11834
|
+
* @return {string}
|
|
11835
|
+
*/
|
|
11836
|
+
proto.ondewo.s2t.Parakeet.prototype.getTritonServerHost = function() {
|
|
11837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11838
|
+
};
|
|
11839
|
+
|
|
11840
|
+
|
|
11841
|
+
/**
|
|
11842
|
+
* @param {string} value
|
|
11843
|
+
* @return {!proto.ondewo.s2t.Parakeet} returns this
|
|
11844
|
+
*/
|
|
11845
|
+
proto.ondewo.s2t.Parakeet.prototype.setTritonServerHost = function(value) {
|
|
11846
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11847
|
+
};
|
|
11848
|
+
|
|
11849
|
+
|
|
11850
|
+
/**
|
|
11851
|
+
* optional int64 triton_server_port = 5;
|
|
11852
|
+
* @return {number}
|
|
11853
|
+
*/
|
|
11854
|
+
proto.ondewo.s2t.Parakeet.prototype.getTritonServerPort = function() {
|
|
11855
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
11856
|
+
};
|
|
11857
|
+
|
|
11858
|
+
|
|
11859
|
+
/**
|
|
11860
|
+
* @param {number} value
|
|
11861
|
+
* @return {!proto.ondewo.s2t.Parakeet} returns this
|
|
11862
|
+
*/
|
|
11863
|
+
proto.ondewo.s2t.Parakeet.prototype.setTritonServerPort = function(value) {
|
|
11864
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
11865
|
+
};
|
|
11866
|
+
|
|
11867
|
+
|
|
11868
|
+
|
|
11869
|
+
|
|
11870
|
+
|
|
11548
11871
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11549
11872
|
/**
|
|
11550
11873
|
* Creates an object representation of this proto.
|
|
@@ -13017,7 +13340,7 @@ maxRetries: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
|
|
|
13017
13340
|
defaultHeadersMap: (f = msg.getDefaultHeadersMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
13018
13341
|
defaultQuery: (f = msg.getDefaultQuery()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
13019
13342
|
strictResponseValidation: (f = jspb.Message.getBooleanField(msg, 11)) == null ? undefined : f,
|
|
13020
|
-
model:
|
|
13343
|
+
model: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
13021
13344
|
frequencyPenalty: (f = jspb.Message.getOptionalFloatingPointField(msg, 13)) == null ? undefined : f,
|
|
13022
13345
|
logitBiasMap: (f = msg.getLogitBiasMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
13023
13346
|
logprobs: (f = jspb.Message.getBooleanField(msg, 15)) == null ? undefined : f,
|
|
@@ -13325,8 +13648,8 @@ proto.ondewo.s2t.OpenaiLlmOptions.serializeBinaryToWriter = function(message, wr
|
|
|
13325
13648
|
f
|
|
13326
13649
|
);
|
|
13327
13650
|
}
|
|
13328
|
-
f =
|
|
13329
|
-
if (f
|
|
13651
|
+
f = message.getModel();
|
|
13652
|
+
if (f.length > 0) {
|
|
13330
13653
|
writer.writeString(
|
|
13331
13654
|
12,
|
|
13332
13655
|
f
|
|
@@ -13888,25 +14211,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.prototype.getModel = function() {
|
|
|
13888
14211
|
* @return {!proto.ondewo.s2t.OpenaiLlmOptions} returns this
|
|
13889
14212
|
*/
|
|
13890
14213
|
proto.ondewo.s2t.OpenaiLlmOptions.prototype.setModel = function(value) {
|
|
13891
|
-
return jspb.Message.
|
|
13892
|
-
};
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
/**
|
|
13896
|
-
* Clears the field making it undefined.
|
|
13897
|
-
* @return {!proto.ondewo.s2t.OpenaiLlmOptions} returns this
|
|
13898
|
-
*/
|
|
13899
|
-
proto.ondewo.s2t.OpenaiLlmOptions.prototype.clearModel = function() {
|
|
13900
|
-
return jspb.Message.setField(this, 12, undefined);
|
|
13901
|
-
};
|
|
13902
|
-
|
|
13903
|
-
|
|
13904
|
-
/**
|
|
13905
|
-
* Returns whether this field is set.
|
|
13906
|
-
* @return {boolean}
|
|
13907
|
-
*/
|
|
13908
|
-
proto.ondewo.s2t.OpenaiLlmOptions.prototype.hasModel = function() {
|
|
13909
|
-
return jspb.Message.getField(this, 12) != null;
|
|
14214
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
13910
14215
|
};
|
|
13911
14216
|
|
|
13912
14217
|
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './api/ondewo/s2t/speech-to-text_grpc_web_pb.d';
|
|
2
1
|
export * from './api/ondewo/s2t/speech-to-text_pb.d';
|
|
2
|
+
export * from './api/ondewo/s2t/speech-to-text_grpc_web_pb.d';
|
|
3
3
|
export * from './api/google/protobuf/empty_pb.d';
|
|
4
4
|
export * from './api/google/protobuf/struct_pb.d';
|
package/public-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './api/ondewo/s2t/speech-to-text_grpc_web_pb';
|
|
2
1
|
export * from './api/ondewo/s2t/speech-to-text_pb';
|
|
3
|
-
export * from './api/
|
|
2
|
+
export * from './api/ondewo/s2t/speech-to-text_grpc_web_pb';
|
|
4
3
|
export * from './api/google/protobuf/empty_pb';
|
|
4
|
+
export * from './api/google/protobuf/struct_pb';
|