Documentation
Table of Contents

Enum ConstraintKind

Namespace
IntentSharp.Attributes
Assembly
IntentSharp.dll

Constraint kinds that can be declared on an intent method.

public enum ConstraintKind
Extension Methods

Fields

CustomValidator = 5

A type implementing IOutputValidator with a parameterless constructor. Value: Type.

MaxAttempts = 0

Maximum attempts per execution. Value: int.

MaxExecutionTimeMs = 1

Wall-clock budget in milliseconds for the whole execution. Value: int.

MaxModelCalls = 2

Hard ceiling on model calls, judge calls included. Value: int.

OutputRequirement = 4

Free-text requirement the output must meet, sent to the model with the request. Value: string.

RequireJudge = 3

Ask the judge to review the result before it is returned. Value: bool.