Johannes Kaindl Uplink Deutsch

LLM Lab

An Obsidian plugin that records the LLM calls other plugins make, as plain JSONL inside the vault, so the answers can be reviewed and rated.

Install from the Obsidian community store

Why this one

Several plugins here talk to local models, and none of them kept any record of how those calls went. LLM Lab is a quiet recorder they call once per interaction: one line per call with the model, the full message history, the response, timing, and whether it errored or hit a token limit. It never calls a model, never touches the network and never reads your notes, so on its own it records nothing; LingoTuner and Vault Retrieval report to it. A keyboard-driven view lets you rate recordings good or poor, and the ratings go into a dataset file meant as evaluation or fine-tuning material. The documentation is explicit about where its masking ends: it catches patterns such as e-mail addresses, IBANs, phone numbers and keys a caller hands over, and does not find names, addresses or diagnoses.

Under the hood

log() is fire-and-forget: it returns a trace id synchronously and writes asynchronously, so a caller mid-stream is never blocked. The contract between independent repositories is an apiVersion number checked at runtime instead of a compile-time dependency, and a folder exclusion drops a call before any record is built, for calls that report which notes went into them. Detail in the repo.

Online repository

git.jkaindl.de/jkaindl/llm-lab: code, releases, and the technical detail.


See also: obsidian