0% found this document useful (0 votes)
30 views30 pages

What Is Prompt Engineering

Prompt engineering is the practice of crafting precise input instructions for AI systems to optimize their output, requiring an understanding of language models. It is essential for effective communication with generative AI tools, as specificity in prompts can significantly enhance the quality of responses. By defining scope, format, and constraints, users can ensure that AI-generated results are relevant, structured, and actionable.

Uploaded by

baywestprint
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views30 pages

What Is Prompt Engineering

Prompt engineering is the practice of crafting precise input instructions for AI systems to optimize their output, requiring an understanding of language models. It is essential for effective communication with generative AI tools, as specificity in prompts can significantly enhance the quality of responses. By defining scope, format, and constraints, users can ensure that AI-generated results are relevant, structured, and actionable.

Uploaded by

baywestprint
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 30

What is Prompt Engineering?

Prompt engineering has emerged as a critical discipline in the field of generative AI, representing the
nuanced art and science of crafting input instructions that maximize the potential of artificial
intelligence systems.

Unlike traditional programming, which relies on rigid syntax and predefined rules, prompt
engineering requires a deep understanding of language models' capabilities, limitations, and
underlying mechanisms. Generative AI, such as OpenAI's ChatGPT and DALL-E, can create text,
images, audio, and much more. Anyone can use these tools to perform a task, but the key to
obtaining high-quality results lies in how effectively you communicate with the AI. Understanding
the model's strengths and constraints allows you to refine prompts in a way that yields the best
possible outcome.

Imagine you're giving instructions to a very smart but very literal assistant. If you’re vague or
imprecise, the assistant might misinterpret your request or provide an answer that doesn't fully
meet your needs. Prompt engineering is the art of structuring your inputs to AI in a way that gets
you exactly what you want. It's like learning a new language—the language of talking to artificial
intelligence.

Why Does it Matter?

Think of an AI like a powerful but somewhat confused translator. If you're not super clear, you might
end up with something totally different from what you intended. Prompt engineering helps you
communicate precisely and get the results you're looking for.

In everyday use, AI can enhance creativity, boost productivity, and automate tedious tasks—but only
if it's guided properly. A well-crafted prompt can mean the difference between a vague, unhelpful
response and a highly useful, well-structured output. This skill is becoming increasingly important as
AI continues to integrate into various industries, from writing and marketing to software
development, legal research, customer service, and even medical diagnostics.

For example, let's say you're a writer using AI to help brainstorm ideas. If you type in "Give me some
story ideas," you might receive a broad and generic list. However, if you refine your prompt to
something like "Give me five science fiction story ideas set in a dystopian future where humans and
AI coexist but struggle for control," the AI will generate more focused and relevant suggestions. The
specificity of your request drastically improves the quality of the response.

Similarly, in programming, you can ask AI to generate a piece of code. A vague prompt like "Write a
Python function" might not be very helpful. But if you specify, "Write a Python function that takes a
list of numbers and returns a new list with only the even numbers, using list comprehension," the AI
will provide exactly what you need.

Another crucial aspect of prompt engineering is iteration. Rarely will your first prompt yield the
perfect response. Instead, refining and experimenting with different ways to phrase your
instructions can help you achieve better results. This process is akin to debugging in software
development—adjusting and optimizing until you reach the desired output.

Whether you're a student, professional, or business owner, mastering prompt engineering allows
you to harness AI's full potential and make it work for you rather than against you. As AI tools
become more prevalent, those who understand how to interact with them effectively will have a
significant advantage in productivity and efficiency.

In the following chapters, we'll dive deeper into specific techniques, best practices, and real-world
applications that will turn you into an expert in communicating with AI. From structured prompting
methods to advanced strategies like chain-of-thought reasoning, you'll learn how to craft prompts
that consistently yield high-quality outputs. Let’s get started!
Chapter 1: Limit Scope and Provide Context
Interacting with AI without setting a clear scope is like fishing without knowing what you’re looking
for. The ocean is vast, and without a clear target, you might end up catching something irrelevant—
or nothing at all.

When prompting an AI, defining scope acts as a guide, ensuring that the response is precise,
relevant, and useful. Without proper scope, the AI might provide vague, overly general, or even off-
topic information.

Setting the scope helps in three keyways:

● Increases Accuracy – The AI focuses only on relevant information, reducing unnecessary


details.

● Simplifies Interactions – A well-defined scope makes responses more structured and


efficient.

● Personalises Output – Context allows the AI to tailor responses to specific needs.

How to Limit Scope Effectively


Broad questions often lead to generic answers. The more specific the request, the more targeted
and useful the response will be. Here are three key strategies to refine a prompt effectively.

A. Be Specific About the Task


