Optimizing Tool Selection for LLM Workflows with Differentiable Programming
viksit.substack.com
Optimizing Tool Selection for LLM Workflows with Differentiable Programming
1–10 of 43 posts
Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#2Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#3I was experimenting with how local, learnable routers can reduce token overhead, and lower costs, and decided to publish a post about it. The main goal is to delegate tool calls via a PyTorch based learner and examples of how to integrate this into a DSPy pipeline. Feedback welcome!
Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#4I was experimenting with how local, learnable routers can reduce token overhead, and lower costs, and decided to publish a post about it. The main goal is to delegate tool calls via a PyTorch based learner and examples of how to integrate this into a DSPy pipeline. Feedback welcome!
Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#5You'd still need to figure out what payload to give to the tool based on your context.
But I guess depending on your business case it might be worth it. It's not something I'd do from the beginning, though.
Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#6Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#7I was experimenting with how local, learnable routers can reduce token overhead, and lower costs, and decided to publish a post about it. The main goal is to delegate tool calls via a PyTorch based learner and examples of how to integrate this into a DSPy pipeline. Feedback welcome!
Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#8I was experimenting with how local, learnable routers can reduce token overhead, and lower costs, and decided to publish a post about it. The main goal is to delegate tool calls via a PyTorch based learner and examples of how to integrate this into a DSPy pipeline. Feedback welcome!
Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#9Re: Optimizing Tool Selection for LLM Workflows with Differentiable Programming
#10Yes I think once you’ve got an LLM in the loop it’s easy to be lazy and just use it to make all decisions. But it’s good to step back and think if there is a cheaper way, I mean even some hardcoded logic can do the job.
Right tool for the step to the right extent.
Feels like soft skills for software development.