Modern AI Fundamentals

0% completed

Previous
Next
7.2 Prompting Techniques

As AI models become more prevalent and powerful, how you communicate with them matters just as much as what you want them to do.

This is where the concept of “prompt engineering” comes in.

Think of it like asking a friend for a favor: the clearer and more specific you are, the better the outcome.

In this section, we’ll explore what prompt engineering means in simple terms, plus some tips on giving AI the context, clarity, and examples it needs to produce results you’ll be happy with.

What Is “Prompt Engineering”?

Prompt engineering is the process of crafting your requests (or “prompts”) in a way that guides the AI model toward generating the most accurate or relevant response.

It involves choosing the right words, format, and level of detail so the AI understands your intent.

How to Write Prompts

AI models don’t “think” like humans; they rely on patterns in the data they’ve been trained on.

By carefully structuring your prompts, you’re effectively telling the AI where to look and how to interpret your request.

A well-crafted prompt can mean the difference between a generic, unhelpful answer and a detailed, actionable response.

Everyday Examples

  • Poor Prompt:

    Write about coffee.

  • Better Prompt:

    Write a 200-word blog introduction explaining the origin, roasting process, and health benefits of coffee, in a friendly, conversational tone.

You can see how the second prompt gives the AI specific guidelines on length, content, style, and tone—leading to a more useful piece of writing.

Best Practices: Context, Clarity, and Examples

  1. Provide Context
    Give the AI the background it needs—such as the purpose of the text, the audience, or any relevant constraints (e.g., word limit, format).

  2. Be Clear & Specific
    Spell out details about tone, structure, or content. If you want a persuasive article, say so. If you need bullet points, mention it clearly.

  3. Use Examples or Templates
    Show the AI what “good” looks like, either by providing short examples or referencing a style you admire.

    For instance,

    Please rewrite the following paragraph in the style of a product review on Amazon.

  4. Iterate & Refine
    If the initial output isn’t quite right, adjust your prompt. You might add constraints, clarify your wording, or provide additional context.

Prompt engineering is often a trial-and-error process.

Each tweak gives the model a better roadmap to the outcome you want.

Quick Tips for Effective Prompting

  • Use Descriptive Language: Instead of saying “Write me a summary,” try “Summarize the key points of this article in 150 words, focusing on its historical context.

  • Set Your Parameters: Word counts, target audience, or even specific formatting requests (e.g., bullet points, headings, or tables) help narrow down the AI’s responses.

  • Stay Organized: If your request has multiple parts, list them clearly. For instance,

    1) Provide an outline of the topic, 2) Include three relevant statistics, 3) End with a call to action.

  • Consider the Model’s Limitations: Remember that AI can sometimes produce inaccurate or outdated facts. If reliability is crucial, ask for references or cross-check the information.

In the next section, we’ll go deeper into common pitfalls to avoid when working with AI, as well as methods for validating and refining AI outputs, ensuring you stay in control of the creative and decision-making process.

.....

.....

.....

Like the course? Get enrolled and start learning!
Previous
Next