Routing with Decision Models, part 3: replacing my custom planner with LangChain4j’s decision router
At the end of the previous post, I wrote that my custom routing code could probably be replaced by a built-in LangChain4j pattern soon that Mario Fusco and I had discussed after my initial blog post. On 2 October LangChain4j merged the resulting DecisionRouterPlanner, which selects and runs sub-agents with a DecisionModel. Time for me […]