Skip to main content
Version: v0.14.1

Manage files

Knowledge base, hallucination-free chat, and file management are the three pillars of RAGFlow. RAGFlow's file management allows you to upload files individually or in bulk. You can then link an uploaded file to multiple target knowledge bases. This guide showcases some basic usages of the file management feature.

Create folder

RAGFlow's file management allows you to establish your file system with nested folder structures. To create a folder in the root directory of RAGFlow:

create new folder

Each knowledge base in RAGFlow has a corresponding folder under the root/.knowledgebase directory. You are not allowed to create a subfolder within it.

Upload file

RAGFlow's file management supports file uploads from your local machine, allowing both individual and bulk uploads:

upload file

bulk upload

Preview file

RAGFlow's file management supports previewing files in the following formats:

  • Documents (PDF, DOCS)
  • Tables (XLSX)
  • Pictures (JPEG, JPG, PNG, TIF, GIF)

preview

RAGFlow's file management allows you to link an uploaded file to multiple knowledge bases, creating a file reference in each target knowledge base. Therefore, deleting a file in your file management will AUTOMATICALLY REMOVE all related file references across the knowledge bases.

link knowledgebase

You can link your file to one knowledge base or multiple knowledge bases at one time:

link multiple kb

Move file to a specific folder

move files

Search files or folders

File Management only supports file name and folder name filtering in the current directory (files or folders in the child directory will not be retrieved).

search file

Rename file or folder

RAGFlow's file management allows you to rename a file or folder:

rename_file

Delete files or folders

RAGFlow's file management allows you to delete files or folders individually or in bulk.

To delete a file or folder:

delete file

To bulk delete files or folders:

bulk delete

  • You are not allowed to delete the root/.knowledgebase folder.
  • Deleting files that have been linked to knowledge bases will AUTOMATICALLY REMOVE all associated file references across the knowledge bases.

Download uploaded file

RAGFlow's file management allows you to download an uploaded file:

download_file

As of RAGFlow v0.14.1, bulk download is not supported, nor can you download an entire folder.