garak._config

_config is an internal-only class, with no guarantee of a stable API.

garak global config

class garak._config.BuffManager

Bases: object

class to store instantiated buffs

buffs = []
class garak._config.GarakSubConfig

Bases: object

class garak._config.TransientConfig

Bases: GarakSubConfig

Object to hold transient global config items not set externally

args = None
cache_dir = PosixPath('/home/docs/.cache/garak')
config_dir = PosixPath('/home/docs/.config/garak')
data_dir = PosixPath('/home/docs/.local/share/garak')
hitlogfile = None
package_dir = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak')
report_filename = None
reportfile = None
run_id = None
starttime = None
starttime_iso = None
garak._config.load_base_config() None
garak._config.load_config(site_config_filename='garak.site.yaml', run_config_filename=None) None
garak._config.nested_dict()
garak._config.parse_plugin_spec(spec: str, category: str, probe_tag_filter: str = '') tuple[List[str], List[str]]