AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.rag

KnowledgeBaseNotFoundError

class KnowledgeBaseNotFoundError(KnowledgeBaseError)
源码Source agentscope/app/rag/knowledge_base_manager/_errors.py:21–27

知识库未找到错误,把私有文档转化为可检索的知识。位于 agentscope.app.rag 包,继承自 KnowledgeBaseError。

The record is missing entirely, or it exists but does not belong to the authenticated user. The two are reported identically to avoid leaking existence of other users' knowledge bases.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.