Documentation
Table of Contents

Constructor ModelJudge

Namespace
IntentSharp.Verification
Assembly
IntentSharp.dll

ModelJudge(IAIProvider, ILogger?)

Creates a judge that asks provider for each verdict.

public ModelJudge(IAIProvider provider, ILogger? logger = null)

Parameters

provider IAIProvider

The provider the judge calls.

logger ILogger

Receives a Warning when a judge reply is not JSON and the attempt passes without a verdict.

Exceptions

ArgumentNullException

provider is null.