Jayashree Sridhar
commited on
Commit
·
564cd14
1
Parent(s):
8bacf7a
modified validation_tools
Browse files
agents/tools/validation_tools.py
CHANGED
|
@@ -425,7 +425,7 @@ class ValidateResponseTool(BaseTool):
|
|
| 425 |
return {"is_valid", "issues", "warnings", "suggestions","confidence","refined_text"}
|
| 426 |
|
| 427 |
class ValidationTools:
|
| 428 |
-
_model: ValidateResponseTool = PrivateAttr()
|
| 429 |
def __init__(self, config=None):
|
| 430 |
self._validate_response = ValidateResponseTool(config)
|
| 431 |
# Add more tools as needed (check_safety, refine_response, etc.)
|
|
|
|
| 425 |
return {"is_valid", "issues", "warnings", "suggestions","confidence","refined_text"}
|
| 426 |
|
| 427 |
class ValidationTools:
|
| 428 |
+
#_model: ValidateResponseTool = PrivateAttr()
|
| 429 |
def __init__(self, config=None):
|
| 430 |
self._validate_response = ValidateResponseTool(config)
|
| 431 |
# Add more tools as needed (check_safety, refine_response, etc.)
|