Skip to content

Commit c65879d

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: GenAI Evaluation: Fix system instruction not being added to PairwiseMetric.
PiperOrigin-RevId: 738206532
1 parent 195a467 commit c65879d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vertexai/preview/evaluation/_evaluation.py

+1
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,7 @@ def evaluate(
11581158
metric=metric.metric_name,
11591159
metric_prompt_template=metric.metric_prompt_template,
11601160
baseline_model=metric.baseline_model,
1161+
system_instruction=metric.system_instruction,
11611162
)
11621163
)
11631164
else:

0 commit comments

Comments
 (0)