Fishing in the open ocean without a clear target is a recipe for disappointment. You might set sail
hoping to catch a prized tuna, only to end up with a net full of jellyfish and seaweed. The problem
isn’t that the ocean lacks fish—it’s that you didn’t specify what you were looking for.

Prompting AI works the same way. A broad request leaves too much room for interpretation, often
resulting in a response that is too general to be useful. If you want the AI to provide the exact
information you need, you must narrow the focus and define your catch.

Example:

● Broad prompt: "Tell me about climate change."

● Refined prompt: "Explain how deforestation contributes to climate change, with a focus on
its impact on carbon dioxide levels."

Why This Works:

1. Avoids an Overloaded Net – The broad prompt could lead to an overwhelming response
covering everything from greenhouse gases to rising sea levels. The refined prompt ensures
the AI focuses only on deforestation and its relationship to CO₂.
2. Targets the Right Catch – Instead of dragging in every aspect of climate change, the AI is
now searching for one specific connection: how deforestation impacts carbon dioxide levels.
This makes the response more relevant.

3. Delivers a High-Quality Yield – Just as a skilled fisherman uses the right net for the right fish,
a refined prompt helps the AI retrieve the most useful and accurate information, saving time
and effort.

Key Takeaway:

A well-defined request helps the AI "fish" in the right part of the ocean, bringing in the exact
information you need while avoiding a tangled mess of irrelevant details. Before prompting, ask:

● What specific aspect do I want to focus on?

● Is my question too broad, or does it lead the AI toward a precise answer?

Being specific ensures you don’t spend extra time sorting through unnecessary information, making
AI a much more efficient and valuable tool.

B. Define the Format of your output


When fishing in the ocean, it’s not enough to know where to cast your net—you also need to decide
how you want to catch your fish. If you throw in a large net without considering size or mesh
density, you might pull up an overwhelming mix of fish, seaweed, and debris. But if you use a well-
designed fishing rod with the right bait, you will reel in exactly what you need.

AI works the same way. If you do not specify the format of the response, the AI will generate
information in whatever way it thinks is best—which might not be what you need. It could provide
a lengthy essay when you wanted a concise summary, a detailed explanation when you needed
bullet points, or an unordered list when you required structured paragraphs.

Example: The Difference Between Getting Information and Getting It in the Right Format

Imagine you have a school assignment on ocean ecosystems. The teacher has asked you to write a
formal three-paragraph summary on coral reefs, deep-sea habitats, and kelp forests.

Scenario 1: A Broad Prompt That Only Provides Information

Prompt: "Tell me about ocean ecosystems."

This might generate a general, unstructured response covering everything from marine biodiversity
to pollution, with no clear focus on coral reefs, deep-sea habitats, or kelp forests. You now have to
sort through all the details and rewrite it yourself to fit the assignment requirements.

Scenario 2: A Refined Prompt That Provides the Right Information in the Right Format

Prompt: "Provide a three-paragraph summary of ocean ecosystems, focusing on coral reefs, deep-
sea habitats, and kelp forests."
Now, the AI delivers exactly what you need—a structured three-paragraph summary that directly
addresses the topics you were assigned. You no longer have to manually reshape the response, and
it is already formatted to match your homework instructions.

Why This Works:

1. Provides a Usable Structure – The AI now knows to return three cohesive paragraphs, rather
than a list of random facts.

2. Targets the Right Information – By specifying coral reefs, deep-sea habitats, and kelp
forests, the response stays focused instead of covering unrelated marine topics.

3. Eliminates Extra Work – Instead of sorting through excess information and rewriting the
response, you get something that is already assignment-ready.

Expanding the Example: Different Formats for Different Needs

The way you format your request depends on what you need the AI to produce. Let’s look at the
same topic—ocean ecosystems—but in different contexts.

Example 1: A Homework Summary

"Provide a three-paragraph summary of ocean ecosystems, focusing on coral reefs, deep-sea


habitats, and kelp forests."
The AI returns a structured three-paragraph explanation suitable for an essay or school assignment.

Example 2: A Research Presentation

"Create a PowerPoint slide outline on ocean ecosystems, highlighting key facts about coral reefs,
deep-sea habitats, and kelp forests."
The AI generates bullet points instead of paragraphs, making it easy to copy into a slide deck.

Example 3: A Quick Study Guide

"List five key differences between coral reefs, deep-sea habitats, and kelp forests in a table format."
The AI organizes information in a table, making it easy to compare and review.

Example 4: A Formal Report

"Draft a 500-word research report introduction on ocean ecosystems with citations and a formal
tone."
The AI writes a formal research introduction, including academic-style citations if requested.

Key Takeaways:

