Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Document v0.8.16-alpha features across release notes, user guide, and admin guide

Murtaza Nasir3d4139a6a6f7
diff --git a/README.md b/README.md
index db938c13..a656e039 100644
--- a/README.md
+++ b/README.md
@@ -181,23 +181,74 @@ Complete documentation is available at **[murtaza-nasir.github.io/speakr](https:
## Latest Release (v0.8.16-alpha)
-**Per-Recording Model Selection, API v1 Parity, and Backlog Cleanup**
+**Prompt Templating, Transcription UX Polish, Per-Recording Model Selection, and Observability**
-- **Per-Upload / Per-Tag / Per-Folder Transcription Model** - Set `TRANSCRIPTION_MODELS_AVAILABLE` and the upload form, in-app reprocess modal, and tag/folder edit forms all gain a model dropdown so different recordings can use different transcription models
-- **Configurable Embedding Model** - New `EMBEDDING_MODEL` env var swaps the default `all-MiniLM-L6-v2` for any sentence-transformers model. `EMBEDDING_BASE_URL`, `EMBEDDING_API_KEY`, and `EMBEDDING_DIMENSIONS` route embeddings through an OpenAI-compatible API instead (vLLM, OpenRouter, OpenAI, Together, etc.). Speakr warns at startup if the model or provider changes after embeddings are already stored.
-- **Mistral Voxtral Chunking** - `MISTRAL_ENABLE_CHUNKING=true` opts the Mistral connector into app-side chunking for very long meeting recordings that would otherwise time out near Voxtral's 3-hour limit
-- **API v1 Parity** - `/api/v1/recordings` and `/api/v1/recordings/{id}` now expose `audio_duration`, transcription/summarization durations, folder, events, and `deletion_exempt` for companion-app integrations
+**Prompt templating and summary control**
-**Bug Fixes**
+- **Prompt Template Variables** - Tag, folder, user-default, and admin-default summary prompts can contain `{{name}}` placeholders. Selecting a tag with `{{agenda}}` exposes an agenda input on the upload form; the value is stored on the recording, substituted into the prompt at summarisation time, and remains editable from the reprocess summary modal. Caps: 8,000 chars per value, 32,000 total. Single-pass `re.sub` substitution so values cannot introduce new placeholders or reach Python attributes.
+- **Append vs Replace Mode** - The reprocess summary modal and the new "Customise summary prompt" modal each let you Append text to the resolved prompt (combine your saved prompt with extra context) or Replace it entirely (use only the text you paste). Append mode runs variable substitution after the append step so appended text can use the same `{{var}}` placeholders.
+- **Customise Summary Prompt Split-Button** - A new control next to **Generate Summary** opens the Append/Replace modal for recordings that don't have a summary yet, so one-off context (an agenda, custom focus instructions) can be passed in without rewriting your saved prompt.
+- **Full LLM Prompt Structure Preview** - Both the admin Default Prompts page and the user Customise-prompts tab now show the complete two-message payload (system prompt with context block, user message with transcription wrapper and language directive). Placeholder chips colour-code system tokens (blue, replaced by the framework) versus user-supplied variables (amber). The user-side preview re-renders live as you type into your custom prompt.
+
+**Per-recording transcription control**
+
+- **Per-Upload / Per-Tag / Per-Folder Transcription Model** - Set `TRANSCRIPTION_MODELS_AVAILABLE` and the upload form, reprocess modal, and tag/folder edit forms all gain a model dropdown. Tag and folder edit forms warn if a previously-selected default is no longer in the configured list. The dropdown is hidden when only one option would be visible.
+- **Admin-Managed Transcription Model List** - When the connector exposes `/v1/models` discovery, admins can curate the list from the dashboard rather than via env var. Stored in the database; overrides `TRANSCRIPTION_MODELS_AVAILABLE` when set.
+- **Per-Connector Capability Gating** - The hotwords, initial-prompt, and speaker-count UI elements are now hidden for connectors that don't support them, instead of accepting input that is silently ignored.
+- **Mistral Voxtral Chunking** - `MISTRAL_ENABLE_CHUNKING=true` (with `MISTRAL_MAX_DURATION_SECONDS`) opts the Mistral connector into app-side chunking for recordings approaching Voxtral's 3-hour timeout.
+
+**ASR transcript editor**
+
+- **Autosave** - Saves edits 2 seconds after the last keystroke when the user opts in (`Account → Preferences → Autosave editor`).
+- **Save Without Closing + Ctrl+S** - New button keeps the editor open after saving; Ctrl+S triggers a save from anywhere in the editor.
+- **Scroll Memory** - Reopening the editor restores the previous scroll position instead of jumping to the top.
+- **Double-Click to Edit** - Double-clicking a transcript row in the simple view jumps into the editor with that segment highlighted.
+- **Row Highlight After Jump** - Briefly tints the row when navigating into it from the simple view so the target is obvious.
+
+**Account preferences**
+
+- **Preferences Tab** - Account settings has a new **Preferences** tab (split from the language settings) using a two-column layout for transcript display, editor behaviour, and language preferences.
+- **Compact Timestamps** - Optional `mm:ss` (or `h:mm:ss`) timestamps in the simple transcript view, rendered as a two-part pill alongside the speaker label. The leading segment shows "Start" instead of `00:00`.
+- **Persist Recording-List Sort** - The Created date / Meeting date toggle now sticks across reloads and sessions on the same browser (#263).
+
+**Embeddings and inquire mode**
+
+- **Configurable Embedding Model** - `EMBEDDING_MODEL` swaps `all-MiniLM-L6-v2` for any sentence-transformers model.
+- **API-Mode Embeddings** - `EMBEDDING_BASE_URL`, `EMBEDDING_API_KEY`, and `EMBEDDING_DIMENSIONS` route embeddings through any OpenAI-compatible provider (vLLM, OpenRouter, OpenAI, Together, etc.). Inquire startup banner reflects the active provider.
+- **Embedding Token Tracking + Re-Embed-All** - The Vector Store admin tab now tracks embedding API token usage and cost separately from LLM usage, and exposes a "Re-embed all" action for after a model or dimensionality change. Speakr warns at startup if the embedding identifier changed since data was stored.
+
+**Observability and admin**
+
+- **Per-Operation Token Stats** - Admin token statistics now break out title, summary, chat, event extraction, and embeddings as separate categories with their own cards and charts. Embedding usage is shown as a distinct cost line.
+- **Granular Token Budgets** - `TITLE_MAX_TOKENS` and `EVENT_MAX_TOKENS` join the existing `SUMMARY_MAX_TOKENS` / `CHAT_MAX_TOKENS` so reasoning models that consume budget on hidden thinking tokens can be tuned per operation. The resolved `max_tokens` is logged with each LLM call.
+- **LLM Timeout Visibility** - The configured `LLM_REQUEST_TIMEOUT` is logged at startup, and `APITimeoutError` log entries now include elapsed time so it is clear whether the timeout was the actual bound that fired.
+
+**API v1**
+
+- **Folder CRUD** - New `/api/v1/folders` endpoints for list, create, update, delete.
+- **Connector Discovery** - New endpoint exposing the active transcription connector and its capabilities for companion-app integrations.
+- **Recording Field Parity** - `/api/v1/recordings` and `/api/v1/recordings/{id}` now expose `audio_duration`, transcription/summarization durations, folder, events (detail only), `deletion_exempt`, `prompt_variables`, and the per-recording transcription model.
+- **Forwarded Per-Request Overrides** - The `/api/v1/transcribe` endpoint now forwards `transcription_model`, `hotwords`, and `initial_prompt`. The custom-ASR-endpoint connector forwards a `?model=` query param so WhisperX runtime model switching works through the API.
+
+**Bug fixes**
+
+- Reprocessing now applies tag/folder/user default hotwords + initial_prompt (#265, previously only at upload time)
+- Legacy user records with `transcription_language="français"` are normalised to ISO 639-1 codes on upgrade so WhisperX no longer 500s on display names (#256)
+- Title generation no longer leaks `\\uXXXX` escape sequences into the LLM prompt for non-ASCII transcripts; truncation now happens after `format_transcription_for_llm` (#260)
+- The Vector Store "recordings to process" message now uses the i18n params API instead of inline brace replace
+- CSRF token added to the Preferences form so submissions are accepted
+
+**Infrastructure**
-- Reprocessing now applies tag/folder/user default hotwords + initial_prompt (previously only worked at upload time)
-- Legacy user records with `transcription_language="français"` are normalised to ISO 639-1 codes on upgrade — no more 500s from WhisperX rejecting display names
-- Title generation no longer leaks `\\uXXXX` escape sequences into the LLM prompt for non-ASCII transcripts (truncation order bug)
+- **Vitest Frontend Tests** - Pure-helper modules in `static/js/modules/utils/` are now covered by Vitest. Run `npm test`. Currently exercises the prompt-variable extraction and priority-chain logic.
**Docs**
- nginx reverse-proxy `proxy_request_buffering off` and `client_max_body_size` notes for large uploads
- Google Gemini OpenAI-compatible endpoint setup example
+- Prompt template variables guide
+- Per-upload / per-tag / per-folder model selection documentation
+- `EMBEDDING_BASE_URL` API mode documentation across inquire-mode, vector-store, and troubleshooting
### Previous Release (v0.8.15-alpha)
diff --git a/docs/admin-guide/model-configuration.md b/docs/admin-guide/model-configuration.md
index 3cd463c3..39f79f00 100644
--- a/docs/admin-guide/model-configuration.md
+++ b/docs/admin-guide/model-configuration.md
@@ -376,6 +376,13 @@ SUMMARY_MAX_TOKENS=8000
# Optional: Maximum tokens for chat responses (default: 2000)
CHAT_MAX_TOKENS=2000
+# Optional: Maximum tokens for AI title generation (default: 100)
+# Bump for reasoning models (o1, Kimi 2.5, etc.) that consume budget on hidden thinking tokens
+TITLE_MAX_TOKENS=200
+
+# Optional: Maximum tokens for event extraction from transcripts (default: 4000)
+EVENT_MAX_TOKENS=4000
+
# GPT-5 specific (only used with GPT-5 models and OpenAI API)
GPT5_REASONING_EFFORT=medium # minimal, low, medium, high
GPT5_VERBOSITY=medium # low, medium, high
@@ -419,6 +426,14 @@ The override is propagated to the connector via the `model` field on `Transcript
For a WhisperX backend, list Whisper variants (`large-v3`, `medium`, `distil-medium.en`, etc.). For OpenAI's API, list `whisper-1`, `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, `gpt-4o-transcribe-diarize`. Mixing providers in one dropdown is a planned feature for a future release.
+### Admin-Managed Model List with `/v1/models` Discovery
+
+For connectors that expose an OpenAI-compatible `/v1/models` endpoint (OpenAI, Azure OpenAI, vLLM, and the WhisperX ASR service when configured to advertise its loaded models), admins can curate the available list directly from the **Default Prompts → Transcription Models** section of the admin dashboard rather than via env var. Click "Refresh from connector" to query `/v1/models`, tick the models you want users to see, and save.
+
+The DB-backed list (stored in the `system_setting` table) overrides `TRANSCRIPTION_MODELS_AVAILABLE` when set. To revert to env-var control, clear the list in the dashboard. The env var is still useful for installations where the connector does not advertise its models or where you want config-as-code behaviour.
+
+When a connector returns a richer model object (display name, description, supported languages), those fields are used to render the dropdown labels. Otherwise the model id is used as both id and label, the same as with `TRANSCRIPTION_MODEL_LABELS`.
+
## Configurable Embedding Model
Speakr's Inquire mode (semantic search) uses [sentence-transformers](https://www.sbert.net/) to embed transcript chunks locally by default. The default model is `all-MiniLM-L6-v2` (384-dim vectors), which is fast, small, and sufficient for most use cases.
diff --git a/docs/admin-guide/statistics.md b/docs/admin-guide/statistics.md
index 20f8cf08..4944f8af 100644
--- a/docs/admin-guide/statistics.md
+++ b/docs/admin-guide/statistics.md
@@ -36,9 +36,11 @@ Use these insights proactively. If you see storage growing at 50GB monthly and y
## Token Usage Statistics
-The Token Usage section provides visibility into LLM API consumption across your instance. Four summary cards show today's usage, monthly totals, estimated costs, and any users approaching their budget limits.
+The Token Usage section provides visibility into LLM API consumption across your instance. Two cards split usage between **LLM operations** (title generation, summarization, chat, event extraction) and **embeddings** (Inquire mode), since they typically come from different providers and the embedding cost is otherwise easy to miss.
-**Daily and Monthly Charts**: Interactive charts display token consumption trends over the last 30 days and 12 months. These visualizations help identify usage patterns and predict future costs.
+**Per-Operation Breakdown**: LLM token usage is broken down by operation type so you can see where the spend is going. Title generation, summarization, chat, and event extraction each get their own line with input tokens, output tokens, and estimated cost. Embedding usage is shown as a separate card with its own daily/monthly chart, so a model swap or a re-embed-all run is visible without polluting the LLM-side numbers. This separation matters because the embedding API price (per million tokens) is usually orders of magnitude lower than chat-completion pricing, and mixing them makes both numbers harder to read.
+
+**Daily and Monthly Charts**: Interactive charts display token consumption trends over the last 30 days and 12 months for both LLM and embedding usage. These visualisations help identify usage patterns and predict future costs.
**Per-User Breakdown**: A detailed table shows each user's monthly token consumption alongside their budget limit (if set). Progress bars indicate how much of their budget has been used:
@@ -46,7 +48,7 @@ The Token Usage section provides visibility into LLM API consumption across your
- Yellow: Between 80-100% (warning zone)
- Red: At or over 100% (blocked)
-**Cost Tracking**: When using OpenRouter or other providers that return cost information, the statistics include estimated costs based on actual API responses. This helps with budgeting and identifying high-cost operations.
+**Cost Tracking**: When using OpenRouter or other providers that return cost information, the statistics include estimated costs based on actual API responses. For embeddings, the cost is calculated from the configured per-million-token price for the active embedding provider. This helps with budgeting and identifying high-cost operations.
Use token statistics to identify heavy users, validate budget allocations, and forecast API costs. If certain users consistently hit their limits, you may need to increase their budgets or investigate their usage patterns. See [Token Budget Management](user-management.md#token-budget-management) for setting individual user limits.
diff --git a/docs/admin-guide/vector-store.md b/docs/admin-guide/vector-store.md
index e0d287d5..9d44fb2a 100644
--- a/docs/admin-guide/vector-store.md
+++ b/docs/admin-guide/vector-store.md
@@ -49,6 +49,18 @@ When the system shows recordings need processing but progress isn't advancing, s
The processing system is designed to be resilient. If processing fails for a specific recording, the system marks it and moves on rather than getting stuck. These failures appear in your logs and might require manual intervention to resolve.
+## Re-Embed All
+
+The **Re-embed all** button at the top of the Vector Store tab clears every stored embedding and queues every recording for re-processing through the current embedding configuration. Use it after changing `EMBEDDING_MODEL`, switching from local to API-mode (`EMBEDDING_BASE_URL`), or changing `EMBEDDING_DIMENSIONS`, since old vectors generated by the previous configuration cannot be compared meaningfully against new query vectors.
+
+A confirmation modal appears before the action runs. Re-embedding a large library is bandwidth-intensive when API-mode is configured (every chunk goes back to the embedding provider) and CPU-intensive in local mode, so plan for the workload. Embedding token usage from the run shows up on the Statistics tab's separate embedding card so you can attribute the cost cleanly.
+
+If only a subset of recordings is affected by the configuration change (for example, you re-uploaded one folder), reprocessing those recordings individually is more efficient than the global re-embed.
+
+## Embedding Token Tracking
+
+The Vector Store tab also shows embedding API token usage and estimated cost when API-mode is configured (`EMBEDDING_BASE_URL` is set). This is tracked separately from LLM operations because embedding pricing is typically much lower per token but request volume is much higher (every chunk of every recording is one or more requests). The same numbers feed the dedicated embedding card on the Statistics tab — see [System Statistics](statistics.md#token-usage-statistics) for the per-day and per-month breakdown.
+
## Optimizing Performance
Processing performance depends heavily on your system resources. The embedding model needs about 500MB of RAM when loaded, plus additional memory for processing text. CPU speed directly impacts how quickly embeddings are generated - a modern multi-core processor can handle several recordings simultaneously.
diff --git a/docs/index.md b/docs/index.md
index 33a16815..b6bb8a8b 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -146,13 +146,60 @@ Learn more about [audio synchronization features](user-guide/transcripts.md#audi
## Latest Updates
-!!! info "Version 0.8.16-alpha - Per-Recording Model Selection & Backlog Cleanup"
- - **Per-Upload / Per-Tag / Per-Folder Transcription Model** - Set `TRANSCRIPTION_MODELS_AVAILABLE` to expose a model dropdown
- - **Configurable Embedding Model** - `EMBEDDING_MODEL` for local models, or `EMBEDDING_BASE_URL` to offload embeddings to an OpenAI-compatible provider (vLLM, OpenRouter, OpenAI, etc.)
+!!! info "Version 0.8.16-alpha - Prompt Templating, Transcription UX, and Observability"
+ **Prompt templating and summary control**
+
+ - **Prompt Template Variables** - `{{name}}` placeholders in tag, folder, user-default, and admin-default summary prompts; values entered on the upload form, stored on the recording, and editable via reprocess
+ - **Append vs Replace Mode** - Reprocess summary modal and the new Customise summary prompt modal each let you Append to or Replace the resolved prompt
+ - **Customise Summary Prompt Split-Button** - A control next to **Generate Summary** opens the Append/Replace modal for recordings without a summary yet
+ - **Full LLM Prompt Structure Preview** - Admin and account pages show the complete two-message payload with chip-coded placeholders (blue for system tokens, amber for user variables); the user-side preview re-renders live as you type
+
+ **Per-recording transcription control**
+
+ - **Per-Upload / Per-Tag / Per-Folder Transcription Model** - `TRANSCRIPTION_MODELS_AVAILABLE` exposes a model dropdown across upload, reprocess, and tag/folder edit forms
+ - **Admin-Managed Model List** - Connectors with `/v1/models` discovery let admins curate the list from the dashboard
+ - **Per-Connector Capability Gating** - Hotwords, initial-prompt, and speaker-count UI hidden for connectors that don't support them
- **Mistral Voxtral Chunking** - `MISTRAL_ENABLE_CHUNKING=true` opts into app-side chunking for long recordings
- - **API v1 Parity** - `audio_duration`, transcription/summarization durations, folder, events, and `deletion_exempt` exposed
- - **Bug Fixes** - Reprocess now applies tag/folder hotwords; "français" → "fr" migration; Cyrillic title fix
- - **Docs** - nginx large-upload settings, Google Gemini OpenAI-compatible setup
+
+ **ASR transcript editor**
+
+ - **Autosave** - Saves 2s after the last keystroke when opted in
+ - **Save Without Closing + Ctrl+S** - New button keeps the editor open; Ctrl+S triggers save from anywhere in the editor
+ - **Scroll Memory** - Reopening the editor restores the previous scroll position
+ - **Double-Click to Edit** - Double-clicking a transcript row jumps into the editor with that segment highlighted
+
+ **Account preferences**
+
+ - **Preferences Tab** - New tab (split from Languages) with two-column layout for transcript display, editor behaviour, and language preferences
+ - **Compact Timestamps** - Opt-in `mm:ss` timestamps as two-part pill with speaker label; "Start" label on the leading segment
+ - **Persist Recording-List Sort** - Created/Meeting date toggle persists across sessions per browser (#263)
+
+ **Embeddings and inquire mode**
+
+ - **Configurable Embedding Model** - `EMBEDDING_MODEL` for local models
+ - **API-Mode Embeddings** - `EMBEDDING_BASE_URL`, `EMBEDDING_API_KEY`, `EMBEDDING_DIMENSIONS` route embeddings through any OpenAI-compatible provider
+ - **Embedding Token Tracking + Re-Embed-All** - Vector Store tab tracks embedding API cost separately and exposes a re-embed action
+
+ **Observability and admin**
+
+ - **Per-Operation Token Stats** - Title, summary, chat, event extraction, and embeddings as separate cards and charts
+ - **Granular Token Budgets** - `TITLE_MAX_TOKENS` and `EVENT_MAX_TOKENS` join the existing `SUMMARY_MAX_TOKENS` / `CHAT_MAX_TOKENS`
+ - **LLM Timeout Visibility** - Configured timeout logged at startup; `APITimeoutError` log entries include elapsed time
+
+ **API v1**
+
+ - **Folder CRUD** + **Connector Discovery** endpoints
+ - **Recording Field Parity** - `audio_duration`, durations, folder, events, `deletion_exempt`, `prompt_variables`, transcription model
+ - **Forwarded Overrides** - `/api/v1/transcribe` forwards `transcription_model`, `hotwords`, `initial_prompt`; custom-ASR connector forwards `?model=` for WhisperX runtime switching
+
+ **Bug fixes**
+
+ - Reprocess now applies tag/folder/user default hotwords + initial_prompt (#265)
+ - Legacy `transcription_language="français"` normalised to ISO 639-1 on upgrade (#256)
+ - Title generation no longer leaks `\\uXXXX` escapes for non-ASCII transcripts (#260)
+ - CSRF token on Preferences form
+
+ **Docs** - prompt template variables guide; per-upload/tag/folder model selection; `EMBEDDING_BASE_URL` API mode across inquire-mode/vector-store/troubleshooting; nginx large-upload settings; Google Gemini OpenAI-compatible setup
!!! info "Version 0.8.15-alpha - New Transcription Connectors & Upload API"
- **Mistral/Voxtral Connector** - Cloud-based transcription with built-in speaker diarization via Mistral's Voxtral models
diff --git a/docs/user-guide/folders.md b/docs/user-guide/folders.md
index 40cdf556..7a12ceaf 100644
--- a/docs/user-guide/folders.md
+++ b/docs/user-guide/folders.md
@@ -34,15 +34,16 @@ Each folder can have custom settings that apply to recordings placed in it:
| Setting | Description |
|---------|-------------|
-| **Custom Prompt** | AI summarization instructions specific to this folder |
+| **Custom Prompt** | AI summarization instructions specific to this folder. May include `{{name}}` placeholders that are filled at upload time — see [Prompt Variables](settings.md#prompt-variables) |
| **Default Language** | Transcription language for new recordings |
+| **Default Transcription Model** | Model the transcription connector should use when an admin has configured `TRANSCRIPTION_MODELS_AVAILABLE` (or curated a list from the admin dashboard) |
| **Min/Max Speakers** | Speaker count hints for ASR diarization |
| **Hotwords** | Comma-separated vocabulary hints for transcription accuracy |
| **Initial Prompt** | Context description to guide transcription |
| **Retention Days** | Override global retention for recordings in this folder |
| **Protection** | Exempt folder contents from auto-deletion |
-These settings work like tag settings - when you add a recording to a folder, the folder's custom prompt and ASR settings are applied during processing.
+These settings work like tag settings - when you add a recording to a folder, the folder's custom prompt and ASR settings are applied during processing. Tag-level defaults take precedence over folder-level defaults; per-upload selections take precedence over both.
## Using Folders
diff --git a/docs/user-guide/recording.md b/docs/user-guide/recording.md
index 3e4b7691..cc07cf82 100644
--- a/docs/user-guide/recording.md
+++ b/docs/user-guide/recording.md
@@ -132,6 +132,16 @@ The **Initial Prompt** field provides context to the transcription engine about
Both fields follow a precedence hierarchy: values you set in the upload form override tag defaults, which override folder defaults, which override your personal defaults in [account settings](settings.md#custom-prompts-tab). If you regularly transcribe similar content, set your defaults at the tag or user level so you don't have to enter them every time.
+#### Transcription Model
+
+When your administrator has configured `TRANSCRIPTION_MODELS_AVAILABLE` (or curated a model list from the admin dashboard), the upload form gains a **Transcription model** dropdown that lets you pick the specific model used for this recording. The default option uses whichever model the resolved tag, folder, or admin default specifies. The dropdown is hidden if only one option would be available, since there is no real choice to offer.
+
+Like hotwords and initial prompt, the resolved model follows the precedence chain: per-upload selection beats tag default beats folder default beats the admin default. This is useful when you want to use a higher-quality model for an important recording without changing your defaults, or to fall back to a faster model for a quick transcript.
+
+#### Prompt Variables
+
+If a selected tag, folder, or your account default summary prompt contains `{{name}}` placeholders (for example `{{agenda}}` or `{{location}}`), the upload form shows a **Prompt variables** panel under the tag picker with one input per placeholder. Values entered here are stored on the recording and substituted into the summary prompt at summarisation time. See the [Prompt Variables guide](settings.md#prompt-variables) for the full feature.
+
### Final Actions
At the bottom of the modal, you have three options for proceeding. The "Upload" or "Start Processing" button begins transcription immediately with your selected settings. The recording will appear in your library with a processing indicator while transcription runs in the background. The "Discard" option deletes the recording without saving, useful if you made a test recording or captured the wrong content. Some configurations may also offer a "Save Draft" option to store the recording without processing it immediately.
diff --git a/docs/user-guide/settings.md b/docs/user-guide/settings.md
index 82486ba8..c98f8a8d 100644
--- a/docs/user-guide/settings.md
+++ b/docs/user-guide/settings.md
@@ -235,7 +235,13 @@ Tags can also carry default **hotwords** and an **initial prompt** to improve tr
For example, a "Medical Rounds" tag might include hotwords like `epinephrine, tachycardia, intubation` and an initial prompt like "This is a medical team discussion about patient care in an ICU setting." When you upload a recording with this tag, these hints are automatically applied during transcription.
-These values follow a precedence hierarchy: upload form values take highest priority, then tag defaults, then folder defaults, then your personal defaults in [account settings](#custom-prompts-tab).
+These values follow a precedence hierarchy: upload form values take highest priority, then tag defaults, then folder defaults, then your personal defaults in [account settings](#custom-prompts-tab). They apply both at initial upload and when reprocessing the transcription, so changes you make to a tag's defaults will affect future reprocesses of recordings carrying that tag.
+
+### Default Transcription Model
+
+When your administrator has configured a transcription model list (via `TRANSCRIPTION_MODELS_AVAILABLE` or the admin dashboard), tag and folder edit forms gain a **Default transcription model** dropdown. Recordings with that tag will use the chosen model unless the upload form, folder default, or admin default overrides it. The precedence chain mirrors hotwords and initial prompt: per-upload selection beats tag default beats folder default beats admin default.
+
+If a tag has a default model set and the model is later removed from the configured list, the edit form shows a compact warning so you know to pick a replacement. The default itself is preserved in the database in case the model is added back, and the precedence chain falls through to the next available layer in the meantime.
### Managing Tags
diff --git a/docs/user-guide/transcripts.md b/docs/user-guide/transcripts.md
index 6eedf765..e88f5ed2 100644
--- a/docs/user-guide/transcripts.md
+++ b/docs/user-guide/transcripts.md
@@ -62,6 +62,20 @@ The ASR editor maintains the JSON structure of your transcription, which is esse
Your edits are saved to the database when you click "Save Changes". The system maintains a record that the transcription has been manually edited, which is useful for quality control and audit purposes. Note that if you reprocess the transcription later with full transcription reprocessing, your manual edits will be overwritten. To preserve your edits while updating the summary, use summary-only reprocessing instead.
+#### Editor Productivity Features
+
+The ASR editor includes several quality-of-life features for working through long transcripts:
+
+**Autosave**: When enabled in your account preferences (`Account → Preferences → Autosave editor`), edits are saved automatically two seconds after the last keystroke. The Save indicator briefly flashes "Saved" each time a save completes. Autosave is opt-in so users who prefer explicit control over save points can leave it off.
+
+**Save Without Closing**: The save button next to the close button keeps the editor open after saving, useful when you want to commit progress mid-edit without losing your scroll position.
+
+**Ctrl+S**: Pressing `Ctrl+S` (or `Cmd+S` on macOS) anywhere in the editor saves without closing. Equivalent to clicking the save-without-closing button.
+
+**Scroll Memory**: The editor remembers your scroll position when you close it. Reopening the editor for the same recording returns you to where you were instead of jumping to the top.
+
+**Double-Click to Edit**: Double-clicking any segment in the simple transcript view opens the ASR editor and scrolls directly to that segment. The target row is briefly highlighted so it stands out among the others.
+
## View Options
The transcription panel offers two display modes to suit different preferences:
@@ -70,6 +84,8 @@ The transcription panel offers two display modes to suit different preferences:
The default simple view presents the transcription as flowing text with inline speaker labels. This format is ideal for reading through content quickly and copying text for use in other applications. The clean, document-like appearance makes it easy to focus on the content without visual distractions.
+When the **Show timestamps in simple view** preference is on (`Account → Preferences → Transcript Display`), each segment is preceded by a compact `mm:ss` (or `h:mm:ss` for longer recordings) timestamp paired with the speaker label as a two-part pill. The leading segment displays "Start" instead of `00:00` to read as a label rather than a bare number. Double-clicking the pill or its row opens the ASR editor at that segment.
+
### Bubble View
The bubble view formats the transcription like a chat conversation, with each speaker's contributions in separate message bubbles. This format works particularly well for interviews, debates, or any recording with back-and-forth dialogue. The visual separation makes it easier to follow who said what in rapid exchanges.
@@ -155,11 +171,21 @@ The summary is fully editable using a markdown editor similar to the one in the
You can export the summary in multiple ways. The copy button copies the entire summary to your clipboard in markdown format, ready to paste into emails, documents, or other applications. The download button exports the summary as a Microsoft Word (.docx) file, preserving formatting and making it easy to share with colleagues who prefer traditional documents. The downloaded file is named using the recording title and date for easy identification.
+### Customise Summary Prompt at Generation Time
+
+For recordings without a summary yet, the **Generate Summary** button is paired with a small slider icon. Clicking the slider opens a Customise summary prompt modal that lets you supply one-off context (an agenda, a specific focus, additional constraints) before the first summary is generated. The modal supports two modes:
+
+**Append**: combines your saved prompt (or the resolved tag/folder/user/admin prompt) with the text you paste. Useful when you want your usual structure plus extra per-recording context. This is the default mode because most ad-hoc context is additive.
+
+**Replace**: uses only the text you paste, ignoring all higher-priority prompts for this single generation.
+
+The modal is the recommended way to add a meeting agenda or one-off instructions when you don't want to create a tag for it. If you turn off auto-summarisation in account preferences, the workflow becomes: upload, wait for transcription, click the slider next to Generate Summary, paste your context, and submit.
+
### Reprocessing Summaries with Custom Prompts
Speakr provides powerful flexibility when you need to regenerate a summary with different instructions. The summary reprocessing feature allows you to experiment with various prompts without permanently changing your recording's configuration.
-To reprocess a summary, click the reprocess button in the summary toolbar. This opens the reprocessing modal, which offers three distinct prompt options:
+To reprocess a summary, click the reprocess button in the summary toolbar. This opens the reprocessing modal, which offers three distinct prompt options plus an Append/Replace mode toggle:
**Use Default Prompt**: This option applies the standard prompt hierarchy based on your current settings—using tag prompts if present, falling back to your personal prompt, then the admin default, and finally the system fallback. This is useful when you want to update the summary using your standard configuration, perhaps after editing the transcription.
@@ -167,12 +193,18 @@ To reprocess a summary, click the reprocess button in the summary toolbar. This
When you select a tag, a preview displays the first portion of that tag's custom prompt, helping you confirm you've chosen the right one. This preview is especially helpful when you've created multiple tags with similar names but different focuses.
-**Enter Custom Prompt**: For complete control, you can enter a one-time custom prompt directly in the reprocessing modal. This freeform text field lets you provide specific instructions for this single regeneration without saving the prompt anywhere. This is ideal for edge cases where you need a unique perspective on the content—perhaps "Extract all technical terms and their definitions" or "Create a summary focusing only on budget discussions" or "List all mentioned deadlines in chronological order." Your custom prompt completely overrides all other prompts, giving the AI entirely new instructions for how to process the transcription.
+**Enter Custom Prompt**: For complete control, you can enter a one-time custom prompt directly in the reprocessing modal. This freeform text field lets you provide specific instructions for this single regeneration without saving the prompt anywhere. This is ideal for edge cases where you need a unique perspective on the content—perhaps "Extract all technical terms and their definitions" or "Create a summary focusing only on budget discussions" or "List all mentioned deadlines in chronological order."
+
+**Append vs Replace mode**: when a tag prompt or custom prompt is selected, you can choose whether it **Replaces** the resolved default (the historic behaviour) or is **Appended** as additional context after the resolved default. Append mode is useful when your standard prompt produces good structure but you want to nudge a specific run toward a particular focus without rewriting the whole prompt.
The custom prompt option is temporary and won't affect future regenerations or other recordings. If you find yourself using the same custom prompt repeatedly, consider creating a new tag with that prompt in your account settings so you can easily reuse it.
After selecting your prompt source and any additional options, the system processes only the summary—your transcription remains untouched. This means you can experiment freely with different summary approaches without any risk to your original content. The reprocessing respects your current transcription, including any manual edits you've made, and generates a fresh summary based solely on the prompt you've chosen.
+#### Editing Stored Prompt Variables on Reprocess
+
+If the recording was uploaded with a tag, folder, or user-default prompt that uses `{{name}}` placeholders, the values you supplied at upload time are stored on the recording and pre-filled into the reprocess modal. You can edit them before regenerating. Updated values are persisted on the recording so subsequent reprocesses (and exports referencing the variables) see the new values. See the [Prompt Variables guide](settings.md#prompt-variables) for the full feature.
+
## Event Extraction
When event extraction is enabled in your account settings, Speakr automatically identifies calendar-worthy events from your recordings during the summary generation process. This feature intelligently detects meetings, deadlines, appointments, and other time-sensitive items mentioned in your conversations.