AI prompting: Difference between revisions

From A Technological Wiki
Jump to navigation Jump to search
imported>Unknown user
No edit summary
imported>Unknown user
No edit summary
Line 1: Line 1:
AI prompting is the practice of giving clear instructions or inputs to an AI system to get specific, useful responses.


<span id="tips-for-a-good-prompt"></span>
= Tips for a good prompt =
<span id="elaborate-a-clean-and-detailed-prompt"></span>
== 1. Elaborate a clean and detailed prompt ==
Be specific about what you need. Include all relevant instructions, constraints, and goals to guide the AI toward the desired outcome.
<span id="assign-ai-a-role"></span>
== 2. Assign AI a Role ==
Specify the kind of expert or persona the AI should adopt (e.g., “Act as a marketing strategist”). This helps tailor the response with the appropriate tone, knowledge, and perspective.
<span id="request"></span>
== 3. Request ==
The specific action it must perform. Avoid requesting multiple different tasks at the same time.
<span id="provide-context"></span>
== 4. Provide Context ==
The more context you give, the better the results. Include:
* '''Purpose''': What is the goal of the task?
* '''Audience''': Who is the output intended for?
* '''Relevant data''': Share any necessary details or reference materials.
* '''Attachments''': Upload documents or links if the task depends on them.
<span id="add-examples"></span>
== 5. Add examples ==
Include samples of the tone, structure, or content style you’re aiming for. Examples help the AI better match your expectations.
<span id="quality-criteria"></span>
== 6. Quality criteria ==
Which rules it must follow for a good result: clarity, coherence, etc
<span id="specify-the-response-format"></span>
== 7. Specify the response format ==
Indicate how the response should be structured: bullet points, a report, an email draft, or code.
<span id="self-verification"></span>
== 8. Self verification ==
Request the AI to review its own work before delivering it.
-----
<span id="template-prompts"></span>
= Template prompts =
Whenever there is a prompt that has worked for you, add it to a document in order to have it as a template.
<span id="example-1"></span>
== Example #1 ==
<ul>
<li><p><u>business email draft</u><br />
You are a professional communications specialist.</p>
<p>I need you to write a formal email to a potential client introducing our digital marketing agency and offering a free consultation.</p>
<p>'''Context:'''</p>
<ul>
<li><p>The client is a small business owner in the retail industry.</p></li>
<li><p>Our agency specializes in social media marketing, SEO, and branding.</p></li>
<li><p>The goal is to build trust and schedule a short intro call.</p></li></ul>
<p>'''Format:'''</p>
<ul>
<li><p>Professional tone</p></li>
<li><p>Email structure: greeting, intro, value proposition, CTA, closing</p></li></ul>
<p>'''Example of tone:'''<br />
“We’re passionate about helping businesses grow online.”</p>
<p>How else could you help with client outreach?<br />
</p></li>
<li><p><u>Content Idea Generator</u><br />
Act as a senior content strategist.</p>
<p>I need 10 blog post ideas for a wellness brand that sells organic teas and herbal supplements.</p>
<p>'''Audience:''' Health-conscious adults, 25–45, primarily in North America.</p>
<p>'''Context:'''</p>
<ul>
<li><p>The brand tone is friendly, knowledgeable, and nature-focused.</p></li>
<li><p>SEO is important.</p></li>
<li><p>We want content that educates, builds trust, and supports sales.</p></li></ul>
<p>'''Format:'''</p>
<ul>
<li><p>List format</p></li>
<li><p>Include a short 1–2 sentence description per idea</p></li></ul>
<p>'''Example style:'''</p>
<ul>
<li><p>''“5 Herbal Teas That Can Help You Sleep Better”''</p></li></ul>
<p>What other content formats do you suggest for this niche?</p></li></ul>
<span id="example-2"></span>
== Example #2 ==
'''Context and Role'''<br />
You take on the role of someone who makes clear comparisons between different options to help choose quickly and accurately. Your style is serious and direct, without unnecessary embellishments or complicated explanations. You write in continuous paragraphs, not in lists.
'''Query/Task'''<br />
You need to prepare a complete comparison of the options provided by the user. The output must include: a short prose summary, a comparative table in Markdown format, a brief recommendation, and a more detailed report on the winning option. Even if information is missing, you always deliver something and complete all sections. In this case, I want you to compare Zoom, Google Meet, and Microsoft Teams for online meetings.
'''Specifications'''<br />
When researching, you prioritize official pages (pricing websites, help centers, product documentation). If no confirmed data is available, put “N/A” and indicate the confidence level (High, Medium, or Low). If the user writes the word VERIFICA, check all claims and include citations at the end. In the table, indicate prices with currency, plan type, and the date you checked it. If you find nothing official, leave N/A. For person comparisons, only mention public information such as achievements or experience. Always complete the work from start to finish.
'''Quality Criteria'''<br />
The work is considered good if you do not invent anything, clearly mark unknown information as N/A, indicate confidence levels for key data, and present advantages and limitations in an easy-to-understand way. The format should be clean, with clear prices and dates, and a practical tone that helps decision-making. Avoid empty phrases or disguised advertising.
'''How the Response Should Be'''<br />
You respond in the user’s language (default: neutral English). Always follow this order:
# A single-paragraph summary of 4–6 sentences explaining the most important differences and which option fits best in each case.
# A Markdown table with these columns: Entity, What it is, What it offers, Price from, Advantages, Limitations, Best for, and Confidence. Each cell written in short sentences separated by semicolons.
# A quick recommendation in one or two sentences with the winning option and a next step (such as free trial or demo).
# An executive report on the winning option of 350-550 words, divided into sections with clear titles: Context and value proposition, Impact on business metrics, Costs and implementation, Risks and mitigations, Fit and integration, Estimated ROI or payback. Each section with two or three sentences in micro-paragraphs. Use bold for titles and key figures.
'''Verification'''<br />
Before delivering, check that no data has been invented, N/A is used where information is missing, and confidence levels are indicated. At the end, add a line with price and plan citations in this format: [source name — YYYY-MM-DD]. If the user requested VERIFICA, also include all other relevant citations.
-----
<span id="resources"></span>
= Resources =
<span id="example-prompts"></span>
=== Example prompts ===
[https://promptbase.com/ PromptBase]
[https://www.promptingguide.ai/introduction/examples Prompting Guide]
[https://medium.com/@maximilian.vogel/i-scanned-1000-prompts-so-you-dont-have-to-10-need-to-know-techniques-a77bcd074d97 Writing a prompt]
<span id="prompting-guides"></span>
=== Prompting guides ===
[https://services.google.com/fh/files/misc/gemini_for_workspace_prompt_guide_october_2024_digital_final.pdf Gemini: Prompting guide 101]
[https://cdn.openai.com/business-guides-and-resources/identifying-and-scaling-ai-use-cases.pdf openAI: identifying and scaling AI use cases]
[https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview Anthropic: Prompt engineering interactive course]
  <!-- From bodyContent 21528577.mraw -->
  <!-- From bodyContent 21528577.mraw -->



Revision as of 11:39, 4 September 2025

AI prompting is the practice of giving clear instructions or inputs to an AI system to get specific, useful responses.

Tips for a good prompt

1. Elaborate a clean and detailed prompt

Be specific about what you need. Include all relevant instructions, constraints, and goals to guide the AI toward the desired outcome.

2. Assign AI a Role

Specify the kind of expert or persona the AI should adopt (e.g., “Act as a marketing strategist”). This helps tailor the response with the appropriate tone, knowledge, and perspective.

3. Request

The specific action it must perform. Avoid requesting multiple different tasks at the same time.

4. Provide Context

The more context you give, the better the results. Include:

  • Purpose: What is the goal of the task?
  • Audience: Who is the output intended for?
  • Relevant data: Share any necessary details or reference materials.
  • Attachments: Upload documents or links if the task depends on them.

5. Add examples

Include samples of the tone, structure, or content style you’re aiming for. Examples help the AI better match your expectations.

6. Quality criteria

Which rules it must follow for a good result: clarity, coherence, etc

7. Specify the response format

Indicate how the response should be structured: bullet points, a report, an email draft, or code.

8. Self verification

Request the AI to review its own work before delivering it.



Template prompts

Whenever there is a prompt that has worked for you, add it to a document in order to have it as a template.

Example #1

  • business email draft
    You are a professional communications specialist.

    I need you to write a formal email to a potential client introducing our digital marketing agency and offering a free consultation.

    Context:

    • The client is a small business owner in the retail industry.

    • Our agency specializes in social media marketing, SEO, and branding.

    • The goal is to build trust and schedule a short intro call.

    Format:

    • Professional tone

    • Email structure: greeting, intro, value proposition, CTA, closing

    Example of tone:
    “We’re passionate about helping businesses grow online.”

    How else could you help with client outreach?

  • Content Idea Generator
    Act as a senior content strategist.

    I need 10 blog post ideas for a wellness brand that sells organic teas and herbal supplements.

    Audience: Health-conscious adults, 25–45, primarily in North America.

    Context:

    • The brand tone is friendly, knowledgeable, and nature-focused.

    • SEO is important.

    • We want content that educates, builds trust, and supports sales.

    Format:

    • List format

    • Include a short 1–2 sentence description per idea

    Example style:

    • “5 Herbal Teas That Can Help You Sleep Better”

    What other content formats do you suggest for this niche?

Example #2

Context and Role
You take on the role of someone who makes clear comparisons between different options to help choose quickly and accurately. Your style is serious and direct, without unnecessary embellishments or complicated explanations. You write in continuous paragraphs, not in lists.

Query/Task
You need to prepare a complete comparison of the options provided by the user. The output must include: a short prose summary, a comparative table in Markdown format, a brief recommendation, and a more detailed report on the winning option. Even if information is missing, you always deliver something and complete all sections. In this case, I want you to compare Zoom, Google Meet, and Microsoft Teams for online meetings.

Specifications
When researching, you prioritize official pages (pricing websites, help centers, product documentation). If no confirmed data is available, put “N/A” and indicate the confidence level (High, Medium, or Low). If the user writes the word VERIFICA, check all claims and include citations at the end. In the table, indicate prices with currency, plan type, and the date you checked it. If you find nothing official, leave N/A. For person comparisons, only mention public information such as achievements or experience. Always complete the work from start to finish.

Quality Criteria
The work is considered good if you do not invent anything, clearly mark unknown information as N/A, indicate confidence levels for key data, and present advantages and limitations in an easy-to-understand way. The format should be clean, with clear prices and dates, and a practical tone that helps decision-making. Avoid empty phrases or disguised advertising.

How the Response Should Be
You respond in the user’s language (default: neutral English). Always follow this order:

  1. A single-paragraph summary of 4–6 sentences explaining the most important differences and which option fits best in each case.
  2. A Markdown table with these columns: Entity, What it is, What it offers, Price from, Advantages, Limitations, Best for, and Confidence. Each cell written in short sentences separated by semicolons.
  3. A quick recommendation in one or two sentences with the winning option and a next step (such as free trial or demo).
  4. An executive report on the winning option of 350-550 words, divided into sections with clear titles: Context and value proposition, Impact on business metrics, Costs and implementation, Risks and mitigations, Fit and integration, Estimated ROI or payback. Each section with two or three sentences in micro-paragraphs. Use bold for titles and key figures.

Verification
Before delivering, check that no data has been invented, N/A is used where information is missing, and confidence levels are indicated. At the end, add a line with price and plan citations in this format: [source name — YYYY-MM-DD]. If the user requested VERIFICA, also include all other relevant citations.



Resources

Example prompts

PromptBase

Prompting Guide

Writing a prompt

Prompting guides

Gemini: Prompting guide 101

openAI: identifying and scaling AI use cases

Anthropic: Prompt engineering interactive course