Share via


ModelResponseGenerationTarget Constructor

Definition

Initializes a new instance of ModelResponseGenerationTarget.

public ModelResponseGenerationTarget(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Message> baseMessages, string modelDeploymentName, System.Collections.Generic.IDictionary<string,BinaryData> modelParams);
new Azure.AI.Projects.ModelResponseGenerationTarget : seq<Azure.AI.Projects.Message> * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.Projects.ModelResponseGenerationTarget
Public Sub New (baseMessages As IEnumerable(Of Message), modelDeploymentName As String, modelParams As IDictionary(Of String, BinaryData))

Parameters

baseMessages
IEnumerable<Message>

A list of messages comprising the conversation so far.

modelDeploymentName
String

The model deployment to be evaluated. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'.

modelParams
IDictionary<String,BinaryData>

Optional parameters passed to the model for evaluation.

Exceptions

baseMessages, modelDeploymentName or modelParams is null.

Applies to