Chunking, OCR, and embedding settings
Ingestion settings control how source files become searchable content. Chunking divides text into passages. OCR extracts text from images. Embeddings represent content for similarity search.
Before you start
Configure the knowledge base before its first upload. Chunking algorithm, length, overlap, OCR, embedding provider, and embedding model become read-only while the base contains files.
Choose a starting configuration
For an initial configuration, keep the preselected chunking algorithm, length, overlap, and available embedding model. Change one setting at a time only when inspection reveals a specific problem. An embedding model is the search index's representation of text; it is not the model that writes the assistant's answer.
Ordinary text documents
Keep the preselected settings, then check that one retrieved passage contains enough context to answer a known question.
Scanned pages or text inside images
Enable Text in Images (OCR) before upload. Compare Parsed with the original; indexing can succeed despite recognition mistakes.
A passage loses context at its boundary
Inspect Chunks. In a separate base, compare a longer chunk or more overlap, then repeat the same retrieval question.
A required embedding provider/model is unavailable
Ask the organization administrator which available model to use before importing. Do not choose a model solely because its name resembles the assistant's model.
Chunk Length and Chunk Overlap are measured in tokens, the units used to divide text; they are not page or word counts. The current controls offer lengths of 100–6,000 tokens and overlaps of 0–1,000 tokens. Keep overlap smaller than chunk length. Larger values are not automatically better: judge them by whether returned passages preserve useful context.
The algorithm choices are Sentence and Naive. Keep the initial choice for your first comparison rather than selecting one from its name alone. Check the resulting passage boundaries with your own document structure.
Open settings before upload
Open More Options → Update Settings before uploading documents.

Review the configuration while the knowledge base is still empty.
Configure chunking
Choose a Chunking Algorithm suited to the document structure.

The algorithm determines how extracted text is divided into passages for retrieval.
Set Chunk Length and Chunk Overlap.

Overlap retains some neighboring text between passages. Inspect the resulting chunks to check whether important context stays together.
Configure OCR and embeddings
Enable Text in Images (OCR) when documents contain text that must be read from images.

Select an available embedding provider and model for indexing the extracted content.
Save the processing settings.

Review the selected values before uploading the first documents.
Upload and inspect documents
Upload the intended documents and wait for each file to reach Indexed.

Review individual statuses rather than only the overall upload notification.
Open a scanned document in Preview, then compare it with Parsed.

Successful indexing does not guarantee that OCR recognized every word correctly.
Inspect Chunks for the important passages in each document type.

Check that extraction and passage boundaries preserve the information needed to answer questions.
Check retrieval
Use Evaluate with a question whose answer is present in the source.

Inspect the returned passage and attribution to confirm that the indexed content can be found.
Review settings after ingestion
Review Update Settings after ingestion to identify read-only controls.

To try a different configuration, create a new empty knowledge base, set the values, and import representative sources again. Compare Parsed, Chunks, and Evaluate before moving consumers to the replacement. Check References on the old base first; creating a replacement does not switch existing agents or workflows to it.
Important behavior
Chunking divides extracted content into searchable passages. Overlap retains text across neighboring passages.
OCR reads text from images. Review the extracted text for recognition errors, especially in scanned documents.
Continue
Last updated
Was this helpful?

