Sprog

AzureAIProjectsModelFactory.AgentInsightMonitorCreate Method

Definition

Fields accepted when creating an Agent Insights monitor for an agent.

public static Azure.AI.Projects.AgentInsightMonitorCreate AgentInsightMonitorCreate(string agentName = default, bool? enabled = default, double? runIntervalHours = default, string modelDeploymentName = default);
static member AgentInsightMonitorCreate : string * Nullable<bool> * Nullable<double> * string -> Azure.AI.Projects.AgentInsightMonitorCreate
Public Shared Function AgentInsightMonitorCreate (Optional agentName As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional runIntervalHours As Nullable(Of Double) = Nothing, Optional modelDeploymentName As String = Nothing) As AgentInsightMonitorCreate

Parameters

agentName
String

The agent this monitor should analyze.

enabled
Nullable<Boolean>

Whether scheduled insight generation should be armed. Defaults to false.

runIntervalHours
Nullable<Double>

Interval between scheduled insight runs, in hours. Defaults to 6.

modelDeploymentName
String

The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'.

Returns

A new AgentInsightMonitorCreate instance for mocking.

Applies to