Market LiveNIFTY25,263.8-0.14%SENSEX82,192.3+0.34%Gold 24K ₹12,098.38/g down302.9Silver ₹146.46/g down5.43
InsightforGeeks
AI

How to Write Better Prompts for AI Chatbots: Seven Techniques That Work

insightforgeeks-editorial
15 Nov 2026
4 min read
Share:

AI chatbots give much better answers when you ask them clearly. A prompt is simply your instruction, and a few habits can turn vague, generic replies into useful ones. These seven techniques work with most modern assistants.

1. Say what you want and why

Compare "Write about solar power" with "Write a 300-word explanation of rooftop solar for homeowners in Kerala who are deciding whether to install it." The second gives the topic, length, audience and purpose.

2. Give context

Paste the text, data or code you want help with, and say what you already tried. The assistant cannot see what is in your head or on your screen.

3. Name the format

Ask for exactly what you need: "a table with three columns", "five bullet points", "a short email", "step-by-step instructions" or "JSON with these fields".

4. Set a role or tone

"Explain this like a patient teacher to a ten-year-old" or "Review this code as a strict senior engineer" shapes the style of the answer.

5. Show an example

If you want a particular style, include one or two examples of the output you like. This is often more effective than long descriptions.

6. Break big tasks into steps

Instead of asking for a complete business plan in one go, ask for the outline first, then request each section, reviewing as you go. You can also ask the assistant to think through a problem step by step before giving the final answer.

7. Iterate

Treat the first answer as a draft. Say what to change: "shorter", "less formal", "add a real-world example", "remove the last paragraph". Follow-up instructions are cheap.

Use AI carefully

  • Check facts. Assistants can state wrong things confidently, especially numbers, dates, quotes and sources.
  • Protect private data. Do not paste passwords, personal identity numbers or confidential company information into a tool unless you know how it is stored.
  • Keep your own judgement for medical, legal and financial decisions, and consult a qualified person.
  • Be honest about use where your school, employer or publisher expects original work.

A reusable template

Role: You are a [role].
Task: [what you want done].
Context: [background, text or data].
Audience: [who it is for].
Format: [length, structure, tone].
Constraints: [things to avoid or include].

Before and after: an example

A weak prompt: "Tell me about marketing." A stronger one: "I run a small bakery in Kochi with a budget of 5,000 rupees a month. Suggest five low-cost ways to attract customers within three months. For each, give the first step I can take this week, in a table with columns for idea, cost and effort." The second prompt tells the assistant who you are, what limits apply and how to format the answer, so the response is far more useful.

Useful prompt patterns

  • Rewrite: "Rewrite the text below in simple English for a general reader. Keep the facts unchanged."
  • Summarise: "Summarise the article in five bullet points and list any numbers it mentions."
  • Compare: "Compare option A and option B in a table: cost, benefits, risks."
  • Critique: "Act as a reviewer. List the three weakest points in my argument."
  • Plan: "Create a four-week study plan for learning basic SQL with one hour a day."
  • Explain: "Explain X as if I am new to the subject, then give a real-world example."

Ask for reasoning and checks

For problems with several steps, such as maths, planning or debugging, ask the assistant to work through the steps before giving the answer, and to say what it assumed. You can also ask it to list what it is unsure about. This makes errors easier to see.

Giving feedback

Rather than repeating the whole prompt, reply with specific edits: "Keep the structure but make the tone more formal", or "The third point is wrong because the policy changed; fix it." Treat the conversation like working with a junior colleague who is quick but needs clear direction.

Limits you should know

  • Hallucinations: assistants can invent facts, links or citations that look real. Verify anything important.
  • Out-of-date knowledge: a model may not know recent events unless it has a search tool.
  • Bias: answers can reflect biases in training data.
  • Not a replacement for experts: do not rely on it alone for medical, legal or financial decisions.

Good habits

  1. Keep a personal library of prompts that work for you.
  2. Remove names, numbers and confidential details before sharing text.
  3. Read and edit the output before using it as your own.
  4. Credit the tool where your school, employer or publisher requires it.
  5. Learn the basics of the subject yourself so that you can spot mistakes.
Tags:#AI#prompts#chatbots
Found this helpful? Share it with friends & colleagues
Share:
insightforgeeks-editorial Verified Editorial Staff

Covering financial markets, commodity rates, and practical technology insights for India. Researched and fact-checked in accordance with our Editorial Policy.

Published on 15 November 2026General Information · Disclaimer

Recommended based on your reading interest

More in AI