If setting the scope tells the AI where to fish, specifying the format tells it what kind of net to use.

Before prompting, ask yourself:

● What structure would make this response most useful? (Paragraphs, bullet points, tables,
summaries, slides, etc.)
● Should the response be formal, technical, or conversational?

● Is there a word limit, specific sections, or key topics that need to be covered?

By defining the format clearly, you ensure the AI gives you exactly what you need, in the most
practical way possible, reducing time spent restructuring or reformatting the response.

C. Set Constraints
A skilled fisherman doesn’t just throw a net into the ocean and hope for the best—he selects the
right size, mesh, and depth to catch exactly what he needs. A net with wide gaps might let smaller
fish escape, while a deep-sea net won’t work if the fish are near the surface.

Constraints in AI prompting work the same way. Without them, the AI might return responses that
are too broad, too long, or irrelevant to your needs. By limiting the scope through clear constraints,
you ensure the AI’s response is focused, useful, and actionable.

Example: Setting Constraints for a More Useful Response

● Broad prompt: "Give me some marketing ideas."

● Refined prompt: "Provide five social media marketing strategies for a startup with a small
budget."

Why This Works:

1. Limits the Catch to the Right Fish – The AI now knows it must provide exactly five ideas,
preventing an overwhelming flood of suggestions.

2. Nets the Right Type of Fish – By specifying social media, the AI won’t return ideas about
print ads or TV commercials.

3. Considering Environmental Conditions – The constraint “for a startup with a small budget”
ensures the AI provides cost-effective strategies instead of expensive campaigns.

Example: Personalizing Responses with Constraints

Imagine you are looking for fitness advice. A general request might pull in too much information,
requiring extra effort to filter out what is useful.

● Broad prompt: "How do I get fit?"

● Refined prompt: "I’m a 30-year-old beginner looking for a simple home workout plan with
no equipment."

Why This Works:


1. Filters Out Unwanted Catch – Instead of general fitness advice, the AI now focuses on
beginner-friendly routines.

2. Targets a Specific Depth – The AI avoids gym-based exercises, since the request specifies no
equipment.

3. Adapts to the Fisherman – The plan is now designed for a 30-year-old beginner, ensuring
that it is neither too advanced nor too basic.

By adding constraints, the AI eliminates unnecessary details, delivering a precise and useful response
instead of a generic one.

Key Takeaway:

A fisherman does not leave his catch to chance—he chooses the right tools, location, and strategy
to ensure a successful haul.

When prompting AI, consider:

1. How many results do I need? (A list of five? A summary under 200 words?)

2. What specific category should the AI focus on? (Fitness, marketing, finance?)

3. What real-world conditions should be considered? (Budget, skill level, time constraints?)

By setting clear constraints, you ensure the AI delivers exactly what you need, in the right format,
without excess information. This makes AI a more efficient and reliable tool in any workflow.

Case Study: Using AI to Improve Business Decisions – Testing Scope,


Format, and Constraints

Scenario:

You are a business consultant hired by a small chain of coffee shops that wants to expand into online
sales. The owner has asked you to research the best strategies for selling coffee products online.

Since you are using AI to assist with your research, you must apply the three key techniques for
refining prompts:

1. Be Specific About the Task

2. Define the Format

3. Set Constraints
Task 1: Being Specific About the Task

Your first attempt at prompting the AI is too broad:

Prompt: "How do I sell coffee online?"

The AI provides a long, general response that includes everything from building a website to supply
chain management. However, the coffee shop owner is primarily interested in marketing strategies,
not logistics.

The output of this prompt continued way beyond what was included in the screenshot above,
including plenty of information not relevant to your desired output.

To improve your prompt, apply specificity:

Refined Prompt: "What are the most effective digital marketing strategies for selling coffee products
online?"
Question:

● How does this refined prompt narrow down the scope?

● What details does it exclude that would have made the response less relevant?

Task 2: Defining the Format

Now that you have more relevant information, your next step is ensuring it’s delivered in a usable
format.
Your first attempt at prompting lacks format specification:

Prompt: "What are the most effective digital marketing strategies for selling coffee products
online?"

The AI generates a long list of with mixed strategies, including SEO, email marketing, and influencer
partnerships—but the information is disorganized and difficult to scan.

Refined Prompt: "List five digital marketing strategies for selling coffee online, with a brief
explanation of each."

Question:

● How does specifying the format improve the usability of the response?

● What challenges might arise if the format is left undefined?

Task 3: Setting Constraints

Even with a structured response, the AI is too general, listing expensive marketing strategies such as
celebrity endorsements and national TV ads—ideas that are unrealistic for a small coffee shop.
Your initial prompt:

