Documentation
Table of Contents

Class AIComparisonEvaluator

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

The AI fit check: asks a model the developer names whether the offer meets the request. It runs as a normal typed call on the client, so it passes the client's checkpoints and counts toward its limits. A failed judge call is a finding that does not fit. A SpecialistRuntime adds it after the other evaluators when AIJudge or an intent's AIJudge is set.

public sealed class AIComparisonEvaluator : IFitEvaluator
Inheritance
object
AIComparisonEvaluator
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

AIComparisonEvaluator(AIFitJudgeOptions)

Creates the evaluator.

Fields

DefaultName

The name this evaluator records on its findings.

Properties

Name

The evaluator's name, recorded on each of its findings.

Methods

EvaluateAsync(FitContext, CancellationToken)

Judges the offer in context and returns the finding.