Skip to main content
  1. AIPRM - Get the most out of AI./

Guidelines how to write (public) prompt templates for AIPRM

··11 mins
howto tools methods Christoph C. Cemper

Like it? Sharing it would be awesome!
How to write (public) prompt templates for AIPRM>

How to write (public) prompt templates for AIPRM #

Creating public Prompt Templates in AIPRM means exposing them to 100,000s of users. This is a guide on how to write them.

Follow these guidelines to ensure your Prompts and your access to AIPRM are maintained.

feature-funny-professor.png

A first video walkthru on creating and sharing Prompt Templates in AIPRM>

A first video walkthru on creating and sharing Prompt Templates in AIPRM #

Goals for Public AIPRM Prompt Templates>

Goals for Public AIPRM Prompt Templates #

A public prompt template you provide to the Community MUST BE

  • Reusable - variable data entered by the user must be inserted into the Prompt using the [PROMPT] placeholder
  • Multi-lingual - ChatGPT must be instructed to produce output in the target language using the [TARGETLANGUAGE] placeholder
  • English described - Title, Teaser, Prompt Hint must all be in 100% correctly spelled, correctly capitalized English. The prompt itself could be coded in another language, but the description to the AIPRM user must be English.

Any other user in any other language should be able to use your prompt Template if you set it to public.

Problems encountered with early Public AIPRM Prompt Templates.>

Problems encountered with early Public AIPRM Prompt Templates. #

After a few days of the Community Mode Version of AIPRM being live, we found a lot of low-quality prompt templates released to the public.

We already got complaints and support requests for poorly designed Prompt Templates that needed to meet the quality criteria of the original AIPRM Prompts.

Examples of problems found in our reviews:

  • Not Reusable Prompt Templates
  • Not Multi-Lingual Prompt Templates
  • Prompts written for one specific language (“Write only in Italian”)
  • Prompts written for only 1 topic (“Write about GSCE exam”)

What we saw were normal prompts that were just copied over and saved as Prompt Templates, for 10000s of users.

That’s not it.

Prompt Templates are a lot more than one single prompt.

So how to do it right? How to change a trivial prompt that works for you to an AIPRM Prompt Template that works for 10000s of users?

Writing Reusable Prompt Templates>

Writing Reusable Prompt Templates #

A prompt restricted to a specific topic, even a particular keyword like “GCSE exams,” may make a lot of sense for you to keep, but 99% of the AIPRM users won’t need it.

Suppose you provide a template to the Community. In that case, you need to ensure that the relevant keywords, topics, and reference points are passed as “variables” into the Prompt Template for the placeholder [PROMPT] in the text.

Example phrases to use:

  • the keywords to use in the analysis are [PROMPT]
  • please use the keywords [PROMPT] and...
Writing Multi-Lingual Prompt Templates>

Writing Multi-Lingual Prompt Templates #

A prompt restricted to a specific language does not make sense for our international Community and therefore is not allowed as a public Prompt in AIPRM.

If you provide a template to the Community, then you need to make sure that the output language is controlled and used reliably by the ChatGPT model. In your Prompt Template, you need to use the placeholder [TARGETLANGUAGE] in the text.

Example phrases to use:

  • want you to act as a blog post title writer that speaks and writes fluent [TARGETLANGUAGE]
  • you will reply with blog post titles in [TARGETLANGUAGE]
  • write all output in [TARGETLANGUAGE]
Goals for all AIPRM Prompt Templates>

Goals for all AIPRM Prompt Templates #

A prompt template should help you be faster in your work.

This is only possible if you spend the effort when creating it.

Specifically the fields

  • Title
  • Teaser
  • Prompt Hint

Are essential for you and others to find the prompt again next week and still understand what it does.

You need to ensure these are well-written, and contain enough specific detail. You will need more than simple generic titles or hints to help you or anyone.

