Documentation
Table of Contents

Class DefinitionComparisonEvaluator

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

The default fit check, made in code with no model call. An offer fits when its definition keeps the requested intent's name and result shape, keeps every requested rule unchanged (it may add rules), keeps every requested validator name and guardrail set, and, when the offer's RequestHash is set, was provided for this request. The reasons name what differs and never quote a value from an input.

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

Constructors

DefinitionComparisonEvaluator()

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.