1 个仓库
Retrieval of raw content from local filesystems and directories with support for extension filtering.
Distinct from Local File Managers: Candidates were too specific to locale files, image loading, or browser accessors; this is general RAG data ingestion.
Explore 1 awesome GitHub repository matching data & databases · Local File Loading. Refine with filters or upvote what's useful.
Chonkie 是一个专为检索增强生成 (RAG) 流水线设计的文本分块库。它充当语义文本分割器和 RAG 数据摄取流水线,将原始文本转换为嵌入片段,以便存储在向量数据库中。 该项目通过专门的分割策略脱颖而出,包括用于保留源代码逻辑边界的基于 AST 的代码分割器,以及使用嵌入模型根据语义确定边界的语义文本分割器。它还提供了一个向量数据库摄取器,用于自动化生成嵌入并将其导出到各种存储中。 该库涵盖了广泛的功能,包括通过 OCR 和 Markdown 提取进行文档解析,多种分割方法(如基于 Token 计数和分层分割),以及通过可重用流水线进行工作流编排。它支持多种向量存储集成,包括 Qdrant、Milvus、Weaviate 和 Elasticsearch,以及将数据导出为 JSON 和 Hugging Face 数据集。 用户可以通过命令行界面执行这些操作,或将系统部署为容器化的 API 服务。
Retrieves content from local files or directories with optional filtering by file extension.