最新资讯
dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围 dev.to 银行 77 意图分类最便宜 LLM:GPT-6.1 Terra 每次成功任务 $0.000727 theinformation.com Chesky的副业:Airbnb向CEO新设AI实验室出售IP theverge.com OpenAI 宣布数据中心项目不再与公职人员签署保密协议 dev.to NVIDIA 发布四个开放 Cosmos 3 仿真模型 dev.to 真实 MCP 客户端击穿我们服务器的五种方式 theverge.com Airbnb 正在开发 AI 旅行 agent,计划 2027 年上半年推出 wechat 这可能是美国AI最魔幻的一天。 nytimes.com 美众议院共和党领袖要求 Nvidia 黄仁勋闭门简报 pub.towardsai.net 忘掉我:为记忆而设计的系统中的删除难题 marktechpost.com Google 发布 Gemini Omni 1.2 Flash:15 秒视频,每秒 0.07 美元
多元动态
登录 注册
智能体 dev.to · @Emil

面向 AI Agent 的知识库应具备哪些能力

原文 我的收藏

DEV Community 文章对比面向人的知识库与面向 AI Agent 的知识库:人靠浏览和定位阅读,Agent 则通过查询获取片段并直接据此作答,缺少人工判断环节。文章给出在把 Agent 接入知识库前应满足的实用检查清单,属于经验性总结,未提供量化验证。

AI推荐理由 DEV Community 文章指出面向人的知识库与面向 AI Agent 的知识库在使用方式上差异明显,Agent 以检索而非搜索方式读取内容,并给出接入 Agent 前知识库应满足的实用清单。对构建 Agent 检索系统有参考价值,但为经验性清单,缺乏量化验证。

62

正文

A knowledge base built for people and a knowledge base built for AI agents look similar from the outside and behave very differently in use. People navigate: they remember roughly where something lives, open the page and read around the part they need. An agent does none of that. It issues a query, receives some passages, and answers from whatever came back. Everything that makes the human experience tolerable — browsing, skimming, asking a colleague which page is the current one — is unavailable to it. This is a practical checklist of what a knowledge base has to provide before connecting an agent to it produces answers you would let a customer see. Agent Access Is Retrieval, Not Search A search box returns a ranked list and lets a human decide which result is relevant. That last step is doing enormous work, and it disappears when an agent is the reader. The agent takes the passages it receives as the truth of the matter, so anything ranked third that should have been first becomes a wrong answer rather than a slightly inconvenient click. This shifts where quality has to live. For humans, a good knowledge base needs decent titles and a search that surfaces plausible candidates. For agents, it needs retrieval that is right on the first attempt, because there is no second attempt and no judgement applied to what comes back. The implication for evaluation is direct: judge a tool by the answers it produces to your real questions, not by how its search results page looks. A demo that returns five relevant-looking documents tells you very little. A demo that answers 'what is our refund window for annual plans' correctly, with the source attached, tells you everything. Five Requirements Worth Checking First First, live retrieval rather than a copy. If the integration works by exporting documents into another tool, the export is stale from the moment it finishes and someone owns the job of refreshing it. Second, citations on every answer, naming the document the content came from, so a wrong answer can be traced to either bad retrieval or a bad source. Third, a clean failure mode. The knowledge base must be able to say it does not know. An agent that improvises when retrieval returns nothing is worse than no agent, because the failure is invisible in the output. Fourth, permissions that follow the person asking, not a single service account with access to everything — otherwise the first sensitive document anyone adds turns the whole thing into a leak waiting to happen. Fifth, a standard connection interface. The Model Context Protocol exists precisely so the knowledge base can expose one read interface that any compatible assistant uses, instead of a bespoke integration per tool that gets rebuilt every time the team changes assistants. These five are not a feature wish list; each one maps to a specific way the arrangement fails without it. Freshness Matters More Once Agents Read It Stale documentation has always been a problem, but the failure was self-limiting. A human reading a page from two years ago usually notices: the screenshots look wrong, the named owner left, the tone of the process no longer matches how things are done. Suspicion kicks in and they go ask someone. An agent has no such instinct. It will quote a superseded policy with exactly the same confidence as a current one, and the answer it produces reads perfectly. The cost of staleness therefore rises sharply the moment agents start reading, which is worth knowing before rather than after. The mitigation is cheap if it is built in: show when a document was last updated and who owns it, surface that alongside the answer, and treat unanswered questions as a backlog rather than an error. A lookup that returns nothing is a timestamped signal that a specific gap exists and someone needed it filled — the most useful prompt for writing a missing page you will ever get. How To Evaluate A Tool In One Afternoon Collect twenty questions your team has actually asked in the last month. Take them from chat history rather than inventing them; real questions are messier and more specific than the ones you would write, which is the point. Load three to five documents that should contain the answers. Run all twenty and score each answer three ways: correct, cited to the right document, and honest when the answer is not present. Deliberately include four or five questions whose answers you have not documented — the handling of those tells you more than the handling of the ones you have. A tool that answers fifteen of twenty correctly with citations, and declines the other five cleanly, is working. A tool that answers all twenty, including the five with no source, has told you the most important thing about itself in under an hour. This test costs an afternoon and settles a decision that otherwise takes weeks of demos. Frequently asked questions What makes a knowledge base suitable for AI agents? Live retrieval instead of stale exports, citations on every answer, an honest response when nothing is found, permissions that follow the person asking, and a standard read interface such as MCP so any assistant can connect without a custom build. Do we need a separate knowledge base for agents? No. The same documents should serve both, because two sources diverge immediately. What changes is the retrieval layer on top: agents need the right passage returned first, where people can browse and recover from an imperfect result themselves. How many documents before this is worth doing? Three to five covering your most repeated questions are enough to test the idea. Coverage matters far less than hit rate, and writing comprehensively up front usually produces volume without improving the answers people actually receive. What happens when the answer is not documented? The knowledge base should say so plainly rather than improvise. A clean not-found is useful: it records that a specific question was asked and went unanswered, which is the best possible prompt for writing the page that was missing.

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容