AzureAIProjectsModelFactory.AzureAIModelTarget Method

Definition

Represents a target specifying an Azure AI model for operations requiring model selection.

public static Azure.AI.Projects.Evaluation.AzureAIModelTarget AzureAIModelTarget(string model = default, Azure.AI.Projects.Evaluation.ModelSamplingParams samplingParams = default);
static member AzureAIModelTarget : string * Azure.AI.Projects.Evaluation.ModelSamplingParams -> Azure.AI.Projects.Evaluation.AzureAIModelTarget
Public Shared Function AzureAIModelTarget (Optional model As String = Nothing, Optional samplingParams As ModelSamplingParams = Nothing) As AzureAIModelTarget

Parameters

model
String

The unique identifier of the Azure AI model.

samplingParams
ModelSamplingParams

The parameters used to control the sampling behavior of the model during text generation.

Returns

A new AzureAIModelTarget instance for mocking.

Applies to