• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Summary

Summary Generative AI & Prompt Engineering - Study Guide

Document preview thumbnail
Preview 2 out of 8 pages

An original study guide to generative AI: how LLMs work, prompting techniques, RAG, agents and responsible AI use. Includes strong vs weak prompt examples and practice questions. Ideal for AI courses and curious builders.

Content preview

Generative AI & Prompt Engineering
- Study Guide
How LLMs work, prompting techniques, RAG, agents and responsible AI use




Complete Study Guide | Key Concepts | Examples | Practice Questions

, 1. How Large Language Models Work

LLMs predict the next token from context, trained on massive text. Understanding this explains both their power
and their failure modes.

- Transformer architecture: attention lets the model weigh relevant context.
- Training: pre-training (predict next token) then fine-tuning (instructions, RLHF).
- Tokens are word pieces; context window limits how much text the model sees at once.
- Temperature controls randomness: low = focused/deterministic, high = creative/varied.
- Hallucination: fluent, confident, wrong - always verify facts, code and citations.

TIP: Mental model: the LLM is a brilliant intern with no memory of your project - brief it well every time.




Page 1

Document information

Uploaded on
October 2, 2026
Number of pages
8
Written in
2026/2027
Type
Summary
$5.98

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
25
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions