Rag.NET.Parsers.Office
0.1.0
dotnet add package Rag.NET.Parsers.Office --version 0.1.0
NuGet\Install-Package Rag.NET.Parsers.Office -Version 0.1.0
<PackageReference Include="Rag.NET.Parsers.Office" Version="0.1.0" />
<PackageVersion Include="Rag.NET.Parsers.Office" Version="0.1.0" />
<PackageReference Include="Rag.NET.Parsers.Office" />
paket add Rag.NET.Parsers.Office --version 0.1.0
#r "nuget: Rag.NET.Parsers.Office, 0.1.0"
#:package Rag.NET.Parsers.Office@0.1.0
#addin nuget:?package=Rag.NET.Parsers.Office&version=0.1.0
#tool nuget:?package=Rag.NET.Parsers.Office&version=0.1.0
Rag.NET.Parsers.Office
Office document parsers for the Rag.NET ingestion pipeline: Word (.docx), Excel
(.xlsx) and PowerPoint (.pptx), read with DocumentFormat.OpenXml — no Office
installation required.
Install
dotnet add package Rag.NET.Parsers.Office
Install alongside the core pipeline package (dotnet add package Rag.NET), which supplies
the AddRagNet(...) builder the parsers register into.
Setup
Each format has its own registration — add only what you ingest. Inside your
AddRagNet(...) builder callback:
using Rag.NET.Parsers.Excel;
using Rag.NET.Parsers.PowerPoint;
using Rag.NET.Parsers.Word;
rag.AddWordParser()
.AddExcelParser()
.AddPowerPointParser();
Example
With the parsers registered, Office files flow through the same ingest call as everything else — the pipeline picks the parser by content type:
using var stream = File.OpenRead("hr-policy.docx");
var result = await pipeline.IngestAsync(stream, new DocumentMetadata
{
DocumentId = new DocumentId("policy-hr-001"),
FileName = "hr-policy.docx",
ContentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
});
Word paragraphs and headings become structured text, Excel sheets become row-wise text per sheet, and PowerPoint slides are emitted slide-by-slide with their notes.
Full guide
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- DocumentFormat.OpenXml (>= 3.5.1)
- Rag.NET.Abstractions (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 86 | 8/11/2026 |