WIP: add experiment script for max tool per agent #40
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.
Overview
This PR adds
faketooltest.py, a script designed to evaluate how well LlamaStack handles an increasing number of tools by measuring tool selection accuracy, execution success, and latency.This was a custom experiment to explore LlamaStack’s scalability, but now we will close this approach and shift focus to more systematic evaluations using established benchmarks for a more comprehensive analysis.
Experiment Setup
Run the Experiment
Results are saved in
experiment_results.csvfor analysis.Conclusion
current test conclude, llama 3B model can deal with max 25 tools. Latency per query 0.178s (serverd locally)
Limitations
Next Steps