Documentation
Table of Contents

Constructor AIGuardrailAttribute

Namespace
IntentSharp.Attributes
Assembly
IntentSharp.dll

AIGuardrailAttribute(GuardrailType, object)

Declares a constraint of the given kind. The value's kind is checked when ApplyTo(AIRequestOptions) runs, not here.

public AIGuardrailAttribute(GuardrailType type, object value)

Parameters

type GuardrailType
value object

Exceptions

ArgumentNullException

value is null.