# quntamvector/fde-aiml-complete-course architecture

> Architecture diagram of the GitHub repository quntamvector/fde-aiml-complete-course, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/quntamvector/fde-aiml-complete-course
- Repository: https://github.com/quntamvector/fde-aiml-complete-course

## Overview

This repository is a collection of Python and generative-AI learning examples, not one integrated product. Its clearest user-facing workflows are independent Streamlit demos: configure a chat model and ask a question, manage a restaurant order, or use an ATM. It also contains smaller calculator and Python module examples. The graph preserves those distinct branches; several connections come directly from excerpts, while unsampled examples are not assigned speculative behavior.

Main entry points: [`PYTHON/PYTHON-11/app.py`](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-11/app.py) (Python module demo), [`GENAI/DAY-1/GROQ.py`](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-1/GROQ.py) (Groq chat), [`GENAI/DAY-2/app.py`](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-2/app.py) (OpenAI chat), [`PYTHON/CHATBOT/app.py`](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/CHATBOT/app.py) (Kannada code chat)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_genai["GenAI demos"]
  node_groq_chat["Groq chat<br/>[GROQ.py]"]
  node_ollama_example["Ollama example<br/>[ollama.py]"]
  node_openai_chat["OpenAI chat<br/>[app.py]"]
  node_kannada_chat["Kannada code chat<br/>[app.py]"]
  node_groq_playground["Groq playground<br/>[testgem.py]"]
end

subgraph group_python_apps["Python apps"]
  node_restaurant["Restaurant demo<br/>[app.py]"]
  node_restaurant_state[("Order and sales state<br/>[app.py]")]
  node_atm["ATM demo<br/>[app.py]"]
  node_atm_state[("ATM session state<br/>[app.py]")]
  node_calculator["Safe calculator<br/>[app.py]"]
end

subgraph group_python_modules["Python modules"]
  node_python_app["Python module demo<br/>[app.py]"]
  node_bank_register["Bank registration<br/>[login.py]"]
  node_calculator_module["Calculator module<br/>[calclutor.py]"]
  node_root_entry["Root entry<br/>[main.py]"]
  node_root_register["Bank registration module<br/>[login.py]"]
end

subgraph group_learning["Learning examples"]
  node_python_exercises["Python exercises<br/>[app.py]"]
end

node_user(("User"))
node_groq_service{{"Groq API"}}
node_openai_service{{"OpenAI API"}}

node_user -->|"asks"| node_groq_chat
node_groq_chat -->|"invokes model"| node_groq_service
node_user -->|"asks"| node_openai_chat
node_openai_chat -->|"invokes model"| node_openai_service
node_user -->|"asks"| node_kannada_chat
node_kannada_chat -->|"streams response"| node_groq_service
node_user -->|"places order"| node_restaurant
node_restaurant -->|"updates and reads"| node_restaurant_state
node_user -->|"uses ATM"| node_atm
node_atm -->|"updates and reads"| node_atm_state
node_user -->|"calculates"| node_calculator
node_user -->|"runs example"| node_python_app
node_python_app -->|"calls register"| node_bank_register
node_python_app -->|"calls add"| node_calculator_module
node_root_entry -->|"calls register"| node_root_register
node_user -->|"runs example"| node_python_exercises
node_user -.->|"uses demo"| node_groq_playground

