Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish CI & Validator Pip Dependencies #3

Merged
merged 8 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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