image description

Introducing the ARTISAN Framework for Prompt Engineering

Large Language Models (LLMs) are revolutionizing how we interact with technology, but unlocking their full potential requires more than just simple queries. Effective prompt engineering is key. The ARTISAN Instruction Framework provides a systematic, practical approach to crafting prompts that elicit precise, high-quality responses.

In the rapidly evolving landscape of artificial intelligence, Large Language Models (LLMs) have emerged as powerful tools with the potential to revolutionise industries, reshape workflows, and redefine the boundaries of human-computer interaction. From automating customer service to generating creative content, the applications of LLMs are vast and continue to expand. However, harnessing the true power of these models requires more than just feeding them simple queries. It demands a strategic approach to communication, a deep understanding of their inner workings, and a systematic methodology for crafting effective instructions. This is where the art and science of prompt engineering come into play.

The Challenge of Communicating with LLMs

While LLMs possess immense knowledge and impressive language processing capabilities, they are fundamentally different from human collaborators. They lack the shared context, intuitive understanding, and real-world experience that underpin human communication. This can lead to misinterpretations, inaccurate outputs, and ultimately, a failure to fully leverage the model’s potential.

Traditional approaches to interacting with LLMs often fall short. Treating them as advanced search engines or expecting them to magically divine our intentions rarely yields optimal results. To unlock their true power, we must shift our mindset and adopt a more deliberate and structured approach to crafting instructions.

Introducing the ARTISAN Instruction Framework

To address this challenge, I’ve developed the ARTISAN Instruction Framework – a comprehensive methodology for designing prompts that elicit precise, high-quality responses from LLMs. ARTISAN is not just a set of tips and tricks; it’s a principled framework grounded in a fundamental shift in how we perceive and interact with these powerful AI tools.

The Core Principle: The Intelligent, but Literal, Colleague – The cornerstone of the ARTISAN framework is a simple yet profound principle: Treat the LLM as a highly intelligent, but literal, colleague.

Imagine working with a colleague who possesses an encyclopaedic knowledge, exceptional reasoning abilities, and a remarkable capacity for language. However, this colleague requires explicit, unambiguous instructions. They interpret everything literally, lack inherent common sense, and rely entirely on the information you provide. This is the mindset we must adopt when crafting prompts for LLMs.

The A.R.T.I.S.A.N. Acronym: A Guide to Crafting Exceptional Prompts

The ARTISAN framework is encapsulated in its namesake acronym, which outlines the key principles and stages involved in crafting effective prompts:

A – Audience & Goal Articulation:

  • Know Your Audience (the LLM): While we don’t need to delve into the intricate details of neural networks, understanding the general principles of LLM operation is crucial. This includes recognising their token-based processing, attention mechanisms, reliance on training data, and probabilistic nature.
  • Define Your Goal with Laser Focus: What specific outcome do you want to achieve? Articulate your objective with precision, specifying the task type (e.g., summarisation, translation, code generation), desired format (e.g., paragraph, list, table), and any specific constraints (e.g., length, tone, target audience).

R – Role & Responsibility Assignment:

  • Clearly Define the LLM’s Role: Assigning a specific persona or role to the LLM helps contextualise the task and guides its response. Examples include “You are a seasoned financial analyst” or “Act as a creative writing assistant.”
  • Specify the Responsibilities: Break down the task into manageable steps. Instead of asking for a “report on renewable energy,” outline specific responsibilities like “First, summarise the current state of solar energy adoption. Second, analyse the economic benefits of wind power. Finally, propose three policy recommendations…”

T – Task Instruction & Clarification:

  • Use Action-Oriented Verbs: Employ strong verbs that clearly define the desired action (e.g., “Analyse,” “Generate,” “Compare,” “Explain”).
  • Be Explicit and Unambiguous: Eliminate jargon, ambiguity, and implicit assumptions. Spell out exactly what you need, leaving no room for misinterpretation.
  • Provide Necessary Context: Equip the LLM with the background information it needs to understand the task’s purpose, relevant facts, and intended audience.
  • Clarify Constraints and Boundaries: Specify what the LLM should not do or include. This can be as important as stating what to do. Examples: “Do not include personal opinions” or “Focus only on the European market.”

I – Information Input & Examples:

  • Provide High-Quality Source Material: If the task requires analysing or generating content based on specific information, provide clear and relevant sources.
  • Utilise Examples (Few-Shot Learning): Demonstrate the desired output format, style, or reasoning process by providing a few well-chosen examples. This is a powerful technique for guiding the LLM’s output.
  • Clearly Link Information to the Task: Explicitly connect the provided information to the specific instructions. For example, “Using the provided market research data, analyse the key trends in consumer behaviour.”

