From a80c37097ba6a4957fa5efe7cc72871838460b16 Mon Sep 17 00:00:00 2001 From: Luc Stepniewski Date: Sat, 8 Nov 2025 01:39:35 +0100 Subject: [PATCH] Add rule for example prompt to keep the original language (#316) --- src-tauri/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/settings.rs b/src-tauri/src/settings.rs index 3beafe9..d6f6d28 100644 --- a/src-tauri/src/settings.rs +++ b/src-tauri/src/settings.rs @@ -311,7 +311,7 @@ fn default_post_process_prompts() -> Vec { vec![LLMPrompt { id: "default_improve_transcriptions".to_string(), name: "Improve Transcriptions".to_string(), - prompt: "Clean this transcript:\n1. Fix spelling, capitalization, and punctuation errors\n2. Convert number words to digits (twenty-five → 25, ten percent → 10%, five dollars → $5)\n3. Replace spoken punctuation with symbols (period → ., comma → ,, question mark → ?)\n4. Remove filler words (um, uh, like as filler)\n\nPreserve exact meaning and word order. Do not paraphrase or reorder content.\n\nReturn only the cleaned transcript.\n\nTranscript:\n${output}".to_string(), + prompt: "Clean this transcript:\n1. Fix spelling, capitalization, and punctuation errors\n2. Convert number words to digits (twenty-five → 25, ten percent → 10%, five dollars → $5)\n3. Replace spoken punctuation with symbols (period → ., comma → ,, question mark → ?)\n4. Remove filler words (um, uh, like as filler)\n5. Keep the language in the original version (if it was french, keep it in french for example)\n\nPreserve exact meaning and word order. Do not paraphrase or reorder content.\n\nReturn only the cleaned transcript.\n\nTranscript:\n${output}".to_string(), }] }