# nvdli/llm-applications-with-prompt-engineering architecture

> Architecture diagram of the GitHub repository nvdli/llm-applications-with-prompt-engineering, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nvdli/llm-applications-with-prompt-engineering
- Repository: https://github.com/nvdli/llm-applications-with-prompt-engineering

## Overview

This repository is a hands-on LLM application workshop, not a conventional application service. Its principal workflow is a learner opening ordered Jupyter notebooks and progressing from basic prompting through chains, message-based techniques, structured output, and tool-using agents. The README documents hosted OpenAI-compatible model use and the course’s major capabilities. Notebook internals were not sampled, so this map treats notebooks as learning stages and omits unverified calls between them.

Main entry points: [`course_content/tutorials/1-Intro-to-Prompting/11-Nvidia-NIM.ipynb`](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/11-Nvidia-NIM.ipynb) (NVIDIA API), [`course_content/tutorials/1-Intro-to-Prompting/12-Hello-OpenAI.ipynb`](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/12-Hello-OpenAI.ipynb) (OpenAI Client), [`course_content/tutorials/1-Intro-to-Prompting/13-Hello-LangChain.ipynb`](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/13-Hello-LangChain.ipynb) (LangChain Client), [`course_content/tutorials/1-Intro-to-Prompting/15-Iterative-Prompting.ipynb`](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/15-Iterative-Prompting.ipynb) (Prompt Methods)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intro["Prompting Basics"]
  node_intro_section["Prompting Overview"]
  node_nim["NVIDIA API"]
  node_openai["OpenAI Client"]
  node_langchain["LangChain Client"]
  node_prompt_methods["Prompt Methods"]
  node_prompt_templates["Prompt Templates"]
end

subgraph group_chains["Chains and Messages"]
  node_chains_intro["Chains Overview"]
  node_lcel["LCEL Chains<br/>[21-LCEL.ipynb]"]
  node_runnables["Runnable Functions"]
  node_combined_chains["Combined Chains"]
  node_parallel_chains["Parallel Chains"]
  node_messages_intro["Message Overview"]
  node_message_prompting["Message Prompting"]
  node_chatbots["Chatbots<br/>[36-Chatbots.ipynb]"]
end

subgraph group_structured["Structured Output"]
  node_output_intro["Output Overview"]
  node_structured_output["Structured Output"]
  node_pydantic["Pydantic Validation<br/>[42-Pydantic.ipynb]"]
  node_document_tagging["Document Tagging"]
end

subgraph group_agents["Tools and Agents"]
  node_tools_intro["Tools Overview"]
  node_tool_calling["Tool Calling"]
  node_agents_workshop["Agents<br/>[52-Agents.ipynb]"]
end

node_learner(("Learner"))
node_model_endpoint{{"OpenAI-Compatible Endpoint"}}

node_learner -->|"starts with"| node_intro_section
node_learner -->|"works through"| node_nim
node_learner -->|"works through"| node_openai
node_learner -->|"works through"| node_langchain
node_learner -->|"practices"| node_prompt_methods
node_learner -->|"practices"| node_prompt_templates
node_learner -->|"continues to"| node_chains_intro
node_learner -->|"builds"| node_lcel
node_learner -->|"practices"| node_runnables
node_learner -->|"practices"| node_combined_chains
node_learner -->|"practices"| node_parallel_chains
node_learner -->|"continues to"| node_messages_intro
node_learner -->|"practices"| node_message_prompting
node_learner -->|"builds"| node_chatbots
node_learner -->|"continues to"| node_output_intro
node_learner -->|"generates"| node_structured_output
node_learner -->|"validates"| node_pydantic
node_learner -->|"practices"| node_document_tagging
node_learner -->|"continues to"| node_tools_intro
node_learner -->|"creates tools"| node_tool_calling
node_learner -->|"builds agents"| node_agents_workshop
node_nim -.->|"calls"| node_model_endpoint
node_openai -.->|"calls"| node_model_endpoint
node_langchain -.->|"calls"| node_model_endpoint
node_prompt_methods -.->|"uses"| node_model_endpoint
node_chatbots -.->|"uses"| node_model_endpoint
node_structured_output -.->|"uses"| node_model_endpoint
node_tool_calling -.->|"uses"| node_model_endpoint
node_agents_workshop -.->|"uses"| node_model_endpoint

