# rabbia-hassan/generative-ai-for-everyone architecture

> Architecture diagram of the GitHub repository rabbia-hassan/generative-ai-for-everyone, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-03-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rabbia-hassan/generative-ai-for-everyone
- Repository: https://github.com/rabbia-hassan/generative-ai-for-everyone

## Overview

##### Main Components
- Course Overview / Repository Root: Represented by the README.md file that provides the overall course description, references, certificate links, and navigation links to the content.
- Lectures: The “lectures” directory contains PDF slides (e.g., W1.pdf, W2.pdf, W3.pdf) and represents the synchronous or guided lecture material.

##### Relationships & Interactions
– Quiz Materials (PDF quiz documents)
– Code Activities (Jupyter notebooks in Week 2)
- For Week 2 in particular, show an internal interaction between the code notebook that demonstrates prompting an LLM and another notebook for reputation monitoring.
- The “lectures” folder is linked directly to the week modules (for instance, Week 1 lectures correspond to Week 1 slides, etc.), indicating synchronous course support.

##### Architectural Patterns and Elements
- Modular Organization: The course is split into several independent modules (weeks), each self-contained in terms of content – quizzes, assignments, and supporting lectures.
– Rectangles for PDFs (quizzes, slides)
– Rounded rectangles for interactive Jupyter notebooks

– Week 1: Include “Quiz 1: What is Generative AI” and “Quiz 2: Generative AI Applications”
– Week 2: Include “Quiz 1: Software Applications”, “Quiz 2: Advanced Technologies Beyond Prompting”, “Activity 1: Prompting an LLM” (Jupyter notebook), and “Activity 2: Reputation Monitoring System” (Jupyter notebook)
– Week 3: Include “Quiz 1: Generative AI and Business” and “Quiz 2: Generative AI and Society”
- A component or note for “Additional Resources” linking to the “How to find number of Tokens” image and external certificate/references.

## Diagram (Mermaid)

```mermaid
graph TD
    R["Generative-AI-for-Everyone Repository"]:::course

    W1M["Week 1 Module"]:::module
    W2M["Week 2 Module"]:::module
    W3M["Week 3 Module"]:::module
    L["Lectures"]:::lecture

    R -->|"pointsTo"| W1M
    R -->|"pointsTo"| W2M
    R -->|"pointsTo"| W3M
    R -->|"pointsTo"| L

    %% Week 1 Details
    W1M --> W1Q1["Quiz 1: What is Generative AI"]:::quiz
    W1M --> W1Q2["Quiz 2: Generative AI Applications"]:::quiz

    %% Week 2 Details
    W2M --> W2Q1["Quiz 1: Software Applications"]:::quiz
    W2M --> W2Q2["Quiz 2: Advanced Technologies Beyond Prompting"]:::quiz
    W2M --> W2A1["Activity 1: Prompting an LLM"]:::code
    W2M --> W2A2["Activity 2: Reputation Monitoring System"]:::code
    W2A1 -->|"triggers"| W2A2

    %% Week 3 Details
    W3M --> W3Q1["Quiz 1: Generative AI and Business"]:::quiz
    W3M --> W3Q2["Quiz 2: Generative AI and Society"]:::quiz

    %% Lectures Details
    L --> L1["Lecture Slide: W1.pdf"]:::lecture
    L --> L2["Lecture Slide: W2.pdf"]:::lecture
    L --> L3["Lecture Slide: W3.pdf"]:::lecture

    %% Linking Modules to their Corresponding Lecture Slides
    W1M -->|"hasLecture"| L1
    W2M -->|"hasLecture"| L2
    W3M -->|"hasLecture"| L3

    %% Click Events
    click R "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/README.md"
    click W1M "https://github.com/rabbia-hassan/generative-ai-for-everyone/tree/master/Week 1"
    click W1Q1 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 1/Week 1 Quiz 1 What is Generative AI.pdf"
    click W1Q2 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 1/Week 1 Quiz 2 Generative AI applications.pdf"
    click W2M "https://github.com/rabbia-hassan/generative-ai-for-everyone/tree/master/Week 2"
    click W2Q1 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 2/Week 2 Quiz 1 Software Applications.pdf"
    click W2Q2 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 2/Week 2 Quiz 2 Advanced technologies Beyond prompting.pdf"
    click W2A1 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 2/GENAI4E_Activity 1.ipynb"
    click W2A2 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 2/GENAI4E_Activity2.ipynb"
    click W3M "https://github.com/rabbia-hassan/generative-ai-for-everyone/tree/master/Week 3"
    click W3Q1 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 3/Week 3 Quiz 1 Generative AI and business.pdf"
    click W3Q2 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/Week 3/Week 3 Quiz 2 Generative AI and society.pdf"
    click L "https://github.com/rabbia-hassan/generative-ai-for-everyone/tree/master/lectures"
    click L1 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/lectures/W1.pdf"
    click L2 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/lectures/W2.pdf"
    click L3 "https://github.com/rabbia-hassan/generative-ai-for-everyone/blob/master/lectures/W3.pdf"

    %% Style Definitions
    classDef course fill:#FFD700,stroke:#DAA520,stroke-width:2px;
    classDef module fill:#87CEFA,stroke:#4682B4,stroke-width:2px;
    classDef quiz fill:#FFB6C1,stroke:#FF69B4,stroke-width:2px;
    classDef code fill:#90EE90,stroke:#32CD32,stroke-width:2px;
    classDef lecture fill:#D3D3D3,stroke:#A9A9A9,stroke-width:2px;
```
