# kaiyuma94/eduscenario_prompts architecture

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

- Interactive diagram: https://gitdiagram.com/kaiyuma94/eduscenario_prompts
- Repository: https://github.com/kaiyuma94/eduscenario_prompts

## Overview

##### Project type and purpose
- This is not an application codebase but a content repository for the Eduscenario platform.
- It holds a curated set of LLM‐powered chatbot prompts, organized by learning unit (Biomedical‐sciences, GNK-B1-tutors, KNO, Other).

##### File structure
- Top‐level directories correspond to domain modules or courses:
- Biomedical-sciences
- GNK-B1-tutors
- KNO
- Other
- Each directory contains plain‐text prompt files (.txt) that drive the chatbots.
- There is no source code here—this is the “content layer” of the platform.
- README.md describes the role of this repo and the high‐level organization.

##### README for additional insights
- Confirms repository stores prompts for the Eduscenario platform.
- Emphasizes categorization by learning unit.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Content Layer
    subgraph "Prompt Content Store"
        direction TB
        PromptRepo["Git Repository\n(Prompt Content Store)"]:::content
        Biomedical["Biomedical-sciences"]:::content
        GNK["GNK-B1-tutors"]:::content
        KNO["KNO"]:::content
        Other["Other"]:::content
    end

    %% Runtime Services
    CICD["CI/CD Pipeline"]:::runtime
    PromptService["Prompt Service\n(Content Store)"]:::runtime
    ChatbotBackend["Chatbot Backend\n(LLM Orchestration)"]:::runtime
    FrontendUI["Frontend UI\n(Educational Chat)"]:::runtime
    AnalyticsDB["Analytics Database"]:::runtime

    %% External Services / Users
    LLMAPI["LLM Provider API"]:::external
    User["End User"]:::external

    %% Connections
    PromptRepo -->|triggers on push| CICD
    CICD -->|deploys prompts| PromptService
    PromptService -->|provides prompts| ChatbotBackend
    User -->|interacts via| FrontendUI
    FrontendUI -->|sends input| ChatbotBackend
    ChatbotBackend -->|calls| LLMAPI
    LLMAPI -->|returns response| ChatbotBackend
    ChatbotBackend -->|delivers response| FrontendUI
    ChatbotBackend -->|logs interaction| AnalyticsDB

    %% Content categories
    PromptRepo --> Biomedical
    PromptRepo --> GNK
    PromptRepo --> KNO
    PromptRepo --> Other

    %% Click Events
    click PromptRepo "https://github.com/kaiyuma94/eduscenario_prompts/blob/master/README.md"
    click Biomedical "https://github.com/kaiyuma94/eduscenario_prompts/tree/master/Biomedical-sciences/"
    click GNK "https://github.com/kaiyuma94/eduscenario_prompts/tree/master/GNK-B1-tutors/"
    click KNO "https://github.com/kaiyuma94/eduscenario_prompts/tree/master/KNO/"
    click Other "https://github.com/kaiyuma94/eduscenario_prompts/tree/master/Other/"

    %% Styles
    classDef content fill:#D0E8FF,stroke:#037fff,color:#000;
    classDef runtime fill:#D0FFD8,stroke:#28a745,color:#000;
    classDef external fill:#FFE0B2,stroke:#FF9800,color:#000;
```
