Upload documents, inspect parsing results, and manage Chunks.
Documents are the content source for a Knowledge Base. Once uploaded, the platform parses them, splits them into Chunks, embeds them, and builds the Index automatically.
The platform offers several parsing methods. Pick one when creating the Knowledge Base; you can also change it in Knowledge Base settings later.
From the Knowledge Base detail page, switch to the Chunk Details tab to view, edit, and manage every Chunk. Each Chunk shows:
Click Create Chunk and fill in:
After submission the Chunk enters the embedding queue and becomes searchable once embedding finishes.
Every Chunk can be edited or deleted individually. Edits trigger automatic re-embedding; deletion removes the Chunk from the index immediately and is irreversible.
Other Chunk actions:
Document management APIs:
Upload documents
1
Open the Knowledge Base
On the Knowledge Management page, click the name of the target Knowledge Base.
2
Upload files
Click Upload Data above the document list to begin the import process.
3
Select a data source
Select a connector (the default is "Default File Connector"), then choose a data source:
Additional configuration:
| Data source | Description |
|---|---|
| Upload files (default) | Upload local files through the UI, up to 50 files per batch. See Supported formats for formats and size limits. |
| Select category | Choose a connector file category to import all files in it and build indexes; supports automatic sync. |
| Select files | Pick individual files under a connector category, up to 50 files per batch. |
- Category Configuration (required): Select the category the files belong to, or click Add Category to create one.
- Add Tags (optional): Assign tags to the imported files, up to 64 characters per tag.
4
Configure index settings
Click Next, then choose a chunking method and segmentation parameters:
| Chunking method | Description |
|---|---|
| Smart Chunking (default) | A general-purpose method that delivers strong retrieval performance for most documents. |
| By length | For scenarios with strict token count requirements. |
| By page | For documents where each page conveys an independent topic. |
| By heading | For documents that use headings to separate topics. |
| By regular expression | Splits text using a custom regular expression. |
| By delimiter | Splits text using specific delimiters in the document. |
| Parameter | Default | Range | Description |
|---|---|---|---|
| Max chunk length | 600 | 10–6000 | Maximum number of tokens per Chunk. |
| Metadata Extraction | Off | On/Off | Automatically extracts document metadata. Fields must be configured when creating the Knowledge Base; extraction cannot be added after creation. |
| Excel Header Concatenation | Off | On/Off | Includes Excel header information in Chunk content. |
5
Wait for processing
Click Finish. The system automatically parses the documents, splits them into Chunks, generates embeddings, and builds the index. Track progress in the document list. Once the status is Parsing Completed, the document is searchable.
Supported formats
| Format | Extensions | Size limits | Notes |
|---|---|---|---|
| ≤ 150 MB or ≤ 1000 pages | Native PDFs are extracted directly; scans go through auto OCR. | ||
| Word | .docx, .doc | ≤ 150 MB or ≤ 1000 pages | Preserves heading and paragraph hierarchy. |
| PowerPoint | .ppt, .pptx | ≤ 150 MB or ≤ 1000 pages | Splits by slide. |
| Excel (document search) | .xlsx, .xls | Recommended ≤ 10 MB and ≤ 100,000 rows | Splits by row; first row provides field names. |
| Excel data tables (data query) | .xlsx, .xls | ≤ 20 MB | For Structured data Knowledge Bases. |
| CSV | .csv | — | Splits by row; first row provides field names. |
| Images | .png, .jpg, .jpeg, .bmp, .gif | ≤ 20 MB per image; shortest side > 15 px; longest side < 8192 px; aspect ratio < 50 | Used for mixed text-and-image scenarios. |
| Markdown | .md | Recommended ≤ 10 MB | Splits along heading levels. |
| HTML | .html | Recommended ≤ 10 MB | Strips scripts and styles automatically. |
| Plain text | .txt | Recommended ≤ 10 MB | UTF-8 encoded. |
Document status
| Status | Meaning | Action |
|---|---|---|
| Uploading | File transfer in progress | Wait. |
| Parsing | Extracting document structure and text, splitting into Chunks, and generating embedding vectors | Wait. |
| Parsing Completed | Index built successfully; document is searchable | None. |
| Failed | Parsing or indexing error | Check the error details, then re-upload after fixing. |
Parsing methods
The platform offers several parsing methods. Pick one when creating the Knowledge Base; you can also change it in Knowledge Base settings later.
| Method | How it works | Strengths | Best for |
|---|---|---|---|
| Native document parsing | Standard text extraction | Fast, low cost | Clean electronic documents. |
| Document Intelligence Parsing | Layout-aware OCR + table recognition + formula recovery | High-fidelity layout reproduction | Scans, reports, contracts. |
| LLM-based parsing | An LLM interprets the document's semantic structure | Handles non-standard formats | Mixed-layout documents. |
| Qwen-VL parsing | Visual language model | Understands text-image content | Technical documents with diagrams. |
Chunk management
From the Knowledge Base detail page, switch to the Chunk Details tab to view, edit, and manage every Chunk. Each Chunk shows:
- Chunk ID, content preview, and boundaries.
- Chunk length and character count.
- Embedding status.
- Source document.
- An Enable/Disable toggle that controls whether the Chunk participates in retrieval.
Create a Chunk
Click Create Chunk and fill in:
| Field | Constraint | Description |
|---|---|---|
| Source document | Required | Pick the document this Chunk belongs to. |
| Chunk title | 0–50 characters | Shown in the Chunk list. |
| Image | png / jpg / bmp / gif, ≤ 20 MB per image | Optional, for text-with-image Chunks. |
| Chunk content | Required; 0–6000 characters | Chunk body text. |
Edit or delete a Chunk
Every Chunk can be edited or deleted individually. Edits trigger automatic re-embedding; deletion removes the Chunk from the index immediately and is irreversible.
Other Chunk actions:
| Action | Description |
|---|---|
| Chunk Details | View the full content and properties of a Chunk. |
| View Original | Locate the Chunk in its original document context. |
| Enable/Disable | Control whether the Chunk participates in retrieval. |
The Chunk entry point varies slightly across workspaces — some show the Chunk table directly on the detail page, others surface it through a dedicated Chunks entry. Follow the actual layout of your console.
Management actions
| Action | Description |
|---|---|
| View file details | Click a file name to see parsing results and the Chunk list. |
| View Chunks | Open the Chunk details for the document. |
| Meta Info | View the document's extracted metadata. Manual editing is not supported. Configure metadata fields when creating the Knowledge Base; metadata extraction cannot be added after creation. |
| Tags | Add or manage document tags from the More menu. Each tag supports up to 64 characters. |
| Delete document | Removes the document along with all of its Chunks and vectors — irreversible (in the More menu). |
| Re-parse | After changing the parsing method, re-run parsing on existing documents. |
| Bulk actions | Select multiple files to delete or re-parse them in bulk. |