Autogen + ToolDec #524
akashicMarga
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Interesting. How does it fit in the autogen framework? What needs to be changed besides the code execution part? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Adding ToolDec in auto gen code execution will be really helpful for making API calls and other commands that are critical and need to follow certain structures. As Per the ToolDec paper (Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decoding)
" We evaluated multiple prior methods and their ToolDec-enhanced versions on a variety of tasks involving tools like math functions, knowledge graph relations, and complex real-world RESTful APIs. Our experiments show that ToolDec reduces syntactic errors to zero, consequently achieving significantly better performance and as much as a 2x speedup. We also show that ToolDec achieves superior generalization performance on unseen tools, performing up to 8x better than the baselines"
https://arxiv.org/abs/2310.07075
Beta Was this translation helpful? Give feedback.
All reactions