# buildfastwithai/gen-ai-experiments architecture

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

- Interactive diagram: https://gitdiagram.com/buildfastwithai/gen-ai-experiments
- Repository: https://github.com/buildfastwithai/gen-ai-experiments

## Overview

##### Main Components

a) Core Learning Tracks (Primary Components):
- AI Libraries Exploration Hub
- Agent Development Center
- Experimentation Laboratory
- LLM Testing Framework
- RAG Systems
- Educational Chain Integration

b) Supporting Components:
- Jupyter Notebook Environment
- Model Integration Layer
- Data Processing Pipeline
- External API Connections

- User Interface Layer
- Jupyter Notebooks Interface
- Python Scripts Interface

- Learning Tracks
- 100-OS-Libraries Module
- AI-Agents Module
- Experiments Module
- LLM-Testing Module
- RAG-Experiments Module
- EduChain Module

- Model Integration Layer
- LLM Models (GPT, Llama, Nemotron)
- Vector Databases (Pinecone, ChromaDB, Milvus)
- AI Frameworks (LangChain, LlamaIndex)

##### Component Details

For each major module, show:
- Input/Output relationships
- Required dependencies
- Main technologies used
- Integration points with other modules

##### Additional Elements

Supplementary information:
- System requirements
- External dependencies
- Configuration points
- Scaling considerations
- Error handling paths

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph UI["User Interface Layer"]
        JN["Jupyter Notebooks Interface"]:::interface
        PS["Python Scripts Interface"]:::interface
    end

    subgraph LT["Learning Tracks"]
        direction TB
        ALE["AI Libraries Exploration Hub"]:::core
        ADC["Agent Development Center"]:::core
        EL["Experimentation Laboratory"]:::core
        LTF["LLM Testing Framework"]:::core
        RAG["RAG Systems"]:::core
        ECI["Educational Chain Integration"]:::core
    end

    subgraph ML["Model Integration Layer"]
        direction TB
        LLM["LLM Models"]:::model
        VDB["Vector Databases"]:::database
        AIF["AI Frameworks"]:::framework
    end

    %% Core Module Details
    subgraph ALE_Details["AI Libraries Details"]
        VDI["Vector Database Integration"]:::component
        LCF["LangChain Framework"]:::component
        LII["LlamaIndex Integration"]:::component
    end

    subgraph ADC_Details["Agent Development Details"]
        CAI["CrewAI Implementation"]:::component
        TAA["Travel Agent Application"]:::component
        SA["Swarm Agents"]:::component
    end

    subgraph EL_Details["Experimentation Details"]
        VP["Vision Processing"]:::component
        MB["Medical Bot"]:::component
        WS["Web Scraping"]:::component
    end

    subgraph LTF_Details["LLM Testing Details"]
        LM["Llama Models"]:::component
        GT["GPT Testing"]:::component
        NT["Nemotron Testing"]:::component
        GI["Gemini Integration"]:::component
    end

    %% Connections
    UI --> LT
    LT --> ML
    ALE --> ALE_Details
    ADC --> ADC_Details
    EL --> EL_Details
    LTF --> LTF_Details

    %% Click Events
    click ALE "https://github.com/buildfastwithai/gen-ai-experiments/tree/main/100-OS-Libraries"
    click VDI "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/100-OS-Libraries/ChromaDB_Efficient_Vector_Database_for_Embeddings.ipynb"
    click LCF "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/100-OS-Libraries/LangChain_Basics_Building_Intelligent_Workflows.ipynb"
    click LII "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/100-OS-Libraries/LlamaIndex_Enhancing_Language_Models_with_Intelligent_Data_Integration.ipynb"
    
    click ADC "https://github.com/buildfastwithai/gen-ai-experiments/tree/main/AI-agents"
    click CAI "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/AI-agents/CrewAI_using_Llama3_405B (1).ipynb"
    click TAA "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/AI-agents/Travel_Agent_Streamlit_App.py"
    click SA "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/AI-agents/swarm_demo.ipynb"
    
    click EL "https://github.com/buildfastwithai/gen-ai-experiments/tree/main/Experiments"
    click VP "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/Experiments/Image_processing_using_Vision-Models.ipynb"
    click MB "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/Experiments/Medical_Bot_using_Mistral7_and_llamaindex.ipynb"
    click WS "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/Experiments/WebScraping_with_GenAI.ipynb"
    
    click LTF "https://github.com/buildfastwithai/gen-ai-experiments/tree/main/LLM-Testing"
    click LM "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/LLM-Testing/Testing_Llama_3_405B.ipynb"
    click GT "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/LLM-Testing/Testing_GPT_4o_Mini.ipynb"
    click NT "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/LLM-Testing/Testing_Nemotron_340B.ipynb"
    click GI "https://github.com/buildfastwithai/gen-ai-experiments/blob/main/LLM-Testing/gemini_code_execution.ipynb"
    
    click RAG "https://github.com/buildfastwithai/gen-ai-experiments/tree/main/RAG-Experiments"
    click ECI "https://github.com/buildfastwithai/gen-ai-experiments/tree/main/educhain-experiments"

    %% Styling
    classDef interface fill:#87CEEB,stroke:#333,stroke-width:2px
    classDef core fill:#4169E1,stroke:#333,stroke-width:2px,color:white
    classDef model fill:#98FB98,stroke:#333,stroke-width:2px
    classDef database fill:#DDA0DD,stroke:#333,stroke-width:2px
    classDef framework fill:#FFD700,stroke:#333,stroke-width:2px
    classDef component fill:#F0F8FF,stroke:#333,stroke-width:1px
```
