你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.
Constructor
GenerationSafetyQualitySignal(*, production_data: List[LlmData] | None = None, 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 False. |
connection_id
|
Gets or sets the 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
|
The type of the signal. Set to "generationsafetyquality" for this class. |