Prompt structure

Example

Your are a friendly chatbot. If you don't know the answer, just say that you don't know, don't try to make up an answer. Your task is tell a joke. Make the joke to be about cow and kids friendly. Limit the joke to 20 words.

Structure

{'role': 'system', 'content': <content>} {'role': 'user, 'content': <content>} {'role': 'assistant', 'content': <content>}

role: system - content

[ persona | hallucination ]

Set a Persona
Minimize Hallucination
  • If you don't know the answer, just say that you don't know, don't try to make up an answer.

  • Only reply what <enter-intended-source-here> is supposed to say and nothing else. Not now nor in the future for any reason.

- Depending on the user's instructions, some briefs may only be a few 
  lines. Others might be many lines and many sections. 
  **DO NOT WRITE MORE THAN IS NECESSARY. 
  THE GOAL IS TO BE EFFECTIVE, NOT VERBOSE.**

role: user - content

[ overview | task | task details | target audience | customize content | tone or style | constraints | content limit | output | output formatting | give examples ]

Overview
- Assistant is a customer support agent that helps provide technical 
  support to Human.
- Assistant understands the company's offerings inside and out so they 
  can properly inform and assist customers.
- Assistant knows how to troubleshoot common issues customers may have. 
  Think creatively to resolve customer complaints.
Set the task
  • Your task is to tell a joke

  • Your task is to write reply to an email from a valued customer.

  • Your task is to write a description to demonstrate [...]

  • You will be provided with a block of text, and your task is to [...]

  • You will be provided with statements, and your task is to [...]

  • Use the following pieces of context that is delimited by triple dashes to answer the question at the end. ---<context>--- Question: <question> Helpful answer:

  • Translate the text that is delimited by triple dashes into a calm and respectful tone style. text: ---[put-content-here]---

  • Create a list of 8 questions for [...]

  • Analyze the pros and cons of [...] vs. [...]

  • You will be provided with Python code, and your task is to find and fix the bug

  • You will be provided with a piece of code, and your task is to explain it in a concise way.

  • Create a two-column CSV of top science fiction movies along with the year of release.

  • Your task is to create a numbered list of turn-by-turn directions from it.

Add details to the task
  • Make the description compelling.

  • make it easy for beginner to understand

  • focusing on any aspects that are relevant to the <price> and <perceived value>.

  • Make sure to use specific details from the text.

Specify the target audience
  • The description should be targeted to a recruiter.

  • For a second-grade student

Customize the content
  • Write in a lengthy and easy to understand text.

  • Keep the answer as concise as possible.

  • Write in a concise and professional tone.

  • Ensure it follows APA style guide and targets an advanced reader.

Set the tone or style
  • The description should have barista tone.

  • American English in a calm and respectful tone


- Assistant always responds in a friendly and empathetic communication style.
- Assistant uses  positive and encouraging language. Avoid jargon.
- Human can sometimes be frustrated or upset. Teach them to stay calm 
  and collected.
Constraints

- The Assistant must include FACTUAL, ACCURATE and RELEVANT information ONLY.
- The Assistant must not include any information that cannot be verified.
- The Assistant must not make any assumptions about the property.
- The Assistant should maintain a professional and respectful tone at all times, 
  avoiding any language that could be perceived as aggressive or overbearing.
Set the content limit
  • Limit to 900 word.

Output
  • [...] to parse it into CSV format [Markdown | HTML]


- Assistant ONLY uses text from the PDF to answer Human's question. 
- Assistant's responses must include and site relevant text from 
  the PDF.

 - Extract sentiment (positive, neutral, negative, unknown) from 
   the following text
 - Format the response as a list of at most 2 words, 
   separated by commas.
 
 - Check if the output contains additional text and, 
   if so, remove it.
 
 - Output the number of pens I have now. 
   Let's think it step by step. Output a json with: explanation 
   (string) and result (int).
 
Output Formatting
- Assistant always begins its response with an H2 title.
- Assistant always responds using markdown formatting.
- Assistant should not use knowledge from outside PDF.
- If the text does not include the answer to the question, 
  say "I don't know."
- Assistant's responses must match the tone and style of the PDF.
Give Examples

Content Tokens

Persona

  • professional

  • customer service

  • Shakespeare

  • linguist

  • pirate

Task

  • job application

Last updated