diff --git a/pyproject.toml b/pyproject.toml index 4c0e056..ccfd2a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "similar_to_document" -version = "0.0.0" +version = "0.0.1" description = "Validates that a value is similar to the document." authors = [ {name = "Guardrails AI", email = "contact@guardrailsai.com"} diff --git a/validator/main.py b/validator/main.py index f9a70aa..ba6c80d 100644 --- a/validator/main.py +++ b/validator/main.py @@ -89,7 +89,6 @@ def validate(self, value: Any, metadata: Dict) -> ValidationResult: # Convert the tensor to a float similarity = similarity[0][0].item() - print(f"Similarity: {round(similarity, 3)}, Type: {type(similarity)}") # Compare the similarity with the threshold if similarity < self._threshold: