# venky0705/gen_ai-full-stack-learning architecture

> Architecture diagram of the GitHub repository venky0705/gen_ai-full-stack-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/venky0705/gen_ai-full-stack-learning
- Repository: https://github.com/venky0705/gen_ai-full-stack-learning

## Overview

This repository is a collection of hands-on lessons and artifacts covering NLP, LLM access and fine-tuning, document parsing, and retrieval-augmented generation—not one integrated application. A representative end-to-end workflow is the personal-profile RAG lesson: the Streamlit interface accepts a visitor question, calls the RAG component, and displays its answer and source pages. Other lesson branches are represented from the file tree; their internal connections are omitted because their notebook contents were not sampled.

Main entry points: [`class_19_end_to_end_RAG/rag.py`](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/rag.py) (Personal RAG engine), [`class_19_end_to_end_RAG/streamlit_app.py`](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/streamlit_app.py) (Profile chat UI), [`class_19_end_to_end_RAG/Venkatesh_Vemala_Personal_RAG_Knowledge_Base.pdf`](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/Venkatesh_Vemala_Personal_RAG_Knowledge_Base.pdf) (Profile knowledge PDF)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["NLP Foundations"]
  node_encoding["Encoding lessons"]
  node_embeddings["Embeddings lessons"]
  node_word2vec["Word2Vec lessons"]
  node_sota_embeddings["Modern embeddings"]
  node_transformer["Transformer lessons"]
  node_transformer_code["Transformer implementation"]
end

subgraph group_llm["LLM Applications"]
  node_llm_access["LLM access apps"]
  node_hf_exploration["Hugging Face exploration"]
  node_hf_finetuning["HF fine-tuning"]
  node_finetuning["Fine-tuning workflows"]
  node_end_to_end_finetuning["End-to-end fine-tuning"]
  node_unsloth["Unsloth fine-tuning"]
  node_vision_finetuning["Vision fine-tuning"]
  node_openai_finetuning["OpenAI fine-tuning"]
  node_lora["LoRA concepts"]
end

subgraph group_documents["Document Retrieval"]
  node_parsing["Parsing lessons"]
  node_rag_pipeline["RAG pipeline lesson<br/>[RAG_Pipeline.ipynb]"]
  node_docling_llamaparse["Docling and LlamaParse"]
  node_faiss_lessons["FAISS vector search"]
  node_vector_db_lessons["Vector database lessons"]
  node_chunking["Chunking lessons"]
  node_retrieval["Retrieval lessons"]
  node_prompting["Prompting lessons"]
end

subgraph group_rag["RAG Application"]
  node_profile_ui["Profile chat UI<br/>[streamlit_app.py]"]
  node_personal_rag["Personal RAG engine<br/>[rag.py]"]
  node_profile_knowledge["Profile knowledge PDF"]
end

node_learner(("Learner"))
node_groq["Groq model service"]

node_profile_ui -->|"calls ask"| node_personal_rag
node_personal_rag -->|"loads PDF"| node_profile_knowledge
node_personal_rag -->|"invokes model"| node_groq

