Skill Roadmap

LLMs & RAG

Large Language Models are powerful but frozen in time and prone to hallucination. Retrieval-Augmented Generation grounds them in your own data by retrieving relevant context before generation. This roadmap walks you from LLM foundations and prompting through embeddings, vector databases, RAG pipelines, and agentic retrieval — up to evaluation and shipping production LLM apps.

Why learn LLMs & RAG?

Grounding generative models in real, current knowledge

An LLM's knowledge is frozen at training time and it has no idea about your company's documents, tickets, or database rows — and it can't just be asked to memorize all of that in a prompt. Retrieval-Augmented Generation (RAG) solves this by fetching relevant information from an external knowledge base at query time and feeding it to the model as context, which is why RAG has become the default pattern for building chatbots, search assistants, and internal tools on top of an LLM.

This is one of the fastest-growing skillsets in software right now: "AI Engineer" roles increasingly expect people who can go beyond calling a chat API and actually design a retrieval pipeline — chunking strategy, embeddings, a vector store, reranking, and an evaluation loop that proves the system isn't hallucinating.

You don't need a machine learning PhD to get productive here. Solid software engineering fundamentals plus an understanding of how embeddings, vector search, and prompting work will take you most of the way; deeper topics like fine-tuning and agentic RAG build on that foundation once the basics are second nature.

Choosing a RAG Framework

The tooling differs, the retrieval fundamentals below don't

Getting Started

An API key and a text editor are enough to write your first RAG query

Sign up for an API key from Anthropic or OpenAI — both offer a small amount of free or low-cost credit, enough to work through prompting and API basics. Install their Python or JavaScript SDK and you can send your first request in a few lines of code.

For embeddings and retrieval, Chroma or FAISS run entirely locally with no separate service to stand up, which makes them the easiest way to build and test your first RAG pipeline before moving to a managed vector database.

If you'd rather avoid API costs entirely while learning, tools like Ollama let you run open-source models like Llama locally — slower and less capable than the frontier hosted models, but completely free and private.

Quick intro — what is RAG?

A quick primer before you start the roadmap. Opens in a small player, no need to leave the page.

The LLMs & RAG Roadmap

Pick a level — each one includes everything from the levels before it

Steps 1 – 4: how LLMs work, prompting, calling APIs, and embeddings

Hugging Face LLM Course 1 project 25 – 35 hrs
Steps
STEP 1

LLM Foundations

Understand what's actually happening inside the model you're building on top of.

Documentation
STEP 2

Prompt Engineering

Get reliable, structured behaviour out of a model before you touch any infrastructure.

Documentation
STEP 3

Working with LLM APIs

Build the plumbing to call a model reliably, at reasonable cost, in a real app.

Documentation
STEP 4

Embeddings & Semantic Search

Turn text into vectors so meaning, not just keywords, can be searched.

Documentation
Retrieval Style
Practice Exam
Projects
Certifications
Certification to target
Hugging Face LLM Course

A free, hands-on course covering Transformers, tokenizers, and core LLM concepts — a solid check on steps 1 – 4 of this roadmap.

Learn more

Community & Support

Where to ask when a step doesn't click

Frequently Asked Questions

Common questions from people starting out with LLMs & RAG

Do I need a machine learning background to learn RAG?

Not really. Building a RAG system is mostly software engineering — calling APIs, chunking text, storing vectors, and writing retrieval logic. A conceptual grasp of embeddings and how a transformer processes context is enough; you don't need to train models from scratch.

RAG vs fine-tuning — which should I use?

RAG is generally the better default for adding knowledge — it's cheaper, updates instantly when your data changes, and lets you cite sources. Fine-tuning is better for changing how a model behaves (tone, format, a narrow skill) rather than what it knows. Many production systems combine both.

Is RAG still needed now that context windows are so large?

Long context helps but doesn't replace RAG for most real applications — stuffing millions of tokens into every request is slow and expensive, and models still attend unevenly across very long contexts. Retrieval keeps the prompt focused on what's actually relevant, which tends to be both cheaper and more accurate.

LangChain vs LlamaIndex — which framework should I learn?

LlamaIndex is more focused on data ingestion and retrieval, which makes it a natural fit for RAG-first apps. LangChain is broader — chains, agents, and integrations across the whole LLM app lifecycle. Many teams use both, or write the pipeline directly against a vector database once they understand the underlying pattern.

Which vector database should I start with?

FAISS or Chroma are the easiest to start with locally since they need no separate service to run. Move to a managed option like Pinecone, or a self-hosted one like Weaviate or Milvus, once you need production-scale indexing, filtering, or multi-tenant isolation.

How do I prepare for an AI/LLM engineer interview?

Be ready to explain the full RAG pipeline end to end — chunking choices, why you picked a given embedding model, how reranking improves precision, and how you'd evaluate whether the system is hallucinating. Having a project with a real evaluation harness (not just a working demo) stands out.

Track complete

From understanding what a transformer does to shipping an evaluated, production RAG pipeline — that's the core of what's expected from an AI engineer today. Keep building, and pair it with backend or MLOps skills to round out a full production-AI profile.

Where next?

Keep exploring by domain or drill into a single skill

Video