Prompt: "List five digital marketing strategies for selling coffee online, with a brief explanation of
each."

Refined Prompt: "List five cost-effective digital marketing strategies for a small coffee shop selling
coffee online, with a budget of under R15,000 per month."
Question:

● How does adding constraints improve the response?

● What might happen if constraints like budget or business size were not included?

Final Challenge: Writing the Best Possible Prompt

Now that you have tested all three methods, combine them into one well-structured prompt.

Your final goal is to generate a concise, structured, and budget-friendly marketing strategy for the
coffee shop owner.

Write a prompt that applies:

● A specific focus on marketing strategies

● A clear format that is easy to read

● Constraints that ensure the recommendations are practical for a small business

Example Answer:
"Provide a bullet-point list of five cost-effective digital marketing strategies for a small coffee shop
selling coffee online. Focus on strategies with a budget of under $5,000 per month and explain why
each strategy is effective."

Conclusion: Mastering AI Prompting with the Right Fishing Strategy


Applying specificity, format definition, and constraints ensures AI-generated responses are precise,
structured, and actionable—just like selecting the right tools to catch the right fish.

1. Know where and what to fish for – Be specific about the task.

o A vague search might bring in all kinds of fish, some irrelevant. Define your target
clearly.
o Example: Instead of "How do I sell coffee online?", specify "What are the best digital
marketing strategies for a small coffee shop?"

2. Choose the right fishing method – Define the format.

o A net catches everything, while a spear is precise. The format shapes how AI delivers
results.

o Example: Instead of "Give me marketing strategies," specify "List five digital


marketing strategies with brief explanations."

3. Use the right tools for the right waters – Set constraints.

o A deep-sea rod isn’t needed for shallow water. Constraints ensure relevance.

o Example: Instead of "List marketing strategies," specify "List five strategies for a
coffee shop with a budget under $5,000 per month.

Chapter 2: Expanding context


In Chapter 1, we discussed how limiting scope helps the AI focus on the right information. Now, we
take this a step further: the more context you provide, the better the AI understands your request
and fine-tunes its response.

Think of it like teaching a new employee. If you give them minimal instructions, they might get the
job done, but with more context—such as company culture, past reports, and detailed expectations
—they will perform much better.

Methods for Providing Context


1. Up Front: Preloading Context Before Giving a Task
This method involves feeding the AI all relevant background information first and then issuing a task.

Example: Preloading Accounting Context

Step 1 (Providing Context):


"I am an accountant preparing a financial report under IFRS standards for a retail company. The
company operates in multiple countries and needs guidance on IFRS 15 (Revenue Recognition).
Please store this information and do not respond yet."

Step 2 (Giving the Task):


"Now, based on this context, summarise how IFRS 15 applies to multinational retail companies.”
The AI will give a more refined response specific to multinational retail companies. It also knows that
you require the format to be a financial report and that you are presenting it to a retail company.
You can use the methods we prescribed in chapter 1 to further refine the prompts and desired
output. Go ahead and experiment with it.

Why This Works:

● The AI fully understands the situation before generating a response.

● It reduces back-and-forth clarifications, ensuring more precise and relevant answers.

2. Let the AI Ask You Questions for More Context


Instead of providing all the context up front, you can let the AI guide you by asking what additional
details it needs.

Example: AI-Driven Context Expansion

Prompt:
"I need to calculate revenue recognition for a retail company under IFRS 15. What additional
information do you need to provide the most accurate response?"

AI's Possible Response:


To provide the best answer, I need to know:

1. What are the revenue streams?

2. How are contracts/sales structured? Are there long term contracts or is revenue recognised
at point of sale?

3. Does it offer subscription-based services or single-product sales?

4. What are the performance obligations in its contracts?

5. What currency adjustments need to be considered for international transactions?"*

Why This Works:

● The AI tailors its questions to gather the most relevant information.

● This prevents guesswork and ensures a more targeted response.

3. Providing Context in Steps


This method feeds information gradually, allowing the AI to process details layer by layer—like
solving a puzzle one piece at a time.

Example: Breaking Down an Accounting Analysis


Step 1: "I need to evaluate lease accounting under IFRS 16. Let’s start with the basics—explain how
lessees account for leases on their balance sheet."

Step 2: "Now, explain how IFRS 16 treatment differs for short-term leases and low-value assets."

Step 3: "Finally, apply this to a company that leases multiple office spaces across different countries.
What additional factors should be considered?"

Why This Works:

● The AI builds on previous information, creating a more structured and detailed response.

● Useful for complex topics where too much context at once might overwhelm the AI.

Conclusion

Expanding context allows the AI to refine and enhance its response, just like a navigator providing
constant updates for a ship on the ocean. The more details, background, and structure you provide,
the more accurate and useful the AI’s answer will be.

