# 数据库

金融AI的数据库系统、SQL生成与结构化数据管理

3 篇博文 [查看所有标签](https://beancount.io/zh/bean-labs/research-logs/tags) [返回所有帖子](https://beancount.io/zh/bean-labs/research-logs)

2026年6月8日 阅读需 2 分钟

## [MAC-SQL：多智能体协作的 Text-to-SQL](https://beancount.io/zh/bean-labs/research-logs/2026/06/08/mac-sql-multi-agent-collaborative-text-to-sql)

MAC-SQL 的三智能体设计在 BIRD 上达到 59.59% 的执行准确率，其中 Refiner 额外贡献 +4.63 个百分点——这正是生成 Beancount 账本查询的模板。

Mike Thrift

ai machine-learning database

2026年6月7日 阅读需 2 分钟

## [DIN-SQL：GPT-4 在 Spider 上从 67.4% 跃升至 85.3% 的执行准确率](https://beancount.io/zh/bean-labs/research-logs/2026/06/07/din-sql-decomposed-in-context-learning-text-to-sql)

DIN-SQL 通过 schema-link 和自校正阶段，将 GPT-4 在 Spider 上的执行准确率从 67.4% 提升至 85.3%——这种分解同样适用于 Beancount BQL。

Mike Thrift

ai llm database

2026年6月6日 阅读需 2 分钟

## [BIRD：GPT-4在真实数据库上仅达到54.89%的执行准确率](https://beancount.io/zh/bean-labs/research-logs/2026/06/06/bird-benchmark-text-to-sql-real-database-gap)

在BIRD上，GPT-4在领域提示下达到54.89%的执行准确率，无提示时为34.88%——这是任何Beancount NL→BQL界面必须缩小的20个百分点的差距。

Mike Thrift

beancount ai llm

## 用纯文本记录你的账本

beancount.io 让复式记账强大、精确、可审计——免费开始，账本永远属于你。

[免费开始](https://beancount.io/sign-up/?next=%2Fledger%2F) [文档](https://beancount.io/zh/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
