English

OnPrem.LLM: A Privacy-Conscious Document Intelligence Toolkit

Computation and Language 2025-09-30 v3 Artificial Intelligence Machine Learning

Abstract

We present OnPrem..LLM, a Python-based toolkit for applying large language models (LLMs) to sensitive, non-public data in offline or restricted environments. The system is designed for privacy-preserving use cases and provides prebuilt pipelines for document processing and storage, retrieval-augmented generation (RAG), information extraction, summarization, classification, and prompt/output processing with minimal configuration. OnPrem..LLM supports multiple LLM backends -- including llama..cpp, Ollama, vLLM, and Hugging Face Transformers -- with quantized model support, GPU acceleration, and seamless backend switching. Although designed for fully local execution, OnPrem..LLM also supports integration with a wide range of cloud LLM providers when permitted, enabling hybrid deployments that balance performance with data control. A no-code web interface extends accessibility to non-technical users.

Keywords

Cite

@article{arxiv.2505.07672,
  title  = {OnPrem.LLM: A Privacy-Conscious Document Intelligence Toolkit},
  author = {Arun S. Maiya},
  journal= {arXiv preprint arXiv:2505.07672},
  year   = {2025}
}

Comments

6 pages

R2 v1 2026-06-28T23:29:46.691Z