Class FitContext
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
What a fit evaluator judges: the request, the ticket, the offer, the client, and RunAsync<T>(object?, CancellationToken), which runs the offered definition on the specialist through the normal pipeline before the offer is in use.
public sealed class FitContext
- Inheritance
-
objectFitContext
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Properties
- Client
The client the runtime runs on, for an evaluator that makes calls of its own.
- IntentName
The intent's name as the requested definition gives it.
- Offer
The offer being judged. Treat it as read-only.
- Request
The request the offer answers.
- Ticket
The ticket of the request.
Methods
- RunAsync(object?, CancellationToken)
Runs the offered definition on the specialist with
inputand returns the verified result as JSON.
- RunAsync<T>(object?, CancellationToken)
Runs the offered definition on the specialist with
inputand returns a verifiedT.