Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
hmnshudhmn24
/
toolplanner-lm
like
1
Graph Machine Learning
English
python
agent-planning
tool-use
autonomous-agents
workflow-automation
License:
apache-2.0
Model card
Files
Files and versions
xet
Community
main
toolplanner-lm
/
src
/
plan_optimizer.py
hmnshudhmn24
Upload 29 files
84613b6
verified
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
87 Bytes
class
PlanOptimizer
:
def
optimize
(
self,p
):
return
sorted
(p,key=
lambda
x:x[
'tool'
])