dev.to · Side Project· Khushighosh·· 23 小时前AI 评分20
Order Ledger:在 WhatsApp 上离线跑账本的副业项目,用开源模型搭建
Three things that surprised me while building this: Re-runs were identical - Same model, same prompt, `temperature: 0`: byte-for-byte the same failures every time. That turned prompt tweaking into real A/B testing. **A regex beat the prompt.** I
AI 导读
Order Ledger 是一个把 WhatsApp 消息转成账本的副业项目,基于开源模型离线运行。作者在构建过程中发现,同一模型、同一 prompt、`temperature: 0` 下重跑结果逐字节一致,失败也完全复现,这让 prompt 调整变成了真正的 A/B 测试。他还发现一条正则表达式的效果胜过了 prompt。
来源:dev.to · Side Project · dev.to