Skip to content

Latest commit

 

History

History
72 lines (62 loc) · 1.87 KB

workflow_diagrams.md

File metadata and controls

72 lines (62 loc) · 1.87 KB

Dev diagrams

Note: All diagrams are created using Mermaid.

1. Application flow

graph TD
    A[Start] --> B[Parse Command Line Arguments]
    B --> C[Validate Data Folder]
    C --> D[Load Configuration]
    D --> E[Initialize Components]
    E --> F{Collect Mode?}
    F -->|Yes| G[Collect Job Data]
    F -->|No| H[Start Job Application Process]
    G --> I[Save Data to JSON]
    H --> J[Login to AIHawk]
    J --> K[Search for Jobs]
    K --> L[Apply to Jobs]
    L --> M[Generate Reports]
    I --> N[End]
    M --> N
Loading

2. Job application process

sequenceDiagram
    participant User
    participant AIHawkBot
    participant AIHawk
    participant GPTAnswerer
    participant ResumeGenerator

    User->>AIHawkBot: Start application process
    AIHawkBot->>AIHawk: Login
    AIHawkBot->>AIHawk: Search for jobs
    loop For each job
        AIHawkBot->>AIHawk: Open job listing
        AIHawkBot->>GPTAnswerer: Generate answers for application questions
        AIHawkBot->>ResumeGenerator: Generate tailored resume
        AIHawkBot->>AIHawk: Fill application form
        AIHawkBot->>AIHawk: Upload resume and cover letter
        AIHawkBot->>AIHawk: Submit application
        AIHawkBot->>AIHawkBot: Log application result
    end
    AIHawkBot->>User: Display application summary
Loading

3. Resume generation process

graph TD
    A[Start Resume Generation] --> B[Extract Job Description]
    B --> C[Analyze Job Requirements]
    C --> D[Retrieve User Profile]
    D --> E[Generate Tailored Content]
    E --> F[Create PDF Resume]
    F --> G[Return Base64 Encoded PDF]
    G --> H[End Resume Generation]
Loading

4. GPTAnswerer workflow

graph LR
    A[Receive Question] --> B[Prepare Prompt]
    B --> C[Send to LLM Model]
    C --> D[Receive Response]
    D --> E[Parse Response]
    E --> F[Return Formatted Answer]
Loading