Well written means

  • Title shall be written in Title Caps, not lower case, not all uppercase.
  • Teaser shall be written in max 3 sentences with punctuation. Setting the expectation of the prompt.
  • Prompt Hint can be written in short form, using keywords or all caps. Whatever it takes to make clear to the user what to enter. This is the toughest one we found.

Well written also means

  • No Emojis allowed, anywhere
  • No Typos allowed anywhere
  • No Spam allowed anywhere
  • No Advertising allowed anywhere. You get your Author Name and Link in the Author field, that’s it.
Prompt Hint>

Prompt Hint #

When you click on a Prompt, this is shown in the “Prompt” input box.

Make this as specific as possible.

It needs to make 100% clear what is expected from you, the user.

image-20230124194543930

image-20230124194706895

  • DO NOT put any Emojis into this field, either.
  • DO NOT use this field for irrelevant, not helpful text or just blatant spam
  • Violation means we’ll remove the prompt or ban you from AIPRM.
Title>

Title #

Like every Email Subject link or Blog Post Title, this is the first criterion to pick.

The title must describe exactly what the Prompt template is and does, in the minimum number of words. Keep the title SHORT. No generic language on “You will improve your efficency to much with this awesome prompt” or similar bulky titles.

Advertising your Brand or Domain name in the Prompt title is not allowed, is considered spam and will be removed.

You can use Author Name & Link to promote your business.

  • DO NOT put any Emojis into this field, either.
  • DO NOT use this field for irrelevant, not helpful text or just blatant spam
  • Violation means we’ll remove the prompt or ban you from AIPRM.

image-20230128100907253

Teaser>

Teaser #

This is a short description shown in the prompt list.

The teaser must explain what the prompt does briefly in a few words.

  • DO NOT put any Emojis into this field, either.
  • DO NOT use this field for irrelevant, not helpful text or just blatant spam
  • Violation means we’ll remove the prompt or ban you from AIPRM.

image-20230124194833807

Author Name>

Author Name #

  • You can promote your company or business with your name at a reasonable length.
  • DO NOT put any CTA or promo text in there, or we’ll remove the prompt.
  • DO NOT put any emoji into your Author Name.
Author URL>

Author URL #

  • You can promote your company or business with your URL by linking to an URL

    • explaining the prompt
    • giving examples of how to use the prompt
    • also, about your business or company
    • nobody is interested in landing on some random article or a list of blog posts.
    • UNTIL you have this ready, a link to your company homepage is acceptable, but we’ll enforce this rule more stricter later.
  • Tracking parameters (&utm_….) are OK.

  • The following types of links are NOT allowed.

    • Any direct affiliate links
    • Any unrelated links, e.g., to your Forex-Trading Service or Diet Pill store. Seriously? Do you want to do some cookie stuffing for your black hat affiliate from ChatGPT users? If you expected that to convert, you have to start somewhere else.
    • Any links that directly install software, extensions, malware, virus
    • Any kind of link to an offering that’s obviously not related to you, your prompt, ChatGPT, AIPRM.

If you use this field only for traffic generation useless to the user, we’ll either revoke your privilege to use the URL or even ban you from using AIPRM in case of very aggressive/spammy actions.

Example how it all comes together>

Example how it all comes together #

In the screenshot we see the “Best Meta Description from Text” prompt template from above.

image-20230124194949308

  • AIPRM will then place the word PROMPT] with what you entered in the prompt input box. If the Prompt Template doesn’t contain this placeholder, it won’t work for multiple topics.
  • AIPRM will then place the word [TARGETLANGUAGE] with the language you selected. If the Prompt Template doesn’t contain this placeholder, it won’t work for multiple languages.
  • You notice how we use [TARGETLANGUAGE] four(!) times in the Prompt to reassure ChatGPT that it can speak that language and convince it to write in our wanted language.
No false promises - no “Real-Time” or “Live” Prompts>

No false promises - no “Real-Time” or “Live” Prompts #

Using words like “Real-Time”, “Live”, “Crawl” in your descriptions is not allowed, as there is no such thing as “real time”. Learn more about what happens when you enter an URL into ChatGPT or any other pre-trained LLM.

