Samge0/ragflow-upload
自动批量上传并解析文档至 RagFlow 知识库,省去手动操作,提升效率。
What it solves
This tool addresses the limitations of the default RAGFlow knowledge base upload interface, which often restricts the number of files that can be uploaded at once. It automates the process of importing large volumes of documents from local directories and subdirectories into a RAGFlow knowledge base, eliminating the need for manual batching and waiting.
How it works
It operates as a client (available as a standalone executable or Python script) that interacts with the RAGFlow API/SDK. The tool scans a specified local directory for supported file types (such as .md, .txt, .pdf, .docx), uploads them to a target knowledge base, and triggers the parsing and chunking process. It also supports custom metadata via accompanying .meta.json files.
Who it’s for
Users of RAGFlow (v0.26.2+) who need to migrate large datasets or local archives—such as a collection of notes or technical manuals—into their AI knowledge base efficiently.
Highlights
- Automated Batching: Automatically traverses directories to upload and parse documents in bulk.
- Progress Tracking: Monitors parsing progress in real-time and maintains a state record to skip already processed files if interrupted.
- Metadata Support: Allows attaching custom metadata to documents via JSON files.
- Flexible Chunking: Supports various RAGFlow chunking methods including
naive,general,paper,book,laws,presentation,manual, andqa. - Standalone Client: Provides pre-compiled binaries for Windows, macOS, and Linux for users who do not want to run Python code.
Related
- Project
- Project
- Project
- Project
- Project