← All Thoughts← 所有思考
Reasoning & Trust · Part 4
推理与信任 · 第四篇

Enterprise Finance AI Needs More Than RAG

企业财务 AI,需要的不只是 RAG

What should remain structured, what belongs in embeddings, and how ontology can give an AI agent a governed enterprise world model.

什么必须保留为结构化事实,什么适合进入 Embedding,以及 Ontology 如何为 AI Agent 建立一个受治理的企业世界模型。

JUL 2026 · CHLOE XU2026年7月 · CHLOE XUFinance AIOntologyKnowledge GraphAI Agents财务 AI本体论知识图谱AI Agent
A governed enterprise finance AI system connecting structured records, semantic documents, graph relationships, controlled tools, and approval
A useful finance agent does not replace the system of record. It connects facts, meaning, relationships, rules, and controlled action.
真正有用的财务 Agent 不会取代事实系统;它连接事实、语义、关系、规则与受控行动。

If an enterprise wants an AI agent to reason about finance, the first design question is not “Which model should we use?” It is: what kind of evidence is this, and what is the agent allowed to do with it?

A ledger entry, a contract clause, a forecast note, and a historical accounting memo can all be relevant to the same decision. But they should not be stored, retrieved, or trusted in the same way.

One financial world, four representations

The choice is not “database or vector database.” Most enterprise finance knowledge needs several representations, each with a different job.

当企业希望 AI Agent 能够理解财务问题时,第一个设计问题不应该是“选哪个模型”,而应该是:这是什么类型的证据,Agent 被允许如何使用它?

一条总账记录、一项合同条款、一段 Forecast 说明和一份历史会计备忘录,可能同时与同一个决策相关。但它们不应该以相同方式保存、检索和信任。

同一个财务世界,四种表示

这不是“数据库还是向量数据库”的二选一。大多数企业财务知识需要多种表示,每一种承担不同职责。

Structured facts

Compute and audit

  • Transactions, balances, journals
  • Actuals, budgets, forecasts
  • Entities, accounts, periods
  • Approvals and control status
Semantic context

Interpret and retrieve

  • Policies and contract clauses
  • Accounting memos and explanations
  • Forecast assumptions
  • Meeting notes and precedents
结构化事实

用于计算与审计

  • 交易、余额与分录
  • 实际、预算与预测
  • 实体、科目与期间
  • 审批记录与控制状态
语义上下文

用于理解与检索

  • 政策与合同条款
  • 会计备忘录与解释
  • 预测假设
  • 会议记录与历史先例

Structured data answers what happened and how much. Natural language helps explain why it may have happened and what context matters. A knowledge graph expresses what the item is connected to. Embeddings help retrieve semantically similar language.

Embedding is a search representation—not a financial source of truth.

An embedding should not decide the balance, test whether debit equals credit, calculate a variance, or enforce an approval threshold. Those jobs belong to governed data, deterministic code, and rule engines.

Ontology is the enterprise meaning layer

A model can retrieve the words “professional services,” but ontology tells the agent what that concept means inside the company: which accounts compose it, which legal entity owns it, which vendor and contract are involved, which policy governs it, and which actions are permitted.

结构化数据回答发生了什么、金额是多少;自然语言帮助解释为什么可能发生、哪些上下文重要;知识图谱表达它与谁、什么项目、合同和规则有关;Embedding 用于找出语义相似的文本

Embedding 是一种检索表示,不是财务事实来源。

Embedding 不应该决定余额、检查借贷是否相等、计算差异或执行审批阈值。这些职责属于受治理的数据、确定性代码与规则引擎。

Ontology 是企业意义层

模型可以检索到“Professional Services”这几个词,但 Ontology 告诉 Agent:这个概念在企业里具体代表什么,由哪些科目构成,属于哪个法人实体,涉及哪个供应商与合同,受哪项政策约束,以及允许采取什么行动。

SourceSystemsERP · CRM · BanksPlanning · Procurement Governed Datafacts · metrics · lineage Documents + RAGpolicies · clauses · notes Knowledge Graphentities · relations · context Rules + Controlspolicy · thresholds · access ENTERPRISE ONTOLOGYFinance Agentunderstand · plan · retrievecalculate · explain · citefacts ≠ inference ≠ action Controlled Skillsquery · validate · draft Evidence Outputfact · source · confidence Human Approvalauthorize real action ACTION
The agent reasons across multiple evidence types, but governed systems and human authority remain responsible for execution.
Agent 可以跨多类证据推理,但真正的执行仍由受治理的系统与人类授权负责。

A practical example: why did spend exceed budget?

Suppose someone asks: “Why is professional-services expense 35% over budget this month?” The agent should not answer from a document summary alone.

  • It calculates actual, budget, and variance from governed facts.
  • It follows graph relationships to vendors, purchase orders, projects, contracts, and departments.
  • It retrieves forecast notes and contract scope to explain likely causes.
  • It applies deterministic controls for approvals, duplicate invoices, or capitalization review.
  • It separates verified facts from inference and recommended action.

一个可落地的例子:为什么费用超预算?

假设有人问:“为什么本月 Professional Services 费用比预算高 35%?” Agent 不应该只依据一段文档摘要给出答案。

  • 从受治理的结构化事实中计算 Actual、Budget 与 Variance。
  • 沿知识图谱追踪供应商、采购订单、项目、合同与部门。
  • 检索 Forecast notes 与合同范围,解释可能原因。
  • 通过确定性控制检查审批、重复发票或资本化条件。
  • 明确区分已验证事实、推断与建议动作。
Verified fact$1.35M actual versus $1.00M budget.
AI inferenceThe accelerated ERP project appears to be the primary driver.
Approval requiredAccounting reviews capitalization before any adjustment.
已验证事实实际费用 $1.35M,预算 $1.00M。
AI 推断ERP 项目提前启动可能是主要原因。
需要人工审批任何调整前,由 Accounting 审核是否资本化。

The architecture I want to test in practice

GOVERNED FACTS + SEMANTIC METRICS + ONTOLOGY + GRAPH + DOCUMENT RAG + CONTROLLED SKILLS + HUMAN APPROVAL

The point is not to let an LLM replace the ERP. It is to let an agent reason on top of a governed enterprise world model—understanding facts, meaning, relationships, policies, and permitted actions without collapsing them into one undifferentiated answer.

This is where I believe enterprise AI becomes useful: not when it sounds confident, but when its reasoning is traceable, its evidence is typed, and its actions are controlled.

我真正希望进入企业验证的架构

受治理事实 + 语义指标 + ONTOLOGY + 知识图谱 + 文档 RAG + 受控 SKILLS + 人工审批

目标不是让 LLM 取代 ERP,而是让 Agent 在一个受治理的企业世界模型之上进行推理:理解事实、意义、关系、政策与允许的动作,同时不把它们混成一个无法追溯的答案。

我相信,企业 AI 真正产生价值的时刻,不是它听起来足够自信,而是它的推理可以追踪、证据类型清晰、行动受到控制。

Written by Chloe Xu · More notes at Thoughts.
作者:Chloe Xu · 在 Thoughts 阅读更多。