LangChain's ModelRouterMiddleware routes runs to models using Jev
Original titlecool project by @dbreunig
AISummary
LangChain's ModelRouterMiddleware uses Jev to read the first message and select a model that handles the entire run. Because Jev is cheap, developers can also re-select a model after each tool result using a custom hook. The router was demonstrated in a quick project by @dbreunig built with DSPy and Jev.
Source: Harrison Chase · x.comPublished · added here