跳到正文
OpenRouter Blog·· 2 小时前精选AI 评分62

OpenRouter 实测 text-to-SQL 智能体:加五行数据说明准确率从 95% 升到 99%

Text-to-SQL Agent: How It Works and What Makes It Accurate

AI 导读

OpenRouter 在 2026 年 10 月 22 日用一个合成商店数据库和 22 道已知答案题,让 text-to-SQL 智能体在六个模型上跑 run_sql 工具循环,仅凭 schema 时完成运行的正确率为 95%(244/256),加入五行数据说明后升至 99%(246/248)。

推荐理由

OpenRouter 用 22 道已知答案题实测六个模型的 text-to-SQL 智能体,给出可复用的数据说明写法与只读连接防护。

来源:OpenRouter Blog · openrouter.ai