Skip to content

AI Error Diagnosis

When a machine reports an error, the answer is usually somewhere in the manual. AI diagnosis makes the gateway look it up: the viewer sends the error, and CONNECT answers with a probable cause, a remedy and the sources it used — the document, and where in it.

The knowledge base is your own PDF documentation. Operators can attach comments per error, so the second person to hit the same alarm finds what the first one did.

This feature is off by default and has to be enabled deliberately.

DocumentsPDF manuals in the gateway’s documentation folder. Subfolders act as categories
An LLM keyFor the language model that phrases the answer
Nothing in the browserThe browser never holds the key, the index or the document text
  1. Put the machine PDFs into the documentation folder of the gateway data directory. Use subfolders to separate, for example, mechanical from electrical documentation.
  2. Enable the feature and enter the model key in the configuration.
  3. Open the tray menu and choose Index Documentation now, or simply ask the first question — indexing runs on the first request.
  4. Verify with Test AI Query… in the tray menu.

Indexing is incremental: unchanged PDFs are never processed twice, and adding one document does not re-process the rest.

In the viewer, an error signal offers the diagnosis. The answer names its sources, and each source points at the document and page it came from — the answer is checkable, which is the point.

Answers are limited to a few requests per minute per gateway, so a flapping error signal cannot trigger a request storm.

Operators can attach comments to an error id and read what others wrote. Comments are stored either in a file next to the gateway configuration or, when the historian is in use, in InfluxDB — where they sit next to the recorded signal history of the same moment.

This deserves a precise answer rather than a reassuring one:

StepWhere it runs
Reading and splitting PDFsOn the gateway
Embedding (turning text into vectors)Through the configured cloud gateway — document text is sent for this step
SearchingOn the gateway
Re-ranking (optional)On the gateway, with a local model — no text leaves the machine
Phrasing the answerThrough the configured language model, with the retrieved passages

If your documentation is confidential, treat this as a decision, not a detail. The pipeline is prepared for a local embedding model, and re-ranking already runs locally today.

The index — which contains the full extracted document text — and the local models live in a private folder that the gateway never serves over HTTP.

With re-ranking enabled, the gateway retrieves broadly, ranks the candidates locally with a cross-encoder model, and hands only the best passages to the language model. This improves the answer noticeably on large documentation sets, and the ranking step involves no network at all.

A missing model file degrades gracefully: the pipeline runs without re-ranking and reports the model as missing rather than failing the request.

A gateway can be delivered with the documentation and its index already built in. The customer then gets working diagnosis on the first start, with no indexing wait and no re-processing. Documents added or edited on site survive later updates.