Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
penguine-ip committed Jan 10, 2025
1 parent f359df1 commit 38584e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion deepeval/guardrails/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class GuardData(BaseModel):

class ApiGuardrails(BaseModel):
input: str = None
response: Optional[str] = None
output: Optional[str] = None
guards: List[ApiGuard]
type: GuardType

Expand Down
1 change: 0 additions & 1 deletion deepeval/guardrails/base_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class BaseDecorativeGuard(ABC):
score: Optional[float] = None
score_breakdown: Dict = None
reason: Optional[str] = None
success: Optional[bool] = None
evaluation_model: Optional[str] = None
error: Optional[str] = None
latency: Optional[float] = None
Expand Down

0 comments on commit 38584e8

Please sign in to comment.