# samuelchazy/ai-bootcamp architecture

> Architecture diagram of the GitHub repository samuelchazy/ai-bootcamp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/samuelchazy/ai-bootcamp
- Repository: https://github.com/samuelchazy/ai-bootcamp

## Overview

##### Project Type and Purpose
- This project isn’t a traditional application but rather a collection of Jupyter notebooks meant to walk users through a series of AI and machine learning tutorials.
- The README shows that it covers foundational Python, data analysis, PyTorch-based model development, evaluation techniques, LLM fundamentals, retrieval-augmented generation (RAG), fine-tuning, deployment, and even AI agents.
- Its purpose is educational – teaching real-world AI engineering concepts through multiple modules.

##### File Structure
- At the top level, the project consists mainly of Jupyter notebooks with names prefixed by numbers (e.g., “01.python-essentials-for-ai.ipynb”, “02.exploratory-data-analysis.ipynb”, etc.). This numbering indicates a sequential learning path or modules.
- There are also additional notebooks (“gpt-4o.ipynb, llama-3.ipynb”) that likely serve specialized topics.
- Other files (like .gitignore, pre-commit config, LICENSE) indicate version control practices and preparation for collaborative or open-source use.
- The single README is comprehensive in listing courses, external resources (YouTube videos, web tutorials), and provides hierarchical categorization (Foundational Skills, ML Pipelines, LLMs, AI Agents).

##### Extract Architectural Insights from the README
- The README divides the content into sections (Foundational Skills, ML Pipelines, LLMs, AI Agents). This naturally suggests a modular design.
- Each section can be seen as a component in a “tutorial pipeline” where each module builds on previous ones.
- There are external integrations: YouTube videos for demonstrations and links to external tutorials, implying that learners may transition between self-paced notebooks and other online resources.

a. Main Components to Represent:
- Tutorial Modules:
- Foundational Skills (e.g., “Python Essentials for AI” and “Real-World PyTorch” notebooks)
- ML Pipelines (covering data analysis, model development, evaluation techniques)
- LLMs (notebooks such as “LLMs 101”, “Build RAG”, “Fine-tuning LLMs”, “Deploy LLM”, etc.)
- AI Agents (notebooks on agents, including “agents.ipynb”, “agents-with-llama-3.ipynb”, “sql-agents-with-llama3-crewai.ipynb”)
- Supporting Infrastructure:
- Version Control (Git configuration files, pre-commit hooks)
- Deployment/Production (depicted around relevant notebooks that cover deployment)
- Integration with External Resources (YouTube, external tutorial links; these can be represented as external nodes)

b. Detailing Relationships & Interactions:
- Inside ML Pipelines and LLM modules, indicate flows such as “Exploratory Data Analysis” leads to “Model Development” and then to “Model Evaluation.”
- That certain notebooks on LLM fine-tuning and agent building are advanced topics, likely branching off from earlier learned modules.

c. Architectural Patterns/Design Principles:
- Modular, “pipeline” nature of the learning experience – each module is self-contained but builds upon the previous one.
- Integration aspect (e.g., connecting theoretical tutorials with practical external resources like Colab and YouTube) to show the end-to-end learning journey.

d. Technologies & Tools:
- Python (the language underlying all notebooks)
- PyTorch (for model development)
- LLM frameworks or libraries (implied by notebooks on LLM, fine-tuning, and agents)
- Git for version control
- Jupyter Notebook (as the environment for delivering content)
- External cloud resources (Colab)

