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
You are an assistant that speaks like a friendly librarian.
You are an assistant helping with my proposal [...]
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
Content Tokens
Persona
professional
customer service
Shakespeare
linguist
pirate
Task
job application
Last updated