| Interface | Description |
|---|---|
| Evaluator |
| Class | Description |
|---|---|
| AIGuard |
SDK for calling the AIGuard REST API to evaluate AI prompts and tool calls for security threats.
|
| AIGuard.Evaluation |
Represents the result of an AIGuard security evaluation, containing both the recommended action
and the reasoning behind the decision.
|
| AIGuard.Message |
Represents a message in an AI conversation.
|
| AIGuard.Options |
Configuration options for AIGuard evaluation behavior.
|
| AIGuard.ToolCall |
Represents a function call made by an AI assistant.
|
| AIGuard.ToolCall.Function |
Represents the function details within a tool call, including the function name and its
arguments.
|
| Enum | Description |
|---|---|
| AIGuard.Action |
Actions that can be recommended by an AIGuard evaluation.
|
| Exception | Description |
|---|---|
| AIGuard.AIGuardAbortError |
Exception thrown when AIGuard evaluation results in blocking the execution due to security
concerns.
|
| AIGuard.AIGuardClientError |
Exception thrown when there are client-side errors communicating with the AIGuard REST API.
|