Skip to content

Commit

Permalink
Merge pull request #3 from guardrails-ai/chore/explicit-validator-deps
Browse files Browse the repository at this point in the history
Publish CI & Validator Pip Dependencies
  • Loading branch information
dtam authored Oct 30, 2024
2 parents 166e18b + bdd8c03 commit b8ab57b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/publish_pypi.yml
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
3 changes: 2 additions & 1 deletion pyproject.toml
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]"}
Expand All @@ -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]
Expand Down

0 comments on commit b8ab57b

Please sign in to comment.