Skip to content

Commit c22467f

Browse files
authored
Update Tool Call Success Evaluator Name in Sample (#43967)
1 parent b5fbfb9 commit c22467f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sdk/ai/azure-ai-projects/samples/evaluations/agentic_evaluators/sample_tool_success.py renamed to sdk/ai/azure-ai-projects/samples/evaluations/agentic_evaluators/sample_tool_call_success.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
for Tool Success evaluator using inline dataset content.
1212
1313
USAGE:
14-
python sample_tool_success.py
14+
python sample_tool_call_success.py
1515
1616
Before running the sample:
1717
@@ -71,18 +71,18 @@ def main() -> None:
7171
testing_criteria = [
7272
{
7373
"type": "azure_ai_evaluator",
74-
"name": "tool_success",
75-
"evaluator_name": "builtin.tool_success",
74+
"name": "tool_call_success",
75+
"evaluator_name": "builtin.tool_call_success",
7676
"initialization_parameters": {"deployment_name": f"{model_deployment_name}"},
7777
"data_mapping": {"tool_definitions": "{{item.tool_definitions}}", "response": "{{item.response}}"},
7878
}
7979
]
8080

8181
print("Creating Eval Group")
8282
eval_object = client.evals.create(
83-
name="Test Tool Success Evaluator with inline data",
84-
data_source_config=data_source_config, # type: ignore
85-
testing_criteria=testing_criteria, # type: ignore
83+
name="Test Tool Call Success Evaluator with inline data",
84+
data_source_config=data_source_config, # type: ignore
85+
testing_criteria=testing_criteria, # type: ignore
8686
)
8787
print(f"Eval Group created")
8888

0 commit comments

Comments
 (0)