RAIF 观察到 LLM 不是确定性 JSON writer,常见失败包括少括号、markdown fence、半截流和分隔符滑移,因此把“可修复”写进格式本身。README 的数字是相对 JSON 少约 14.4% cl100k token、15.9% o200k token,截断输出在同等预算下恢复 46% leaf,而 JSON + jsonrepair 为 41%。它还用 5,000-seed fuzz test 证明无损 round-trip,并提供 TypeScript/Python 同步 conformance corpus,适合关心 structured output 可靠性的工程团队细读。
–浏览
评论 · Comments