Move prompts to separate files and add prompt types

- Created directory structure for prompts (system and user prompts)
- Added specialized prompts for lectures, meetings, and interviews
- Updated enhancer.py to load prompts from files
- Added --prompt-type CLI parameter to select prompt type
- Updated documentation and enhancement proposals
This commit is contained in:
2025-05-22 21:28:36 +02:00
parent c47089aa0d
commit f00f29ab6b
9 changed files with 147 additions and 56 deletions
+4 -1
View File
@@ -61,7 +61,10 @@ def main():
# Enhance note (only if md file doesn't exist or force flag is set)
if not os.path.exists(md_path) or args.force:
try:
enhanced_note = enhance_note(transcription)
enhanced_note = enhance_note(
transcription,
prompt_type=args.prompt_type
)
with open(md_path, "w", encoding="utf-8") as f:
f.write(enhanced_note)
except Exception as e: