Knowledge Base Management
In the Knowledge module, users can create knowledge bases in My Space or Enterprise Space for unified management of documents, folders, retrieval configurations, and access permissions.
The entry point for creating a knowledge base is located in the upper-right corner of the My Space and Enterprise Space pages. When creating a knowledge base, you need to choose one of the following two modes:
- Basic Mode: Suitable for standard knowledge base integration scenarios, with simple configuration for quick deployment.
- Pipeline Mode: Suitable for scenarios that require customized processing chains, supporting finer-grained file processing and retrieval control through Pipeline rules.
The table below compares the main differences between My Space and Enterprise Space in knowledge base management:
| My Space | Enterprise Space | |
|---|---|---|
| Create knowledge base | ✅ | ✅ |
| Create sub-knowledge base | ❌ | ✅ |
| Folders | ✅ | ✅ |
Notes:
- My Space: Only supports creating first-level knowledge bases and does not support creating sub-knowledge bases. It initially includes two default system knowledge bases: Default Knowledge Base and Chat Files.
- Enterprise Space: Supports creating first-level knowledge bases and allows continued creation of sub-knowledge bases under them.
How to Create a New Knowledge Base?
Creation Steps
- Go to Knowledge Base → My Space or Enterprise Space.
- Click Create Knowledge Base in the upper-right corner of the page.
- Select the knowledge base mode: Basic Mode or Pipeline Mode.
- Fill in the relevant information and complete the configuration.
- Click Create to complete the knowledge base creation.
💡 Tip: Creating a knowledge base in Enterprise Space requires corresponding administrative permissions.


General Configuration
No matter which mode is selected, the following basic configurations must be completed:
- Name: The name of the knowledge base.
- Description: Descriptive information for the knowledge base.
- Sort Order: Used to control the display order of the knowledge base in the list.
- Supported File Formats: Select the allowed upload file types from the dropdown list.
- Vector Database
- Platform Built-in: Use the platform’s built-in vector database.
- External Database: Connect to an external vector database.
- Vector Model: Used for text vector embedding.
- If External Database is selected for the vector database, an additional Database Built-in Model option will appear under the vector model (using the database’s own vectorization capability to automatically generate vectors when data is stored); in this case, you need to fill in Model Name and Dimension.
- Storage Quota: Limits the total storage space of the knowledge base.
- File Size Limit: Limits the size of a single uploaded file.
💡 Tip: After customizing the upload file size and format restrictions, if an uploaded file does not meet the requirements, the system will provide a corresponding prompt.


Pipeline Mode Configuration
If you need to customize file processing workflows, retrieval strategies, or connect different processing chains, you can choose Pipeline Mode. In addition to the general configuration, the following settings are also required:
Retrieval Settings
- File Preview: Controls whether files in the knowledge base (documents, images, videos, audio) support online preview.
- File Indexing: Sets whether various resources are added to the global search index. If disabled, the corresponding resources cannot be retrieved through keyword search.
Pipeline Configuration Rules
Used to specify corresponding preprocessing Pipelines for different file types, sources, or paths to achieve differentiated processing.
- Import Default Rules: Click Import to load the system preset Pipeline assignment rules with one click and quickly complete the basic configuration.
- Rule List: Each rule displays the following information:
- Pipeline Name: The preprocessing Pipeline used.
- File Type: Applicable file formats.
- Source: The source of the file.
- File Name: The matching file name, supports wildcards, with the default value
*(matches all files). - File Path: The matching file path, supports wildcards, with the default value
*(matches all paths).
- Rule Operations:
- Details: Click to view the Pipeline workflow bound to this rule, allowing you to modify the process or keep the default.
- Delete: Remove this rule.
Note: Through wildcard configuration for file names and file paths, the processing scope can be precisely limited (for example, only processing
/reportdirectory). If not specified, all files will be matched.