Experimental auxiliary attack implementations (e.g., GCG).
This subpackage is experimental: APIs may change in any release without a deprecation cycle. Pin pyrit to a specific version if you depend on it. To silence the warning emitted on import::
import warnings
from pyrit.exceptions import ExperimentalWarning
warnings.filterwarnings("ignore", category=ExperimentalWarning)ExperimentalWarning¶
Bases: FutureWarning
Warning category for experimental PyRIT modules whose APIs may change at any time.
Modules emitting this warning are not covered by PyRIT’s normal deprecation policy. To silence it, filter the category before importing the experimental module::
import warnings
from pyrit.exceptions import ExperimentalWarning
warnings.filterwarnings("ignore", category=ExperimentalWarning)