Skip to navigation

nemoguardrails.library.jailbreak_detection.model_based.errors

View as MarkdownOpen in Claude

Module Contents

Classes

NameDescription
JailbreakInputTooLongErrorThe detector cannot evaluate the complete input within its token limit.
JailbreakInputValidationErrorThe detector’s input coverage could not be verified.

API

class nemoguardrails.library.jailbreak_detection.model_based.errors.JailbreakInputTooLongError()

Bases: ValueError

The detector cannot evaluate the complete input within its token limit.

class nemoguardrails.library.jailbreak_detection.model_based.errors.JailbreakInputValidationError()
Exception

Bases: Exception

The detector’s input coverage could not be verified.