In short.
Mistral's ingestion guide helps Python developers build document-search pipelines, but its checkpoints skip extraction while later processing runs again. It documents configurable loading, extraction, splitting, enrichment, embedding and storage, plus routing for mixed-format collections. The examples show component wiring; costs, dependency versions and retrieval quality remain unknown. No examples were executed.
Researched and written by an AI model and checked by a second AI model. How it works
The scope is the complete Ingestion documentation page at [https://docs.mistral.ai/studio/search/search-toolkit/ingestion.md], including both pipeline types, checkpoint behavior, protocol mappings, examples and configuration notes. Linked component and search-index pages are excluded. The tqdm dependency and legacy_office licence-key condition are included. No code was executed; extraction accuracy, retrieval quality, performance, recovery behavior and deployment suitability remain unverified.
The overview
Identity
This is the Ingestion documentation page for Mistral Search Toolkit at [https://docs.mistral.ai/studio/search/search-toolkit/ingestion.md]. It explains how raw documents become smaller searchable passages stored alongside numerical representations called embeddings.
The resource is a technical guide with Python examples. Its central interfaces are Pipeline for processing documents and RoutedPipeline for choosing processing pipelines by file type.
Assessment
The guide is useful for understanding component responsibilities, wiring an ingestion pipeline and planning recovery after failures. Its clearest operational detail is that checkpoint recovery avoids extraction but repeats splitting, enrichment, embedding and indexing.
Installation instructions for the toolkit itself and detailed component configurations are not supplied on this page; the only install command given is uv add tqdm for the optional progress callback. Throughput, extraction accuracy, retrieval quality and operational reliability are not assessed.
Users
The likely audience is Python developers preparing document collections for semantic search, where matching uses embeddings rather than exact words alone. Developers handling mixed file formats or costly extraction steps have particular reasons to examine its routing and checkpoint behavior.
Beginners can use the stage-by-stage explanation to understand ingestion. Implementing the examples requires familiarity with Python imports, asynchronous calls, API credentials and configuring a search index.
Capabilities
Pipeline coordinates file loading, extraction, text splitting, optional enrichment, embedding and indexing. The page documents batch processing with concurrency, progress tracking and checkpointing. Optional processors can add model-generated summaries or entity metadata before indexing.
RoutedPipeline provides nine built-in protocol mappings: ocr, plain_text, html, xlsx, numbers, legacy_office, email, image and audio. Listed formats include PDFs, modern Office documents, text and code files, spreadsheets, Apple Numbers files, older Office and Hancom documents, email, images and audio. Developers supply the Pipeline instances for the protocols they need.
Routing can use a custom MIME registry, and MIME-type overrides can redirect a format to another protocol.
Using it
Requirements
The shown setup requires a Python environment containing the mistralai.search.toolkit modules, a Mistral API key, accessible input files and a pre-created Mistral Search Index. The same index name must be used when retrieving documents later. Other store backends can be supplied through stores.
The progress callback requires tqdm, which the page says is not a core dependency. The page lists DOC, PPT, HWP and HWPX under the legacy_office protocol with the note that it applies only when PYMUPDF_PRO_LICENSE_KEY is set. Required Python and SDK versions, system packages, hardware needs and service quotas are unspecified.
Mechanism
A FileLoader reads source bytes into a File. A DocumentExtractor converts that file into a structured Document, using processing appropriate to the format. A TextSplitter divides the document into DocumentChunk objects; splitting strategy and chunk size affect retrieval quality.
Optional DocumentProcessor stages enrich chunks before an Embedder converts them into vectors. The store persists both vectors and raw text for search.
RoutedPipeline selects a protocol using file extension and MIME type. A protocol_overrides entry such as text/html mapped to plain_text sends HTML through the text pipeline instead of the HTML conversion pipeline.
Setup
Create the search index first, initialize the Mistral client and obtain the index through MistralSearchIndexService.get_search_index. Construct Pipeline with a loader, extractor, splitter, optional processors, embedder and store, then await pipeline.run with the document paths.
For checkpointing, configure checkpoint_store with FilesystemStorage and call run with use_checkpoint=True. The example stores checkpoints under ./checkpoints. To use its progress callback, the page instructs installing tqdm with uv add tqdm.
For mixed formats, construct the required pipelines and map their protocol names into RoutedPipeline. The page links to separate component references for detailed configuration.
Example
The main example processes doc1.txt and doc2.txt using FilesystemFileLoader, PlainTextExtractor and CharacterTextSplitter with chunk_size=512. SummaryEnricher uses MistralChat configured with mistral-small-latest. MistralEmbedder uses MODEL_1024_EMBEDDING, and the destination index is named my_collection.
The awaited run call assigns its result to num_chunks. The page provides no resulting chunk count, indexed output or retrieval example. Nothing was executed, so the example's runtime behavior is unverified.
Assessment & evidence
Limitations
Checkpoint recovery skips extraction for documents with an existing checkpoint. Splitting, enrichment, embedding and indexing run again. The page does not establish deduplication, repeat-write behavior or how checkpoints respond to changed documents or configuration.
File-type routing does not establish extraction accuracy for every listed format. Maximum file sizes, concurrency limits, retry behavior, storage capacity, benchmarks and retrieval evaluations are absent.
The checkpoint and routing examples depend on previously configured objects such as extractors, splitters and protocol pipelines. Their complete definitions are not provided here.
Reasoning
Based on the documented design, the guide is a useful starting point when different document formats need different extraction steps before entering a search index. Interchangeable components allow developers to choose how documents are split, enriched and stored.
Checkpointing may be particularly valuable when extraction is expensive because that stage can be skipped after restart. The benefit depends on the workload: later stages still run, and the page provides no measurements showing how much time or cost recovery saves.
Alternatives
The documented configuration choices include a single Pipeline for uniform inputs, RoutedPipeline for mixed formats and ingestion without optional enrichment processors. Other store backends can be passed through stores, although this page names no alternative backend products.
The page does not compare competing ingestion frameworks, hosted document-processing services or custom implementations. Their relative cost, compatibility and quality are not assessed.
Evidence
The primary source is Mistral's complete Ingestion documentation page at [https://docs.mistral.ai/studio/search/search-toolkit/ingestion.md]. It provides explanatory text, Python examples, protocol mappings and configuration notes.
The source contains no execution logs, benchmark results or demonstrated search outputs. Documented capabilities therefore remain distinct from measured performance and verified runtime behavior.
Access & freshness
Costs
The page supplies no prices, billing rules or usage estimates. Total cost is unknown.
A cost estimate would need to account for the chosen extraction method, embedding calls, optional model-generated enrichment, index storage and processing infrastructure. Restarting from checkpoints repeats enrichment, embedding and indexing, so those repeated stages should be included in estimates. Whether and how each item is billed is not established here.
Rights
The page contains no licence terms for the documentation, toolkit code or third-party components. Redistribution permissions are unknown.
The page ties the legacy_office protocol to PYMUPDF_PRO_LICENSE_KEY, but the page does not explain the associated licence terms or fees. Rights concerning input documents and generated summaries, along with service data-handling terms, are also unspecified.
Freshness
The source snapshot was captured on 2026-11-15 at 11:28:44.443 UTC. The page supplies no publication date, update date or toolkit release version.
The example uses the model alias mistral-small-latest without identifying its underlying model revision. Compatibility with a particular installed SDK version and the current behavior of that alias are unknown.
Actions
Before implementing the examples, confirm compatible Python and SDK versions, obtain the required credentials, create the destination index and consult the component documentation for the intended file formats. Check service pricing and any applicable component licences.
Begin with representative documents and evaluate extraction accuracy, chunk boundaries and search usefulness. Add summary enrichment when it serves a defined retrieval need.
Before relying on checkpoint recovery, exercise a failed-and-resumed ingestion and inspect repeated processing and index writes. For mixed collections, verify each required protocol with its configured pipeline. These are recommended validation steps; no such checks were performed.
