the full guide

AI at a glance: generative AI, RAG, agents

This page connects the main generative AI terms. An LLM generates text. A prompt is what you ask it. RAG lets it answer from your documents. An agent lets it use tools and act. Fine-tuning adapts a model with your own examples.

15 min Intermediate

What you need: The earlier topics of this module.

Definition

This page connects the main generative AI terms. An LLM generates text. A prompt is what you ask it. RAG lets it answer from your documents. An agent lets it use tools and act. Fine-tuning adapts a model with your own examples.

In simple words

The LLM is a smart employee. The prompt is your instruction. RAG hands them the company files. Agents give them a computer and permission to do things. Fine-tuning is job training.

Why it matters

These words get thrown around constantly. With this map, you can place each one, and go to its full module when you need to.

How it works

TermAnswersUse it when
LLMWhat generates the text?Always, as the base
PromptHow do I ask?Always. Try this first.
RAGHow does it know my data?Answers must come from your documents
AgentHow does it take actions?Steps can't be fixed in advance
Fine-tuningHow does it learn my style?Prompts and RAG aren't enough
EmbeddingHow is meaning stored?Search and RAG

Common mistakes

  • Fine-tuning when you really needed RAG. To add facts, use RAG.
  • Building an agent for a task with fixed steps.

Check yourself

Question 1

1. A bot must answer from your company's policies. What's the first thing to try?

Question 2

2. Which lets a model use tools?

Summary

  • LLM generates, a prompt asks, RAG adds knowledge, and agents act.
  • Start with the simplest thing that works.

Finished reading?