Skip to content

Commit

Permalink
Merge pull request #2094 from Agenta-AI/bugs-fixes-for-release-v24-04-0
Browse files Browse the repository at this point in the history
Fix Bugs for v0.25.0 Release
  • Loading branch information
aakrem authored Oct 1, 2024
2 parents b05e29b + 31942ea commit c5bab94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions agenta-backend/agenta_backend/models/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ async def environment_db_and_revision_to_extended_output(
environment_output_extended = EnvironmentOutputExtended(
name=environment_db.name,
app_id=str(environment_db.app_id),
project_id=str(environment_db.project_id),
deployed_app_variant_id=deployed_app_variant_id,
deployed_variant_name=deployed_variant_name,
deployed_app_variant_revision_id=str(
Expand Down
11 changes: 10 additions & 1 deletion agenta-backend/agenta_backend/resources/evaluators/evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@
"name": "Exact Match",
"key": "auto_exact_match",
"direct_use": True,
"settings_template": {},
"settings_template": {
"correct_answer_key": {
"label": "Expected Answer Column",
"default": "correct_answer",
"type": "string",
"advanced": True, # Tells the frontend that this setting is advanced and should be hidden by default
"ground_truth_key": True, # Tells the frontend that is the name of the column in the test set that should be shown as a ground truth to the user
"description": "The name of the column in the test data that contains the correct answer",
},
},
"description": "Exact Match evaluator determines if the output exactly matches the specified correct answer, ensuring precise alignment with expected results.",
"oss": True,
"tags": ["functional"],
Expand Down

0 comments on commit c5bab94

Please sign in to comment.