Skip to content

paperless_gpt

Configure and deploy paperless-gpt

Builds paperless-gpt from a pinned flake commit and creates an s6 service with environment variable configuration for LLM providers and OCR settings.

Variables

Variable Type Default Description
paperless_gpt_data_dir path /var/lib/paperless-gpt Data directory for paperless-gpt
paperless_gpt_enabled boolean false Enable the paperless-gpt service
paperless_gpt_env dict Environment variables for paperless-gpt configuration. See defaults/main.yml#L7-L21 and the upstream documentation for an example.
paperless_gpt_group string paperless-gpt System group for the paperless-gpt service
paperless_gpt_prompts dict Map of prompt template filename to content. Template files are deployed under {{ paperless_gpt_data_dir }}/default_prompts/ and {{ paperless_gpt_data_dir }}/prompts/. See defaults/main.yml#L23-L211 and the upstream default prompts for an example.
paperless_gpt_user string paperless-gpt System user for the paperless-gpt service