Skip to content

Commit

Permalink
Merge branch 'evaluations-in-backend' of https://github.com/Agenta-AI…
Browse files Browse the repository at this point in the history
…/agenta into evaluations-in-backend
  • Loading branch information
MohammedMaaz committed Jan 2, 2024
2 parents 7731157 + 57b9dca commit cd29d16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agenta-backend/agenta_backend/models/api/evaluation_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class EvaluatorConfig(BaseModel):
name: str
evaluator_key: str
settings_values: Optional[Dict[str, Any]]
created_at: datetime
updated_at: datetime


class EvaluationTypeSettings(BaseModel):
Expand Down
2 changes: 2 additions & 0 deletions agenta-backend/agenta_backend/models/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,4 +386,6 @@ def evaluator_config_db_to_pydantic(evaluator_config: EvaluatorConfigDB):
name=evaluator_config.name,
evaluator_key=evaluator_config.evaluator_key,
settings_values=evaluator_config.settings_values,
created_at=evaluator_config.created_at,
updated_at=evaluator_config.updated_at,
)

0 comments on commit cd29d16

Please sign in to comment.