ModerationVerdict
Models & Types · AiDotNet.Agentic.Pipeline
The verdict from moderating a piece of content: whether it is allowed, and if not, why.
Properties
| Property | Summary |
|---|---|
bool Allowed { get; } |
Gets a value indicating whether the content is permitted. |
string Reason { get; } |
Gets the reason the content was blocked, or null when allowed. |
Methods
| Method | Summary |
|---|---|
ModerationVerdict Allow() |
A verdict permitting the content. |
ModerationVerdict Block(string reason) |
A verdict blocking the content with a reason. |