You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guardrails/rules.md
+86-1Lines changed: 86 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ icon: bootstrap/book
8
8
A concise reference for writing guardrailing rules with Invariant.
9
9
</div>
10
10
11
+
This page contains a concise reference for writing guardrailing rules with Invariant. For a more guided introduction, please refer to the [introduction chapter](./index.md).
12
+
11
13
## Setting Up Your LLM Client
12
14
13
15
To get started with guardrailing, you have to setup your LLM client to use [Invariant Gateway](../gateway/index.md):
@@ -47,6 +49,8 @@ Before you run, make sure you export the relevant environment variables includin
47
49
48
50
## Message-Level Guardrails
49
51
52
+
See also [Ban Topics and Substrings](../guardrails/ban-words.md).
53
+
50
54
**Example:** Checking for the presence of specific keywords in the message content.
0 commit comments