Skip to content

Commit 16b087b

Browse files
Merge pull request #4 from guardrails-ai/fix/validator-dep-constraints
Fix Dependent Validator Import & Version Constraints
2 parents b8ab57b + 6cdc4e5 commit 16b087b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "qa_relevance_llm_eval"
3-
version = "0.0.1"
3+
version = "0.0.2"
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,7 +10,7 @@ readme = "README.md"
1010
requires-python = ">= 3.8.1"
1111
dependencies = [
1212
"guardrails-ai>=0.4.0",
13-
"guardrails-grhub-response_evaluator"
13+
"guardrails-grhub-response_evaluator<1.0.0"
1414
]
1515

1616
[project.optional-dependencies]

validator/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Any, Callable, Dict, Optional
22

3-
from guardrails.hub.guardrails.response_evaluator.validator import ResponseEvaluator
3+
from guardrails.hub import ResponseEvaluator
44
from guardrails.validator_base import (
55
ValidationResult,
66
register_validator,

0 commit comments

Comments
 (0)