CompositeEvaluator 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.
An IEvaluator that composes other IEvaluators to execute multiple (concurrent) evaluations on a supplied response.
public ref class CompositeEvaluator sealed : Microsoft::Extensions::AI::Evaluation::IEvaluator
public sealed class CompositeEvaluator : Microsoft.Extensions.AI.Evaluation.IEvaluator
type CompositeEvaluator = class
interface IEvaluator
Public NotInheritable Class CompositeEvaluator
Implements IEvaluator
- Inheritance
-
CompositeEvaluator
- Implements
Constructors
CompositeEvaluator(IEnumerable<IEvaluator>) |
Initializes a new CompositeEvaluator instance that composes the supplied IEvaluators. |
CompositeEvaluator(IEvaluator[]) |
Initializes a new CompositeEvaluator instance that composes the supplied IEvaluators. |
Properties
EvaluationMetricNames |
Identifies the Names of all the EvaluationMetrics produced by the composed IEvaluators. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
EvaluateAsync(IEnumerable<ChatMessage>, ChatMessage, ChatConfiguration, IEnumerable<EvaluationContext>, CancellationToken) |
Evaluates the supplied |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
EvaluateAsync(IEvaluator, ChatMessage, ChatMessage, ChatConfiguration, IEnumerable<EvaluationContext>, CancellationToken) |
Evaluates the supplied |
EvaluateAsync(IEvaluator, ChatMessage, ChatConfiguration, IEnumerable<EvaluationContext>, CancellationToken) |
Evaluates the supplied |
EvaluateAsync(IEvaluator, String, ChatConfiguration, IEnumerable<EvaluationContext>, CancellationToken) |
Evaluates the supplied |
EvaluateAsync(IEvaluator, String, String, ChatConfiguration, IEnumerable<EvaluationContext>, CancellationToken) |
Evaluates the supplied |