click node_encoding "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_3"
click node_embeddings "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_4"
click node_word2vec "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_5_classical_word-embedding"
click node_sota_embeddings "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_6_SOTA"
click node_transformer "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_7_Transformer"
click node_transformer_code "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_8_transformer%20coe"
click node_llm_access "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_9_accessin_llms"
click node_hf_exploration "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_10_HF_exploration"
click node_hf_finetuning "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_11_HF_Finetuning"
click node_finetuning "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_12_Fine_Tuning"
click node_end_to_end_finetuning "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_13_Finetuning_end_to_end"
click node_unsloth "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/Class_14_Unsloth"
click node_vision_finetuning "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_15_Multimodel_finetuning"
click node_openai_finetuning "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_16_OpenAI_FineTuning"
click node_lora "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_17_lora_explanation"
click node_parsing "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_18_data_parsing"
click node_rag_pipeline "https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/RAG_Pipeline.ipynb"
click node_docling_llamaparse "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_20_data_parsing_part2"
click node_faiss_lessons "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_21_vector_DB1_using_FAISS"
click node_vector_db_lessons "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_22_chroma-DB-pinecone-qudrant"
click node_chunking "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_23_chuncking"
click node_retrieval "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_24_retrievel"
click node_prompting "https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_25_prompting"
click node_profile_ui "https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/streamlit_app.py"
click node_personal_rag "https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/rag.py"
click node_profile_knowledge "https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/Venkatesh_Vemala_Personal_RAG_Knowledge_Base.pdf"

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_encoding,node_embeddings,node_word2vec,node_sota_embeddings,node_transformer,node_transformer_code toneBlue
class node_llm_access,node_hf_exploration,node_hf_finetuning,node_finetuning,node_end_to_end_finetuning,node_unsloth,node_vision_finetuning,node_openai_finetuning,node_lora toneAmber
class node_parsing,node_rag_pipeline,node_docling_llamaparse,node_faiss_lessons,node_vector_db_lessons,node_chunking,node_retrieval,node_prompting toneMint
class node_profile_ui,node_personal_rag,node_profile_knowledge toneRose
class node_learner,node_groq toneIndigo
```

## Components

### NLP Foundations

- [Encoding lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_3): `class_3`
- [Embeddings lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_4): `class_4`
- [Word2Vec lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_5_classical_word-embedding): `class_5_classical_word-embedding`
- [Modern embeddings](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_6_SOTA): `class_6_SOTA`
- [Transformer lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_7_Transformer): `class_7_Transformer`
- [Transformer implementation](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_8_transformer%20coe): `class_8_transformer coe`

### LLM Applications

- [LLM access apps](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_9_accessin_llms): `class_9_accessin_llms`
- [Hugging Face exploration](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_10_HF_exploration): `class_10_HF_exploration`
- [HF fine-tuning](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_11_HF_Finetuning): `class_11_HF_Finetuning`
- [Fine-tuning workflows](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_12_Fine_Tuning): `class_12_Fine_Tuning`
- [End-to-end fine-tuning](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_13_Finetuning_end_to_end): `class_13_Finetuning_end_to_end`
- [Unsloth fine-tuning](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/Class_14_Unsloth): `Class_14_Unsloth`
- [Vision fine-tuning](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_15_Multimodel_finetuning): `class_15_Multimodel_finetuning`
- [OpenAI fine-tuning](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_16_OpenAI_FineTuning): `class_16_OpenAI_FineTuning`
- [LoRA concepts](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_17_lora_explanation): `class_17_lora_explanation`

### Document Retrieval

- [Parsing lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_18_data_parsing): `class_18_data_parsing`
- [RAG pipeline lesson](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/RAG_Pipeline.ipynb): `class_19_end_to_end_RAG/RAG_Pipeline.ipynb`
- [Docling and LlamaParse](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_20_data_parsing_part2): `class_20_data_parsing_part2`
- [FAISS vector search](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_21_vector_DB1_using_FAISS): `class_21_vector_DB1_using_FAISS`
- [Vector database lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_22_chroma-DB-pinecone-qudrant): `class_22_chroma-DB-pinecone-qudrant`
- [Chunking lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_23_chuncking): `class_23_chuncking`
- [Retrieval lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_24_retrievel): `class_24_retrievel`
- [Prompting lessons](https://github.com/venky0705/gen_ai-full-stack-learning/tree/main/class_25_prompting): `class_25_prompting`

### RAG Application

- [Profile chat UI](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/streamlit_app.py): `class_19_end_to_end_RAG/streamlit_app.py`
- [Personal RAG engine](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/rag.py): `class_19_end_to_end_RAG/rag.py`
- [Profile knowledge PDF](https://github.com/venky0705/gen_ai-full-stack-learning/blob/main/class_19_end_to_end_RAG/Venkatesh_Vemala_Personal_RAG_Knowledge_Base.pdf): `class_19_end_to_end_RAG/Venkatesh_Vemala_Personal_RAG_Knowledge_Base.pdf`

### Other components

- **Learner**
- **Groq model service**

## Connections

- Profile chat UI → Personal RAG engine: calls ask (evidence: `class_19_end_to_end_RAG/streamlit_app.py`)
- Personal RAG engine → Profile knowledge PDF: loads PDF (evidence: `class_19_end_to_end_RAG/rag.py`)
- Personal RAG engine → Groq model service: invokes model (evidence: `class_19_end_to_end_RAG/rag.py`)
