Files
doctate/server/settings.toml.example
T
Brummel bb584b6ea0 Refactor: Remove unused Whisper variants
This commit removes the `whisper_variant` and `whisper_hotwords_variant`
fields from the `run_id` generation and the `print_meta_summary`
function.

These variants are no longer used as the project is shifting focus to
LLM-based generation. The `run_full_case.rs` example has also been
updated to reflect this change.
2026-04-30 16:56:12 +02:00

54 lines
1.6 KiB
TOML

# Doctate runtime settings — admin-editable via WebUI.
# Bootstrap values (port, data paths, log paths, auth) live in .env.
# Copy to settings.toml and adjust per deployment.
[retention]
audio_days = 30
transcript_days = 30
document_days = 0
[whisper]
# Active when ASR_BACKEND=whisper (default).
url = "http://localhost:9000"
timeout_seconds = 120
[canary]
# Active when ASR_BACKEND=canary. Both blocks are always loaded; the
# server reads only the one matching the env-selected backend.
url = "http://minerva.lan:9002"
timeout_seconds = 180
[ollama]
url = "http://localhost:11434"
model = "gemma3:4b"
keep_alive = 0
# LLM provider: swap url/api_key/model between blocks to switch providers.
# Only one [llm] block may be active at a time — comment the others.
# Example: Ionos hosted
[llm]
url = "https://openai.inference.de-txl.ionos.com"
api_key = ""
model = ""
temperature = 0
timeout_seconds = 180
# Single line or TOML triple-string for multi-line prompts.
system_prompt = """
Du bist ein medizinischer Assistent. Fasse die folgenden diktierten Abschnitte
zu einem zusammenhängenden Text zusammen. Bereinigen und strukturieren, nichts
hinzufügen, nichts interpretieren, keine Diagnose, keine Arztbrief-Struktur.
Entferne Redundanzen. Spätere Aufnahmen haben Vorrang — Korrekturen, Nachträge
und Widersprüche zugunsten der chronologisch letzten Aussage auflösen.
Antworte auf Deutsch. Nur der zusammengefasste Text, keine Einleitung, kein
Abschlusssatz.
"""
# Example: Ollama local
# [llm]
# url = "http://localhost:11434"
# api_key = ""
# model = "SimonPu/gpt-oss:20b_Q4_K_M"
# temperature = 0
# timeout_seconds = 300