Skip to content

Commit b8ab57b

Browse files
authored
Merge pull request #3 from guardrails-ai/chore/explicit-validator-deps
Publish CI & Validator Pip Dependencies
2 parents 166e18b + bdd8c03 commit b8ab57b

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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/qa_relevance_llm_eval

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "qa_relevance_llm_eval"
3-
version = "0.0.0"
3+
version = "0.0.1"
44
description = "Validates that an answer is relevant to the question asked by asking the LLM to self evaluate."
55
authors = [
66
{name = "Guardrails AI", email = "[email protected]"}
@@ -10,6 +10,7 @@ readme = "README.md"
1010
requires-python = ">= 3.8.1"
1111
dependencies = [
1212
"guardrails-ai>=0.4.0",
13+
"guardrails-grhub-response_evaluator"
1314
]
1415

1516
[project.optional-dependencies]

0 commit comments

Comments
 (0)