Pick a Chunking Strategy and an embedding model to balance recall and precision.
Chunking and embedding run automatically when you import data. Chunking sets the minimum retrieval unit; embedding sets the precision of semantic matching. Both are configured in the index-settings step of Import data and cannot be changed after creation.
You can choose among the following chunking methods when importing data:
Max chunk length: default 600, range 10–6000 (tokens).
After chunking, the system uses an embedding model to turn each Chunk into a vector and writes it to the index. The embedding model is chosen when you create the Knowledge Base and cannot be changed afterward.
The fee details on the right of the import-data page show the embedding model and rerank model currently in use.
After chunks are built, view and manage them in the Chunk details tab on the Knowledge Base detail page. See Document management.
Chunk APIs:
Chunking methods
You can choose among the following chunking methods when importing data:
| Method | How it works | Best for |
|---|---|---|
| Smart Chunking (default) | Detects chapter and paragraph boundaries from the document layout. | Most documents. |
| Fixed-length | Splits at equal token lengths. | Cases with strict token-count requirements. |
| By page | Splits along PDF page boundaries. | Documents where each page conveys an independent topic. |
| Heading-based | Splits along Markdown / HTML heading levels. | Documents that use headings to separate topics. |
| By regex | Splits at matches of a custom regular expression. | Text with fixed delimiter markers. |
| By delimiter | Splits at a specified separator. | Documents whose content is distinguished by specific identifiers. |
Recommended settings
| Scenario | Recommended | Why |
|---|---|---|
| FAQ documents | Fixed-length, 256 tokens | Q&A pairs are short and self-contained. |
| Product manuals | Smart Chunking, 600 tokens (default) | Chapters are clearly structured. |
| Long reports | Smart Chunking, 2048 tokens | Preserves more context. |
| Legal contracts | Heading-based, 512 tokens | Clauses are hierarchically organized. |