-
Notifications
You must be signed in to change notification settings - Fork 3k
Tool Call Accuracy V2 #41740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ghyadav
merged 25 commits into
Azure:main
from
salma-elshafey:selshafey/improve_tool_call_accuracy
Jul 17, 2025
+522
−451
Merged
Tool Call Accuracy V2 #41740
Changes from 15 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
41de91a
support 5 levels, evaluate all tools at once
6a1e2b3
Update sample notebook and change log
0dad199
Add missing import
e4b1a37
Modify test cases to match the new output format
a40c91b
Modify other test file to match the new output format
ed0ecf9
Fixed parsing of results
9bc900b
Change key name in output
eaf493a
Spell check fixes
1965639
Minor prompt update
8865240
Update result key to tool_call_accuracy
fcd1cb8
Delete test_new_evaluator.ipynb
salma-elshafey 67fc87d
Added field names and messages as constants
080f941
Merge branch 'selshafey/improve_tool_call_accuracy' of https://github…
fd2429f
Additional note in prompt
6c9e342
Re-add the temperature to the prompty file
d0f637e
Removed 'applicable' field and print statement
4c27dff
Move excess/missing tool calls fields under additional details
3fa14f0
Typo fix and removal of redundant field in the prompt
2c3ce50
Modify per_tool_call_details field's name to details
6525a6f
Revert "Modify per_tool_call_details field's name to details"
e72b084
Revert 'Merge branch 'main' into selshafey/improve_tool_call_accuracy'
3d4f2cc
Merge branch 'main' into selshafey/improve_tool_call_accuracy
a79b3a1
Black reformat
440b6c1
Reformat with black
e690217
To re-trigger build pipelines
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
320 changes: 156 additions & 164 deletions
320
...-ai-evaluation/azure/ai/evaluation/_evaluators/_tool_call_accuracy/_tool_call_accuracy.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.