From 53c246e8e5f84e18c17938fe601e3519082b81d6 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 4 Sep 2026 18:41:32 +0200 Subject: [PATCH] docs(wiki): the AI parsing addon now reads one environment variable Three shipped sentences became false with LLM_TIMEOUT_MS: two claiming the addon needs no environment variables (one of them in the very file the variable was added to), and one naming the old five-minute ceiling that the deleted constant used to set. --- wiki/AI-Booking-Import.md | 4 ++-- wiki/Environment-Variables.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/AI-Booking-Import.md b/wiki/AI-Booking-Import.md index f0a2725d7..eb417ef8d 100644 --- a/wiki/AI-Booking-Import.md +++ b/wiki/AI-Booking-Import.md @@ -90,8 +90,8 @@ The model is asked to capture the full booking — including **every leg of a mu ## Good to know -- **No new environment variables and no manual migration** — the addon is configured entirely in the UI. -- **Local inference can be slow.** On a CPU-only host a single booking can take tens of seconds to a couple of minutes; TREK allows local models up to 5 minutes per document. Uploads are parsed **one at a time** per user, so several files queue rather than run in parallel. +- **No manual migration**, and the addon is configured in the UI. The one environment variable it reads is `LLM_TIMEOUT_MS` (see [Environment-Variables](Environment-Variables)). +- **Local inference can be slow.** On a CPU-only host a single booking can take tens of seconds to a couple of minutes; TREK allows a model 15 minutes per document by default, which `LLM_TIMEOUT_MS` raises or lowers. Uploads are parsed **one at a time** per user, so several files queue rather than run in parallel. - **Parse jobs are kept for about 10 minutes** after they finish. Start the review within that window. - **Privacy** — with the Local provider nothing leaves your network. With OpenAI or Anthropic, the document's text (or, for Anthropic, the PDF itself) is sent to that provider for extraction. - **API keys are never returned in plaintext** — they are encrypted at rest and only ever shown masked. diff --git a/wiki/Environment-Variables.md b/wiki/Environment-Variables.md index dc59edbeb..58c6e20f5 100644 --- a/wiki/Environment-Variables.md +++ b/wiki/Environment-Variables.md @@ -274,7 +274,7 @@ Ubuntu 25.04+) or download the static binary directly and place it anywhere on ` the Reservations panel is hidden only when **neither** extractor is available — an instance running the AI Parsing addon still offers it with `bookingImport: false`. -Booking import can also fall back to an AI model for documents KDE Itinerary can't read. That feature (the **AI Parsing** addon) is configured entirely in the UI and needs no environment variables — see [AI-Booking-Import](AI-Booking-Import). +Booking import can also fall back to an AI model for documents KDE Itinerary can't read. That feature (the **AI Parsing** addon) is configured in the UI; the only environment variable it reads is `LLM_TIMEOUT_MS` below. See [AI-Booking-Import](AI-Booking-Import). ---