click node_groq_chat "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-1/GROQ.py"
click node_ollama_example "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-1/ollama.py"
click node_openai_chat "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-2/app.py"
click node_kannada_chat "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/CHATBOT/app.py"
click node_restaurant "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-7-DICT-SETS/app.py"
click node_restaurant_state "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-7-DICT-SETS/app.py"
click node_atm "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-5-LIST-TUPLE/app.py"
click node_atm_state "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-5-LIST-TUPLE/app.py"
click node_calculator "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-9-EXCEPTION-HANDLING/app.py"
click node_python_app "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-11/app.py"
click node_bank_register "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/test/bank/login.py"
click node_calculator_module "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-11/MODULE/calclutor.py"
click node_root_entry "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/main.py"
click node_root_register "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/test/bank/login.py"
click node_python_exercises "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-13/app.py"
click node_groq_playground "https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-2/testgem.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_groq_chat,node_ollama_example,node_openai_chat,node_kannada_chat,node_groq_playground,node_user toneBlue
class node_restaurant,node_restaurant_state,node_atm,node_atm_state,node_calculator toneAmber
class node_python_app,node_bank_register,node_calculator_module,node_root_entry,node_root_register,node_groq_service,node_openai_service toneMint
class node_python_exercises toneRose
```

## Components

### GenAI demos

- [Groq chat](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-1/GROQ.py): `GENAI/DAY-1/GROQ.py`
- [Ollama example](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-1/ollama.py): `GENAI/DAY-1/ollama.py`
- [OpenAI chat](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-2/app.py): `GENAI/DAY-2/app.py`
- [Kannada code chat](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/CHATBOT/app.py): `PYTHON/CHATBOT/app.py`
- [Groq playground](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/GENAI/DAY-2/testgem.py): `GENAI/DAY-2/testgem.py`

### Python apps

- [Restaurant demo](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-7-DICT-SETS/app.py): `PYTHON/PYTHON-7-DICT-SETS/app.py`
- [Order and sales state](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-7-DICT-SETS/app.py): `PYTHON/PYTHON-7-DICT-SETS/app.py`
- [ATM demo](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-5-LIST-TUPLE/app.py): `PYTHON/PYTHON-5-LIST-TUPLE/app.py`
- [ATM session state](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-5-LIST-TUPLE/app.py): `PYTHON/PYTHON-5-LIST-TUPLE/app.py`
- [Safe calculator](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-9-EXCEPTION-HANDLING/app.py): `PYTHON/PYTHON-9-EXCEPTION-HANDLING/app.py`

### Python modules

- [Python module demo](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-11/app.py): `PYTHON/PYTHON-11/app.py`
- [Bank registration](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/test/bank/login.py): `PYTHON/test/bank/login.py`
- [Calculator module](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-11/MODULE/calclutor.py): `PYTHON/PYTHON-11/MODULE/calclutor.py`
- [Root entry](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/main.py): `main.py`
- [Bank registration module](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/test/bank/login.py): `PYTHON/test/bank/login.py`

### Learning examples

- [Python exercises](https://github.com/quntamvector/fde-aiml-complete-course/blob/main/PYTHON/PYTHON-13/app.py): `PYTHON/PYTHON-13/app.py`

### Other components

- **User**
- **Groq API**
- **OpenAI API**

## Connections

- User → Groq chat: asks (evidence: `GENAI/DAY-1/GROQ.py`)
- Groq chat → Groq API: invokes model (evidence: `GENAI/DAY-1/GROQ.py`)
- User → OpenAI chat: asks (evidence: `GENAI/DAY-2/app.py`)
- OpenAI chat → OpenAI API: invokes model (evidence: `GENAI/DAY-2/app.py`)
- User → Kannada code chat: asks (evidence: `PYTHON/CHATBOT/app.py`)
- Kannada code chat → Groq API: streams response (evidence: `PYTHON/CHATBOT/app.py`)
- User → Restaurant demo: places order (evidence: `PYTHON/PYTHON-7-DICT-SETS/app.py`)
- Restaurant demo → Order and sales state: updates and reads (evidence: `PYTHON/PYTHON-7-DICT-SETS/app.py`)
- User → ATM demo: uses ATM (evidence: `PYTHON/PYTHON-5-LIST-TUPLE/app.py`)
- ATM demo → ATM session state: updates and reads (evidence: `PYTHON/PYTHON-5-LIST-TUPLE/app.py`)
- User → Safe calculator: calculates (evidence: `PYTHON/PYTHON-9-EXCEPTION-HANDLING/app.py`)
- User → Python module demo: runs example (evidence: `PYTHON/PYTHON-11/app.py`)
- Python module demo → Bank registration: calls register (evidence: `PYTHON/PYTHON-11/app.py`)
- Python module demo → Calculator module: calls add (evidence: `PYTHON/PYTHON-11/app.py`)
- Root entry → Bank registration module: calls register (evidence: `main.py`)
- User → Python exercises: runs example (evidence: `PYTHON/PYTHON-13/app.py`)
- User → Groq playground: uses demo