click node_intro_section "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/10-Section-Introduction.ipynb"
click node_nim "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/11-Nvidia-NIM.ipynb"
click node_openai "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/12-Hello-OpenAI.ipynb"
click node_langchain "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/13-Hello-LangChain.ipynb"
click node_prompt_methods "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/15-Iterative-Prompting.ipynb"
click node_prompt_templates "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/16-Prompt-Templates.ipynb"
click node_chains_intro "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/20-Section-Introduction.ipynb"
click node_lcel "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/21-LCEL.ipynb"
click node_runnables "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/22-Runnable-Functions.ipynb"
click node_combined_chains "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/23-Combining-Chains.ipynb"
click node_parallel_chains "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/24-Parallel-Chains.ipynb"
click node_messages_intro "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/3-Prompting-With-Messages/30-Section-Introduction.ipynb"
click node_message_prompting "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/3-Prompting-With-Messages/32-Few-Shot-Prompting.ipynb"
click node_chatbots "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/3-Prompting-With-Messages/36-Chatbots.ipynb"
click node_output_intro "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/40-Section-Introduction.ipynb"
click node_structured_output "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/41-Structured-Output.ipynb"
click node_pydantic "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/42-Pydantic.ipynb"
click node_document_tagging "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/43-Document-Tagging.ipynb"
click node_tools_intro "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/5-Tools/50-Section-Introduction.ipynb"
click node_tool_calling "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/5-Tools/51-Tool-Calling.ipynb"
click node_agents_workshop "https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/5-Tools/52-Agents.ipynb"

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_intro_section,node_nim,node_openai,node_langchain,node_prompt_methods,node_prompt_templates toneBlue
class node_chains_intro,node_lcel,node_runnables,node_combined_chains,node_parallel_chains,node_messages_intro,node_message_prompting,node_chatbots toneAmber
class node_output_intro,node_structured_output,node_pydantic,node_document_tagging toneMint
class node_tools_intro,node_tool_calling,node_agents_workshop toneRose
class node_learner,node_model_endpoint toneIndigo
```

## Components

### Prompting Basics

- [Prompting Overview](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/10-Section-Introduction.ipynb): `course_content/tutorials/1-Intro-to-Prompting/10-Section-Introduction.ipynb`
- [NVIDIA API](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/11-Nvidia-NIM.ipynb): `course_content/tutorials/1-Intro-to-Prompting/11-Nvidia-NIM.ipynb`
- [OpenAI Client](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/12-Hello-OpenAI.ipynb): `course_content/tutorials/1-Intro-to-Prompting/12-Hello-OpenAI.ipynb`
- [LangChain Client](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/13-Hello-LangChain.ipynb): `course_content/tutorials/1-Intro-to-Prompting/13-Hello-LangChain.ipynb`
- [Prompt Methods](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/15-Iterative-Prompting.ipynb): `course_content/tutorials/1-Intro-to-Prompting/15-Iterative-Prompting.ipynb`
- [Prompt Templates](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/1-Intro-to-Prompting/16-Prompt-Templates.ipynb): `course_content/tutorials/1-Intro-to-Prompting/16-Prompt-Templates.ipynb`

### Chains and Messages

- [Chains Overview](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/20-Section-Introduction.ipynb): `course_content/tutorials/2-Chains/20-Section-Introduction.ipynb`
- [LCEL Chains](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/21-LCEL.ipynb): `course_content/tutorials/2-Chains/21-LCEL.ipynb`
- [Runnable Functions](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/22-Runnable-Functions.ipynb): `course_content/tutorials/2-Chains/22-Runnable-Functions.ipynb`
- [Combined Chains](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/23-Combining-Chains.ipynb): `course_content/tutorials/2-Chains/23-Combining-Chains.ipynb`
- [Parallel Chains](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/2-Chains/24-Parallel-Chains.ipynb): `course_content/tutorials/2-Chains/24-Parallel-Chains.ipynb`
- [Message Overview](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/3-Prompting-With-Messages/30-Section-Introduction.ipynb): `course_content/tutorials/3-Prompting-With-Messages/30-Section-Introduction.ipynb`
- [Message Prompting](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/3-Prompting-With-Messages/32-Few-Shot-Prompting.ipynb): `course_content/tutorials/3-Prompting-With-Messages/32-Few-Shot-Prompting.ipynb`
- [Chatbots](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/3-Prompting-With-Messages/36-Chatbots.ipynb): `course_content/tutorials/3-Prompting-With-Messages/36-Chatbots.ipynb`

### Structured Output

- [Output Overview](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/40-Section-Introduction.ipynb): `course_content/tutorials/4-Structured-Output/40-Section-Introduction.ipynb`
- [Structured Output](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/41-Structured-Output.ipynb): `course_content/tutorials/4-Structured-Output/41-Structured-Output.ipynb`
- [Pydantic Validation](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/42-Pydantic.ipynb): `course_content/tutorials/4-Structured-Output/42-Pydantic.ipynb`
- [Document Tagging](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/4-Structured-Output/43-Document-Tagging.ipynb): `course_content/tutorials/4-Structured-Output/43-Document-Tagging.ipynb`

### Tools and Agents

- [Tools Overview](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/5-Tools/50-Section-Introduction.ipynb): `course_content/tutorials/5-Tools/50-Section-Introduction.ipynb`
- [Tool Calling](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/5-Tools/51-Tool-Calling.ipynb): `course_content/tutorials/5-Tools/51-Tool-Calling.ipynb`
- [Agents](https://github.com/nvdli/llm-applications-with-prompt-engineering/blob/main/course_content/tutorials/5-Tools/52-Agents.ipynb): `course_content/tutorials/5-Tools/52-Agents.ipynb`

### Other components

- **Learner**
- **OpenAI-Compatible Endpoint**

## Connections

- Learner → Prompting Overview: starts with (evidence: `README.md`)
- Learner → NVIDIA API: works through (evidence: `README.md`)
- Learner → OpenAI Client: works through (evidence: `README.md`)
- Learner → LangChain Client: works through (evidence: `README.md`)
- Learner → Prompt Methods: practices (evidence: `README.md`)
- Learner → Prompt Templates: practices (evidence: `README.md`)
- Learner → Chains Overview: continues to (evidence: `README.md`)
- Learner → LCEL Chains: builds (evidence: `README.md`)
- Learner → Runnable Functions: practices (evidence: `README.md`)
- Learner → Combined Chains: practices (evidence: `README.md`)
- Learner → Parallel Chains: practices (evidence: `README.md`)
- Learner → Message Overview: continues to (evidence: `README.md`)
- Learner → Message Prompting: practices (evidence: `README.md`)
- Learner → Chatbots: builds (evidence: `README.md`)
- Learner → Output Overview: continues to (evidence: `README.md`)
- Learner → Structured Output: generates (evidence: `README.md`)
- Learner → Pydantic Validation: validates (evidence: `README.md`)
- Learner → Document Tagging: practices (evidence: `README.md`)
- Learner → Tools Overview: continues to (evidence: `README.md`)
- Learner → Tool Calling: creates tools (evidence: `README.md`)
- Learner → Agents: builds agents (evidence: `README.md`)
- NVIDIA API → OpenAI-Compatible Endpoint: calls
- OpenAI Client → OpenAI-Compatible Endpoint: calls
- LangChain Client → OpenAI-Compatible Endpoint: calls
- Prompt Methods → OpenAI-Compatible Endpoint: uses
- Chatbots → OpenAI-Compatible Endpoint: uses
- Structured Output → OpenAI-Compatible Endpoint: uses
- Tool Calling → OpenAI-Compatible Endpoint: uses
- Agents → OpenAI-Compatible Endpoint: uses
