@ondewo/s2t-client-typescript 7.2.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.
|
@@ -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,
|
|
@@ -2377,6 +2410,11 @@ export class S2tLlmPostProcessingTranslationOptions extends jspb.Message {
|
|
|
2377
2410
|
hasLanguage(): boolean;
|
|
2378
2411
|
clearLanguage(): S2tLlmPostProcessingTranslationOptions;
|
|
2379
2412
|
|
|
2413
|
+
getPrompt(): string;
|
|
2414
|
+
setPrompt(value: string): S2tLlmPostProcessingTranslationOptions;
|
|
2415
|
+
hasPrompt(): boolean;
|
|
2416
|
+
clearPrompt(): S2tLlmPostProcessingTranslationOptions;
|
|
2417
|
+
|
|
2380
2418
|
serializeBinary(): Uint8Array;
|
|
2381
2419
|
toObject(includeInstance?: boolean): S2tLlmPostProcessingTranslationOptions.AsObject;
|
|
2382
2420
|
static toObject(includeInstance: boolean, msg: S2tLlmPostProcessingTranslationOptions): S2tLlmPostProcessingTranslationOptions.AsObject;
|
|
@@ -2389,6 +2427,7 @@ export namespace S2tLlmPostProcessingTranslationOptions {
|
|
|
2389
2427
|
export type AsObject = {
|
|
2390
2428
|
active?: boolean,
|
|
2391
2429
|
language?: string,
|
|
2430
|
+
prompt?: string,
|
|
2392
2431
|
}
|
|
2393
2432
|
|
|
2394
2433
|
export enum ActiveCase {
|
|
@@ -2400,6 +2439,11 @@ export namespace S2tLlmPostProcessingTranslationOptions {
|
|
|
2400
2439
|
_LANGUAGE_NOT_SET = 0,
|
|
2401
2440
|
LANGUAGE = 2,
|
|
2402
2441
|
}
|
|
2442
|
+
|
|
2443
|
+
export enum PromptCase {
|
|
2444
|
+
_PROMPT_NOT_SET = 0,
|
|
2445
|
+
PROMPT = 3,
|
|
2446
|
+
}
|
|
2403
2447
|
}
|
|
2404
2448
|
|
|
2405
2449
|
export class S2tLlmPostProcessingInverseNormalizationOptions extends jspb.Message {
|
|
@@ -2590,6 +2634,11 @@ export class S2tLlmPostProcessingSummarizationOptions extends jspb.Message {
|
|
|
2590
2634
|
hasActive(): boolean;
|
|
2591
2635
|
clearActive(): S2tLlmPostProcessingSummarizationOptions;
|
|
2592
2636
|
|
|
2637
|
+
getPrompt(): string;
|
|
2638
|
+
setPrompt(value: string): S2tLlmPostProcessingSummarizationOptions;
|
|
2639
|
+
hasPrompt(): boolean;
|
|
2640
|
+
clearPrompt(): S2tLlmPostProcessingSummarizationOptions;
|
|
2641
|
+
|
|
2593
2642
|
getMinChars(): number;
|
|
2594
2643
|
setMinChars(value: number): S2tLlmPostProcessingSummarizationOptions;
|
|
2595
2644
|
hasMinChars(): boolean;
|
|
@@ -2611,6 +2660,7 @@ export class S2tLlmPostProcessingSummarizationOptions extends jspb.Message {
|
|
|
2611
2660
|
export namespace S2tLlmPostProcessingSummarizationOptions {
|
|
2612
2661
|
export type AsObject = {
|
|
2613
2662
|
active?: boolean,
|
|
2663
|
+
prompt?: string,
|
|
2614
2664
|
minChars?: number,
|
|
2615
2665
|
maxChars?: number,
|
|
2616
2666
|
}
|
|
@@ -2620,14 +2670,19 @@ export namespace S2tLlmPostProcessingSummarizationOptions {
|
|
|
2620
2670
|
ACTIVE = 1,
|
|
2621
2671
|
}
|
|
2622
2672
|
|
|
2673
|
+
export enum PromptCase {
|
|
2674
|
+
_PROMPT_NOT_SET = 0,
|
|
2675
|
+
PROMPT = 2,
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2623
2678
|
export enum MinCharsCase {
|
|
2624
2679
|
_MIN_CHARS_NOT_SET = 0,
|
|
2625
|
-
MIN_CHARS =
|
|
2680
|
+
MIN_CHARS = 3,
|
|
2626
2681
|
}
|
|
2627
2682
|
|
|
2628
2683
|
export enum MaxCharsCase {
|
|
2629
2684
|
_MAX_CHARS_NOT_SET = 0,
|
|
2630
|
-
MAX_CHARS =
|
|
2685
|
+
MAX_CHARS = 4,
|
|
2631
2686
|
}
|
|
2632
2687
|
}
|
|
2633
2688
|
|
|
@@ -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
|
|
|
@@ -16760,7 +17065,8 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.toObject = fun
|
|
|
16760
17065
|
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.toObject = function(includeInstance, msg) {
|
|
16761
17066
|
var f, obj = {
|
|
16762
17067
|
active: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
|
|
16763
|
-
language: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
17068
|
+
language: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
17069
|
+
prompt: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
|
|
16764
17070
|
};
|
|
16765
17071
|
|
|
16766
17072
|
if (includeInstance) {
|
|
@@ -16805,6 +17111,10 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.deserializeBinaryFromRea
|
|
|
16805
17111
|
var value = /** @type {string} */ (reader.readString());
|
|
16806
17112
|
msg.setLanguage(value);
|
|
16807
17113
|
break;
|
|
17114
|
+
case 3:
|
|
17115
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17116
|
+
msg.setPrompt(value);
|
|
17117
|
+
break;
|
|
16808
17118
|
default:
|
|
16809
17119
|
reader.skipField();
|
|
16810
17120
|
break;
|
|
@@ -16848,6 +17158,13 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.serializeBinaryToWriter
|
|
|
16848
17158
|
f
|
|
16849
17159
|
);
|
|
16850
17160
|
}
|
|
17161
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
17162
|
+
if (f != null) {
|
|
17163
|
+
writer.writeString(
|
|
17164
|
+
3,
|
|
17165
|
+
f
|
|
17166
|
+
);
|
|
17167
|
+
}
|
|
16851
17168
|
};
|
|
16852
17169
|
|
|
16853
17170
|
|
|
@@ -16923,6 +17240,42 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.hasLanguage =
|
|
|
16923
17240
|
};
|
|
16924
17241
|
|
|
16925
17242
|
|
|
17243
|
+
/**
|
|
17244
|
+
* optional string prompt = 3;
|
|
17245
|
+
* @return {string}
|
|
17246
|
+
*/
|
|
17247
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.getPrompt = function() {
|
|
17248
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
17249
|
+
};
|
|
17250
|
+
|
|
17251
|
+
|
|
17252
|
+
/**
|
|
17253
|
+
* @param {string} value
|
|
17254
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions} returns this
|
|
17255
|
+
*/
|
|
17256
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.setPrompt = function(value) {
|
|
17257
|
+
return jspb.Message.setField(this, 3, value);
|
|
17258
|
+
};
|
|
17259
|
+
|
|
17260
|
+
|
|
17261
|
+
/**
|
|
17262
|
+
* Clears the field making it undefined.
|
|
17263
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions} returns this
|
|
17264
|
+
*/
|
|
17265
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.clearPrompt = function() {
|
|
17266
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
17267
|
+
};
|
|
17268
|
+
|
|
17269
|
+
|
|
17270
|
+
/**
|
|
17271
|
+
* Returns whether this field is set.
|
|
17272
|
+
* @return {boolean}
|
|
17273
|
+
*/
|
|
17274
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.hasPrompt = function() {
|
|
17275
|
+
return jspb.Message.getField(this, 3) != null;
|
|
17276
|
+
};
|
|
17277
|
+
|
|
17278
|
+
|
|
16926
17279
|
|
|
16927
17280
|
|
|
16928
17281
|
|
|
@@ -17864,8 +18217,9 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.toObject = f
|
|
|
17864
18217
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.toObject = function(includeInstance, msg) {
|
|
17865
18218
|
var f, obj = {
|
|
17866
18219
|
active: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
|
|
17867
|
-
|
|
17868
|
-
|
|
18220
|
+
prompt: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
18221
|
+
minChars: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
18222
|
+
maxChars: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
17869
18223
|
};
|
|
17870
18224
|
|
|
17871
18225
|
if (includeInstance) {
|
|
@@ -17907,10 +18261,14 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.deserializeBinaryFromR
|
|
|
17907
18261
|
msg.setActive(value);
|
|
17908
18262
|
break;
|
|
17909
18263
|
case 2:
|
|
18264
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18265
|
+
msg.setPrompt(value);
|
|
18266
|
+
break;
|
|
18267
|
+
case 3:
|
|
17910
18268
|
var value = /** @type {number} */ (reader.readInt32());
|
|
17911
18269
|
msg.setMinChars(value);
|
|
17912
18270
|
break;
|
|
17913
|
-
case
|
|
18271
|
+
case 4:
|
|
17914
18272
|
var value = /** @type {number} */ (reader.readInt32());
|
|
17915
18273
|
msg.setMaxChars(value);
|
|
17916
18274
|
break;
|
|
@@ -17950,9 +18308,9 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.serializeBinaryToWrite
|
|
|
17950
18308
|
f
|
|
17951
18309
|
);
|
|
17952
18310
|
}
|
|
17953
|
-
f = /** @type {
|
|
18311
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
17954
18312
|
if (f != null) {
|
|
17955
|
-
writer.
|
|
18313
|
+
writer.writeString(
|
|
17956
18314
|
2,
|
|
17957
18315
|
f
|
|
17958
18316
|
);
|
|
@@ -17964,6 +18322,13 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.serializeBinaryToWrite
|
|
|
17964
18322
|
f
|
|
17965
18323
|
);
|
|
17966
18324
|
}
|
|
18325
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
18326
|
+
if (f != null) {
|
|
18327
|
+
writer.writeInt32(
|
|
18328
|
+
4,
|
|
18329
|
+
f
|
|
18330
|
+
);
|
|
18331
|
+
}
|
|
17967
18332
|
};
|
|
17968
18333
|
|
|
17969
18334
|
|
|
@@ -18004,11 +18369,47 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasActive =
|
|
|
18004
18369
|
|
|
18005
18370
|
|
|
18006
18371
|
/**
|
|
18007
|
-
* optional
|
|
18372
|
+
* optional string prompt = 2;
|
|
18373
|
+
* @return {string}
|
|
18374
|
+
*/
|
|
18375
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getPrompt = function() {
|
|
18376
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18377
|
+
};
|
|
18378
|
+
|
|
18379
|
+
|
|
18380
|
+
/**
|
|
18381
|
+
* @param {string} value
|
|
18382
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18383
|
+
*/
|
|
18384
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setPrompt = function(value) {
|
|
18385
|
+
return jspb.Message.setField(this, 2, value);
|
|
18386
|
+
};
|
|
18387
|
+
|
|
18388
|
+
|
|
18389
|
+
/**
|
|
18390
|
+
* Clears the field making it undefined.
|
|
18391
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18392
|
+
*/
|
|
18393
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearPrompt = function() {
|
|
18394
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
18395
|
+
};
|
|
18396
|
+
|
|
18397
|
+
|
|
18398
|
+
/**
|
|
18399
|
+
* Returns whether this field is set.
|
|
18400
|
+
* @return {boolean}
|
|
18401
|
+
*/
|
|
18402
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasPrompt = function() {
|
|
18403
|
+
return jspb.Message.getField(this, 2) != null;
|
|
18404
|
+
};
|
|
18405
|
+
|
|
18406
|
+
|
|
18407
|
+
/**
|
|
18408
|
+
* optional int32 min_chars = 3;
|
|
18008
18409
|
* @return {number}
|
|
18009
18410
|
*/
|
|
18010
18411
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMinChars = function() {
|
|
18011
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
18412
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
18012
18413
|
};
|
|
18013
18414
|
|
|
18014
18415
|
|
|
@@ -18017,7 +18418,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMinChars
|
|
|
18017
18418
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18018
18419
|
*/
|
|
18019
18420
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMinChars = function(value) {
|
|
18020
|
-
return jspb.Message.setField(this,
|
|
18421
|
+
return jspb.Message.setField(this, 3, value);
|
|
18021
18422
|
};
|
|
18022
18423
|
|
|
18023
18424
|
|
|
@@ -18026,7 +18427,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMinChars
|
|
|
18026
18427
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18027
18428
|
*/
|
|
18028
18429
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMinChars = function() {
|
|
18029
|
-
return jspb.Message.setField(this,
|
|
18430
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
18030
18431
|
};
|
|
18031
18432
|
|
|
18032
18433
|
|
|
@@ -18035,16 +18436,16 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMinChar
|
|
|
18035
18436
|
* @return {boolean}
|
|
18036
18437
|
*/
|
|
18037
18438
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasMinChars = function() {
|
|
18038
|
-
return jspb.Message.getField(this,
|
|
18439
|
+
return jspb.Message.getField(this, 3) != null;
|
|
18039
18440
|
};
|
|
18040
18441
|
|
|
18041
18442
|
|
|
18042
18443
|
/**
|
|
18043
|
-
* optional int32 max_chars =
|
|
18444
|
+
* optional int32 max_chars = 4;
|
|
18044
18445
|
* @return {number}
|
|
18045
18446
|
*/
|
|
18046
18447
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMaxChars = function() {
|
|
18047
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
18448
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
18048
18449
|
};
|
|
18049
18450
|
|
|
18050
18451
|
|
|
@@ -18053,7 +18454,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMaxChars
|
|
|
18053
18454
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18054
18455
|
*/
|
|
18055
18456
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMaxChars = function(value) {
|
|
18056
|
-
return jspb.Message.setField(this,
|
|
18457
|
+
return jspb.Message.setField(this, 4, value);
|
|
18057
18458
|
};
|
|
18058
18459
|
|
|
18059
18460
|
|
|
@@ -18062,7 +18463,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMaxChars
|
|
|
18062
18463
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18063
18464
|
*/
|
|
18064
18465
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMaxChars = function() {
|
|
18065
|
-
return jspb.Message.setField(this,
|
|
18466
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
18066
18467
|
};
|
|
18067
18468
|
|
|
18068
18469
|
|
|
@@ -18071,7 +18472,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMaxChar
|
|
|
18071
18472
|
* @return {boolean}
|
|
18072
18473
|
*/
|
|
18073
18474
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasMaxChars = function() {
|
|
18074
|
-
return jspb.Message.getField(this,
|
|
18475
|
+
return jspb.Message.getField(this, 4) != null;
|
|
18075
18476
|
};
|
|
18076
18477
|
|
|
18077
18478
|
|
package/package.json
CHANGED