Simon Willison· @simonw · X·· 22 天前AI 评分76
AI 导读
Simon Willison 分享了 Anthropic 提示词指南中的技巧,向模型输入“This codebase is yours”可显著降低其改写代码时的保守倾向。根据指南中的测试,明确代码归属后,模型主动合并重复代码与顺带修复问题的比例从不足十分之一提高到约一半,且原有功能实现基本不受影响。
正文 · 原文
When Anthropic release a new model it's always worth taking a look at their updated prompting guide - here's an entertaining tip to make Fable 5.2 less likely to be cautious in how it improves existing code: tell it "This codebase is yours" https://t.co/mKjdw4QPxV https://t.co/KfHcJdItVc
来源:Simon Willison · x.com