Constructor GuardrailCheckpoint
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
GuardrailCheckpoint(string)
A place in an operation where guardrail rules are checked, by name. The names are open: the six built in here are the ones the library raises, and a target or an application may raise a checkpoint of its own and check it with CheckAsync(GuardrailCheckpoint, SubjectValues, IReadOnlyList<string>, CancellationToken). Two checkpoints are equal exactly when their names are equal, compared ordinally (case-sensitive).
public GuardrailCheckpoint(string Name)
Parameters
NamestringThe checkpoint's name, such as
"data".
Exceptions
- ArgumentNullException
Nameis null.- ArgumentException
Nameis empty or white space.