返回全部动态

DSPy 3.4.1:GEPA 默认结构化指令提议器,RLM 可建子代理

原标题:3.4.1

DSPy Releases一手来源开源质量 78

AI 摘要

DSPy 发布 3.4.1 版本,将 GEPA 的结构化 InstructionProposer 设为默认指令提议器,使反思示例以结构化内容而非文本占位符传给反思 LM;同时允许 dspy.RLM 在其 REPL 内构建 DSPy 子代理(Predict、ChainOfThought、ReActV2、嵌套 RLM),子代理在宿主机运行、仅 JSON 跨越解释器边界。该版本还新增 Python 3.15 支持、修复 3.4.0 导入崩溃及流式、适配器、解释器问题,并提示 GEPA 默认反思请求形态变化可能导致优化结果与 3.4.0 不同。

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

正文节选

# DSPy 3.4.1 DSPy 3.4.1 makes GEPA's structured `InstructionProposer` the default instruction proposer and lets `dspy.RLM` build DSPy sub-agents from inside its REPL. It also adds Python 3.15 support, fixes a 3.4.0 import crash, and includes streaming, adapter, and interpreter fixes. ```bash pip install --upgrade "dspy==3.4.1" ``` **Upgrade notices.** GEPA's default reflection request changes shape, so optimization results can differ from 3.4.0 even with the same seed. The reflection


发布时间:2026-10-13 07:12
抓取时间:2026-10-13 08:10
来源机构:Stanford NLP
阅读原文github.com