EndpointBasedEvaluatorDefinition 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.
Endpoint-based evaluator definition. The customer owns and hosts an HTTP endpoint that implements the evaluation contract. The evaluator references a Project Connection by name; the connection stores the endpoint URL and credentials (API Key or Entra ID). At execution time, the service resolves the connection to obtain the endpoint URL and authentication details, then calls the endpoint for each evaluation row.
public class EndpointBasedEvaluatorDefinition : Azure.AI.Projects.Evaluation.EvaluatorDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Evaluation.EndpointBasedEvaluatorDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Evaluation.EndpointBasedEvaluatorDefinition>
type EndpointBasedEvaluatorDefinition = class
inherit EvaluatorDefinition
interface IJsonModel<EndpointBasedEvaluatorDefinition>
interface IPersistableModel<EndpointBasedEvaluatorDefinition>
Public Class EndpointBasedEvaluatorDefinition
Inherits EvaluatorDefinition
Implements IJsonModel(Of EndpointBasedEvaluatorDefinition), IPersistableModel(Of EndpointBasedEvaluatorDefinition)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| EndpointBasedEvaluatorDefinition(String) |
Initializes a new instance of EndpointBasedEvaluatorDefinition. |
Properties
| Name | Description |
|---|---|
| ConnectionName |
Name of the Project Connection that stores the endpoint URL and credentials. The connection must exist on the project and have a non-empty target URL. Supported auth types: ApiKey (sends |
| DataSchema |
The JSON schema (Draft 2020-12) for the evaluator's input data. (Inherited from EvaluatorDefinition) |
| InitParameters |
The JSON schema (Draft 2020-12) for the evaluator's input parameters. (Inherited from EvaluatorDefinition) |
| Metrics |
List of output metrics produced by this evaluator. (Inherited from EvaluatorDefinition) |