Invisible Text
Detect and prevent invisible or hidden text in outputs. Guard against manipulation or misuse.
evaluator.add_test(
test_names=["invisible_text_guardrail"],
data={
"prompt": ["Testing visible text in a prompt."],
},
).run()
Result = ["Testing visible text in a prompt."]Code Example:
Last updated
Was this helpful?

