1 个仓库
Transformations that convert raw input data into structured document formats for analysis or chunking.
Distinct from Raw Document Retrieval: The candidates focus on retrieval (fetching) or rendering, not the structural transformation of raw data into a format suitable for chunking.
Explore 1 awesome GitHub repository matching data & databases · Document Preprocessing Pipelines. Refine with filters or upvote what's useful.
Chonkie 是一个专为检索增强生成 (RAG) 流水线设计的文本分块库。它充当语义文本分割器和 RAG 数据摄取流水线,将原始文本转换为嵌入片段,以便存储在向量数据库中。 该项目通过专门的分割策略脱颖而出,包括用于保留源代码逻辑边界的基于 AST 的代码分割器,以及使用嵌入模型根据语义确定边界的语义文本分割器。它还提供了一个向量数据库摄取器,用于自动化生成嵌入并将其导出到各种存储中。 该库涵盖了广泛的功能,包括通过 OCR 和 Markdown 提取进行文档解析,多种分割方法(如基于 Token 计数和分层分割),以及通过可重用流水线进行工作流编排。它支持多种向量存储集成,包括 Qdrant、Milvus、Weaviate 和 Elasticsearch,以及将数据导出为 JSON 和 Hugging Face 数据集。 用户可以通过命令行界面执行这些操作,或将系统部署为容器化的 API 服务。
Transforms raw input into structured document formats to prepare data for the chunking stage.