Skip to main content

Document Management and Parsing

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.

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:
Data sourceDescription
Upload files (default)Upload local files through the UI, up to 50 files per batch. See Supported formats for formats and size limits.
Select categoryChoose a connector file category to import all files in it and build indexes; supports automatic sync.
Select filesPick individual files under a connector category, up to 50 files per batch.
Additional configuration:
  • 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 methodDescription
Smart Chunking (default)A general-purpose method that delivers strong retrieval performance for most documents.
By lengthFor scenarios with strict token count requirements.
By pageFor documents where each page conveys an independent topic.
By headingFor documents that use headings to separate topics.
By regular expressionSplits text using a custom regular expression.
By delimiterSplits text using specific delimiters in the document.
ParameterDefaultRangeDescription
Max chunk length60010–6000Maximum number of tokens per Chunk.
Metadata ExtractionOffOn/OffAutomatically extracts document metadata. Fields must be configured when creating the Knowledge Base; extraction cannot be added after creation.
Excel Header ConcatenationOffOn/OffIncludes 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

FormatExtensionsSize limitsNotes
PDF.pdf≤ 150 MB or ≤ 1000 pagesNative PDFs are extracted directly; scans go through auto OCR.
Word.docx, .doc≤ 150 MB or ≤ 1000 pagesPreserves heading and paragraph hierarchy.
PowerPoint.ppt, .pptx≤ 150 MB or ≤ 1000 pagesSplits by slide.
Excel (document search).xlsx, .xlsRecommended ≤ 10 MB and ≤ 100,000 rowsSplits by row; first row provides field names.
Excel data tables (data query).xlsx, .xls≤ 20 MBFor 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 < 50Used for mixed text-and-image scenarios.
Markdown.mdRecommended ≤ 10 MBSplits along heading levels.
HTML.htmlRecommended ≤ 10 MBStrips scripts and styles automatically.
Plain text.txtRecommended ≤ 10 MBUTF-8 encoded.

Document status

StatusMeaningAction
UploadingFile transfer in progressWait.
ParsingExtracting document structure and text, splitting into Chunks, and generating embedding vectorsWait.
Parsing CompletedIndex built successfully; document is searchableNone.
FailedParsing or indexing errorCheck 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.
MethodHow it worksStrengthsBest for
Native document parsingStandard text extractionFast, low costClean electronic documents.
Document Intelligence ParsingLayout-aware OCR + table recognition + formula recoveryHigh-fidelity layout reproductionScans, reports, contracts.
LLM-based parsingAn LLM interprets the document's semantic structureHandles non-standard formatsMixed-layout documents.
Qwen-VL parsingVisual language modelUnderstands text-image contentTechnical documents with diagrams.
For scans or complex layouts, use Document Intelligence Parsing. For plain-text formats like Markdown and TXT, native document parsing is enough.

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.
Use the All files dropdown to filter Chunks by source document or browse Chunks across the entire Knowledge Base. You can also search by keyword.

Create a Chunk

Click Create Chunk and fill in:
FieldConstraintDescription
Source documentRequiredPick the document this Chunk belongs to.
Chunk title0–50 charactersShown in the Chunk list.
Imagepng / jpg / bmp / gif, ≤ 20 MB per imageOptional, for text-with-image Chunks.
Chunk contentRequired; 0–6000 charactersChunk body text.
After submission the Chunk enters the embedding queue and becomes searchable once embedding finishes.

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:
ActionDescription
Chunk DetailsView the full content and properties of a Chunk.
View OriginalLocate the Chunk in its original document context.
Enable/DisableControl 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

ActionDescription
View file detailsClick a file name to see parsing results and the Chunk list.
View ChunksOpen the Chunk details for the document.
Meta InfoView 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.
TagsAdd or manage document tags from the More menu. Each tag supports up to 64 characters.
Delete documentRemoves the document along with all of its Chunks and vectors — irreversible (in the More menu).
Re-parseAfter changing the parsing method, re-run parsing on existing documents.
Bulk actionsSelect multiple files to delete or re-parse them in bulk.
Document deletion is irreversible. Previously returned retrieval results are unaffected, but later queries no longer match Chunks from the deleted document.

API management

Document management APIs:
After uploading documents, tune your chunking and embedding strategy to improve retrieval quality.