Skip to content

Commit 9bc900b

Browse files
author
Salma Elshafey
committed
Change key name in output
1 parent ed0ecf9 commit 9bc900b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_tool_call_accuracy/tool_call_accuracy.prompty

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Your output should consist only of a JSON object, as provided in the examples, t
126126
- additional_details: a dictionary that contains the following keys:
127127
- tool_calls_made_by_agent: total number of tool calls made by the agent
128128
- correct_tool_calls_made_by_agent: total number of correct tool calls made by the agent
129-
- per_tool_details: a list of dictionaries, each containing:
129+
- details: a list of dictionaries, each containing:
130130
- tool_name: name of the tool
131131
- total_calls_required: total number of calls required for the tool
132132
- correct_calls_made_by_agent: number of correct calls made by the agent
@@ -135,12 +135,12 @@ Your output should consist only of a JSON object, as provided in the examples, t
135135
- tool_success_result: 'pass' or 'fail' based on the evaluation of the tool call accuracy for this tool
136136
- excess_tool_calls: a dictionary with the following keys:
137137
- total: total number of excess, unnecessary tool calls made by the agent
138-
- per_tool_details: a list of dictionaries, each containing:
138+
- details: a list of dictionaries, each containing:
139139
- tool_name: name of the tool
140140
- excess_count: number of excess calls made for this query
141141
- missing_tool_calls: a dictionary with the following keys:
142142
- total: total number of missing tool calls that should have been made by the agent to be able to answer the query
143-
- per_tool_details: a list of dictionaries, each containing:
143+
- details: a list of dictionaries, each containing:
144144
- tool_name: name of the tool
145145
- missing_count: number of missing calls for this query
146146

0 commit comments

Comments
 (0)