Skip to main content

Beginner-Friendly Topic

Take your time - it's perfectly normal to re-read this topic 2-3 times. Try the interactive code editor below to run code yourself. Use the Q&A section to check your understanding before moving on.You've got this!

Lesson 1 of 12

What is a Prompt?

A prompt is the instruction or question you give to an AI system. It is the starting point for every AI interaction. Understanding what a prompt is helps you communicate with AI more effectively.

8 minBy Priygop Editorial TeamUpdated 2026Peer Reviewed & Verified

What is a Prompt?

A prompt is any input you give to an AI system.

When you type a question into ChatGPT, that is a prompt.
When you write an instruction for Gemini or Claude, that is a prompt.
When you describe an image you want AI to create, that is a prompt.

A simple definition:

A prompt is the text or instruction you provide to an AI system so it knows what you want.

Think of it like giving instructions to a very capable assistant. The clearer your instructions, the better the result.

Diagram
Loading diagram…

What is a Prompt? Diagram

Simple Examples of Prompts

  • Question prompt: 'What is the capital of France?' - AI answers: Paris
  • Instruction prompt: 'Write a short email declining a meeting' - AI writes the email
  • Summarization prompt: 'Summarize this article in 3 bullet points' - AI summarizes
  • Creative prompt: 'Write a poem about the ocean' - AI creates the poem
  • Code prompt: 'Write a Python function that adds two numbers' - AI writes the code
  • Image prompt: 'A cat sitting on a red sofa in a modern apartment' - AI generates the image

A Prompt is Like an Instruction

A Prompt is Like an Instruction
# Think of a prompt as instructions to a capable assistant.

# Poor instruction:
poor_instruction = "Do something useful."
# Result: The assistant does not know what to do.

# Clear instruction:
clear_instruction = """
Write a short summary of the main benefits of exercise.
Use 3 bullet points.
Keep each point to one sentence.
Write for someone who has never exercised before.
"""
# Result: A specific, useful summary.

# The quality of the output depends on the quality of the instruction.
print("Prompts are instructions.")
print("Better instructions produce better results.")

Quick Q&A

Key Takeaways

  • A prompt is the instruction or question you give to an AI system
  • Prompts can be questions, instructions, descriptions, or tasks
  • The quality of a prompt directly affects the quality of the AI output
  • Short or vague prompts often produce unhelpful results
  • Clear, specific prompts help AI understand exactly what you need

Key Takeaways

  • A prompt is the instruction or question you give to an AI system.
  • Question prompt: 'What is the capital of France?' - AI answers: Paris
  • Instruction prompt: 'Write a short email declining a meeting' - AI writes the email
  • Summarization prompt: 'Summarize this article in 3 bullet points' - AI summarizes

Finished this lesson?

0 of 12 in Module 1
Sign in to save progress

Topics in This Module

0/12 done