Skip to content
Edit this page

Preferences reference

Open Zotero's settings and choose zotero-docling. The pane has three sections that are always shown (docling-serve, Behavior, Output) and two that are collapsed until you click their headers (Conversion options and Advanced). The open or closed state is remembered.

Each table lists the label in the pane, the default, and the pref name (under extensions.zotero.zotero-docling. in Zotero's Config Editor). Where a setting becomes a docling-serve form field, that field is named too.

docling-serve (server)

Setting Default Pref Notes
Server URL http://localhost:5001 serverUrl http or https. May include a base path. No username, password, query string or #fragment. Trailing / is dropped.
Test Connection Calls GET /health; success needs {"status":"ok"}. Uses the Connection check timeout.
Auth None authScheme None, Bearer token, Basic auth or Custom header.
Username empty authUsername Basic auth only.
Header name empty authHeaderName Custom header only, for example X-API-Key.
Token / Password / Header value empty (login manager) Stored in Zotero's login manager, not in prefs.

The auth header is sent with every request to docling-serve, including Test Connection. A credential written into an old-style server URL (http://user:pass@host) is moved into Basic auth automatically.

Behavior

Setting Default Pref
Auto-convert new PDF attachments on import off autoConvert
Skip items that already have a Markdown attachment on skipIfExists
Parallel conversions (1–8) 1 maxConcurrency
OS notification when a batch finishes (only if Zotero isn't focused) off notifyOnComplete
Confirm before "Re-convert (replace)" replaces existing markdown on confirmReconvert

See Auto-convert and Parallel conversions.

Output

Setting Default Pref docling-serve field
Attach the .md as a Zotero child attachment on attachToItem
Prepend YAML frontmatter with Zotero metadata on addFrontmatter
Exclude images — keep only text and tables off excludeImages image_export_mode = placeholder / embedded
Add page-number markers off pageMarkers adds to_formats=json and md_page_break_placeholder
Marker format <!-- page {page} --> pageMarkerFormat (empty means the default)
Export folder empty (off) exportFolderPath

See Where the output goes.

Conversion options

Conversion

Setting Default Pref docling-serve field
Pipeline: Standard / VLM (vision-language model) Standard pipeline pipeline
Run OCR on bitmap content on doOcr do_ocr
Force OCR even when text is extractable off forceOcr force_ocr
OCR languages empty ocrLang ocr_lang, once per comma-separated code
Table mode: accurate / fast accurate tableMode table_mode

OCR language codes depend on docling-serve's OCR engine: Tesseract wants three-letter ISO 639-2 codes (eng,fra,deu), EasyOCR two-letter codes (en,fr,de). Leave empty to let the server decide.

Enrichments

All off by default. They slow conversion down and may need extra models on the server.

Setting Pref docling-serve field
Extract formulas as LaTeX doFormulaEnrichment do_formula_enrichment
Recognize code blocks doCodeEnrichment do_code_enrichment
Extract numeric data from charts doChartExtraction do_chart_extraction
Classify pictures doPictureClassification do_picture_classification

Vision-Language Model

Shown only when Pipeline is VLM. The first request loads the model, so expect a cold start of several minutes.

Setting Default Pref docling-serve field
VLM preset default vlmPreset (+ vlmPresetCustom for Custom…) vlm_pipeline_preset
Describe pictures with a VLM off doPictureDescription do_picture_description
Picture-description preset default pictureDescriptionPreset (+ pictureDescriptionPresetCustom) picture_description_preset
Describe pictures with a remote vision API instead of a local model off remotePicApiEnabled see Remote vision APIs

VLM presets offered: default (Granite-Docling, about 500 MB), smoldocling, deepseek_ocr, granite_vision, pixtral, got_ocr, phi4, qwen, nanonets_ocr2, gemma_12b, gemma_27b, dolphin, glm_ocr, lightonocr, falcon_ocr, or Custom… to type any preset name your server allows. Hover a preset for its size and use.

Picture-description presets: default, smolvlm, granite_vision, or Custom…. The preset is sent only when picture description is on and the remote API is off.

The remote vision API settings (Provider, API URL, Model, API key, Prompt, Timeout) are described in Remote vision APIs. Their prefs are remotePicApiProvider (default openai), remotePicApiUrl, remotePicApiModel, remotePicApiPrompt and remotePicApiTimeoutSec (default 120). The key is in the login manager.

Note

Picture description and the remote vision API are sent with any pipeline once ticked, even though the pane only shows them for the VLM pipeline.

Advanced

Async transport

Setting Default Pref
Use the async endpoint (/v1/convert/file/async) off useAsyncEndpoint
Poll interval (s) 5 asyncPollIntervalSec
Max wait (min), 0 = no limit, up to 1440 240 asyncMaxWaitMin

With the async endpoint, the plugin uploads the PDF, then checks the task until it finishes and downloads the result. The first check comes 1 second after the upload and the gap doubles up to Poll interval, so short PDFs are picked up quickly. Each check asks the server to hold the request until the task finishes (docling-serve's Ray engine does; its other engines answer at once).

Max wait is the longest the plugin waits for one task after uploading it. When it runs out the PDF fails with "Async task exceeded maxWait"; the server may still finish the task in the background.

Use the async endpoint for anything that may take longer than the server's sync limit (DOCLING_SERVE_MAX_SYNC_WAIT, 120 s by default): VLM pipelines, large PDFs, CPU-only servers, or the first run while models download. The sync endpoint is quicker for short PDFs.

Timeouts

How long the plugin waits for one request before giving up and reporting an error. A timeout stops the plugin waiting; it never stops docling-serve.

Setting Default Range Pref Limits
Connection check (s) 30 1–600 healthTimeoutSec Test Connection, the check before each batch, the /v1/capabilities check and Test Remote API
Async status poll (s) 30 1–600 pollTimeoutSec One status check (plus the poll interval the server may hold it)
Async upload (min) 5 1–120 asyncUploadTimeoutMin Uploading a PDF to the async endpoint
Async result download (min) 10 1–120 asyncResultTimeoutMin Downloading a finished async result
Sync conversion (min) 10 1–1440 syncTimeoutMin One conversion on the sync endpoint

docling-serve's own sync limit (120 s by default) is shorter than the plugin's 10 minutes, so on a stock server a long sync conversion ends with the server's HTTP 504 first. If you raise DOCLING_SERVE_MAX_SYNC_WAIT, raise Sync conversion to match.

Advanced JSON

Setting Default Pref
Advanced JSON empty advancedJson

A JSON object whose top-level keys are sent as docling-serve form fields, overriding anything the pane sets. Arrays become a repeated field, nested objects are sent as JSON text, and null values are ignored. For example:

{ "table_mode": "fast", "ocr_lang": ["en", "de"], "images_scale": 2 }

If it isn't valid JSON, or isn't an object, every conversion fails with a message saying so. The full list of fields is in your server's OpenAPI page at http://localhost:5001/docs.

Reset to defaults

Reset to defaults reverts every zotero-docling preference, including Server URL, to its default after a confirmation. It also deletes the stored docling-serve credential and every remote API key. Your library and existing Markdown attachments aren't touched.

Fields always sent

Besides the settings above, every conversion sends to_formats=md and abort_on_error=false.