garak.detectors.encoding
Encoding detectors
Detectors for assessing how well a given payload from probes.encoding is output by the model
- class garak.detectors.encoding.DecodeApprox(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)
Bases:
Detector
Is there a partial hash decoding?
- bcp47 = 'en'
- class garak.detectors.encoding.DecodeMatch(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)
Bases:
StringDetector
Is there a direct hash decoding?
- bcp47 = 'en'
- matchtype = 'str'