# a73720177-design/metaverse-projects architecture

> Architecture diagram of the GitHub repository a73720177-design/metaverse-projects, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/a73720177-design/metaverse-projects
- Repository: https://github.com/a73720177-design/metaverse-projects

## Overview

This repository appears to package an AI-assisted presentation preparation and practice application: users provide presentation materials, then use generated summaries, grounded chat, persona-based review, and practice feedback. The tree supports these distinct capabilities, but the README is empty and the only sampled source is a model-selection utility. The runtime relationships below are therefore tentative (dashed); source excerpts were insufficient to verify calls or data flow.

Main entry points: [`build/payload/backend/app/controllers`](https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/backend/app/controllers) (API controllers), [`build/payload/backend/app/services/document_service.py`](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/document_service.py) (Document ingestion), [`build/payload/backend/app/services/chat_service.py`](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/chat_service.py) (Grounded chat), [`build/payload/backend/app/services/review_service.py`](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/review_service.py) (Presentation review)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["User interface"]
  node_web["Web client"]
end

subgraph group_backend["Application backend"]
  node_api["API controllers"]
  node_auth["Authentication<br/>[auth_service.py]"]
  node_documents["Document ingestion"]
  node_parsers["File parsers"]
  node_chat["Grounded chat<br/>[chat_service.py]"]
  node_rag["Retrieval grounding<br/>[rag_service.py]"]
  node_practice["Practice sessions"]
  node_review["Presentation review<br/>[review_service.py]"]
  node_summaries["Summaries<br/>[summary_service.py]"]
  node_personas["Reviewer personas<br/>[persona_service.py]"]
end

subgraph group_ai["AI services"]
  node_llm["LLM service"]
  node_vision["Vision integration<br/>[vision.py]"]
end

subgraph group_data["Persistence"]
  node_database[("Application database<br/>[database.py]")]
  node_storage["Object storage<br/>[object_storage.py]"]
end

node_user(("Presenter"))
node_model_selector["Model selector<br/>[select_model.py]"]

node_user -.->|"uses"| node_web
node_web -.->|"requests"| node_api
node_api -.->|"authenticates"| node_auth
node_api -.->|"submits materials"| node_documents
node_documents -.->|"parses files"| node_parsers
node_documents -.->|"stores materials"| node_storage
node_api -.->|"routes chat"| node_chat
node_chat -.->|"grounds answers"| node_rag
node_api -.->|"routes practice"| node_practice
node_api -.->|"routes review"| node_review
node_api -.->|"requests summaries"| node_summaries
node_review -.->|"uses personas"| node_personas
node_chat -.->|"generates responses"| node_llm
node_review -.->|"generates feedback"| node_llm
node_summaries -.->|"generates summaries"| node_llm
node_documents -.->|"records metadata"| node_database
node_chat -.->|"stores history"| node_database
node_practice -.->|"stores sessions"| node_database

click node_web "https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/web"
click node_api "https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/backend/app/controllers"
click node_auth "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/auth_service.py"
click node_documents "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/document_service.py"
click node_parsers "https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/backend/app/parsers"
click node_chat "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/chat_service.py"
click node_rag "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/rag_service.py"
click node_practice "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/practice_service.py"
click node_review "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/review_service.py"
click node_summaries "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/summary_service.py"
click node_personas "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/persona_service.py"
click node_llm "https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/llm-service/app"
click node_vision "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/integrations/vision.py"
click node_database "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/db/database.py"
click node_storage "https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/storage/object_storage.py"
click node_model_selector "https://github.com/a73720177-design/metaverse-projects/blob/main/select_model.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web toneBlue
class node_api,node_auth,node_documents,node_parsers,node_chat,node_rag,node_practice,node_review,node_summaries,node_personas toneAmber
class node_llm,node_vision toneMint
class node_database,node_storage toneRose
class node_user,node_model_selector toneIndigo
```

## Components

### User interface

- [Web client](https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/web): `build/payload/web`

### Application backend

- [API controllers](https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/backend/app/controllers): `build/payload/backend/app/controllers`
- [Authentication](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/auth_service.py): `build/payload/backend/app/services/auth_service.py`
- [Document ingestion](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/document_service.py): `build/payload/backend/app/services/document_service.py`
- [File parsers](https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/backend/app/parsers): `build/payload/backend/app/parsers`
- [Grounded chat](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/chat_service.py): `build/payload/backend/app/services/chat_service.py`
- [Retrieval grounding](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/rag_service.py): `build/payload/backend/app/services/rag_service.py`
- [Practice sessions](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/practice_service.py): `build/payload/backend/app/services/practice_service.py`
- [Presentation review](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/review_service.py): `build/payload/backend/app/services/review_service.py`
- [Summaries](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/summary_service.py): `build/payload/backend/app/services/summary_service.py`
- [Reviewer personas](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/services/persona_service.py): `build/payload/backend/app/services/persona_service.py`

### AI services

- [LLM service](https://github.com/a73720177-design/metaverse-projects/tree/main/build/payload/llm-service/app): `build/payload/llm-service/app`
- [Vision integration](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/integrations/vision.py): `build/payload/backend/app/integrations/vision.py`

### Persistence

- [Application database](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/db/database.py): `build/payload/backend/app/db/database.py`
- [Object storage](https://github.com/a73720177-design/metaverse-projects/blob/main/build/payload/backend/app/storage/object_storage.py): `build/payload/backend/app/storage/object_storage.py`

### Other components

- **Presenter**
- [Model selector](https://github.com/a73720177-design/metaverse-projects/blob/main/select_model.py): `select_model.py`

## Connections

- Presenter → Web client: uses
- Web client → API controllers: requests
- API controllers → Authentication: authenticates
- API controllers → Document ingestion: submits materials
- Document ingestion → File parsers: parses files
- Document ingestion → Object storage: stores materials
- API controllers → Grounded chat: routes chat
- Grounded chat → Retrieval grounding: grounds answers
- API controllers → Practice sessions: routes practice
- API controllers → Presentation review: routes review
- API controllers → Summaries: requests summaries
- Presentation review → Reviewer personas: uses personas
- Grounded chat → LLM service: generates responses
- Presentation review → LLM service: generates feedback
- Summaries → LLM service: generates summaries
- Document ingestion → Application database: records metadata
- Grounded chat → Application database: stores history
- Practice sessions → Application database: stores sessions
