AzureAIProjectsModelFactory.AgentDataGenerationJobSource Method

Definition

Agent source for data generation jobs — references an agent to fetch instructions and metadata from.

public static Azure.AI.Projects.AgentDataGenerationJobSource AgentDataGenerationJobSource(string description = default, string agentName = default, string agentVersion = default);
static member AgentDataGenerationJobSource : string * string * string -> Azure.AI.Projects.AgentDataGenerationJobSource
Public Shared Function AgentDataGenerationJobSource (Optional description As String = Nothing, Optional agentName As String = Nothing, Optional agentVersion As String = Nothing) As AgentDataGenerationJobSource

Parameters

description
String

Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities').

agentName
String

The agent name to fetch instructions from.

agentVersion
String

The agent version. If not specified, the latest version is used.

Returns

A new AgentDataGenerationJobSource instance for mocking.

Applies to