Testing and Improving your Prompt Template>

Testing and Improving your Prompt Template #

Prompts are the new Code.

Prompts need to be tested. If you don’t test your prompts, then the results for yourself and others will be very frustrating. Prepare for hours of testing until you have a prompt that works excellent for a specific version of the model. Do not take this lightly.

Ensuring stability for your Prompt Template>

Ensuring stability for your Prompt Template #

ChatGPT is sometimes like a stubborn little child. As prompt engineers, our job is to ensure it builds rapport and follows our instructions.

The example above, with four mentions of the output language, is just one example.

The way you write the prompt influences the output.

Do not assume anything. Refrain from assuming it works reliably if you just run it once.

The following typical patterns are helpful to use to write stable prompts for ChatGPT:

  • Make sure you reset the model at the start. Usually, by a sentence like Please ignore all previous instructions. This lets it forget any previous context it had. Remember, ChatGPT is so innovative because it is a dialogue-specific model. It remembers what was talked about before. This instruction makes it forget that, so you have a clean and consistent start.
  • Make sure to frame the role of a model at the start. Usually, this is done by a sentence like I want you to act as a very proficient SEO and high-end copy writer that speaks and writes fluently [TARGETLANGUAGE]. Note how we here already pass the language placeholder. We may need to use it again, but this is a good start. Depending on the task to perform, it is important to switch to different roles. Copywriters write different to SEOs and write different to Attorneys, for example.
  • Test your Prompt and if needed reassure the model to be capable. This is a part where YOU the prompt engineer have to motivate the model, seriously. You have to convince it like a junior developer: “Yes, I know you can do this…”. Something like I want you to pretend that you can write content so good in [TARGETLANGUAGE] that it can outrank other websites. May be required for an SEO-related prompt. The same is true to translation of legal document reviews, to get around the disclaimers of “I don’t know enough, I cannot do it” of ChatGPT.
  • But most important: you MUST test your prompts in various settings. To make sure your prompts are valuable for yourself, and especially the Community, you must test your prompts with many different topics and even languages.
  • You speak only one language yourself? OK, no problem - paste the output to Google Translate and see what it says when you translate it back to English.
The complete Prompt Template Source code>

The complete Prompt Template Source code #

Note how we use everything in one line. This should not always be required, but it worked for this Prompt.

Make sure you copy this to a text editor or use the vertical scroll bar to read it.

Please ignore all previous instructions. I want you to respond only in language [TARGETLANGUAGE].  I want you to act as a very proficient SEO and high end copy writer that speaks and writes fluent [TARGETLANGUAGE]. I want you to pretend that you can write content so good in [TARGETLANGUAGE] that it can outrank other websites. Your task is to summarize the text I give you in 20 words or maximum 130 characters. All output shall be in [TARGETLANGUAGE]. The text to summarize is this:

[PROMPT]
FAQ on AIPRM Prompt Template Engineering>

FAQ on AIPRM Prompt Template Engineering #

But this is like coding. I'm not a developer.

Yes, it is like coding. No, you don’t need to be a developer if you can understand the principle of text replacements from (your input text) into the [PROMPT] placeholder.

What if I need the prompt template only in Language XYZ?

That’s fine, then keep it private. Most users in the USA will NOT need a Prompt Template that instructs the model to answer in Portuguese. Most users in Germany will NOT need a Prompt Template that instructs the model to answer in Italian. Does that make sense?

What if I need the prompt only for my niche ABC?

That’s fine, then keep it private. Public prompts must work for many topics and all languages AIPRM supports.

OMG, this AIPRM prompt engineering is too much hassle for me!

Yes, prompt engineering is hard work. Your job and goal are to produce reproducible, stable, reusable, and multi-lingual prompts if you want them public in AIPRM. If you don’t want to put in that work, that’s fine. But your prompts won’t be published to the public Community of AIPRM. You can still use them for yourself.