返回全部动态

DSPy 3.3.0 发布:Flex 优化、ReActV2 与类型化 LM 接口

原标题:3.3.0

DSPy Releases一手来源产品发布质量 84

AI 摘要

DSPy 3.3.0 发布,引入实验性 Flex 优化器,可优化程序结构而非仅提示词;新增原生工具感知的 ReActV2,支持并行工具调用和多轮工具历史,成本降低达 50%;推进类型化、供应商中立的 LM 接口,并解耦 LiteLLM。现有程序大多无需更改,但部分 API 有调整。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

# DSPy 3.3.0 DSPy 3.3.0 is a feature release with a new experimental way to optimize programs as code, a native-tool-aware ReAct implementation, and the next stage of DSPy's move toward a typed, provider-neutral language-model system. Most existing DSPy programs should keep working without changes. Review the API changes if you construct `Image`, `Audio`, or `File` values from paths or URLs; use NumPy-backed features from the base install; inspect detailed GEPA results; construct code inte


发布时间:2026-08-04 04:06
抓取时间:2026-08-04 04:35
来源机构:Stanford NLP
阅读原文github.com