docext is a document intelligence toolkit that uses vision-language models to extract structured information from documents such as PDFs, forms, and scanned images. The system is designed to operate entirely on-premises, allowing organizations to process sensitive documents without relying on external cloud services. Unlike traditional document processing pipelines that rely heavily on optical character recognition, docext leverages multimodal AI models capable of understanding both visual and textual information directly from document images. This allows the system to detect and extract structured elements such as tables, signatures, key fields, and layout information while maintaining semantic understanding of the document content. The toolkit can also convert complex documents into structured markdown representations that preserve formatting and contextual relationships.
Features
- Vision-language model–based document information extraction
- Conversion of PDFs and images into structured markdown representations
- Support for extracting tables, fields, signatures, and semantic elements
- On-premises deployment for privacy and secure document processing
- Benchmarking tools for evaluating document AI models
- REST API and web interface for integration into data pipelines