Expand description
§Transmutation
High-performance document conversion engine for AI/LLM embeddings.
§Quick Start
use transmutation::{Converter, OutputFormat, ConversionOptions};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Initialize converter
let converter = Converter::new()?;
// Convert PDF to Markdown
let result = converter
.convert("document.pdf")
.to(OutputFormat::Markdown { split_pages: true, optimize_for_llm: true })
.execute()
.await?;
// Save output
result.save("output/document.md").await?;
Ok(())
}Re-exports§
pub use batch::BatchProcessor;pub use batch::BatchResult;pub use converters::ConverterMetadata;pub use converters::DocumentConverter;pub use error::Result;pub use error::TransmutationError;pub use types::*;
Modules§
- batch
- Batch processing for multiple documents
- converters
- Document converters for various formats
- document
docling-ffi - Document types and processing (docling-core compatible) Document types and processing (docling-core compatible)
- engines
- Engine abstractions for document processing
- error
- Error types for Transmutation
- integration
- Integration layer for external systems
- ml
docling-ffi - Machine Learning module for document layout analysis
- optimization
- Output optimization strategies
- output
- Output format generators
- pipeline
- Document processing pipeline (inspired by Docling architecture)
- types
- Core types for Transmutation
- utils
- Utility functions
Structs§
- Conversion
Builder - Builder for conversions with fluent API
- Converter
- Main converter interface
- Converter
Config - Converter configuration
Constants§
- VERSION
- Current version of the Transmutation library