File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to Guardrails Hub
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ setup :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Build & Deploy
14
+ uses : guardrails-ai/guardrails/.github/actions/validator_pypi_publish@main
15
+ with :
16
+ guardrails_token : ${{ secrets.GR_GUARDRAILS_TOKEN }}
17
+ validator_id : guardrails/politeness_check
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " politeness_check"
3
- version = " 0.0.0 "
3
+ version = " 0.0.1 "
4
4
description = " This validator ensures that a generated output is polite."
5
5
authors = [
6
6
{
name =
" Guardrails AI" ,
email =
" [email protected] " }
@@ -10,7 +10,8 @@ readme = "README.md"
10
10
requires-python = " >= 3.8.1"
11
11
dependencies = [
12
12
" guardrails-ai>=0.4.0" ,
13
- " litellm"
13
+ " litellm" ,
14
+ " guardrails-grhub-response_evaluator"
14
15
]
15
16
16
17
[project .optional-dependencies ]
You can’t perform that action at this time.
0 commit comments