ModelResponseGenerationTarget Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluation target for generating responses using a given model and dataset.
public class ModelResponseGenerationTarget : Azure.AI.Projects.EvaluationTarget, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.ModelResponseGenerationTarget>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.ModelResponseGenerationTarget>
type ModelResponseGenerationTarget = class
inherit EvaluationTarget
interface IJsonModel<ModelResponseGenerationTarget>
interface IPersistableModel<ModelResponseGenerationTarget>
Public Class ModelResponseGenerationTarget
Inherits EvaluationTarget
Implements IJsonModel(Of ModelResponseGenerationTarget), IPersistableModel(Of ModelResponseGenerationTarget)
- Inheritance
- Implements
Constructors
ModelResponseGenerationTarget(IEnumerable<Message>, String, IDictionary<String,BinaryData>) |
Initializes a new instance of ModelResponseGenerationTarget. |
Properties
BaseMessages |
A list of messages comprising the conversation so far. |
ModelDeploymentName |
The model deployment to be evaluated. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'. |
ModelParams |
Optional parameters passed to the model for evaluation. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|