← 返回案例库
CUSTOMER STORY · 企业知识库怎么搭

规则做决定,AI 讲依据:可审计的决策 + RAG 解释

Make auditable rule-based decisions with RAG-written explanations

Tools · 使用工具Claude
Source · 来源原作者 · ai-rete-rag.com
Zaowuyun · 可参考能力资产库 + 上下文管理
01

谁在用

Who

ai-rete-rag.com 介绍的一种方案设计,适合审批、风控等需要留痕的业务。

02

遇到什么问题

Challenge

让大模型直接做审批决定,结果不可重复、难以审计;但纯规则系统又说不清“为什么”。

03

怎么用 AI 解决

Solution
  1. 由 Rete 规则引擎做出决定,保证结果可重复、可审计。
  2. 再用检索增强生成(RAG)从你自己的政策文档中找出依据,解释这个决定的理由。
04

结果如何

Results据原作者自述
  • 来源只有一段简介,未提供任何结果、数字或局限说明

以上内容均由原作者自行报告,未经独立核实,也不代表造物云产品的效果。

05

提示词

Prompt

参考提示词(由 agentusecases.ai 整理为模板,非原帖原文)

中文

基于【政策文档或规则清单】中的规则,为【场景,例如贷款审批】做一个小型规则决策引擎。我给出的每个案例,都要输出决定、触发了哪些规则,以及一段引用政策原文、通俗易懂的解释。能正确处理这【5】个示例案例,并且我能逐个查看审计记录,即算完成。

ENGLISH

Build a small rule-based decision engine for [use case, e.g. loan approvals] using the rules in [policy document or list of rules]. For each case I give it, output the decision, the exact rules that fired, and a plain-English explanation grounded in quotes from the policy document. Done means it correctly handles these [5] sample cases and I can review the audit trail for each.