Skip to content

Environment Variables ​

Complete reference of all DocIntel environment variables. Variables use a double-underscore __ delimiter for nested settings groups.

For a guided walkthrough, see Configuration →.

Server ​

VariableDefaultDescription
SERVER__HOST0.0.0.0Bind address
SERVER__PORT8200Bind port
SERVER__WORKERS2Uvicorn worker count
SERVER__LOG_LEVELinfodebug · info · warning · error
SERVER__CORS_ORIGINS*Comma-separated allowed CORS origins
SERVER__API_KEY(empty)Bearer token required on all API calls
SERVER__MAX_UPLOAD_MB100Maximum file upload size in MB
SERVER__MAX_CONCURRENT_JOBS10Max simultaneous background pipeline jobs

LLM ​

VariableDefaultDescription
LLM__PROVIDERopenaiopenai · anthropic · gemini · ollama
LLM__API_KEY(empty)API key for the chosen provider
LLM__MODELgpt-5.6-terraOverride the default model
LLM__BASE_URL(none)Custom endpoint URL (Ollama, Azure, etc.)
LLM__TEMPERATURE0.0LLM temperature
LLM__MAX_TOKENS4096Max response tokens
LLM__TIMEOUT_S60Per-call timeout in seconds

LLM Windows ​

VariableDefaultDescription
LLM_WINDOW__SIZE1000Characters per extraction window
LLM_WINDOW__OVERLAP100Overlap between adjacent windows
LLM_WINDOW__MIN_SIZE50Minimum window size
LLM_WINDOW__WINDOW_CONCURRENCY8Max concurrent LLM calls per document (1–64)
LLM_WINDOW__JOB_TIMEOUT_S600Per-document wall-clock timeout (0 = unlimited)

OCR ​

VariableDefaultDescription
OCR__ENABLEDtrueEnable OCR for scanned / image documents
OCR__ENGINEtesseracttesseract · azure_doc_intel · google_vision · textract
OCR__AZURE_ENDPOINT(none)Azure Document Intelligence endpoint
OCR__AZURE_KEY(none)Azure Document Intelligence key
OCR__GOOGLE_CREDENTIALS_JSON(none)Path to Google Cloud credentials JSON
OCR__AWS_REGIONus-east-1AWS region for Textract
OCR__LANGUAGESenComma-separated OCR languages

Sketch / Vision ​

VariableDefaultDescription
SKETCH__ENGINEopenai-visionopenai-vision · azure-vision · google-vision · local
SKETCH__MODELgpt-5.6-solVision model ID
SKETCH__DETAIL_LEVELhighlow · high · auto
SKETCH__MAX_TOKENS2048Max tokens for vision response
SKETCH__CONFIDENCE_THRESHOLD0.5Min confidence for labels / objects

Purple8 Graph ​

VariableDefaultDescription
GRAPH__BASE_URLhttp://localhost:8100Purple8 Graph API URL
GRAPH__API_KEY(empty)Graph API auth key
GRAPH__TENANT_ID(none)Multi-tenant tenant ID
GRAPH__AUTO_COMMITtrueAuto-commit to Graph on extraction completion
GRAPH__TIMEOUT_S30Connection timeout

Licensing ​

VariableDefaultDescription
LICENSE__KEY(empty)License key string (omit for unlicensed Beta mode)
LICENSE__SERVER_URL(empty)License server URL for activation checks
LICENSE__ENFORCEtruefalse disables license enforcement (dev mode)
LICENSE__GRACE_PERIOD_HOURS72Hours to allow after license expiry

Storage ​

DocIntel persists jobs in an embedded durable p8l log (/data/docintel_jobs.p8l) with zero external database dependencies.

VariableDefaultDescription
STORAGE__TEMP_DIR/tmp/purple8_docintelTemporary file directory

Top-level ​

VariableDefaultDescription
APP_NAMEPurple8 Document IntelligenceApplication display name
DEBUGfalseDebug mode

Purple8 DocIntel v0.12.5 · Universal Document Intelligence · NVIDIA Inception Member · Red Hat Technology Partner.