A free, open source, and extensible speech-to-text application that works completely offline.
Add rule for example prompt to keep the original language (#316)
Luc Stepniewskia80c37097ba6
diff --git a/src-tauri/src/settings.rs b/src-tauri/src/settings.rsindex 3beafe96..d6f6d28a 100644--- a/src-tauri/src/settings.rs+++ b/src-tauri/src/settings.rs@@ -311,7 +311,7 @@ fn default_post_process_prompts() -> Vec<LLMPrompt> {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(),}]}