Promt librairy to improve productivity with LLM like ChatGPT.
When writing a new prompt, go down this check list :
Mandatory
- Task
- Exemplar
Important
- Context
- Persona
Nice to have
- Format
- Tone
[persona] + [context] + [task] + [exemplar] + [format] + [tone]
This formula will give you a good output, wowerever, you don't need to use the six components.
Always start the task sentence with an action verb, ex: generate, give, write, analyze, etc. and clearly articulate what your end goal is.
It can be a simple task or a multi-task. Use a verb for each one of them.
Analyze
the collected feedback, summarize
the top 3 takeaways and categorize
the rest.
It can be quite difficult to define, here is three questions to refine your context :
- What is the user's background ?
- What does success look like ?
- What environment are they in ?
I'm a computer science student studying for a bachelor's degree.
I have to pass my exam on big data in 2 weeks.
I have very little time to revise.
Give me 3 points to prioritise to understand this subject.
The key is to give just enough information to constraint the endless possibilities.
Adding exemplars to the prompt drastically improves the quality of the output.
John Dohe, Athlete, Monaco
Alice Reed, Computer scientist, New-York
Megan Dahl, Driver, London
Re-write this list using this structure:
"My name is X, I work as a Y and I live in Z"
For example: My name is Carlos, I work as a Cook ans I live in Zurich.
Who the AI needs to be ? Who do you want to talk. Specify expert or profession for any domain.
You are an expert in cybersecurity, with more than 10 years of experience, give me...
It also works with famous personalities, even non-real ones.
Specify and visualize the exact format of the result.
Sort these feedbacks and display the results in a table with column headers: 'Feedback,' 'User,' 'Date'.
Formats examples :
- Emails
- Table
- Bullet points
- Code blocks
- Paragraphs
- Markdown
Specify the tone of the result : With enthusiasm, pessimisstic, formal, casual.