Constructor InMemoryGuardrailSource
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
InMemoryGuardrailSource(params GuardrailSet[])
Creates a source that serves sets, in the order given.
public InMemoryGuardrailSource(params GuardrailSet[] sets)
Parameters
setsGuardrailSet[]The rule sets, each with a unique, non-empty Name.
Exceptions
- ArgumentNullException
setsis null.- ArgumentException
A set is null, has an empty name, or has the name of an earlier set.