Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
io.agentscope.core.rag.Knowledge
agentscope-extensions-*
ReActAgent agent = ReActAgent.builder() .name("Assistant") .model(model) .knowledge(knowledge) // 任选一种 Knowledge 实现 .ragMode(RAGMode.AGENTIC) // 或 STATIC、NONE .build();
KnowledgeRetrievalTools tools = new KnowledgeRetrievalTools(knowledge); Toolkit toolkit = new Toolkit(); toolkit.registerObject(tools);
除 Simple 外,其余实现都只负责检索(retrieve),文档导入/更新请走对应平台的控制台或服务侧 API;这样设计是为了让多个 Knowledge 在使用侧完全可替换。