Prompt engineering is a new and evolving science, and providing context is one of the pillars of
generating accurate and relevant outputs. New methods of structuring and expanding context are
being experimented with daily, and the most effective techniques may vary depending on the
complexity of the task and the AI model being used.

To get the most out of AI, be open to experimenting with different ways of providing context—
whether through upfront details, AI-driven questioning, step-by-step inputs, or real-world scenarios.
Over time, refining your approach will help you consistently produce high-quality AI-assisted
outputs.
Chapter 3: Persona’s
One of the most powerful techniques in prompt engineering is instructing the AI to adopt a specific
persona before giving it a task. This allows the AI to tailor its language, tone, and approach based on
the role it is playing, ensuring responses that are relevant, accurate, and well-structured.

Just as an actor adjusts their performance depending on the character they are playing, AI can step
into different roles to provide specialized responses.

Why Use Personas?


Think of AI like an actor. If you give it a script without any direction, the performance might be flat
and generic. But if you tell the actor, “You are a CEO presenting to investors,” the delivery changes—
suddenly, there’s confidence, strategy, and focus on profitability.

The same applies when prompting AI. The more you shape the persona, the better the AI adapts its
response.

Practical example to Persona’s


Imagine you’re an accountant presenting draft financial statements to different stakeholders. Would
you explain the financials the same way to the CFO, a board member, and a department head?
Probably not. Each stakeholder has different concerns, levels of financial expertise, and priorities.

For example:

● A CFO wants to know about financial performance, variances, and compliance.

● A board member cares about profitability, investor confidence, and strategic direction.

● A department head wants to know how budgets and spending affect their team.

If you don’t adjust your message, your presentation might be too technical for some and not
detailed enough for others.

This is where personas come in. By instructing AI to adopt a specific role, you can ensure it tailors
responses based on who it's speaking to—just like you would in real life.

For this example we have taken financial statements of the SPAR Group, specifically the income
statement. This can be found at :
https://thespargroup.com/wp-content/uploads/2024/11/SPAR_Group_FY24_AFS.pdf

Scenario 1: Presentation to the CEO

In this example we are presenting the financial statements to the CEO


Prompt

Response

Scenario 2
Under scenario 2 we have chat gpt respond as a board member
Scenario 3
Chapter 4: Using Delimiters
When interacting with AI, clarity is key. Without clear boundaries, the AI might misinterpret your
request, mixing instructions with input data or providing responses that don’t match your intent.
Delimiters help solve this problem by clearly marking different sections of your prompt.

What is a Delimiter?
A delimiter is one or more characters that separate different parts of a text string. In AI prompting,
delimiters act as markers that tell the AI where one section of a prompt starts and another ends.
Let’s translate that to English. A delimiter is a symbol or a set of characters that helps separate
different parts of a prompt so that the AI knows where one part starts and another ends.

Think of it like dividers in a fishing tackle box—each section holds a different type of bait, keeping
things organized. In AI prompting, delimiters help separate instructions from input data, making sure
the AI knows what to do and what to work with.

● Common delimiters include:


curly brackets, {}

● double hashtags, ##

● angle brackets, <>

● triple dashes, ---

● XML tags such as <tag> </tag>

https://libguides.uvic.ca/promptdesign/delimiters#:~:text=Delimiters%20are%20a%20sequence
%20of,to%20understand%20your%20prompt's%20structure.

Practical use of delimiters


Imagine you are an accountant using AI to help summarise IFRS 16 (Leases) for a client who is
unfamiliar with complex accounting standards. You want a simple explanation that avoids technical
jargon.

Without a Delimiter (Confusing Prompt)

Prompt:
Help me Summarise IFRS 16 for a client with no accounting background: IFRS 16 requires lessees to
recognise most leases on the balance sheet, recording a right-of-use asset and a lease liability. This
eliminates the distinction between operating and finance leases for lessees.

Potential Wrong Response:


When summarising IFRS 16 for a client, it's important to avoid technical jargon and focus on the key
principles. The explanation should be clear and concise, emphasizing how leases are recorded on the
balance sheet.
What Went Wrong?

● Instead of summarizing IFRS 16, the AI gave advice on how to summarise it.

● The AI wasn’t sure where the instruction ended and where the standard's content began.

Creating Reusable Prompts


Delimiters make prompts more flexible and reusable. Instead of rewriting a new prompt every time,
you can swap out the text inside the delimiters while keeping the structure the same. This is
especially useful in accounting, where financial standards and calculations often require repetitive
tasks.

Example: Summarizing IFRS Standards for Different Audiences

