generated from guardrails-ai/validator-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from guardrails-ai/chore/explicit-validator-deps
Publish CI & Validator Pip Dependencies
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Publish to Guardrails Hub | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build & Deploy | ||
uses: guardrails-ai/guardrails/.github/actions/validator_pypi_publish@main | ||
with: | ||
guardrails_token: ${{ secrets.GR_GUARDRAILS_TOKEN }} | ||
validator_id: guardrails/qa_relevance_llm_eval |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "qa_relevance_llm_eval" | ||
version = "0.0.0" | ||
version = "0.0.1" | ||
description = "Validates that an answer is relevant to the question asked by asking the LLM to self evaluate." | ||
authors = [ | ||
{name = "Guardrails AI", email = "[email protected]"} | ||
|
@@ -10,6 +10,7 @@ readme = "README.md" | |
requires-python = ">= 3.8.1" | ||
dependencies = [ | ||
"guardrails-ai>=0.4.0", | ||
"guardrails-grhub-response_evaluator" | ||
] | ||
|
||
[project.optional-dependencies] | ||
|