AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.rag

io.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.

所属构件Artifacts agentscope-core

接口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.
基于官方固定版本源码静态生成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.