# iam-veeramalla/rag-crash-course architecture

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

- Interactive diagram: https://gitdiagram.com/iam-veeramalla/rag-crash-course
- Repository: https://github.com/iam-veeramalla/rag-crash-course

## Overview

RAG Crash Course is a notebook-based teaching product: learners build a document question-answering system step by step, then compare it with a LangChain version. The documented system uses sample company documents, chunking, embeddings, vector search, and an LLM to produce sourced answers. The README establishes the lesson sequence and broad pipeline, but notebook source was not sampled, so internal calls and detailed data transfers cannot be verified.

Main entry points: [`notebooks/06-build-a-rag-pipeline.ipynb`](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/06-build-a-rag-pipeline.ipynb) (RAG pipeline), [`notebooks/01-what-is-rag.ipynb`](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/01-what-is-rag.ipynb) (RAG basics), [`notebooks/02-calling-an-llm.ipynb`](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/02-calling-an-llm.ipynb) (LLM calls), [`notebooks/03-embeddings.ipynb`](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/03-embeddings.ipynb) (Embeddings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Course notebooks"]
  node_rag_intro["RAG basics"]
  node_llm_lesson["LLM calls"]
  node_embedding_lesson["Embeddings"]
  node_chunking_lesson["Document chunking<br/>[04-chunking.ipynb]"]
  node_search_lesson["Vector search"]
  node_pipeline_lesson["RAG pipeline"]
  node_framework_lesson["LangChain version"]
end

subgraph group_knowledge["Knowledge source"]
  node_company_docs["Company documents"]
end

subgraph group_integrations["External services"]
  node_openai["OpenAI models"]
  node_chromadb[("ChromaDB")]
end

node_learner(("Learner"))

node_learner -->|"starts course"| node_rag_intro
node_rag_intro -->|"continues to"| node_llm_lesson
node_llm_lesson -->|"continues to"| node_embedding_lesson
node_embedding_lesson -->|"continues to"| node_chunking_lesson
node_chunking_lesson -->|"continues to"| node_search_lesson
node_search_lesson -->|"continues to"| node_pipeline_lesson
node_pipeline_lesson -->|"compares framework"| node_framework_lesson
node_pipeline_lesson -->|"answers questions over"| node_company_docs
node_pipeline_lesson -->|"uses models"| node_openai
node_pipeline_lesson -->|"uses vector search"| node_chromadb

click node_rag_intro "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/01-what-is-rag.ipynb"
click node_llm_lesson "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/02-calling-an-llm.ipynb"
click node_embedding_lesson "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/03-embeddings.ipynb"
click node_chunking_lesson "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/04-chunking.ipynb"
click node_search_lesson "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/05-vector-search.ipynb"
click node_pipeline_lesson "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/06-build-a-rag-pipeline.ipynb"
click node_framework_lesson "https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/07-rag-with-langchain.ipynb"
click node_company_docs "https://github.com/iam-veeramalla/rag-crash-course/tree/main/data"

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_intro,node_llm_lesson,node_embedding_lesson,node_chunking_lesson,node_search_lesson,node_pipeline_lesson,node_framework_lesson toneBlue
class node_company_docs toneAmber
class node_openai,node_chromadb toneMint
class node_learner toneIndigo
```

## Components

### Course notebooks

- [RAG basics](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/01-what-is-rag.ipynb): `notebooks/01-what-is-rag.ipynb`
- [LLM calls](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/02-calling-an-llm.ipynb): `notebooks/02-calling-an-llm.ipynb`
- [Embeddings](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/03-embeddings.ipynb): `notebooks/03-embeddings.ipynb`
- [Document chunking](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/04-chunking.ipynb): `notebooks/04-chunking.ipynb`
- [Vector search](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/05-vector-search.ipynb): `notebooks/05-vector-search.ipynb`
- [RAG pipeline](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/06-build-a-rag-pipeline.ipynb): `notebooks/06-build-a-rag-pipeline.ipynb`
- [LangChain version](https://github.com/iam-veeramalla/rag-crash-course/blob/main/notebooks/07-rag-with-langchain.ipynb): `notebooks/07-rag-with-langchain.ipynb`

### Knowledge source

- [Company documents](https://github.com/iam-veeramalla/rag-crash-course/tree/main/data): `data`

### External services

- **OpenAI models**
- **ChromaDB**

### Other components

- **Learner**

## Connections

- Learner → RAG basics: starts course (evidence: `README.md`)
- RAG basics → LLM calls: continues to (evidence: `README.md`)
- LLM calls → Embeddings: continues to (evidence: `README.md`)
- Embeddings → Document chunking: continues to (evidence: `README.md`)
- Document chunking → Vector search: continues to (evidence: `README.md`)
- Vector search → RAG pipeline: continues to (evidence: `README.md`)
- RAG pipeline → LangChain version: compares framework (evidence: `README.md`)
- RAG pipeline → Company documents: answers questions over (evidence: `README.md`)
- RAG pipeline → OpenAI models: uses models (evidence: `README.md`)
- RAG pipeline → ChromaDB: uses vector search (evidence: `README.md`)
