We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea90816 commit dc8613eCopy full SHA for dc8613e
.github/workflows/install_from_hub.yml
@@ -9,6 +9,8 @@ on:
9
jobs:
10
install_from_hub:
11
runs-on: ubuntu-latest
12
+ env:
13
+ GUARDRAILS_API_KEY: ${{ secrets.GUARDRAILS_API_KEY }}
14
steps:
15
- name: Set up Python
16
uses: actions/setup-python@v5
@@ -17,6 +19,8 @@ jobs:
17
19
- name: pip install from main
18
20
run: pip install git+https://github.com/guardrails-ai/guardrails.git@main
21
- name: Install PII validator
- run: guardrails hub install hub://guardrails/detect_pii
22
+ run: |
23
+ guardrails configure --token $GUARDRAILS_API_KEY --disable-metrics --enable-remote-inferencing;
24
+ guardrails hub install hub://guardrails/detect_pii;
25
- name: Verify PII validator is addressable
26
run: echo 'from guardrails.hub import DetectPII' | python
0 commit comments