##### Elements
- Clear labels for each module and tutorial component.
- Annotations or legends that briefly describe each component if needed.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Foundational Skills Subgraph
    subgraph "Foundational Skills"
        FS1["Python Essentials for AI"]:::found
        FS2["Exploratory Data Analysis"]:::found
        FS3["Real-World PyTorch"]:::found
    end

    %% ML Pipelines Subgraph
    subgraph "ML Pipelines"
        ML1["Model Development"]:::ml
        ML2["Model Evaluation Techniques"]:::ml
    end

    %% LLMs Subgraph
    subgraph "LLMs"
        LLM1["LLMs 101"]:::llm
        LLM2["Build RAG"]:::llm
        LLM3["Advanced RAG with Llama 3 and LangChain"]:::llm
        LLM4["LLM Fine Tuning"]:::llm
        LLM5["Deploy LLM"]:::llm
        LLM6["LLM Evaluation"]:::llm
        LLM7["LLM Output Format"]:::llm
        LLM8["Fine Tuning Llama 3 LLM for RAG"]:::llm
    end

    %% AI Agents Subgraph
    subgraph "AI Agents"
        AIA1["Agents"]:::agent
        AIA2["Agents with Llama 3"]:::agent
        AIA3["SQL Agents with Llama3 CreaWi"]:::agent
    end

    %% External/Special Topics Integration Subgraph
    subgraph "External/Special Topics"
        EX1["GPT-4O Topics"]:::ext
        EX2["Llama-3 Special Topics"]:::ext
    end

    %% Supporting Infrastructure Subgraph
    subgraph "Supporting Infrastructure"
        INF1["Version Control (.gitignore)"]:::infra
        INF2["Pre-commit Config (.pre-commit-config.yaml)"]:::infra
    end

    %% Documentation Subgraph
    subgraph "Project Documentation & Licensing"
        DOC1["README"]:::doc
        DOC2["LICENSE"]:::doc
    end

    %% Connections showing learning progression and relationships
    DOC1 --> FS1
    INF1 --> FS1
    INF2 --> FS1

    FS1 --> FS2
    FS2 --> FS3
    FS3 --> ML1

    ML1 --> ML2
    ML2 --> LLM1

    LLM1 --> LLM2
    LLM2 --> LLM3
    LLM3 --> LLM4
    LLM4 --> LLM5
    LLM5 --> LLM6
    LLM6 --> LLM7
    LLM7 --> LLM8

    LLM5 --> AIA1
    AIA1 --> AIA2
    AIA2 --> AIA3

    LLM5 --> EX2

    %% Click Events for Foundational Skills
    click FS1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/01.python-essentials-for-ai.ipynb"
    click FS2 "https://github.com/samuelchazy/ai-bootcamp/blob/master/02.exploratory-data-analysis.ipynb"
    click FS3 "https://github.com/samuelchazy/ai-bootcamp/blob/master/02.real-world-pytorch.ipynb"

    %% Click Events for ML Pipelines
    click ML1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/03.model-development.ipynb"
    click ML2 "https://github.com/samuelchazy/ai-bootcamp/blob/master/04.model-evaluation-techniques.ipynb"

    %% Click Events for LLMs
    click LLM1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/05.llms-101.ipynb"
    click LLM2 "https://github.com/samuelchazy/ai-bootcamp/blob/master/06.build-rag.ipynb"
    click LLM3 "https://github.com/samuelchazy/ai-bootcamp/blob/master/07.advanced-rag-with-llama-3-in-langchain.ipynb"
    click LLM4 "https://github.com/samuelchazy/ai-bootcamp/blob/master/08.llm-fine-tuning.ipynb"
    click LLM5 "https://github.com/samuelchazy/ai-bootcamp/blob/master/09.deploy-llm.ipynb"
    click LLM6 "https://github.com/samuelchazy/ai-bootcamp/blob/master/12.llm-evaluation.ipynb"
    click LLM7 "https://github.com/samuelchazy/ai-bootcamp/blob/master/13.llm-output-format.ipynb"
    click LLM8 "https://github.com/samuelchazy/ai-bootcamp/blob/master/15.fine-tuning-llama-3-llm-for-rag.ipynb"

    %% Click Events for AI Agents
    click AIA1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/10.agents.ipynb"
    click AIA2 "https://github.com/samuelchazy/ai-bootcamp/blob/master/11.agents-with-llama-3.ipynb"
    click AIA3 "https://github.com/samuelchazy/ai-bootcamp/blob/master/14.sql-agents-with-llama3-crewai.ipynb"

    %% Click Events for External/Special Topics Integration
    click EX1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/gpt-4o.ipynb"
    click EX2 "https://github.com/samuelchazy/ai-bootcamp/blob/master/llama-3.ipynb"

    %% Click Events for Supporting Infrastructure
    click INF1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/.gitignore"
    click INF2 "https://github.com/samuelchazy/ai-bootcamp/blob/master/.pre-commit-config.yaml"

    %% Click Events for Documentation
    click DOC1 "https://github.com/samuelchazy/ai-bootcamp/blob/master/README.md"
    click DOC2 "https://github.com/samuelchazy/ai-bootcamp/tree/master/LICENSE"

    %% Styles
    classDef found fill:#ADD8E6,stroke:#000,stroke-width:2px;
    classDef ml fill:#90EE90,stroke:#000,stroke-width:2px;
    classDef llm fill:#FFA500,stroke:#000,stroke-width:2px;
    classDef agent fill:#FFFF99,stroke:#000,stroke-width:2px;
    classDef ext fill:#DDA0DD,stroke:#000,stroke-width:2px;
    classDef infra fill:#C0C0C0,stroke:#000,stroke-width:2px;
    classDef doc fill:#FFB6C1,stroke:#000,stroke-width:2px;
```
