1. Import Text Data

Click on Knowledge in the main navigation bar of Dify. On this page, you can see your existing knowledge bases. Click Create Knowledge to enter the setup wizard. The Knowledge supports the import of the following two online data:

Click Knowledge in the top navigation bar of the Dify, then select Create Knowledge. You can upload documents to the knowledge or importing online data to it.

Upload Local Files

Drag and drop or select files to upload. The number of files allowed for batch upload depends on your subscription plan.

Limitations for uploading documents:

  • The upload size limit for a single document is 15MB;

  • Different subscription plans for the SaaS version limit batch upload numbers, total document uploads, and vector storage;

Create knowledge

Import From Online Data Source

When creating a Knowledge, you can import data from online sources. The knowledge supports the following two types of online data:

1.1 Import Data from Notion1.2 Import Data from Website

If a knowledge base is set up to use online data, you won’t be able to add local documents later or switch it to a local file-based mode. This prevents a single knowledge base from mixing multiple data sources, avoiding management complications.

Adding Data Later

If you haven’t prepared your documents or other content yet, simply create an empty knowledge first. You can then upload local files or import online data whenever you’re ready.

Last updated