返回首页

对比阅读

对比阅读:Enterprise Knowledge Bases Enter the Engineering Phase: RAG Decides Whether AI Can Deliver 与 企业知识库进入工程化阶段,RAG决定AI能否真正办事

AEN
RAGOpenAIBM25·

Enterprise Knowledge Bases Enter the Engineering Phase: RAG Decides Whether AI Can Deliver

As enterprise AI shifts from merely “answering questions” to actually “getting work done,” the bottleneck is moving from model capability to knowledge engineering. RAG (Retrieval-Augmented Generation, which searches for relevant material before calling the model and then uses that material to answer) allows enterprise documents to participate in responses. But the pipeline described in the original article shows that finding supporting evidence is only the first step: versioning, permissions, recall, and ranking all shape the final result.

What This Is

Consider an order assistant. An order API can show payment and fulfillment status, but it may not contain the company’s operating policies. RAG first retrieves internal documents on questions such as “How should delayed fulfillment be handled?”, then gives the model rule excerpts, source material, and real-time query results to organize an answer. It does not retrain the model, nor does it automatically make the model understand all enterprise knowledge.

The full pipeline includes document parsing, chunking, indexing, retrieving candidates, ranking and selection, and then response generation by the model. Embedding, which converts text into vectors to compare semantic similarity, works well for finding material that uses different wording but carries a related meaning. BM25, which ranks documents by keyword match, is better suited to precise error codes. Combining the two creates hybrid retrieval, after which a reranking model filters the candidates.

Industry View

We are seeing RAG evolve from a demonstration feature into infrastructure for enterprise AI. Yet the article explicitly rejects the idea that “every Agent must connect to RAG.” A small number of stable rules are simpler to encode in controlled configuration, while querying an API directly for a single order’s status is more accurate and efficient than retrieving an entire document set.

The risks are equally concrete. Semantic similarity does not mean a rule is correct: “reshipment permitted” and “reshipment prohibited” may be highly related. If an outdated policy is not invalidated in the index, it can enter the answer alongside the new rule. And if permission filtering fails, material belonging to other customers or departments may be exposed. Vector databases and retrieval algorithms therefore cannot replace access controls, version governance, or business validation. Document parsing quality is also a foundational issue: once conditions and actions in a table are split incorrectly, the more precise the downstream retrieval, the more reliably it may reproduce the error.

Impact on Regular People

For enterprise IT: As companies deploy AI, the real workload will shift from selecting models to organizing documents, labeling versions and permissions, and continuously testing recall and citations. Teams with established knowledge bases and clear processes will be more likely to achieve usable results.

For individual careers: How employees work with AI will shift from “asking questions for answers” to “assigning tasks and checking the evidence.” People who can explain where rules came from and identify outdated policies will become more valuable than those who can merely write effective prompts.

For the consumer market: Customer service and product assistants will increasingly provide less generic explanation and instead recommend next steps based on specific orders and policies. Operations such as automatic reshipment or refunds will still require approval or independent validation, so consumers should not treat an AI response as the final outcome.

来源: juejin.cn
BZH
RAGOpenAIBM25·

企业知识库进入工程化阶段,RAG决定AI能否真正办事

企业AI真正从“会回答”走向“能办事”,瓶颈正在从模型能力转向知识工程。RAG(检索增强生成,调用模型前先查找相关资料,再据此作答)让企业文档可以参与回答,但原文给出的链路表明:找到依据只是第一步,版本、权限、召回与排序同样决定最终结果。

这是什么

以订单助手为例,订单接口能说明付款和发放状态,却未必包含公司的处理制度。RAG会先检索“发放超时如何处理”等内部文档,把规则片段、来源及实时查询结果交给模型组织答案。它不是重新训练模型,也不等于让模型自动理解全部企业知识。

完整流程包括文档解析、切块、建立索引、检索候选、排序选择,再由模型生成回答。Embedding(把文本转换为向量以比较语义相似度)适合发现措辞不同但含义相关的资料;BM25(按关键词匹配度排序)则擅长精确错误码。两者结合形成混合检索,再用重排模型筛选候选。

行业怎么看

我们注意到,RAG正在从演示功能变成企业AI的基础设施,但文章明确反对“所有Agent都必须接入RAG”的做法。少量稳定规则写进受控配置更简单;单个订单状态直接查接口,也比检索整套文档更准确、更高效。

风险也很具体:语义相似不等于规则正确,“允许补发”和“禁止补发”可能高度相关;旧版制度若未从索引失效,会与新规则一起进入答案;权限过滤失效,还可能暴露其他客户或部门的资料。因此,向量数据库和检索算法不能替代权限控制、版本治理与业务校验。值得注意的是,文档解析质量同样是底层问题——表格中的条件与操作一旦被拆错,后续检索越精确,错误可能反而越稳定。

对普通人的影响

对企业IT:企业部署AI时,真正的工作量将从选模型转向整理文档、标注版本和权限,并持续测试召回与引用。已有稳定知识库和清晰流程的团队,更容易获得可用结果。

对个人职场:员工与AI协作的方式会从“提问求答案”转向“提出任务、检查依据”。能说明规则来源、识别过期制度的人,将比单纯会写提示词更重要。

对消费市场:客服与产品助手会逐渐少给泛泛解释,转而依据具体订单和制度给出处理建议。但自动补发、退款等操作仍需审批或独立校验,消费者不应把AI回复直接视为最终处理结果。

来源: juejin.cn