Skip to content

Commit

Permalink
Merge pull request #4 from guardrails-ai/fix/validator-dep-constraints
Browse files Browse the repository at this point in the history
Fix Dependent Validator Import & Version Constraints
  • Loading branch information
AlejandroEsquivel authored Oct 30, 2024
2 parents b8ab57b + 6cdc4e5 commit 16b087b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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.1"
version = "0.0.2"
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,7 +10,7 @@ readme = "README.md"
requires-python = ">= 3.8.1"
dependencies = [
"guardrails-ai>=0.4.0",
"guardrails-grhub-response_evaluator"
"guardrails-grhub-response_evaluator<1.0.0"
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion validator/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any, Callable, Dict, Optional

from guardrails.hub.guardrails.response_evaluator.validator import ResponseEvaluator
from guardrails.hub import ResponseEvaluator
from guardrails.validator_base import (
ValidationResult,
register_validator,
Expand Down

0 comments on commit 16b087b

Please sign in to comment.