Skip to content

Commit 7010582

Browse files
salma-elshafeySalma Elshafey
andauthored
Modify sample agent response evaluation (#43849)
* Fix tool call accuracy sample * Update agent response evaluation --------- Co-authored-by: Salma Elshafey <[email protected]>
1 parent fb1727c commit 7010582

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sdk/ai/azure-ai-projects/samples/evaluation/sample_agent_response_evaluation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,16 @@
103103
openai_client.evals.runs.output_items.list(run_id=response_eval_run.id, eval_id=eval_object.id)
104104
)
105105
print(f"\nOUTPUT ITEMS (Total: {len(output_items)})")
106+
print(f"Eval Run Report URL: {response_eval_run.report_url}")
107+
106108
print(f"{'-'*60}")
107109
pprint(output_items)
108110
print(f"{'-'*60}")
109111
else:
110112
print("\n✗ Evaluation run failed.")
111113

112-
openai_client.evals.delete(eval_id=eval_object.id)
113-
print("Evaluation deleted")
114+
# openai_client.evals.delete(eval_id=eval_object.id)
115+
# print("Evaluation deleted")
114116

115117
project_client.agents.delete(agent_name=agent.name)
116118
print("Agent deleted")

0 commit comments

Comments
 (0)