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 3319bbf commit e8e91acCopy full SHA for e8e91ac
docs/my-website/docs/proxy/guardrails/grayswan.md
@@ -18,6 +18,7 @@ Cygnal returns a `violation` score between `0` and `1` (higher means more likely
18
19
```bash
20
export GRAYSWAN_API_KEY="your-grayswan-key"
21
+export GRAYSWAN_API_BASE="https://api.grayswan.ai"
22
```
23
24
### 2. Configure `config.yaml`
@@ -37,6 +38,7 @@ guardrails:
37
38
guardrail: grayswan
39
mode: [pre_call, post_call] # monitor both input and output
40
api_key: os.environ/GRAYSWAN_API_KEY
41
+ api_base: os.environ/GRAYSWAN_API_BASE # optional
42
optional_params:
43
on_flagged_action: monitor # or "block"
44
violation_threshold: 0.5 # score >= threshold is flagged
0 commit comments