@ondewo/s2t-client-typescript 7.2.0 → 7.3.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 +24 -2
- package/api/ondewo/s2t/speech-to-text_pb.js +112 -16
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/public-api.js +2 -2
|
@@ -2377,6 +2377,11 @@ export class S2tLlmPostProcessingTranslationOptions extends jspb.Message {
|
|
|
2377
2377
|
hasLanguage(): boolean;
|
|
2378
2378
|
clearLanguage(): S2tLlmPostProcessingTranslationOptions;
|
|
2379
2379
|
|
|
2380
|
+
getPrompt(): string;
|
|
2381
|
+
setPrompt(value: string): S2tLlmPostProcessingTranslationOptions;
|
|
2382
|
+
hasPrompt(): boolean;
|
|
2383
|
+
clearPrompt(): S2tLlmPostProcessingTranslationOptions;
|
|
2384
|
+
|
|
2380
2385
|
serializeBinary(): Uint8Array;
|
|
2381
2386
|
toObject(includeInstance?: boolean): S2tLlmPostProcessingTranslationOptions.AsObject;
|
|
2382
2387
|
static toObject(includeInstance: boolean, msg: S2tLlmPostProcessingTranslationOptions): S2tLlmPostProcessingTranslationOptions.AsObject;
|
|
@@ -2389,6 +2394,7 @@ export namespace S2tLlmPostProcessingTranslationOptions {
|
|
|
2389
2394
|
export type AsObject = {
|
|
2390
2395
|
active?: boolean,
|
|
2391
2396
|
language?: string,
|
|
2397
|
+
prompt?: string,
|
|
2392
2398
|
}
|
|
2393
2399
|
|
|
2394
2400
|
export enum ActiveCase {
|
|
@@ -2400,6 +2406,11 @@ export namespace S2tLlmPostProcessingTranslationOptions {
|
|
|
2400
2406
|
_LANGUAGE_NOT_SET = 0,
|
|
2401
2407
|
LANGUAGE = 2,
|
|
2402
2408
|
}
|
|
2409
|
+
|
|
2410
|
+
export enum PromptCase {
|
|
2411
|
+
_PROMPT_NOT_SET = 0,
|
|
2412
|
+
PROMPT = 3,
|
|
2413
|
+
}
|
|
2403
2414
|
}
|
|
2404
2415
|
|
|
2405
2416
|
export class S2tLlmPostProcessingInverseNormalizationOptions extends jspb.Message {
|
|
@@ -2590,6 +2601,11 @@ export class S2tLlmPostProcessingSummarizationOptions extends jspb.Message {
|
|
|
2590
2601
|
hasActive(): boolean;
|
|
2591
2602
|
clearActive(): S2tLlmPostProcessingSummarizationOptions;
|
|
2592
2603
|
|
|
2604
|
+
getPrompt(): string;
|
|
2605
|
+
setPrompt(value: string): S2tLlmPostProcessingSummarizationOptions;
|
|
2606
|
+
hasPrompt(): boolean;
|
|
2607
|
+
clearPrompt(): S2tLlmPostProcessingSummarizationOptions;
|
|
2608
|
+
|
|
2593
2609
|
getMinChars(): number;
|
|
2594
2610
|
setMinChars(value: number): S2tLlmPostProcessingSummarizationOptions;
|
|
2595
2611
|
hasMinChars(): boolean;
|
|
@@ -2611,6 +2627,7 @@ export class S2tLlmPostProcessingSummarizationOptions extends jspb.Message {
|
|
|
2611
2627
|
export namespace S2tLlmPostProcessingSummarizationOptions {
|
|
2612
2628
|
export type AsObject = {
|
|
2613
2629
|
active?: boolean,
|
|
2630
|
+
prompt?: string,
|
|
2614
2631
|
minChars?: number,
|
|
2615
2632
|
maxChars?: number,
|
|
2616
2633
|
}
|
|
@@ -2620,14 +2637,19 @@ export namespace S2tLlmPostProcessingSummarizationOptions {
|
|
|
2620
2637
|
ACTIVE = 1,
|
|
2621
2638
|
}
|
|
2622
2639
|
|
|
2640
|
+
export enum PromptCase {
|
|
2641
|
+
_PROMPT_NOT_SET = 0,
|
|
2642
|
+
PROMPT = 2,
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2623
2645
|
export enum MinCharsCase {
|
|
2624
2646
|
_MIN_CHARS_NOT_SET = 0,
|
|
2625
|
-
MIN_CHARS =
|
|
2647
|
+
MIN_CHARS = 3,
|
|
2626
2648
|
}
|
|
2627
2649
|
|
|
2628
2650
|
export enum MaxCharsCase {
|
|
2629
2651
|
_MAX_CHARS_NOT_SET = 0,
|
|
2630
|
-
MAX_CHARS =
|
|
2652
|
+
MAX_CHARS = 4,
|
|
2631
2653
|
}
|
|
2632
2654
|
}
|
|
2633
2655
|
|
|
@@ -16760,7 +16760,8 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.toObject = fun
|
|
|
16760
16760
|
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.toObject = function(includeInstance, msg) {
|
|
16761
16761
|
var f, obj = {
|
|
16762
16762
|
active: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
|
|
16763
|
-
language: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
16763
|
+
language: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
16764
|
+
prompt: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
|
|
16764
16765
|
};
|
|
16765
16766
|
|
|
16766
16767
|
if (includeInstance) {
|
|
@@ -16805,6 +16806,10 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.deserializeBinaryFromRea
|
|
|
16805
16806
|
var value = /** @type {string} */ (reader.readString());
|
|
16806
16807
|
msg.setLanguage(value);
|
|
16807
16808
|
break;
|
|
16809
|
+
case 3:
|
|
16810
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16811
|
+
msg.setPrompt(value);
|
|
16812
|
+
break;
|
|
16808
16813
|
default:
|
|
16809
16814
|
reader.skipField();
|
|
16810
16815
|
break;
|
|
@@ -16848,6 +16853,13 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.serializeBinaryToWriter
|
|
|
16848
16853
|
f
|
|
16849
16854
|
);
|
|
16850
16855
|
}
|
|
16856
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
16857
|
+
if (f != null) {
|
|
16858
|
+
writer.writeString(
|
|
16859
|
+
3,
|
|
16860
|
+
f
|
|
16861
|
+
);
|
|
16862
|
+
}
|
|
16851
16863
|
};
|
|
16852
16864
|
|
|
16853
16865
|
|
|
@@ -16923,6 +16935,42 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.hasLanguage =
|
|
|
16923
16935
|
};
|
|
16924
16936
|
|
|
16925
16937
|
|
|
16938
|
+
/**
|
|
16939
|
+
* optional string prompt = 3;
|
|
16940
|
+
* @return {string}
|
|
16941
|
+
*/
|
|
16942
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.getPrompt = function() {
|
|
16943
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16944
|
+
};
|
|
16945
|
+
|
|
16946
|
+
|
|
16947
|
+
/**
|
|
16948
|
+
* @param {string} value
|
|
16949
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions} returns this
|
|
16950
|
+
*/
|
|
16951
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.setPrompt = function(value) {
|
|
16952
|
+
return jspb.Message.setField(this, 3, value);
|
|
16953
|
+
};
|
|
16954
|
+
|
|
16955
|
+
|
|
16956
|
+
/**
|
|
16957
|
+
* Clears the field making it undefined.
|
|
16958
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions} returns this
|
|
16959
|
+
*/
|
|
16960
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.clearPrompt = function() {
|
|
16961
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
16962
|
+
};
|
|
16963
|
+
|
|
16964
|
+
|
|
16965
|
+
/**
|
|
16966
|
+
* Returns whether this field is set.
|
|
16967
|
+
* @return {boolean}
|
|
16968
|
+
*/
|
|
16969
|
+
proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.prototype.hasPrompt = function() {
|
|
16970
|
+
return jspb.Message.getField(this, 3) != null;
|
|
16971
|
+
};
|
|
16972
|
+
|
|
16973
|
+
|
|
16926
16974
|
|
|
16927
16975
|
|
|
16928
16976
|
|
|
@@ -17864,8 +17912,9 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.toObject = f
|
|
|
17864
17912
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.toObject = function(includeInstance, msg) {
|
|
17865
17913
|
var f, obj = {
|
|
17866
17914
|
active: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
|
|
17867
|
-
|
|
17868
|
-
|
|
17915
|
+
prompt: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
17916
|
+
minChars: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
17917
|
+
maxChars: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
17869
17918
|
};
|
|
17870
17919
|
|
|
17871
17920
|
if (includeInstance) {
|
|
@@ -17907,10 +17956,14 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.deserializeBinaryFromR
|
|
|
17907
17956
|
msg.setActive(value);
|
|
17908
17957
|
break;
|
|
17909
17958
|
case 2:
|
|
17959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17960
|
+
msg.setPrompt(value);
|
|
17961
|
+
break;
|
|
17962
|
+
case 3:
|
|
17910
17963
|
var value = /** @type {number} */ (reader.readInt32());
|
|
17911
17964
|
msg.setMinChars(value);
|
|
17912
17965
|
break;
|
|
17913
|
-
case
|
|
17966
|
+
case 4:
|
|
17914
17967
|
var value = /** @type {number} */ (reader.readInt32());
|
|
17915
17968
|
msg.setMaxChars(value);
|
|
17916
17969
|
break;
|
|
@@ -17950,9 +18003,9 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.serializeBinaryToWrite
|
|
|
17950
18003
|
f
|
|
17951
18004
|
);
|
|
17952
18005
|
}
|
|
17953
|
-
f = /** @type {
|
|
18006
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
17954
18007
|
if (f != null) {
|
|
17955
|
-
writer.
|
|
18008
|
+
writer.writeString(
|
|
17956
18009
|
2,
|
|
17957
18010
|
f
|
|
17958
18011
|
);
|
|
@@ -17964,6 +18017,13 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.serializeBinaryToWrite
|
|
|
17964
18017
|
f
|
|
17965
18018
|
);
|
|
17966
18019
|
}
|
|
18020
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
18021
|
+
if (f != null) {
|
|
18022
|
+
writer.writeInt32(
|
|
18023
|
+
4,
|
|
18024
|
+
f
|
|
18025
|
+
);
|
|
18026
|
+
}
|
|
17967
18027
|
};
|
|
17968
18028
|
|
|
17969
18029
|
|
|
@@ -18004,11 +18064,47 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasActive =
|
|
|
18004
18064
|
|
|
18005
18065
|
|
|
18006
18066
|
/**
|
|
18007
|
-
* optional
|
|
18067
|
+
* optional string prompt = 2;
|
|
18068
|
+
* @return {string}
|
|
18069
|
+
*/
|
|
18070
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getPrompt = function() {
|
|
18071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18072
|
+
};
|
|
18073
|
+
|
|
18074
|
+
|
|
18075
|
+
/**
|
|
18076
|
+
* @param {string} value
|
|
18077
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18078
|
+
*/
|
|
18079
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setPrompt = function(value) {
|
|
18080
|
+
return jspb.Message.setField(this, 2, value);
|
|
18081
|
+
};
|
|
18082
|
+
|
|
18083
|
+
|
|
18084
|
+
/**
|
|
18085
|
+
* Clears the field making it undefined.
|
|
18086
|
+
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18087
|
+
*/
|
|
18088
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearPrompt = function() {
|
|
18089
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
18090
|
+
};
|
|
18091
|
+
|
|
18092
|
+
|
|
18093
|
+
/**
|
|
18094
|
+
* Returns whether this field is set.
|
|
18095
|
+
* @return {boolean}
|
|
18096
|
+
*/
|
|
18097
|
+
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasPrompt = function() {
|
|
18098
|
+
return jspb.Message.getField(this, 2) != null;
|
|
18099
|
+
};
|
|
18100
|
+
|
|
18101
|
+
|
|
18102
|
+
/**
|
|
18103
|
+
* optional int32 min_chars = 3;
|
|
18008
18104
|
* @return {number}
|
|
18009
18105
|
*/
|
|
18010
18106
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMinChars = function() {
|
|
18011
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
18107
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
18012
18108
|
};
|
|
18013
18109
|
|
|
18014
18110
|
|
|
@@ -18017,7 +18113,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMinChars
|
|
|
18017
18113
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18018
18114
|
*/
|
|
18019
18115
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMinChars = function(value) {
|
|
18020
|
-
return jspb.Message.setField(this,
|
|
18116
|
+
return jspb.Message.setField(this, 3, value);
|
|
18021
18117
|
};
|
|
18022
18118
|
|
|
18023
18119
|
|
|
@@ -18026,7 +18122,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMinChars
|
|
|
18026
18122
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18027
18123
|
*/
|
|
18028
18124
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMinChars = function() {
|
|
18029
|
-
return jspb.Message.setField(this,
|
|
18125
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
18030
18126
|
};
|
|
18031
18127
|
|
|
18032
18128
|
|
|
@@ -18035,16 +18131,16 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMinChar
|
|
|
18035
18131
|
* @return {boolean}
|
|
18036
18132
|
*/
|
|
18037
18133
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasMinChars = function() {
|
|
18038
|
-
return jspb.Message.getField(this,
|
|
18134
|
+
return jspb.Message.getField(this, 3) != null;
|
|
18039
18135
|
};
|
|
18040
18136
|
|
|
18041
18137
|
|
|
18042
18138
|
/**
|
|
18043
|
-
* optional int32 max_chars =
|
|
18139
|
+
* optional int32 max_chars = 4;
|
|
18044
18140
|
* @return {number}
|
|
18045
18141
|
*/
|
|
18046
18142
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMaxChars = function() {
|
|
18047
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
18143
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
18048
18144
|
};
|
|
18049
18145
|
|
|
18050
18146
|
|
|
@@ -18053,7 +18149,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.getMaxChars
|
|
|
18053
18149
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18054
18150
|
*/
|
|
18055
18151
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMaxChars = function(value) {
|
|
18056
|
-
return jspb.Message.setField(this,
|
|
18152
|
+
return jspb.Message.setField(this, 4, value);
|
|
18057
18153
|
};
|
|
18058
18154
|
|
|
18059
18155
|
|
|
@@ -18062,7 +18158,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.setMaxChars
|
|
|
18062
18158
|
* @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions} returns this
|
|
18063
18159
|
*/
|
|
18064
18160
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMaxChars = function() {
|
|
18065
|
-
return jspb.Message.setField(this,
|
|
18161
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
18066
18162
|
};
|
|
18067
18163
|
|
|
18068
18164
|
|
|
@@ -18071,7 +18167,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.clearMaxChar
|
|
|
18071
18167
|
* @return {boolean}
|
|
18072
18168
|
*/
|
|
18073
18169
|
proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.prototype.hasMaxChars = function() {
|
|
18074
|
-
return jspb.Message.getField(this,
|
|
18170
|
+
return jspb.Message.getField(this, 4) != null;
|
|
18075
18171
|
};
|
|
18076
18172
|
|
|
18077
18173
|
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './api/ondewo/s2t/speech-to-text_pb.d';
|
|
2
1
|
export * from './api/ondewo/s2t/speech-to-text_grpc_web_pb.d';
|
|
2
|
+
export * from './api/ondewo/s2t/speech-to-text_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_pb';
|
|
2
1
|
export * from './api/ondewo/s2t/speech-to-text_grpc_web_pb';
|
|
3
|
-
export * from './api/
|
|
2
|
+
export * from './api/ondewo/s2t/speech-to-text_pb';
|
|
4
3
|
export * from './api/google/protobuf/struct_pb';
|
|
4
|
+
export * from './api/google/protobuf/empty_pb';
|