Skip to content

An editorial team and a community building with AI

← All articles

News · Microsoft · 2 min read

Event date: · Published:

.NET previews a unified document-extraction API for AI and RAG pipelines

Microsoft previewed Microsoft.Extensions.DocumentExtraction, a new .NET API that converts PDF, scan, image and Office files into structured data for AI and RAG pipelines.

Microsoft previewed Microsoft.Extensions.DocumentExtraction, a new .NET API for converting documents into structured data for AI and RAG pipelines, on November 24, 2026, according to a post on the .NET Blog. The package gives developers a single, provider-agnostic interface for turning PDFs, scans, images and Office files into a structured document tree.

What's new in the preview

  • The Microsoft.Extensions.DocumentExtraction package is available as version 11.0.0-preview.1.26560.3 and requires the .NET 11 SDK.
  • The DocumentExtractionClient API converts PDFs, scans, images and Office files into a structured ExtractionDocument tree, capturing sections, text, tables, images and source locations.
  • Starter extraction providers ship via NuGet under the CommunityToolkit.DocumentExtraction namespace.
  • Supported providers include PdfPigDocumentExtractionClient for in-process text-layer PDFs and VisionLanguageModelDocumentExtractionClient for any IChatClient that accepts images.
  • Cloud provider support covers Azure Content Understanding, Azure AI Document Intelligence and Mistral OCR via Microsoft Foundry or the Mistral API.
  • The API integrates with Microsoft.Extensions.DataIngestion for chunking and Microsoft.Extensions.VectorData for RAG pipelines.

What it means for AI builders

For .NET developers building AI and RAG pipelines, the new API means they no longer need to write separate integration code for each document source. Because DocumentExtractionClient exposes one interface, teams can swap between Mistral OCR, Azure AI Document Intelligence or a vision-language model without rewriting application code, then feed the resulting document tree straight into chunking and vector storage.

Availability

The package is currently in preview and requires the .NET 11 SDK to run. Starter providers, including the local PDF and vision-language model clients, are distributed separately through NuGet under the CommunityToolkit.DocumentExtraction namespace, alongside the cloud options for Azure and Mistral OCR.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

.NET previews a unified document-extraction API for AI and RAG pipelines | vibecoding.inc