Commit Graph
6 Commits
Author SHA1 Message Date
Luca Beurer-Kellner 7de993412a fix comment + import 2025-04-03 10:18:25 +02:00
Luca Beurer-Kellner b685830117 tests 2025-04-03 10:16:35 +02:00
Luca Beurer-Kellner 278b3a8bf4 allow different guardrailing api key 2025-04-03 10:08:03 +02:00
Luca Beurer-Kellner 9c0f1d8ea7 minor refactor for getting invariant api keys for guardrailing 2025-04-03 09:53:38 +02:00
Luca Beurer-KellnerandGitHub e17b53b927 Extract guardrails from header if provided (#33)
* guardrails from header

* use in-file guardrails in client.py

* support case without request

* remove client script

* tests: guardrailing rule passed in header

* include checked guardrails in annotation extra metadata

* include guardrailing action

* update guardrail metadata
2025-04-03 08:56:15 +02:00
Hemang 050ec1ba58 Fetch guardrails from explorer. These have higher precedence than than the guardrails from file. 2025-04-02 13:40:52 +02:00