Skip to main content

Data Processing Pipeline

Every knowledge base has a visual ingestion pipeline (a React Flow canvas): documents pass through five nodes from upload to searchability. Open the knowledge base → "Pipeline" tab to view it:

Data processing pipeline

Node reference

NodePurposeKey configuration
SourceDocument entry pointFile upload / URL import
ParserExtract text and structureEngine: auto / MinerU / local; OCR, formula, and table toggles
ChunkerSplit textStrategy, chunk size, overlap length
EmbedderGenerate vectorsEmbedding model, batch size
SinkWrite to the vector storeType (Milvus)

Chunking strategies

StrategyIdentifierBest for
ParagraphparagraphPacks paragraphs into chunks, preserving semantic integrity (the fallback for unknown strategies)
Fixed lengthtokenFixed-size chunking by character count (overlap configurable); well-structured documents, fast
Parent-childparent_childChild chunks for retrieval, parent chunks fed to the LLM; balances accuracy and context — recommended default
Header-awareheaderSplits by document heading hierarchy, preserving section structure
Q&AqaCSV question/answer pairs (one Q&A per row); a hit returns the standard answer directly

The parent chunk keeps a larger context; when a child chunk is hit during retrieval, the parent chunk's content is passed into the LLM, yielding more complete answers.

Parsing engines

  • auto: prefers MinerU and falls back to the local parser when unavailable;
  • MinerU: containerized deployment (optional GPU), best at PDF layout, formulas, and tables — see Docker Deployment;
  • Local parser: lightweight and zero-dependency, supporting common formats such as Markdown, TXT, DOCX, and PDF.

:::tip When do changes take effect After you change the pipeline configuration, newly uploaded documents are ingested with the new configuration; to rebuild existing documents, choose "Re-parse" from the document list. :::