Prompting Made Simple

In a world where Artificial Intelligence is becoming a part of our daily lives—from writing emails to generating code and even composing poetry—the secret behind powerful AI responses lies in one word: prompts.

But what does "prompting" exactly mean?

Prompting is the art of communicating with AI. It’s the way we provide instructions to an AI model, such as ChatGPT, to help it understand what we want, whether it’s solving a problem, generating a creative story, or summarizing a research paper.

In this blog, we’ll break down:

  • What is prompting

  • Why prompt design matters

  • Different types and styles of prompts.

    Let’s start with the basics—what exactly is prompting?

🔍 What is Prompting

At its core, prompting is simply telling an AI what you want it to do. A prompt is the input you give to an AI model, usually in the form of a question, instruction, or statement. Based on this input, the AI generates a response. Think of it as a conversation between you and a brilliant assistant:
The better you ask, the better the answer you’ll receive.

🧠 In More Technical Terms:

Prompting is the practice of designing inputs to guide AI models (like ChatGPT, Bard, Claude, etc.) to produce relevant, useful, and often creative outputs. It's a crucial skill in prompt engineering, a field that focuses on optimizing these inputs for specific tasks.

✨ Why Prompting Is Necessary

Asking AI without a clear prompt is like walking into a restaurant and saying, "Surprise me." Sure, you might get a five-star gourmet dish… or you might end up with plain boiled broccoli. Now imagine saying, "I’d like paneer butter masala, extra spicy, with garlic naan."—and just like that, your perfect meal arrives. AI works the same way. It’s your digital waiter: the clearer and more specific your request, the better the result. Otherwise, be ready for some... surprises.

🎭Prompting Styles: Speaking Different AI Languages

1. Alpaca Style: The Friendly Chat

Imagine you're writing a letter to a helpful robot. You say:

Instruction:

Write a motivational quote for students.

Response:

"Believe in yourself. You’re stronger than you think."

Alpaca-style prompts are clean and conversational. You give an instruction, and the model gives a response. Simple, readable, and beginner-friendly.

2. ChatML Style: The Role-Playing Script

Think of this like a movie script with characters:

<|user|> Tell me a joke about programmers.

<|assistant|> Why do programmers prefer dark mode? Because light attracts bugs!

ChatML is used in models like ChatGPT. It’s all about clearly labeling who says what—like a conversation between a user and an assistant. Great for multi-turn chats.

3. INST Format: The Structured Command

This one’s like filling a form:

<|System|> You are a helpful assistant.

<|User|> Explain recursion like I'm five.

<|Assistant|> Imagine looking into a mirror that reflects another mirror...

INST (Instruction-based prompting) gives the model roles and rules using special tags. It’s structured, formal, and gives more control over tone and behavior.

Now that we’ve explored how prompts can be styled like conversations, scripts, or structured commands, let’s dive into the different types of prompts and how each serves a unique purpose when interacting with AI.

🧠 Types of Prompts: How to Talk to AI Like a Pro

1. Zero-Shot Prompting

📌 "No examples, no context—just ask."

You’re dropping a question and hoping the model just knows the answer.

Prompt:

“Summarize the plot of Harry Potter and the Sorcerer’s Stone in two sentences.”

Output:

“Harry Potter, a young wizard, discovers his magical identity and attends Hogwarts School. There, he uncovers the mystery of the Sorcerer’s Stone while battling dark forces.”

🧠 Use Case: Perfect for direct tasks—translations, definitions, summaries, trivia.

🔢 2. Few-Shot Prompting

📌 "Show → Show → Ask."

You teach the model by giving a few examples first. This helps it learn the pattern before responding.

Prompt:

Example 1:

Q: What’s the synonym of “happy”?

A: Joyful

Example 2: Q: What’s the synonym of “angry”? A: Furious

Now you ask: Q: What’s the synonym of “sad”? A:

Output:

Melancholy

🧠 Use Case: Great for formatting tasks, consistent tone writing, or training the AI on how you want it to respond.

🔗 3. Chain-of-Thought Prompting

📌 "Don’t just answer—explain step by step."

This helps the AI think through the problem instead of jumping to conclusions. It increases accuracy, especially in logic-heavy tasks.

Prompt:

“A school has 12 classrooms. Each classroom has 5 rows with 6 benches. How many benches are there in total? Explain your reasoning.”

Output:

“Each classroom has 5 × 6 = 30 benches. There are 12 classrooms. Total benches = 30 × 12 = 360 benches.”

🧠 Use Case: Perfect for math, reasoning, coding logic, and any task requiring multi-step thinking.

🔁 4. Self-Consistency Prompting

📌 "Think multiple times. Choose the best answer."

Instead of relying on a single thought process, the model generates multiple reasoning paths and selects the most consistent result.

Prompt:

“If a bakery sells 4 cakes a day, how many will it sell in 7 days? Solve in different ways.”

AI internally thinks:

  • Method 1: 4 × 7 = 28

  • Method 2: Each day = 4 cakes, for 7 days = 28

  • Method 3: Add 4 + 4 + 4... (7 times) = 28

✅ Final Answer: 28 cakes

🧠 Use Case: Ideal when accuracy is critical—math, reasoning, or ambiguous tasks.

🎭 5. Persona-Based Prompting

📌 "Give the AI a role, and watch the magic happen."

You tell the AI who it is, and it responds with the personality, tone, and knowledge of that character.

Prompt:

“You are Sherlock Holmes. Solve this mystery: A man is found dead in a locked room. What do you observe?”

Output:

“Elementary, my dear reader. The window latch is broken from the outside—suggesting forced entry. No struggle indicates poison or deceit. The victim’s clenched fist holds a torn newspaper… a clue worth examining.”

🧠 Use Case: Perfect for role-play, customer service bots, story writing, or mimicking expert tone (like a doctor, teacher, or scientist).

Prompting isn’t just about talking to AI—it’s about thinking clearly, communicating smartly, and asking the right way. Whether you’re guiding it with zero-shot questions or crafting complex chains of thought, a well-designed prompt can turn AI from a basic tool into a powerful creative or problem-solving partner.

The better you prompt, the better AI performs. So next time you chat with a model like ChatGPT, remember—you’re not just typing, you’re prompting with purpose.

Try experimenting with your own prompts today and see how AI responds differently. Start simple. Then prompt like a pro

11
Subscribe to my newsletter

Read articles from Priyanshi Bothra directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Priyanshi Bothra
Priyanshi Bothra

AI Intern @Mappls | Ex-SDE Intern @Eterna Infotech | 5× Hackathon Winner | 6× Finalist | Full Stack Web Developer | UI/UX Designer | Gen-AI | App Development