Google Cloud Ces V1 Client - Class EvaluationMetricsThresholds (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class EvaluationMetricsThresholds.

Threshold settings for metrics in an Evaluation.

Generated from protobuf message google.cloud.ces.v1.EvaluationMetricsThresholds

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ golden_evaluation_metrics_thresholds
EvaluationMetricsThresholds\GoldenEvaluationMetricsThresholds

Optional. The golden evaluation metrics thresholds.

↳ hallucination_metric_behavior
int

Optional. Deprecated: Use golden_hallucination_metric_behavior instead. The hallucination metric behavior is currently used for golden evaluations.

↳ golden_hallucination_metric_behavior
int

Optional. The hallucination metric behavior for golden evaluations.

↳ scenario_hallucination_metric_behavior
int

Optional. The hallucination metric behavior for scenario evaluations.

getGoldenEvaluationMetricsThresholds

Optional. The golden evaluation metrics thresholds.

hasGoldenEvaluationMetricsThresholds

clearGoldenEvaluationMetricsThresholds

setGoldenEvaluationMetricsThresholds

Optional. The golden evaluation metrics thresholds.

Returns
Type
Description
$this

getHallucinationMetricBehavior

Optional. Deprecated: Use golden_hallucination_metric_behavior instead.

The hallucination metric behavior is currently used for golden evaluations.

Returns
Type
Description
int

setHallucinationMetricBehavior

Optional. Deprecated: Use golden_hallucination_metric_behavior instead.

The hallucination metric behavior is currently used for golden evaluations.

Parameter
Name
Description
var
int

Enum of type HallucinationMetricBehavior .

Returns
Type
Description
$this

getGoldenHallucinationMetricBehavior

Optional. The hallucination metric behavior for golden evaluations.

Returns
Type
Description
int

setGoldenHallucinationMetricBehavior

Optional. The hallucination metric behavior for golden evaluations.

Parameter
Name
Description
var
int

Enum of type HallucinationMetricBehavior .

Returns
Type
Description
$this

getScenarioHallucinationMetricBehavior

Optional. The hallucination metric behavior for scenario evaluations.

Returns
Type
Description
int

setScenarioHallucinationMetricBehavior

Optional. The hallucination metric behavior for scenario evaluations.

Parameter
Name
Description
var
int

Enum of type HallucinationMetricBehavior .

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: