返回 X 名人动态

Harrison Chase:@dbreunig 的一个很酷的项目

中文全文 · AI 翻译

@dbreunig 的一个很酷的项目

在 langchain 中,这相当于 ModelRouterMiddleware - jev 会读取第一条消息,选择模型,然后那个模型处理整个运行过程

jev 足够便宜,你还可以用自定义钩子在每次工具结果后重新选择模型

文档:https://docs.langchain.com/oss/python/integrations/providers/typesafe#model-routing

https://x.com/dbreunig/status/2106456056042025235

引用 @dbreunig 的推文
对照原文

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

老杨AI实操

微信扫一扫,添加好友

老杨AI实操的微信好友二维码

手机可长按保存图片,再到微信中识别二维码

保存二维码