AQIT
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
eval.py
Go to the documentation of this file.
1
# Copyright (c) 2025-present Aquin Labs Private Limited. All Rights Reserved.
2
# This file is part of the Aquin Engine. Unauthorized copying, modification,
3
# distribution, or use of this file, via any medium, is strictly prohibited.
4
# Proprietary and confidential. See LICENSE for terms.
5
6
"""Eval suite — consistency, suppress, boundary, custom, confidence, red-team."""
7
8
from
__future__
import
annotations
9
10
from
typing
import
Any
11
12
from
aquin.sdk._runtime
import
invoke
13
14
15
def
consistency
(**kwargs: Any) -> dict[str, Any]:
16
return
invoke(
"run_consistency_eval"
, kwargs, command=
"eval consistency"
)
17
18
19
def
suppress
(**kwargs: Any) -> dict[str, Any]:
20
return
invoke(
"run_suppression_eval"
, kwargs, command=
"eval suppress"
)
21
22
23
def
boundary
(**kwargs: Any) -> dict[str, Any]:
24
return
invoke(
"run_boundary_eval"
, kwargs, command=
"eval boundary"
)
25
26
27
def
custom
(**kwargs: Any) -> dict[str, Any]:
28
return
invoke(
"run_custom_eval"
, kwargs, command=
"eval custom"
)
29
30
31
def
confidence
(**kwargs: Any) -> dict[str, Any]:
32
return
invoke(
"run_confidence_analysis"
, kwargs, command=
"check confidence"
)
33
34
35
def
red_team
(**kwargs: Any) -> dict[str, Any]:
36
return
invoke(
"run_red_team"
, kwargs, command=
"red-team"
)
aquin.sdk._runtime
Definition
_runtime.py:1
aquin.sdk.eval.red_team
dict[str, Any] red_team(**Any kwargs)
Definition
eval.py:39
aquin.sdk.eval.custom
dict[str, Any] custom(**Any kwargs)
Definition
eval.py:31
aquin.sdk.eval.boundary
dict[str, Any] boundary(**Any kwargs)
Definition
eval.py:27
aquin.sdk.eval.consistency
dict[str, Any] consistency(**Any kwargs)
Definition
eval.py:19
aquin.sdk.eval.confidence
dict[str, Any] confidence(**Any kwargs)
Definition
eval.py:35
aquin.sdk.eval.suppress
dict[str, Any] suppress(**Any kwargs)
Definition
eval.py:23
aquin
sdk
eval.py
AQIT · Aquin Labs Private Limited · Apache 2.0 · Generated by
1.18.0