Skip to content
Read the original: Harrison Chase· Published 28/100AI score28/100

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.

Read the original x.com

Source: Harrison Chase · x.comPublished · added here