How zhutyler21/ai_article_generator works
Document Processing Layer
• Two main components:
• PDF Processor (pdf_to_markdown.py)
• Word Document Processor (extract_bold.py)
Template Management Layer
• This in the middle layer
• Create two template repositories:
• Logic Framework Template (Logic_Outline_template.md)
• Writing Template (Writing_template.md)
AI Prompt System Layer
• This at the top layer
• Prompt.md as a central knowledge base
• Different prompt categories:
• Logic Framework Prompts
• Writing Template Prompts
• Literature Analysis Prompts
User Interaction Layer
• This as an overlay on the right side
• User input/output flows
• Interaction points with each layer
Component Labels
• Use clear, concise labels
• File names in smaller text
• Brief functionality descriptions
Process Flows
• Three main workflows:
1. Document Processing Flow
2. Template Application Flow
3. AI Assistance Flow
Integration Points
• How processed documents feed into the template system
• How AI prompts assist in both document processing and template usage
• Demonstrate the interaction between different components
Data Flow Patterns
• Transformation of documents from PDF/Word to Markdown
• How templates are applied to processed content
• Where AI assistance is available
System Boundaries
• Clearly delineate the three main subsystems
• External integration points
• Potential expansion points