Skip to content

Commit c1da982

Browse files
updated evaluation source
1 parent 75fffad commit c1da982

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ads/aqua/evaluation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def create(
688688
category="aqua/evaluation/create",
689689
action="shape",
690690
detail=create_aqua_evaluation_details.shape_name,
691-
value=evaluation_source.display_name,
691+
value=self._get_service_model_name(evaluation_source),
692692
)
693693

694694
# tracks unique evaluation that were created for the given evaluation source
@@ -785,7 +785,7 @@ def _build_evaluation_runtime(
785785
)
786786

787787
return runtime
788-
788+
789789
@staticmethod
790790
def _get_service_model_name(
791791
source: Union[ModelDeployment, DataScienceModel]
@@ -811,7 +811,7 @@ def _get_service_model_name(
811811
return source.freeform_tags.get(Tags.AQUA_MODEL_NAME_TAG.value)
812812
else:
813813
return extract_id_and_name_from_tag(fine_tuned_model_tag)[1]
814-
814+
815815
return source.display_name
816816

817817
@staticmethod

0 commit comments

Comments
 (0)