Prompt Template:
"Summarise the following IFRS standard for a [target audience]: """[insert IFRS standard text]"""

By simply replacing the target audience and the text inside the delimiters, you can reuse the same
prompt structure:

● For a business executive:


"Summarise the following IFRS standard for a CEO with no accounting background: """IFRS
15 outlines how companies recognize revenue from contracts with customers, ensuring
revenue is reported when performance obligations are met."""

● For an accounting student:


"Summarise the following IFRS standard for a first-year accounting student: """IFRS 15
outlines how companies recognize revenue from contracts with customers, ensuring revenue
is reported when performance obligations are met."""

● For an auditor:
"Summarise the following IFRS standard for an external auditor: """IFRS 15 outlines how
companies recognize revenue from contracts with customers, ensuring revenue is reported
when performance obligations are met."""

Why This Works:

1. Saves Time – Instead of rewriting the full prompt, you only change the text inside the
delimiters.

2. Customizes the Output – The AI tailors responses based on who will read the explanation.

3. Ensures Clarity – The delimiters make it clear where the IFRS text begins and ends,
preventing misinterpretation.
Chapter 5 Splitting up complete tasks
When working with AI, it can be tempting to ask for everything at once—but just like trying to eat a
whole meal in one bite, it’s inefficient and overwhelming. Instead, breaking tasks into smaller, more
manageable sub-tasks leads to clearer responses, improved efficiency, and better results.

Why Split Up Tasks?


Think of AI like a chef in a kitchen. If you ask for a full-course meal all at once without giving
specifics, you might end up with something you didn’t expect. But if you break the task into steps—
first preparing the ingredients, then cooking each dish separately—the result is a well-structured,
high-quality meal.

Similarly, splitting tasks in AI prompts ensures better-defined outputs by focusing on one step at a
time.

Benefits of Splitting Up Tasks


1. More Defined Output – Each request is clear and focused, avoiding overly broad or mixed
responses.

2. Increased Efficiency – The AI can process and refine each step, leading to better overall
results.

3. More Control Over the Process – You can review each step and make adjustments before
moving forward.

4. Reduces Token Usage – Instead of repeating unnecessary details, only relevant summaries
are carried forward.

Getting AI to Plan First


Sometimes, the best first step isn’t to dive straight into the task but to let AI map out the best
approach. If you’re writing a business proposal, for example, don’t start by asking for the whole
document. Instead, ask:

"Before writing the proposal, outline the key sections that should be included."

Now the AI gives you a structured plan—maybe an introduction, market analysis, financial
projections, and risk assessment. Once the plan is clear, you can ask for each section separately,
ensuring a well-structured and professional result.

Using Separate Chats for Different Stages


Another way to improve efficiency is by keeping separate tasks in separate conversations. AI
remembers past inputs within a chat, but sometimes, too much information can make responses less
precise.
For example, if you’re researching financial trends, start by asking, "Summarize the latest trends in
financial technology for 2024." After gathering that information, open a new chat and say, "Using
this summary, draft an executive report explaining how these fintech trends impact small
businesses."

This method keeps each step focused and clear, preventing AI from getting bogged down by
unnecessary background details. It also reduces token usage, meaning you get more efficient, cost-
effective responses without repeating unnecessary context.

Breaking Down Complex Tasks into Sub-Tasks


Instead of dumping everything on AI at once, think of complex tasks as a series of smaller,
interlocking questions.

Let’s say you’re preparing a business presentation on cash flow management. If you ask AI to "Create
a full presentation on cash flow management, including strategies, key metrics, and case studies,"
the response might be too generic or too long-winded. Instead, try:

1. "What are the key cash flow management strategies used by successful businesses?"

2. "What are the most important metrics used to evaluate cash flow performance?"

3. "Provide two case studies of companies that successfully improved cash flow using strategic
planning."

4. "Now that I have the research, generate a structured outline for a business presentation on
cash flow management."

5. "Expand on each section of the presentation outline, ensuring clear explanations and
examples."

By handling one piece at a time, you refine the output step by step, making it more organized and
polished than if you had asked for everything at once.

When to Split Tasks


There are a few key times when splitting tasks is especially useful. If a task is complex with multiple
parts, breaking it down helps AI stay focused. When you're gathering research before producing a
final document, it’s better to summarize first, then use that summary for writing. And if you're trying
to reduce token usage, keeping each step separate ensures you don’t waste space repeating
context.

Conclusion: Work Smarter, Not Harder


Breaking tasks into smaller pieces isn’t just about improving AI responses—it’s about making your
own workflow faster, smoother, and more effective. By letting AI plan first, separating chats by task,
and tackling each piece step by step, you get clearer, more structured outputs while saving time and
effort.

Just like solving a puzzle, assembling a business plan, or preparing a financial report, the key to
success is handling one piece at a time—ensuring each part fits perfectly before moving on to the
next.
Chapter 6: Multimodal Tasks – Expanding Beyond Text
So far, we’ve focused on text-based prompting, but AI is capable of much more. Just like a chef uses
multiple ingredients to create a dish—balancing flavours, textures, and techniques—AI can process
and generate different types of media to complete more complex tasks.

This is where multimodal AI comes in. Instead of just working with text, AI can now analyze images,
generate audio, create videos, and even provide insights from photos or voice inputs.

What is a Multimodal Task?


A multimodal task is when AI combines multiple forms of media—text, images, videos, and audio—
to generate a more complete response. This means you can:

● Generate an image based on a description.

● Analyse a photo and extract information.

● Convert text into audio or video explanations.

● Process voice notes to understand complex instructions.

Just like a conversation with a person who can see, hear, and speak, multimodal AI doesn’t rely on
just one type of input or output—it can blend multiple forms of media to create richer, more
interactive responses.

Example: Diagnosing Car Problems with a Photo or Sound

Imagine your car is making a strange noise, and you’re unsure what’s wrong. Instead of typing a
vague description, you can:

1. Take a photo of the engine warning light and ask AI what it means.

2. Record the sound the engine is making and ask AI to analyze it.

3. Get a video explanation of possible issues and repair solutions.

Now, instead of spending hours searching through car forums, you get an immediate, customized
response based on real-world input.

How Multimodal AI Can Be Used for More Effective Prompt


Engineering
Prompt engineering isn’t just about writing better text prompts—it’s about communicating with AI in
the most natural and effective way possible.
Sometimes, speech conveys meaning better than text. Think about times when you’ve struggled to
write out an idea clearly, but when you say it aloud, it flows naturally.

Multimodal AI allows you to:

● Use a voice note instead of text to describe a complex idea or emotion.

● Record a spoken prompt when typing feels limiting.

● Provide emphasis through tone and inflection, which might be lost in written instructions.

Because some AI models can analyse tone and speech patterns, it picks up on subtle details that text
alone might miss.

Five Other Practical Uses of Multimodal AI

1. Designing and Generating Visual Content

AI can turn text descriptions into images, logos, or design mock-ups. If you’re starting a business and
need branding ideas, you can prompt AI with:

"Generate a logo concept for a modern coffee shop with a minimalist aesthetic."

Instead of just describing the idea, the AI creates a visual that helps you see the concept
immediately.

2. Converting Text into Audio or Video

Not everyone absorbs information best through reading. AI can take written content and convert it
into spoken narration or even video presentations.

For example, if you’re preparing a training manual, AI can:

● Convert sections into audio files for people who prefer listening.

● Create a video with animations explaining key concepts.

Instead of reading a long report, you could ask AI:


"Summarize this market analysis as a video presentation with slides and narration."

3. Helping with Home Repairs and DIY Tasks

Ever been stuck fixing something at home but didn’t know where to start? Instead of searching
through endless how-to articles, you can:

● Take a photo of a broken appliance and ask AI how to repair it.

● Upload a video of a plumbing issue and get step-by-step guidance.


By combining image recognition with instructional text or video, AI turns into a hands-on assistant
for home improvement.

4. Assisting with Fitness and Exercise

Instead of following generic workout plans, multimodal AI can:

● Analyse a photo or video of your form and provide corrections.

● Create a personalized fitness plan based on your goals and body type.

● Generate workout animations showing exactly how to do an exercise.

For example, you could ask:


"Generate a video demonstrating proper squat form based on my body mechanics."

This creates a customized and interactive fitness coaching experience.

5. Enhancing Learning and Studying

Multimodal AI can transform education by making learning more visual, interactive, and accessible.
Students can:

● Take a photo of a math problem and get step-by-step solutions.

● Turn complex concepts into explainer videos.

● Convert textbook passages into audio summaries for easier review.

Instead of asking, "Explain the theory of relativity," a student could request:


"Generate an animated video that explains the theory of relativity in simple terms."

This makes studying engaging and easier to understand.

Why Multimodal AI is the Future

Text-based AI is powerful, but combining different media types takes AI interaction to a whole new
level. Instead of just reading responses, users can now see, hear, and experience information in
more intuitive ways.

Multimodal AI allows you to:

● Bridge the gap between knowledge and action (e.g., learning by watching rather than just
reading).

● Make AI more interactive by using images, voice, and video.


● Personalise experiences based on different learning styles and needs.

As AI technology continues to evolve, blending text, images, video, and audio will become the new
standard—making tasks easier, faster, and more engaging than ever before.
Chapter 7: Other Prompt Engineering Techniques
By now, we've covered the fundamentals of prompt engineering—limiting scope, providing context,
using personas, splitting tasks, and leveraging multimodal capabilities. But advanced techniques can
further refine AI responses, making them even more targeted, efficient, and insightful.

In this chapter, we explore three advanced methods:

1. Negative Prompting – Telling AI what not to include.

2. Self-Review – Asking AI to assess and improve its own responses.

3. Custom Instructions – Creating reusable prompts for specific tasks.

Each of these methods helps fine-tune responses, reduce unwanted information, and improve AI-
generated insights.

Negative Prompting – Controlling What AI Doesn’t Include


One of the biggest challenges in AI prompting is removing unwanted information. Sometimes, when
you ask AI for a response, it includes details that aren’t relevant to your request. Negative prompting
attempts to solve this by explicitly stating what should be excluded from the response.

Example: Excluding Specific Information

Let’s say you want to learn about the history of South Africa, but you already know a lot about
Nelson Mandela and want to focus on lesser-known events.

You might prompt:


"Tell me about the history of South Africa, but do not include any information about Nelson
Mandela."

However, this technique is still evolving. The moment you bring up what not to include, you create a
"pink elephant problem"—when someone tells you not to think about a pink elephant, it’s the first
thing that comes to mind.

Sometimes, AI still mentions the excluded topic or leaves gaps in the response where that
information would have naturally fit. While negative prompting can work in highly specific cases, its
effectiveness is hit or miss.

Best Practices for Negative Prompting

● Be very specific about what to exclude. The more defined the exclusion, the better.

● Instead of negative prompting, reframe the request to redirect the AI’s focus.

● If AI still includes the unwanted topic, manually refine or reword the request.
Self-Review – Making AI Improve Its Own Responses
One of the most powerful techniques in prompt engineering is asking AI to review and refine its own
response.

Example: AI Reviewing Its Own Work

Let’s say you ask AI:


"Write a one-paragraph summary of the impact of AI on business."

AI responds with:
"AI is revolutionizing businesses by automating tasks, improving efficiency, and enhancing decision-
making. Companies across industries use AI-driven insights for better customer service, risk
assessment, and operational improvements."

Now, instead of immediately accepting the response, ask AI to review itself:


"Review your last response for improvements. Identify any weaknesses, explain the reasoning for
changes, and rewrite it."

AI might respond:
"Upon review, my initial response was informative but lacked depth on challenges businesses face
when adopting AI. The revised version includes both benefits and potential risks."

Revised Response:
"AI is transforming businesses by automating tasks, improving efficiency, and enhancing decision-
making. However, adoption challenges include high implementation costs, data security concerns,
and workforce adaptation issues. Companies must balance AI-driven innovation with ethical and
operational considerations."

By forcing AI to critique its own work, you get a stronger and more balanced response—without
needing to refine it yourself.

When to Use Self-Review

● When you need a more in-depth answer than what AI first provides.

● When responses lack clarity, structure, or depth.

● When generating content for professional or academic purposes.

Custom Instructions – Personalizing AI Responses


Custom instructions allow you to define how AI should respond based on your needs. Instead of
writing a new prompt every time, you can predefine instructions that AI follows whenever you
interact with it.

For example, suppose you want AI to help with self-study in business strategy. Instead of making a
new request every time, you can create a custom instruction:

Prompt:
*"I am interested in business strategy and its application in real-world companies. Can you provide
case studies that showcase how different companies have successfully implemented strategic
frameworks? Each case study should include:

● A brief company overview

● The challenges they faced

● The strategic solutions they implemented

● The outcomes achieved."*

Now, every time you ask for case studies, AI follows this structure, ensuring consistent and relevant
responses.

Other Uses for Custom Instructions

● Writing Style Preferences: "Always respond in a concise, professional tone."

● Industry-Specific Knowledge: "Explain concepts using financial industry examples."

● Content Format Requirements: "Summarize in bullet points first, then provide a detailed
explanation."

By defining how AI should think and respond, custom instructions make AI more aligned with your
needs.

Conclusion: Fine-Tuning AI for Maximum Effectiveness


Advanced prompt engineering techniques give you more control over AI responses.

● Negative prompting attempts to exclude unwanted information, but its effectiveness varies
—it’s best to redirect focus rather than explicitly state exclusions.

● Self-review techniques allow AI to critique and improve its own work, resulting in more
refined and insightful responses.

● Custom instructions ensure consistent, structured responses by guiding AI on how to handle


specific types of requests.

As AI continues to evolve, experimenting with different techniques will help refine your approach—
ensuring AI is not just a tool but a strategic partner in problem-solving, learning, and business
decision-making.

You might also like