# techwithmala/ai-engineering-full-course-for-beginners architecture

> Architecture diagram of the GitHub repository techwithmala/ai-engineering-full-course-for-beginners, 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/techwithmala/ai-engineering-full-course-for-beginners
- Repository: https://github.com/techwithmala/ai-engineering-full-course-for-beginners

## Overview

This repository is an educational collection of independently runnable AI-engineering examples, not one integrated application. A learner chooses a module and runs examples covering document processing, prompting, memory, chains, tools and agents, and Hugging Face models. The clearest end-to-end runtime workflow is the RAG demo: it chunks text, embeds and stores chunks, retrieves relevant context, and generates answers. Other examples demonstrate capabilities separately; the README describes the course modules but does not establish runtime links between them. Unsampled module internals are represented at their exact directory paths.

Main entry points: [`01-rag-demo/RAGDemo.py`](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py) (RAG demo), [`07-tools-and-agents-demo`](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/07-tools-and-agents-demo) (Agent examples), [`03-prompt-engineering-demo`](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/03-prompt-engineering-demo) (Prompt techniques), [`05-memory-demo`](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/05-memory-demo) (Conversation memory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_rag["RAG example"]
  node_rag_demo["RAG demo<br/>[RAGDemo.py]"]
  node_rag_text["Sample text<br/>[RAGDemo.py]"]
  node_rag_chunks["Text chunks<br/>[RAGDemo.py]"]
  node_rag_embeddings["Embeddings<br/>[RAGDemo.py]"]
  node_rag_store[("Chroma store<br/>[RAGDemo.py]")]
  node_rag_retrieval["Retrieval QA<br/>[RAGDemo.py]"]
  node_llm["Anthropic model<br/>[RAGDemo.py]"]
  node_rag_answers["Answers<br/>[RAGDemo.py]"]
end

subgraph group_langchain["LangChain concepts"]
  node_prompts["Prompt techniques"]
  node_memory["Conversation memory"]
  node_chains["LangChain chains"]
end

subgraph group_agents["Tools and agents"]
  node_agent_examples["Agent examples"]
  node_tool_integrations["External tools"]
end

subgraph group_models["Hugging Face models"]
  node_embeddings_demo["Sentence embeddings"]
  node_text_models["Text models"]
  node_vision["Image understanding"]
end

subgraph group_processing["Document processing"]
  node_chunking["Chunking strategies"]
  node_loaders["Document loaders"]
end

node_learner(("Learner"))

node_learner -->|"runs example"| node_rag_demo
node_rag_demo -->|"prepares text"| node_rag_text
node_rag_demo -->|"splits text"| node_rag_chunks
node_rag_demo -->|"initializes"| node_rag_embeddings
node_rag_demo -->|"indexes chunks"| node_rag_store
node_rag_demo -->|"searches store"| node_rag_store
node_rag_demo -->|"configures"| node_rag_retrieval
node_rag_demo -->|"configures"| node_llm
node_rag_demo -->|"prints answers"| node_rag_answers
node_learner -->|"explores"| node_chunking
node_learner -->|"explores"| node_loaders
node_learner -->|"explores"| node_prompts
node_learner -->|"explores"| node_memory
node_learner -->|"explores"| node_chains
node_learner -->|"explores"| node_agent_examples
node_agent_examples -.->|"demonstrates tools"| node_tool_integrations
node_learner -->|"explores"| node_embeddings_demo
node_learner -->|"explores"| node_text_models
node_learner -->|"explores"| node_vision

click node_rag_demo "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_rag_text "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_rag_chunks "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_rag_embeddings "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_rag_store "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_rag_retrieval "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_llm "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_rag_answers "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py"
click node_chunking "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/02-chunking-methods-demo"
click node_loaders "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/04-document-loaders-demo"
click node_prompts "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/03-prompt-engineering-demo"
click node_memory "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/05-memory-demo"
click node_chains "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/06-chains-demo"
click node_agent_examples "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/07-tools-and-agents-demo"
click node_tool_integrations "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/07-tools-and-agents-demo"
click node_embeddings_demo "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/08-huggingface-demo/SentenceEmbeddings.py"
click node_text_models "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/08-huggingface-demo"
click node_vision "https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/08-huggingface-demo/ImageUnderstanding.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_rag_demo,node_rag_text,node_rag_chunks,node_rag_embeddings,node_rag_store,node_rag_retrieval,node_llm,node_rag_answers toneBlue
class node_prompts,node_memory,node_chains toneAmber
class node_agent_examples,node_tool_integrations toneMint
class node_embeddings_demo,node_text_models,node_vision toneRose
class node_chunking,node_loaders,node_learner toneIndigo
```

## Components

### RAG example

- [RAG demo](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Sample text](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Text chunks](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Embeddings](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Chroma store](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Retrieval QA](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Anthropic model](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`
- [Answers](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/01-rag-demo/RAGDemo.py): `01-rag-demo/RAGDemo.py`

### LangChain concepts

- [Prompt techniques](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/03-prompt-engineering-demo): `03-prompt-engineering-demo`
- [Conversation memory](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/05-memory-demo): `05-memory-demo`
- [LangChain chains](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/06-chains-demo): `06-chains-demo`

### Tools and agents

- [Agent examples](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/07-tools-and-agents-demo): `07-tools-and-agents-demo`
- [External tools](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/07-tools-and-agents-demo): `07-tools-and-agents-demo`

### Hugging Face models

- [Sentence embeddings](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/08-huggingface-demo/SentenceEmbeddings.py): `08-huggingface-demo/SentenceEmbeddings.py`
- [Text models](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/08-huggingface-demo): `08-huggingface-demo`
- [Image understanding](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/blob/main/08-huggingface-demo/ImageUnderstanding.py): `08-huggingface-demo/ImageUnderstanding.py`

### Document processing

- [Chunking strategies](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/02-chunking-methods-demo): `02-chunking-methods-demo`
- [Document loaders](https://github.com/techwithmala/ai-engineering-full-course-for-beginners/tree/main/04-document-loaders-demo): `04-document-loaders-demo`

### Other components

- **Learner**

## Connections

- Learner → RAG demo: runs example (evidence: `README.md`)
- RAG demo → Sample text: prepares text (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Text chunks: splits text (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Embeddings: initializes (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Chroma store: indexes chunks (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Chroma store: searches store (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Retrieval QA: configures (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Anthropic model: configures (evidence: `01-rag-demo/RAGDemo.py`)
- RAG demo → Answers: prints answers (evidence: `01-rag-demo/RAGDemo.py`)
- Learner → Chunking strategies: explores (evidence: `README.md`)
- Learner → Document loaders: explores (evidence: `README.md`)
- Learner → Prompt techniques: explores (evidence: `README.md`)
- Learner → Conversation memory: explores (evidence: `README.md`)
- Learner → LangChain chains: explores (evidence: `README.md`)
- Learner → Agent examples: explores (evidence: `README.md`)
- Agent examples → External tools: demonstrates tools
- Learner → Sentence embeddings: explores (evidence: `README.md`)
- Learner → Text models: explores (evidence: `README.md`)
- Learner → Image understanding: explores (evidence: `README.md`)
