We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc53446 commit 0aa52c2Copy full SHA for 0aa52c2
docs/guardrails/introduction.md
@@ -81,7 +81,7 @@ To prevent this, we can write a simple flow rule, that not only checks specific
81
from invariant.detectors import prompt_injection, moderated
82
83
raise "Must not send email when agent has looked at suspicious email" if:
84
- (inbox: ToolOutput) ~> (call: ToolCall)
+ (inbox: ToolOutput) -> (call: ToolCall)
85
inbox is tool:get_inbox
86
call is tool:send_email
87
prompt_injection(inbox.content)
0 commit comments