Harrison Chase:@dbreunig 的一个很酷的项目
中文全文 · AI 翻译
@dbreunig 的一个很酷的项目
在 langchain 中,这相当于 ModelRouterMiddleware - jev 会读取第一条消息,选择模型,然后那个模型处理整个运行过程
jev 足够便宜,你还可以用自定义钩子在每次工具结果后重新选择模型
文档:https://docs.langchain.com/oss/python/integrations/providers/typesafe#model-routing
对照原文
cool project by @dbreunig in langchain this is ModelRouterMiddleware - jev reads the first message, picks the model, and that model handles the whole run jev is cheap enough that you can also re-pick after each tool result with a custom hook docs: https://t.co/T2OwFGxocd https://t.co/oYrDHho4t5