GENERATIVE AI • LESSON 2

What Is Generative AI?

Generative AI is a type of artificial intelligence that can create new content such as text, images, audio, video, and code by learning patterns from large amounts of data.

CORE IDEA

Generative AI learns patterns from data and uses those patterns to create new content.

Traditional AI is often designed to classify, predict, or analyze existing information. Generative AI can produce a new output based on patterns learned during training.

01 — UNDERSTANDING THE WORD "GENERATIVE"

What Does “Generative” Mean?

The word generative means “able to create or produce something.”

In Generative AI, the system receives an input, usually a prompt, and produces a new output.

INPUT Prompt What the user asks
MODEL Generative AI Processes the request
OUTPUT New Content Generated result

For example, a user could ask:

Write a short birthday poem for my sister.

The AI model generates a new poem based on patterns it learned during training.

02 — HOW GENERATIVE AI WORKS

How Does Generative AI Create New Content?

A Generative AI model does not simply store a huge collection of answers and retrieve one whenever you ask a question.

During training, the model processes large amounts of data and learns patterns in that data.

01

Training Data

The model is exposed to large amounts of information such as text, images, audio, code, or other data.

02

Learning Patterns

The model learns relationships and patterns that appear in the training data.

03

Generate Output

When a user provides a prompt, the model uses what it learned to generate an output.

Important:

The model does not think like a human. It uses learned patterns to predict and generate an appropriate output from the input it receives.

03 — SIMPLE REAL-WORLD EXAMPLE

Example: Generating Text

Imagine an AI model has been trained on a very large amount of text.

You give the model this prompt:

Explain machine learning in simple English.
INPUT

Explain machine learning in simple English.

The model processes the prompt and predicts a suitable sequence of words.

GENERATED OUTPUT

Machine learning is a way for computers to learn patterns from data and use those patterns to make predictions or decisions.

04 — GENERATIVE AI VS SEARCH

Generative AI Is Not the Same as a Search Engine

A search engine mainly finds existing information from webpages, databases, or other sources.

Generative AI can create a new response based on what the model has learned and the instructions provided by the user.

SEARCH ENGINE

Finds Information

  • Finds existing webpages
  • Returns existing information
  • Useful for discovering sources
GENERATIVE AI

Generates Content

  • Generates a new response
  • Can summarize information
  • Can create text, code, images, and more
05 — WHAT CAN GENERATIVE AI CREATE?

Generative AI Can Create Many Types of Content

Generative AI is not limited to text. Different models can generate different types of content.

01

Text

Articles, summaries, emails, explanations, stories, and conversations.

02

Images

Illustrations, designs, photographs, concepts, and creative artwork.

03

Audio

Speech, voices, music, sound effects, and other audio content.

04

Video

Short videos, animations, scenes, and other visual content.

05

Code

Functions, classes, SQL queries, scripts, and application code.

06

Multimodal Content

Some AI systems can work with multiple types of information together.

06 — A SIMPLE WAY TO THINK ABOUT GENAI

Think of Generative AI as a Pattern-Based Generator

A simple mental model is:

TRAINING DATA Large Amounts of Data
LEARNING Patterns
PROMPT User Instruction
OUTPUT Generated Content
07 — IMPORTANT EXAMPLE

The Prompt Changes the Output

The same AI model can produce very different results depending on the instruction it receives.

PROMPT 01
Explain artificial intelligence.

This gives the model a broad instruction.

PROMPT 02
Explain artificial intelligence to a 10-year-old using a simple real-world example.

This gives the model more specific instructions.

What should you notice?

Changing the prompt changes the generated response. Later, you will learn how developers use prompts to control AI behavior more effectively.

08 — WHAT GENERATIVE AI IS NOT

What Generative AI Is Not

❌ It is not automatically correct

AI can generate information that sounds convincing but is incorrect.

❌ It is not magic

Generative AI is built from models, data, algorithms, computing infrastructure, and software.

❌ It is not just a chatbot

Chatbots are only one application of Generative AI. GenAI can also generate images, audio, video, code, and more.

WHAT YOU SHOULD REMEMBER

Generative AI learns patterns from data and uses those patterns to generate new content.

A user provides an input, usually a prompt. The model processes that input using patterns learned during training and generates an output such as text, images, audio, video, or code.

Training Data Learned Patterns Prompt Generated Output
QUICK CHECK

Check Your Understanding

Which statement best describes Generative AI?

A It only searches existing webpages.
B It learns patterns from data and can generate new content.
C It only stores predefined answers.
D It can only generate text.
Answer: B

Generative AI learns patterns from training data and uses those patterns to generate new outputs based on an input or prompt.

NEXT TOPIC

Generative AI vs Traditional AI

Now that you understand what Generative AI is, the next step is to understand how it differs from traditional AI systems.