包package
io.agentscope.core.ragio.agentscope.core.rag
package io.agentscope.core.rag
io.agentscope.core.rag 属于RAG 与知识库,切分、向量化、存储与检索。 该包共收录 4 个公开类型。
io.agentscope.core.rag belongs to the RAG & knowledge layer and contains 4 public types.
接口Interfaces
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
Knowledge | 接口interface | 定义知识库契约的接口。 Interface for knowledge bases. |
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
GenericRAGHook | 类class | 泛型 RAG 钩子,把私有文档转化为可检索的知识。 Generic RAG Hook for automatic knowledge retrieval before reasoning. |
KnowledgeRetrievalTools | 类class | 知识库检索工具,封装可被智能体调用的能力。 Knowledge retrieval tools for Agentic RAG mode. |
枚举Enums
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
RAGMode | 枚举enum | 定义RAG 模式相关取值的枚举。 RAG (Retrieval-Augmented Generation) mode enumeration. |