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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user