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

io.agentscope.core.rag.reader

package io.agentscope.core.rag.reader

io.agentscope.core.rag.reader 属于RAG 与知识库,切分、向量化、存储与检索。 该包共收录 17 个公开类型。

io.agentscope.core.rag.reader belongs to the RAG & knowledge layer and contains 17 public types.

所属构件Artifacts agentscope-extensions-rag-simple

接口Interfaces

类型Type种类Kind说明Description
Reader接口interface
定义读取器契约的接口。
Interface for document readers.

类Classes

类型Type种类Kind说明Description
AbstractChunkingReader类class
抽象 Chunking 读取器,把私有文档转化为可检索的知识。
Abstract base class for readers that support text chunking.
ExternalApiReader类class
外部 API 读取器,把私有文档转化为可检索的知识。
Generic external API document parsing reader that supports integration with any third-party document parsing service.
ImageReader类class
图像读取器,把私有文档转化为可检索的知识。
Image reader implementation that reads image files.
PDFReader类class
PDF 读取器,把私有文档转化为可检索的知识。
PDF reader implementation that reads and extracts text from PDF files.
ReaderInput类class
读取器输入,把私有文档转化为可检索的知识。
Input wrapper for document readers.
ReaderUtils类class
读取器 Utils,把私有文档转化为可检索的知识。
Utility class for common reader operations.
TextChunker类class
文本切分器,把私有文档转化为可检索的知识。
Utility class for chunking text into smaller pieces.
TextReader类class
文本读取器,把私有文档转化为可检索的知识。
Text reader implementation that reads and chunks text documents.
TikaReader类class
Tika 读取器,把私有文档转化为可检索的知识。
TikaReader is a document reader that uses Apache Tika to extract text from various document formats.
WordReader类class
Word 读取器,把私有文档转化为可检索的知识。
Word document reader that extracts text, tables, and images from Word files.

枚举Enums

类型Type种类Kind说明Description
SplitStrategy枚举enum
定义已拆分 Strategy相关取值的枚举。
Strategy for splitting text into chunks.
TableFormat枚举enum
定义Table 格式相关取值的枚举。
Enumeration of table formatting options for Word document readers.
基于官方固定版本源码静态生成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.