Condividi tramite


AzureAIProjectsModelFactory.Target(String) Method

Definition

Base class for targets with discriminator support. Please note this is the abstract base class. The derived classes available for instantiation are: AzureAIModelTarget and AzureAIAgentTarget.

public static Azure.AI.Projects.Target Target(string type = default);
static member Target : string -> Azure.AI.Projects.Target
Public Shared Function Target (Optional type As String = Nothing) As Target

Parameters

type
String

The type of target.

Returns

A new Target instance for mocking.

Applies to