Tool Selection Accuracy
Definitions
Tool Selection Accuracy measures how well an LLM selects a tool / function in a given module.
The used tools are compared with the expected tools and the metric outputs:
num_correct
: total number of tools that are selected AND called with the correct argumentsscore
:num_correct
/ total number of tools inground_truths
Example Usage
Required data items: tools
, ground_truths