@ondewo/nlu-client-typescript 6.14.0 → 7.0.1
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/README.md +0 -0
- package/api/ondewo/nlu/agent_pb.d.ts +0 -15
- package/api/ondewo/nlu/aiservices_pb.d.ts +0 -50
- package/api/ondewo/nlu/ccai_project_pb.d.ts +6 -93
- package/api/ondewo/nlu/ccai_project_pb.js +24 -132
- package/api/ondewo/nlu/common_pb.d.ts +140 -0
- package/api/ondewo/nlu/common_pb.js +1151 -9
- package/api/ondewo/nlu/context_pb.d.ts +8 -1
- package/api/ondewo/nlu/context_pb.js +22 -4
- package/api/ondewo/nlu/llm_evaluation_pb.d.ts +40 -5
- package/api/ondewo/nlu/llm_evaluation_pb.js +110 -20
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +241 -0
- package/api/ondewo/nlu/operations_pb.d.ts +429 -10
- package/api/ondewo/nlu/operations_pb.js +3413 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +0 -10
- package/api/ondewo/nlu/rag_pb.d.ts +191 -520
- package/api/ondewo/nlu/rag_pb.js +1246 -1058
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +120 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +610 -0
- package/api/ondewo/nlu/session_pb.d.ts +818 -118
- package/api/ondewo/nlu/session_pb.js +6396 -3
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +59 -13
- package/api/ondewo/nlu/user_grpc_web_pb.js +300 -61
- package/api/ondewo/nlu/user_pb.d.ts +0 -87
- package/api/ondewo/nlu/user_pb.js +0 -436
- package/auth/offlineTokenProvider.d.ts +26 -6
- package/auth/offlineTokenProvider.js +61 -45
- package/package.json +9 -7
- package/public-api.d.ts +34 -33
- package/public-api.js +31 -30
|
@@ -18,6 +18,8 @@ export class Context extends jspb.Message {
|
|
|
18
18
|
|
|
19
19
|
getLifespanTime(): number;
|
|
20
20
|
setLifespanTime(value: number): Context;
|
|
21
|
+
hasLifespanTime(): boolean;
|
|
22
|
+
clearLifespanTime(): Context;
|
|
21
23
|
|
|
22
24
|
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
23
25
|
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Context;
|
|
@@ -48,7 +50,7 @@ export namespace Context {
|
|
|
48
50
|
name: string,
|
|
49
51
|
lifespanCount: number,
|
|
50
52
|
parametersMap: Array<[string, Context.Parameter.AsObject]>,
|
|
51
|
-
lifespanTime
|
|
53
|
+
lifespanTime?: number,
|
|
52
54
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
53
55
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
54
56
|
createdBy: string,
|
|
@@ -105,6 +107,11 @@ export namespace Context {
|
|
|
105
107
|
}
|
|
106
108
|
}
|
|
107
109
|
|
|
110
|
+
|
|
111
|
+
export enum LifespanTimeCase {
|
|
112
|
+
_LIFESPAN_TIME_NOT_SET = 0,
|
|
113
|
+
LIFESPAN_TIME = 4,
|
|
114
|
+
}
|
|
108
115
|
}
|
|
109
116
|
|
|
110
117
|
export class ListContextsRequest extends jspb.Message {
|
|
@@ -262,7 +262,7 @@ proto.ondewo.nlu.Context.toObject = function(includeInstance, msg) {
|
|
|
262
262
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
263
263
|
lifespanCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
264
264
|
parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.Context.Parameter.toObject) : [],
|
|
265
|
-
lifespanTime: jspb.Message.
|
|
265
|
+
lifespanTime: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
266
266
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
267
267
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
268
268
|
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
@@ -386,8 +386,8 @@ proto.ondewo.nlu.Context.serializeBinaryToWriter = function(message, writer) {
|
|
|
386
386
|
if (f && f.getLength() > 0) {
|
|
387
387
|
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter);
|
|
388
388
|
}
|
|
389
|
-
f =
|
|
390
|
-
if (f
|
|
389
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
390
|
+
if (f != null) {
|
|
391
391
|
writer.writeFloat(
|
|
392
392
|
4,
|
|
393
393
|
f
|
|
@@ -881,7 +881,25 @@ proto.ondewo.nlu.Context.prototype.getLifespanTime = function() {
|
|
|
881
881
|
* @return {!proto.ondewo.nlu.Context} returns this
|
|
882
882
|
*/
|
|
883
883
|
proto.ondewo.nlu.Context.prototype.setLifespanTime = function(value) {
|
|
884
|
-
return jspb.Message.
|
|
884
|
+
return jspb.Message.setField(this, 4, value);
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Clears the field making it undefined.
|
|
890
|
+
* @return {!proto.ondewo.nlu.Context} returns this
|
|
891
|
+
*/
|
|
892
|
+
proto.ondewo.nlu.Context.prototype.clearLifespanTime = function() {
|
|
893
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Returns whether this field is set.
|
|
899
|
+
* @return {boolean}
|
|
900
|
+
*/
|
|
901
|
+
proto.ondewo.nlu.Context.prototype.hasLifespanTime = function() {
|
|
902
|
+
return jspb.Message.getField(this, 4) != null;
|
|
885
903
|
};
|
|
886
904
|
|
|
887
905
|
|
|
@@ -401,6 +401,8 @@ export class LlmEvaluationFeedback extends jspb.Message {
|
|
|
401
401
|
|
|
402
402
|
getScore(): number;
|
|
403
403
|
setScore(value: number): LlmEvaluationFeedback;
|
|
404
|
+
hasScore(): boolean;
|
|
405
|
+
clearScore(): LlmEvaluationFeedback;
|
|
404
406
|
|
|
405
407
|
getCategoricalValue(): string;
|
|
406
408
|
setCategoricalValue(value: string): LlmEvaluationFeedback;
|
|
@@ -454,7 +456,7 @@ export namespace LlmEvaluationFeedback {
|
|
|
454
456
|
name: string,
|
|
455
457
|
displayName: string,
|
|
456
458
|
criterion: string,
|
|
457
|
-
score
|
|
459
|
+
score?: number,
|
|
458
460
|
categoricalValue: string,
|
|
459
461
|
comment: string,
|
|
460
462
|
annotatorUserId: string,
|
|
@@ -467,6 +469,11 @@ export namespace LlmEvaluationFeedback {
|
|
|
467
469
|
createdBy: string,
|
|
468
470
|
modifiedBy: string,
|
|
469
471
|
}
|
|
472
|
+
|
|
473
|
+
export enum ScoreCase {
|
|
474
|
+
_SCORE_NOT_SET = 0,
|
|
475
|
+
SCORE = 4,
|
|
476
|
+
}
|
|
470
477
|
}
|
|
471
478
|
|
|
472
479
|
export class LlmEvaluationComparison extends jspb.Message {
|
|
@@ -1651,6 +1658,8 @@ export class LlmEvaluationReleaseGateThresholds extends jspb.Message {
|
|
|
1651
1658
|
|
|
1652
1659
|
getMaxRegressionPerCriterion(): number;
|
|
1653
1660
|
setMaxRegressionPerCriterion(value: number): LlmEvaluationReleaseGateThresholds;
|
|
1661
|
+
hasMaxRegressionPerCriterion(): boolean;
|
|
1662
|
+
clearMaxRegressionPerCriterion(): LlmEvaluationReleaseGateThresholds;
|
|
1654
1663
|
|
|
1655
1664
|
getMaxP95LatencySeconds(): number;
|
|
1656
1665
|
setMaxP95LatencySeconds(value: number): LlmEvaluationReleaseGateThresholds;
|
|
@@ -1669,10 +1678,15 @@ export class LlmEvaluationReleaseGateThresholds extends jspb.Message {
|
|
|
1669
1678
|
export namespace LlmEvaluationReleaseGateThresholds {
|
|
1670
1679
|
export type AsObject = {
|
|
1671
1680
|
minPassRate: number,
|
|
1672
|
-
maxRegressionPerCriterion
|
|
1681
|
+
maxRegressionPerCriterion?: number,
|
|
1673
1682
|
maxP95LatencySeconds: number,
|
|
1674
1683
|
acceptanceMustPass: boolean,
|
|
1675
1684
|
}
|
|
1685
|
+
|
|
1686
|
+
export enum MaxRegressionPerCriterionCase {
|
|
1687
|
+
_MAX_REGRESSION_PER_CRITERION_NOT_SET = 0,
|
|
1688
|
+
MAX_REGRESSION_PER_CRITERION = 2,
|
|
1689
|
+
}
|
|
1676
1690
|
}
|
|
1677
1691
|
|
|
1678
1692
|
export class LlmEvaluationReleaseGateSafetyConfig extends jspb.Message {
|
|
@@ -1689,9 +1703,13 @@ export class LlmEvaluationReleaseGateSafetyConfig extends jspb.Message {
|
|
|
1689
1703
|
|
|
1690
1704
|
getMaxToxicity(): number;
|
|
1691
1705
|
setMaxToxicity(value: number): LlmEvaluationReleaseGateSafetyConfig;
|
|
1706
|
+
hasMaxToxicity(): boolean;
|
|
1707
|
+
clearMaxToxicity(): LlmEvaluationReleaseGateSafetyConfig;
|
|
1692
1708
|
|
|
1693
1709
|
getMaxBias(): number;
|
|
1694
1710
|
setMaxBias(value: number): LlmEvaluationReleaseGateSafetyConfig;
|
|
1711
|
+
hasMaxBias(): boolean;
|
|
1712
|
+
clearMaxBias(): LlmEvaluationReleaseGateSafetyConfig;
|
|
1695
1713
|
|
|
1696
1714
|
serializeBinary(): Uint8Array;
|
|
1697
1715
|
toObject(includeInstance?: boolean): LlmEvaluationReleaseGateSafetyConfig.AsObject;
|
|
@@ -1706,8 +1724,18 @@ export namespace LlmEvaluationReleaseGateSafetyConfig {
|
|
|
1706
1724
|
enabled: boolean,
|
|
1707
1725
|
adversarialDatasetName: string,
|
|
1708
1726
|
evaluatorNamesList: Array<string>,
|
|
1709
|
-
maxToxicity
|
|
1710
|
-
maxBias
|
|
1727
|
+
maxToxicity?: number,
|
|
1728
|
+
maxBias?: number,
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
export enum MaxToxicityCase {
|
|
1732
|
+
_MAX_TOXICITY_NOT_SET = 0,
|
|
1733
|
+
MAX_TOXICITY = 4,
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
export enum MaxBiasCase {
|
|
1737
|
+
_MAX_BIAS_NOT_SET = 0,
|
|
1738
|
+
MAX_BIAS = 5,
|
|
1711
1739
|
}
|
|
1712
1740
|
}
|
|
1713
1741
|
|
|
@@ -4567,6 +4595,8 @@ export class LlmEvaluationOnlineConfig extends jspb.Message {
|
|
|
4567
4595
|
|
|
4568
4596
|
getFailThreshold(): number;
|
|
4569
4597
|
setFailThreshold(value: number): LlmEvaluationOnlineConfig;
|
|
4598
|
+
hasFailThreshold(): boolean;
|
|
4599
|
+
clearFailThreshold(): LlmEvaluationOnlineConfig;
|
|
4570
4600
|
|
|
4571
4601
|
getSettleSeconds(): number;
|
|
4572
4602
|
setSettleSeconds(value: number): LlmEvaluationOnlineConfig;
|
|
@@ -4626,7 +4656,7 @@ export namespace LlmEvaluationOnlineConfig {
|
|
|
4626
4656
|
sampleRate: number,
|
|
4627
4657
|
enabled: boolean,
|
|
4628
4658
|
targetDatasetName: string,
|
|
4629
|
-
failThreshold
|
|
4659
|
+
failThreshold?: number,
|
|
4630
4660
|
settleSeconds: number,
|
|
4631
4661
|
requireTelemetry: boolean,
|
|
4632
4662
|
llmEvaluationOnlineSessionFilter?: LlmEvaluationOnlineSessionFilter.AsObject,
|
|
@@ -4639,6 +4669,11 @@ export namespace LlmEvaluationOnlineConfig {
|
|
|
4639
4669
|
parent: string,
|
|
4640
4670
|
languageCode: string,
|
|
4641
4671
|
}
|
|
4672
|
+
|
|
4673
|
+
export enum FailThresholdCase {
|
|
4674
|
+
_FAIL_THRESHOLD_NOT_SET = 0,
|
|
4675
|
+
FAIL_THRESHOLD = 8,
|
|
4676
|
+
}
|
|
4642
4677
|
}
|
|
4643
4678
|
|
|
4644
4679
|
export class CreateLlmEvaluationOnlineConfigRequest extends jspb.Message {
|
|
@@ -6122,7 +6122,7 @@ proto.ondewo.nlu.LlmEvaluationFeedback.toObject = function(includeInstance, msg)
|
|
|
6122
6122
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6123
6123
|
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6124
6124
|
criterion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6125
|
-
score: jspb.Message.
|
|
6125
|
+
score: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
6126
6126
|
categoricalValue: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6127
6127
|
comment: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6128
6128
|
annotatorUserId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
@@ -6283,8 +6283,8 @@ proto.ondewo.nlu.LlmEvaluationFeedback.serializeBinaryToWriter = function(messag
|
|
|
6283
6283
|
f
|
|
6284
6284
|
);
|
|
6285
6285
|
}
|
|
6286
|
-
f =
|
|
6287
|
-
if (f
|
|
6286
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
6287
|
+
if (f != null) {
|
|
6288
6288
|
writer.writeDouble(
|
|
6289
6289
|
4,
|
|
6290
6290
|
f
|
|
@@ -6441,7 +6441,25 @@ proto.ondewo.nlu.LlmEvaluationFeedback.prototype.getScore = function() {
|
|
|
6441
6441
|
* @return {!proto.ondewo.nlu.LlmEvaluationFeedback} returns this
|
|
6442
6442
|
*/
|
|
6443
6443
|
proto.ondewo.nlu.LlmEvaluationFeedback.prototype.setScore = function(value) {
|
|
6444
|
-
return jspb.Message.
|
|
6444
|
+
return jspb.Message.setField(this, 4, value);
|
|
6445
|
+
};
|
|
6446
|
+
|
|
6447
|
+
|
|
6448
|
+
/**
|
|
6449
|
+
* Clears the field making it undefined.
|
|
6450
|
+
* @return {!proto.ondewo.nlu.LlmEvaluationFeedback} returns this
|
|
6451
|
+
*/
|
|
6452
|
+
proto.ondewo.nlu.LlmEvaluationFeedback.prototype.clearScore = function() {
|
|
6453
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6454
|
+
};
|
|
6455
|
+
|
|
6456
|
+
|
|
6457
|
+
/**
|
|
6458
|
+
* Returns whether this field is set.
|
|
6459
|
+
* @return {boolean}
|
|
6460
|
+
*/
|
|
6461
|
+
proto.ondewo.nlu.LlmEvaluationFeedback.prototype.hasScore = function() {
|
|
6462
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6445
6463
|
};
|
|
6446
6464
|
|
|
6447
6465
|
|
|
@@ -15761,7 +15779,7 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.prototype.toObject = functio
|
|
|
15761
15779
|
proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.toObject = function(includeInstance, msg) {
|
|
15762
15780
|
var f, obj = {
|
|
15763
15781
|
minPassRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
15764
|
-
maxRegressionPerCriterion: jspb.Message.
|
|
15782
|
+
maxRegressionPerCriterion: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f,
|
|
15765
15783
|
maxP95LatencySeconds: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
15766
15784
|
acceptanceMustPass: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
15767
15785
|
};
|
|
@@ -15852,8 +15870,8 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.serializeBinaryToWriter = fu
|
|
|
15852
15870
|
f
|
|
15853
15871
|
);
|
|
15854
15872
|
}
|
|
15855
|
-
f =
|
|
15856
|
-
if (f
|
|
15873
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
15874
|
+
if (f != null) {
|
|
15857
15875
|
writer.writeDouble(
|
|
15858
15876
|
2,
|
|
15859
15877
|
f
|
|
@@ -15908,7 +15926,25 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.prototype.getMaxRegressionPe
|
|
|
15908
15926
|
* @return {!proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds} returns this
|
|
15909
15927
|
*/
|
|
15910
15928
|
proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.prototype.setMaxRegressionPerCriterion = function(value) {
|
|
15911
|
-
return jspb.Message.
|
|
15929
|
+
return jspb.Message.setField(this, 2, value);
|
|
15930
|
+
};
|
|
15931
|
+
|
|
15932
|
+
|
|
15933
|
+
/**
|
|
15934
|
+
* Clears the field making it undefined.
|
|
15935
|
+
* @return {!proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds} returns this
|
|
15936
|
+
*/
|
|
15937
|
+
proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.prototype.clearMaxRegressionPerCriterion = function() {
|
|
15938
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
15939
|
+
};
|
|
15940
|
+
|
|
15941
|
+
|
|
15942
|
+
/**
|
|
15943
|
+
* Returns whether this field is set.
|
|
15944
|
+
* @return {boolean}
|
|
15945
|
+
*/
|
|
15946
|
+
proto.ondewo.nlu.LlmEvaluationReleaseGateThresholds.prototype.hasMaxRegressionPerCriterion = function() {
|
|
15947
|
+
return jspb.Message.getField(this, 2) != null;
|
|
15912
15948
|
};
|
|
15913
15949
|
|
|
15914
15950
|
|
|
@@ -15990,8 +16026,8 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.toObject = function(includ
|
|
|
15990
16026
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
15991
16027
|
adversarialDatasetName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15992
16028
|
evaluatorNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
15993
|
-
maxToxicity: jspb.Message.
|
|
15994
|
-
maxBias: jspb.Message.
|
|
16029
|
+
maxToxicity: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
16030
|
+
maxBias: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f
|
|
15995
16031
|
};
|
|
15996
16032
|
|
|
15997
16033
|
if (includeInstance) {
|
|
@@ -16098,15 +16134,15 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.serializeBinaryToWriter =
|
|
|
16098
16134
|
f
|
|
16099
16135
|
);
|
|
16100
16136
|
}
|
|
16101
|
-
f =
|
|
16102
|
-
if (f
|
|
16137
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
16138
|
+
if (f != null) {
|
|
16103
16139
|
writer.writeDouble(
|
|
16104
16140
|
4,
|
|
16105
16141
|
f
|
|
16106
16142
|
);
|
|
16107
16143
|
}
|
|
16108
|
-
f =
|
|
16109
|
-
if (f
|
|
16144
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
16145
|
+
if (f != null) {
|
|
16110
16146
|
writer.writeDouble(
|
|
16111
16147
|
5,
|
|
16112
16148
|
f
|
|
@@ -16202,7 +16238,25 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.getMaxToxicity =
|
|
|
16202
16238
|
* @return {!proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig} returns this
|
|
16203
16239
|
*/
|
|
16204
16240
|
proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.setMaxToxicity = function(value) {
|
|
16205
|
-
return jspb.Message.
|
|
16241
|
+
return jspb.Message.setField(this, 4, value);
|
|
16242
|
+
};
|
|
16243
|
+
|
|
16244
|
+
|
|
16245
|
+
/**
|
|
16246
|
+
* Clears the field making it undefined.
|
|
16247
|
+
* @return {!proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig} returns this
|
|
16248
|
+
*/
|
|
16249
|
+
proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.clearMaxToxicity = function() {
|
|
16250
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
16251
|
+
};
|
|
16252
|
+
|
|
16253
|
+
|
|
16254
|
+
/**
|
|
16255
|
+
* Returns whether this field is set.
|
|
16256
|
+
* @return {boolean}
|
|
16257
|
+
*/
|
|
16258
|
+
proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.hasMaxToxicity = function() {
|
|
16259
|
+
return jspb.Message.getField(this, 4) != null;
|
|
16206
16260
|
};
|
|
16207
16261
|
|
|
16208
16262
|
|
|
@@ -16220,7 +16274,25 @@ proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.getMaxBias = fun
|
|
|
16220
16274
|
* @return {!proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig} returns this
|
|
16221
16275
|
*/
|
|
16222
16276
|
proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.setMaxBias = function(value) {
|
|
16223
|
-
return jspb.Message.
|
|
16277
|
+
return jspb.Message.setField(this, 5, value);
|
|
16278
|
+
};
|
|
16279
|
+
|
|
16280
|
+
|
|
16281
|
+
/**
|
|
16282
|
+
* Clears the field making it undefined.
|
|
16283
|
+
* @return {!proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig} returns this
|
|
16284
|
+
*/
|
|
16285
|
+
proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.clearMaxBias = function() {
|
|
16286
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
16287
|
+
};
|
|
16288
|
+
|
|
16289
|
+
|
|
16290
|
+
/**
|
|
16291
|
+
* Returns whether this field is set.
|
|
16292
|
+
* @return {boolean}
|
|
16293
|
+
*/
|
|
16294
|
+
proto.ondewo.nlu.LlmEvaluationReleaseGateSafetyConfig.prototype.hasMaxBias = function() {
|
|
16295
|
+
return jspb.Message.getField(this, 5) != null;
|
|
16224
16296
|
};
|
|
16225
16297
|
|
|
16226
16298
|
|
|
@@ -37912,7 +37984,7 @@ evaluatorNamesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefi
|
|
|
37912
37984
|
sampleRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
37913
37985
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
37914
37986
|
targetDatasetName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
37915
|
-
failThreshold: jspb.Message.
|
|
37987
|
+
failThreshold: (f = jspb.Message.getOptionalFloatingPointField(msg, 8)) == null ? undefined : f,
|
|
37916
37988
|
settleSeconds: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
37917
37989
|
requireTelemetry: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
37918
37990
|
llmEvaluationOnlineSessionFilter: (f = msg.getLlmEvaluationOnlineSessionFilter()) && proto.ondewo.nlu.LlmEvaluationOnlineSessionFilter.toObject(includeInstance, f),
|
|
@@ -38118,8 +38190,8 @@ proto.ondewo.nlu.LlmEvaluationOnlineConfig.serializeBinaryToWriter = function(me
|
|
|
38118
38190
|
f
|
|
38119
38191
|
);
|
|
38120
38192
|
}
|
|
38121
|
-
f =
|
|
38122
|
-
if (f
|
|
38193
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
38194
|
+
if (f != null) {
|
|
38123
38195
|
writer.writeDouble(
|
|
38124
38196
|
8,
|
|
38125
38197
|
f
|
|
@@ -38368,7 +38440,25 @@ proto.ondewo.nlu.LlmEvaluationOnlineConfig.prototype.getFailThreshold = function
|
|
|
38368
38440
|
* @return {!proto.ondewo.nlu.LlmEvaluationOnlineConfig} returns this
|
|
38369
38441
|
*/
|
|
38370
38442
|
proto.ondewo.nlu.LlmEvaluationOnlineConfig.prototype.setFailThreshold = function(value) {
|
|
38371
|
-
return jspb.Message.
|
|
38443
|
+
return jspb.Message.setField(this, 8, value);
|
|
38444
|
+
};
|
|
38445
|
+
|
|
38446
|
+
|
|
38447
|
+
/**
|
|
38448
|
+
* Clears the field making it undefined.
|
|
38449
|
+
* @return {!proto.ondewo.nlu.LlmEvaluationOnlineConfig} returns this
|
|
38450
|
+
*/
|
|
38451
|
+
proto.ondewo.nlu.LlmEvaluationOnlineConfig.prototype.clearFailThreshold = function() {
|
|
38452
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
38453
|
+
};
|
|
38454
|
+
|
|
38455
|
+
|
|
38456
|
+
/**
|
|
38457
|
+
* Returns whether this field is set.
|
|
38458
|
+
* @return {boolean}
|
|
38459
|
+
*/
|
|
38460
|
+
proto.ondewo.nlu.LlmEvaluationOnlineConfig.prototype.hasFailThreshold = function() {
|
|
38461
|
+
return jspb.Message.getField(this, 8) != null;
|
|
38372
38462
|
};
|
|
38373
38463
|
|
|
38374
38464
|
|
|
@@ -37,6 +37,32 @@ export class OperationsClient {
|
|
|
37
37
|
response: google_protobuf_empty_pb.Empty) => void
|
|
38
38
|
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
|
39
39
|
|
|
40
|
+
streamRemoteOperationContainerLogs(
|
|
41
|
+
request: ondewo_nlu_operations_pb.StreamRemoteOperationContainerLogsRequest,
|
|
42
|
+
metadata?: grpcWeb.Metadata
|
|
43
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.RemoteOperationContainerLogLine>;
|
|
44
|
+
|
|
45
|
+
getRemoteOperationContainerLogs(
|
|
46
|
+
request: ondewo_nlu_operations_pb.GetRemoteOperationContainerLogsRequest,
|
|
47
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
48
|
+
callback: (err: grpcWeb.RpcError,
|
|
49
|
+
response: ondewo_nlu_operations_pb.GetRemoteOperationContainerLogsResponse) => void
|
|
50
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.GetRemoteOperationContainerLogsResponse>;
|
|
51
|
+
|
|
52
|
+
getRemoteOperationContainerStatus(
|
|
53
|
+
request: ondewo_nlu_operations_pb.GetRemoteOperationContainerStatusRequest,
|
|
54
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
55
|
+
callback: (err: grpcWeb.RpcError,
|
|
56
|
+
response: ondewo_nlu_operations_pb.RemoteOperationContainerStatus) => void
|
|
57
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.RemoteOperationContainerStatus>;
|
|
58
|
+
|
|
59
|
+
listRemoteOperationContainers(
|
|
60
|
+
request: ondewo_nlu_operations_pb.ListRemoteOperationContainersRequest,
|
|
61
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
62
|
+
callback: (err: grpcWeb.RpcError,
|
|
63
|
+
response: ondewo_nlu_operations_pb.ListRemoteOperationContainersResponse) => void
|
|
64
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.ListRemoteOperationContainersResponse>;
|
|
65
|
+
|
|
40
66
|
}
|
|
41
67
|
|
|
42
68
|
export class OperationsPromiseClient {
|
|
@@ -64,5 +90,25 @@ export class OperationsPromiseClient {
|
|
|
64
90
|
metadata?: grpcWeb.Metadata
|
|
65
91
|
): Promise<google_protobuf_empty_pb.Empty>;
|
|
66
92
|
|
|
93
|
+
streamRemoteOperationContainerLogs(
|
|
94
|
+
request: ondewo_nlu_operations_pb.StreamRemoteOperationContainerLogsRequest,
|
|
95
|
+
metadata?: grpcWeb.Metadata
|
|
96
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.RemoteOperationContainerLogLine>;
|
|
97
|
+
|
|
98
|
+
getRemoteOperationContainerLogs(
|
|
99
|
+
request: ondewo_nlu_operations_pb.GetRemoteOperationContainerLogsRequest,
|
|
100
|
+
metadata?: grpcWeb.Metadata
|
|
101
|
+
): Promise<ondewo_nlu_operations_pb.GetRemoteOperationContainerLogsResponse>;
|
|
102
|
+
|
|
103
|
+
getRemoteOperationContainerStatus(
|
|
104
|
+
request: ondewo_nlu_operations_pb.GetRemoteOperationContainerStatusRequest,
|
|
105
|
+
metadata?: grpcWeb.Metadata
|
|
106
|
+
): Promise<ondewo_nlu_operations_pb.RemoteOperationContainerStatus>;
|
|
107
|
+
|
|
108
|
+
listRemoteOperationContainers(
|
|
109
|
+
request: ondewo_nlu_operations_pb.ListRemoteOperationContainersRequest,
|
|
110
|
+
metadata?: grpcWeb.Metadata
|
|
111
|
+
): Promise<ondewo_nlu_operations_pb.ListRemoteOperationContainersResponse>;
|
|
112
|
+
|
|
67
113
|
}
|
|
68
114
|
|