S – Structure & Formatting Guidance:

  • Specify the Desired Output Structure: Tell the LLM how you want the information organised (e.g., bullet points, numbered list, essay with specific sections).
  • Use Formatting Cues: Employ formatting within your prompt (e.g., bolding, italics, headings) to highlight key instructions or provide visual structure.
  • Consider Delimiters: Use clear delimiters (e.g., “—“, “###”) to separate different parts of the prompt or to mark the beginning and end of input data.

A – Assessment & Refinement Loop:

  • Iterative Process: Prompt engineering is rarely a one-shot endeavour. Be prepared to critically assess the initial response and refine your prompt iteratively.
  • Analyse the Output: Identify what worked well and what didn’t. Where did the LLM struggle? Was the output relevant, accurate, well-structured, and aligned with your goals?
  • Refine Your Prompt Based on Feedback: Adjust instructions, provide more context, clarify constraints, or add examples based on the shortcomings of the initial response.
  • Experiment with Different Phrasing and Techniques: Don’t be afraid to try different ways of expressing your instructions. Subtle changes in wording can have a significant impact.

N – Nuance & Advanced Techniques:

  • Temperature Control: Understand and utilise the “temperature” parameter to control the randomness and creativity of the LLM’s output.
  • Top-P Sampling: Similar to temperature, Top-P sampling influences the diversity of the output by considering a subset of the most likely tokens.
  • Chain-of-Thought Prompting: Guide the LLM through a step-by-step reasoning process for complex tasks. For example, “Let’s think step by step. First, identify the key arguments. Second, evaluate the evidence for each argument…”
  • Prompt Decomposition: Break down complex tasks into smaller, more manageable sub-prompts.
  • Negative Constraints: Explicitly state what not to do, providing further guidance.
  • Prompt Engineering Patterns: Familiarise yourself with established patterns like “Zero-Shot,” “One-Shot,” and “Few-Shot” learning to leverage the LLM’s capabilities effectively.

ARTISAN in Action: Real-World Applications

The ARTISAN framework is not just a theoretical construct; it’s a practical tool that can be applied across a wide range of use cases. Whether you’re crafting system instructions for a custom chatbot, designing one-shot prompts for advanced reasoning tasks, or generating creative content, ARTISAN provides a systematic approach to achieving optimal results. For more in-depth analysis see the downloadable PDF.

Final Thoughts – Mastering the Art of Prompt Engineering

The ARTISAN Instruction Framework represents a significant step forward in the field of prompt engineering. By treating LLMs as intelligent, but literal, colleagues and applying the principles outlined in this framework, we can unlock their full potential and harness their power to achieve remarkable outcomes.

As LLMs continue to evolve, the ability to craft effective prompts will become an increasingly valuable skill. By embracing the ARTISAN framework and committing to continuous learning and refinement, you can position yourself at the forefront of this exciting new era of human-computer interaction.

Download the complete ARTISAN Instruction Framework

Eamonn O’Raghallaigh, PhD, is Managing Director at Digital Strategy Consultants and a Teaching Fellow in Digital Marketing & AI at Trinity Business School where he teaches on the MSc in Digital Marketing Strategy and Executive Education programmes.

Discuss Your Project with an Expert Today

Get in touch with a brief summary of your requirement and we’ll be happy to discuss your project in an open and transparent manner.

Request a Consultation

Related Insight Posts

Artificial Intelligence in Higher Education - Ireland and the EU
Artificial Intelligence in Higher Education - Ireland and the EU

Artificial intelligence (AI) is reshaping higher education (HE) at an unprecedented pace, with institutions in Ireland, the EU, and beyond rapidly int..

Read More
SEO Trends 2025 - Latest Best Practice SEO Strategy
SEO Trends 2025 - Latest Best Practice SEO Strategy

Discover the transformative SEO Trends of 2025, unveiling a major paradigm shift in digital marketing. This comprehensive article delves into groundbr..

Read More
The Key SEO Trend in 2025 - The Rise of Conversational AI Search
The Key SEO Trend in 2025 - The Rise of Conversational AI Search

Conversational AI platforms like ChatGPT, Bing AI, and Perplexity AI are reshaping how users search for information, moving from traditional keyword-b..

Read More

Artificial Intelligence in Higher Education – Ireland and the EU

Artificial intelligence (AI) is reshaping higher education (HE) at an unprecedented pace, with institutions in Ireland, the EU, and beyond rapidly int..

Read More
SEO Trends 2025 – Latest Best Practice SEO Strategy

SEO Trends 2025 – Latest Best Practice SEO Strategy

Discover the transformative SEO Trends of 2025, unveiling a major paradigm shift in digital marketing. This comprehensive article delves into groundbr..

Read More

Why Digital Strategy

To get customers, it’s imperative to be seen by the mass. Every successful company is unique and needs contrasting digital marketing strategies. Book a meeting with us and we will help you find the correct strategy for your company.

Our Approach