返回全部动态
DSPy 3.2.0 发布:优化器链式组合与 LiteLLM 解耦
原标题:3.2.0
AI 摘要
DSPy 发布 3.2.0 版本,主要亮点包括 BetterTogether 优化器支持链式组合、开始与 LiteLLM 解耦、输入字段类型不匹配警告、强化 RLM 和 PythonInterpreter 安全性。此外,磁盘缓存默认启用受限 pickle 以增强安全,optuna 变为可选依赖。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## Highlights ### BetterTogether Allows Chaining Optimizers — @dilarasoylu `BetterTogether` now accepts arbitrary optimizers as keyword arguments and chains them via strategy strings. For example, `BetterTogether(metric=m, p=GEPA(...), w=BootstrapFinetune(...))` with `strategy="p -> w -> p"` will prompt-optimize, fine-tune, then prompt-optimize again -- evaluating each step on a valset and returning the best program. (#9149) There are many promising strategies that may come from running m
发布时间:2026-04-22 01:17
抓取时间:2026-08-02 00:25
来源机构:Stanford NLP