Mostlylucid.LucidRAG.Plugins.Books
2.7.5
dotnet add package Mostlylucid.LucidRAG.Plugins.Books --version 2.7.5
NuGet\Install-Package Mostlylucid.LucidRAG.Plugins.Books -Version 2.7.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mostlylucid.LucidRAG.Plugins.Books" Version="2.7.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mostlylucid.LucidRAG.Plugins.Books" Version="2.7.5" />
<PackageReference Include="Mostlylucid.LucidRAG.Plugins.Books" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mostlylucid.LucidRAG.Plugins.Books --version 2.7.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mostlylucid.LucidRAG.Plugins.Books, 2.7.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mostlylucid.LucidRAG.Plugins.Books@2.7.5
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mostlylucid.LucidRAG.Plugins.Books&version=2.7.5
#tool nuget:?package=Mostlylucid.LucidRAG.Plugins.Books&version=2.7.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mostlylucid.LucidRAG.Plugins.Books
Book summarizer plugin for DoomSummarizer. Provides hierarchical document splitting and book type detection for long-form documents.
Features
- Hierarchical Splitting: Adaptive depth splitting based on document length and structure
- Novels: Parts > Chapters > Sections
- Plays: Acts > Scenes
- Anthologies: Works > Chapters > Sections
- Academic: Abstract > Introduction > Methods > Results > Discussion
- Book Type Detection: Signal-based classification (fiction, nonfiction, academic, technical, play, anthology, collection)
- Pattern-Based Detection: YAML-defined regex patterns for chapter/act/scene boundaries
- Chapter-Aware Templates: Summarization templates for chapter-by-chapter and synthesis strategies
- Embedded Resources: Prompts, templates, strategies, and patterns shipped as embedded YAML/TXT
Usage
// Register the plugin
var plugin = new BookProcessorPlugin(logger);
registry.Register(plugin);
// Detection
var detection = BookTypeDetector.Detect(content, "pride-and-prejudice.txt");
Console.WriteLine(detection.Type); // "fiction"
Console.WriteLine(detection.Confidence); // 0.85
// Splitting
var splitter = new HierarchicalBookSplitter(logger);
var tree = await splitter.SplitAsync(content, new SplitOptions { PatternName = "novel" });
foreach (var chapter in tree.Children)
Console.WriteLine($"{chapter.Title} ({chapter.TotalWordCount} words)");
Supported Document Types
| Type | Detection Signals |
|---|---|
| Fiction | Chapter markers, dialogue, narrative patterns, word count |
| Nonfiction | Informational structure, no fiction signals |
| Academic | Abstract/Introduction/Methods sections, citations |
| Technical | Code blocks, numbered steps, reference sections |
| Play | Act/Scene markers, character dialogue |
| Anthology | Multiple work boundaries, very long documents |
| Collection | Poetry line patterns, multiple short works |
Dependencies
- Mostlylucid.LucidRAG.DoomSummarizer.Core - Plugin interfaces and document model
- YamlDotNet - Pattern and strategy YAML parsing
License
MIT
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Mostlylucid.LucidRAG.DoomSummarizer.Core (>= 2.7.5)
- Spectre.Console (>= 0.54.0)
- Spectre.Console.Cli (>= 0.53.1)
- YamlDotNet (>= 16.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Mostlylucid.LucidRAG.Plugins.Books:
| Package | Downloads |
|---|---|
|
Mostlylucid.LucidRAG.Plugins.Complete
Meta-package bundling all DoomSummarizer processor plugins: Books, Video, Image, Audio, and Data. Install this for the full plugin experience. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.7.5 | 134 | 3/30/2026 |
| 2.7.4 | 111 | 3/30/2026 |
| 2.7.3 | 131 | 3/30/2026 |
| 2.7.1 | 121 | 3/29/2026 |
| 2.7.0 | 130 | 3/29/2026 |
| 2.6.0 | 123 | 3/29/2026 |
| 2.5.0-alpha0 | 125 | 2/10/2026 |
| 2.1.0 | 135 | 2/9/2026 |
| 2.1.0-preview2 | 128 | 2/9/2026 |
| 2.0.1-rc0 | 118 | 2/9/2026 |
| 1.1.1 | 148 | 2/4/2026 |
| 1.0.0 | 134 | 2/4/2026 |
| 1.0.0-rc6 | 137 | 2/4/2026 |
| 1.0.0-rc5 | 125 | 2/3/2026 |
| 1.0.0-rc4 | 127 | 2/3/2026 |
| 1.0.0-rc2 | 107 | 2/3/2026 |
Initial release.
Hierarchical book splitting, book type detection, and chapter-aware summarization strategies.