GenerationSafetyQualitySignal Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Generation Safety Quality monitoring signal.

Inheritance
azure.ai.ml.entities._mixins.RestTranslatableMixin
GenerationSafetyQualitySignal

Constructor

GenerationSafetyQualitySignal(*, production_data: List[LlmData] | None = None, workspace_connection_id: str | None = None, metric_thresholds: GenerationSafetyQualityMonitoringMetricThreshold, alert_enabled: bool = False, properties: Dict[str, str] | None = None, sampling_rate: float | None = None)

Keyword-Only Parameters

Name Description
production_data

A list of input datasets for monitoring.

metric_thresholds

Metrics to calculate and their associated thresholds.

alert_enabled

Whether or not to enable alerts for the signal. Defaults to True.

workspace_connection_id
str

Gets or sets the workspace connection ID used to connect to the content generation endpoint.

properties

The properties of the signal

sampling_rate

The sample rate of the target data, should be greater than 0 and at most 1.

Variables

Name Description
type
str

The type of the signal. Set to "generationsafetyquality" for this class.