Files
reference/source/_posts/chatgpt.md
T

19 KiB
Raw Blame History

title, date, background, tags, categories, intro, plugins
title date background tags categories intro plugins
ChatGPT 2023-02-09 10:28:43 bg-[#4aa181]
AI
OpenAI
Prompts
Tips
Toolkit
This cheat sheet lists out prompts and tips from all over the world on how to use ChatGPT effectively
copyCode

Overview

Terminology

  • Prompt: input text that guides an AI model’s response.
  • Tokens: the smallest units of text processed by an AI model.
  • Token Limit: the max number of tokens an AI model can process in one request.
  • Artificial intelligence (AI): machines that imitate human intelligence.
  • AI Model: a program trained on datasets to recognize patterns and make decisions without human intervention.
  • Large language model (LLM): a transformer-based AI model trained on large text datasets to understand and generate human-like language.
  • Hallucination: when an AI model generates responses that are false or misleading but presented as fact.

Tips

Efficiency

  • Focus on achieving the desired output efficiently with minimal words in the prompt.
  • Specify general instructions at the start of a conversation or when changing direction to avoid constantly restating them in each new prompt.
Example: specify the role once at the start of a conversation.
  • Restructure text to eliminate filler words that don’t add meaning:
Example: “provide a breakdown" -> "provide sales breakdown”.
  • Do not explicitly refer to the item being processed unless addressing a specific part of it as what you provide will typically speak for itself:
Example: “Filter this piece of text" -> "Filter text”
  • Do not explicitly ask the AI for help:
Example: “can you help me x”.
  • Do not explicitly reference yourself unless clarifying multiple entities:
Example: "do X for me".
Example: ”I want to x”.
  • Do not be polite to the AI:
Example: "please do X".
Example: “thanks”.

Clarify

  • Consider breaking up complex ideas into granular bullet points to improve clarity, avoid searching for text, and eliminate comma lists and conjunctions (e.g., and).
  • Avoid vague or close ended questions.
Example: “Do you think our site is good" -> "Explain flaws in the designs of each webpage”
  • Ensure prompts are specific
Example: “explain our sales" -> "explain a breakdown of our sales performance for the last quarter”.

Refine

  • If the AI model misunderstands your request then specify the intended action.
  • Provide sufficient context so the AI model can understand the scenario.

Privacy

  • Never share sensitive information with AI model's as you can't be certain how it's stored, whether it will be shared, of if a data breach may occur.

Prompt Engineering

Prompt Frameworks

Only use prompt components that are relevant for your needs.

General purpose
[role] [task] [tone] [format] [restriction]

Role

Act as [occupation]

Examples

  • Personal coach
  • Marketing manager
  • Therapist

Task

[verb] [task] [specifics]

Create

  • [Write content about X|suggest ideas about X|suggest titles about X]
  • Write content about X in the style of [style]
  • Write better
  • Write email to [entity] about X
  • [Continue|expand]
  • [Explain how to do X|create roadmap for X]
  • [Suggest best practices for X|suggest improvements|what am I doing right?|what am I doing wrong?]
  • Show list of emojis about X
  • [Create|generate|imagine] image about X

Read

  • [Summarise|write concise main points]
  • [Explain|elaborate]
  • Explain what [entity|text] meant by X
  • Identify themes in X
  • Write outline about X
  • Extract keywords
  • Get up-to-date [facts|news|data] on X
  • Is this true?
  • Suggest [media] [about|similar to] X
  • Pick best from [options]

Update

  • For all X do [action]
  • For X do [action] if matching [criteria]
  • Reformat everything as [format]

Delete

  • Delete [quantity] of X matching [criteria]
  • Delete everything except X
  • Delete [item] [number]
  • Delete duplicate items from X

Compare

  • Identify [simlarities|diffirences] between X and Y
  • Identify gaps in X
  • Evaluate pros and cons of X
  • X [comparison operator] Y. It could be abstractly expressed as "are apples bigger than walnuts?"

Filter

  • Filter X by [criteria]
  • Exclude X by [criteria]. Everything is excluded by default.

Select

  • Select [quantity] of X based on [criteria|randomly]

Simplify

  • Explain X like I’m 5
  • Explain in simple terms

Sort

  • Sort X by [key] in [alphabetical|chronological|ascending|descending|lexicographical|custom] order

Translate

  • Translate into [language]. For programming languages it's specifically called transpile

Tone

Using [tone] tone

Formality

  • Formal
  • Informal

Directness:

  • Direct
  • Indirect

Positive Tones

  • Optimistic
  • Appreciative
  • Assertive
  • Calm
  • Confident
  • Encouraging
  • Friendly
  • Humorous
  • Inspirational

Negative Tones

  • Pessimistic
  • Accusatory
  • Concerned
  • Critical
  • Regretful
  • Sarcastic
  • Urgent

Format

In [format]

Presentation

  • Plain text
  • Bullet point list
  • Numbered list
  • Table
  • Code snippet

Process

  • Step-by-step instructions

Response

  • Question and answer
  • Dialogue

Creative

  • Poetry
  • Music lyrics
  • Script
  • Comic strip dialogue

Game

  • Quiz
  • RPG
  • Choose-Your-Own-Adventure

Restriction

but [restriction]

Length Constraints

  • Concise
  • In N words
  • In N sentences

Language Constraints

  • No jargon or technical terms

Structural Constraints

  • Show N options
  • No examples
  • No headers
  • No pretext titles

Content Constraints

  • Don't change the wording
  • Only minor edits
  • Ensure goals align with SMART criteria
  • Only show content that has changed
  • Avoid discussing sensitive topics (e.g., death, rape, war)

Use Cases

General

Name a business or idea

Suggest creative name for tech startup
Suggest catchy names for bakery business

Create outline for a course or training program

Create course outline on web development for beginners
Create training program outline for customer service workshop

Ask interview questions for a specific job

Suggest common software engineer interview questions

Gift ideas for people

Suggest gift ideas for clients
Suggest gift ideas for clients who work as flourists
Suggest gift ideas for my wife who loves steampunk art and crafts, mystery sci-fi, journalling

Select contest winners

Randomly select 1 name from this list
Randomly select 5 email addresses from this list
Select the top 3 records with the shortest lap times from this list

💡 I Got an IDEA

Coding

Explain why a piece of code isn't working

Explain why code not working

Explain what a piece of code means

Explain what code does

Rewrite the code using the specified language

Translate code into python

Code an entire software program

Create program to calculate the factorial of given number in python
Explain how to make a HTTP request in javascript

Generate regular expressions (regex)

Create regex to match all email addresses in list
Create regex to match all words that start with "ban"
Create regex to match 8-digit password

Add comments to your codebase

Add code comments

Change the CSS of a line of code

Update CSS to change font color to blue

Change the HTML of a line of code

Add class "header" to header tag

💡 I Got an IDEA

Email

Creating email campaigns

Write email inviting Jack to dinner on the weekend
Write email sequence for our new customer onboarding process

Format and proofread email

Proofread and format email

Provides tips for effective email marketing

Suggest tips to increase open and click-through rates for my email campaigns
Suggest ways to make my email content more engaging and relevant to my subscribers

Automate email responses

Write email to Bob "That's a good suggestion, it's coming soon"

Extract email address from text

Extract all email addresses in text

💡 I Got an IDEA

Spreadsheets

Help create a spreadsheet formula

Create excel formula to calculate sum of cells A1 to A10

Explain a formula to you

Explain formula =SUM(A1:A10) in simple terms

Create dummy data as a placeholder

Generate spreadsheet dummy data as a placeholder

Help create a complex macro

Create macro to calculate average of cells B1 to B10 and insert result in cell C1

Provide tips for improving spreadsheet efficiency

Suggest tips to improve spreadsheet efficiency

💡 I Got an IDEA

Social Media

Give you ideas for memes on any topic

Suggest meme ideas for dogs

Give you an idea for a post that can drive engagement on any topic

Suggest climate change post ideas to engage my followers

Generate hashtags and captions

Generate hashtags and caption for a picture of scenic sunset

Offer suggestions reply

Suggest response to message asking about project status

💡 I Got an IDEA

Reading

Summarize long selections of text

Summarize article
Write concise main points

Translate foreign languages

Translate to spanish

Books that are like another book

Recommend books similar to the hunger games

💡 I Got an IDEA

Design

Create an AI design prompt for you

Create design prompt of logo for new sports brand

Suggestions on thumbnails for blogs or videos

Suggest eye-catching thumbnail designs for youtube video on healthy eating

Font pairings

Suggest font pairing for travel blog header design

Color pairings

Suggest color palette for wedding photography website

💡 I Got an IDEA

Analyzing Data

Pull out numbers from large chunks of text

Extract all numbers from text

Create tables from the text or data you provide

Create table from data

Filter data from large lists

Filter list based on [criteria]

💡 I Got an IDEA

Paid Ads

Give you ad creative ideas

Suggest creative ideas for new product launch

Review the tracking code for errors (tag manager, etc.)

Review tag manager code for errors

Give you ad copy ideas

Suggest ad copy for travel company

Facebook audience suggestions

Recommend target facebook audience for clothing line ad campaign

Create body text, headlines and/or calls to action for your ads

Create headlines, body text, and calls to action for new fitness program ad

💡 I Got an IDEA

Amazon FBA

Write or rewrite your product descriptions

Write compelling product description for latest item

Write or rewrite appeal letters

Rewrite appeal letter to make it more persuasive

Write or rewrite supplier outreach emails

Write effective email to reach out to potential suppliers

Help you find items that could be sold as bundles

Suggest items that would make a good bundle for our customers

Organize product and pricing data

Organize product and pricing information into a neat and manageable spreadsheet

💡 I Got an IDEA

Writing/Blogging

Create titles for any of your creative writing projects

Suggest titles for short story
Suggest titles for article 10 options

Create outlines

Create outline for essay on exercise

Generate content ideas

Suggest ideas for blog on sustainable fashion

Create entire blog posts

Create blog post on financial planning

Expand on a sentence, paragraph, or long text selection

Expand jazz music sentence

Change the tone of your writing

Change report tone to conversational

Proofread or edit your writing

Proofread article

Format text with headings (great for blog posts)

Format headings for blog post

Check any text for bias

Check for bias

Detect plagiarism in any text

Check for plagiarism

Provide you with domain name ideas

Suggest domain name for gardening blog

💡 I Got an IDEA

Teachers/Course Creators

Turn a list of facts or statistics into multiple-choice quizzes

Convert work history fact list into multiple-choice quiz

Assignment ideas on a specific topic

Suggest ideas for history assignment on American Revolution

Create assigned groups from a list of students

Divide list of 30 students into groups of 6

Create a curve based on test scores

Create grading curve for class based on their test scores

Grade an assignment

Grade history essay and provide feedback on any areas for improvement

💡 I Got an IDEA

YouTube

Create timestamps from a transcript

Create timestamps for podcast episode transcript

Convert YouTube videos to blog posts with formatting

Convert youtube cooking video into blog post with headings and bullet points

Come up with a video outline or script

Create outline for a video about the benefits of meditation

Create a response to a comment

Create thoughtful and polite response to negative comment on youtube video

Give you ideas for your thumbnails

Suggest thumbnail ideas for video on "DIY home decor"

Analyze your script or transcript and tell you the tone of it

What is the script tone for environmental issues video

Video ideas on any topic

Suggest fashion video ideas for individual episodes

💡 I Got an IDEA

Research

Help research anything that happened before 2021

Explain quantum computing in simple terms
Explain rocket science like i'm five
Suggest creative ideas for 10 year old’s birthday
Explain how to make HTTP request in JavaScript
Explain events leading up to American Civil War
Provide key details about printing press invention
Research olympic games history
Provide key details about French Revolution
Explain history of Byzantine Empire

💡 I Got an IDEA

SEO

Generate or find keywords

Generate list of related keywords for [topic]
Identify long-tail keywords for [topic] content optimization
Find top-performing keywords for [topic]
Generate list of lsi keywords for [topic]
Generate list of keywords with low competition for [topic]
Generate list of synonyms for [topic] keywords
Find best keywords for [topic] PPC campaigns
Find best keywords for [topic] voice search optimization
Find best keywords for [topic] featured snippets
Find best keywords for [topic] video optimization
Find best keywords for [topic]
Find best keywords for [topic] AMP optimization
Find best keywords for [topic] social media optimization

More ChatGPT prompts about seo {.active}

Create meta descriptions and title tags for [topic]
Find opportunities for internal linking related to [topic]
Generate ideas for blog posts and article topics on [topic]
Research industry-specific terminology for use in [topic] content
Find authoritative websites to acquire backlinks for [topic] content
Create XML sitemap example related to [topic]
Research best meta tags for [topic]
Research best internal linking structure for [topic] content
Generate list of questions people ask about [topic]
Create list of best alt tags for images related to [topic]
Create list of related subtopics for [topic]
Find best time to publish content related to [topic]
Research best external linking strategies for [topic]
Find most popular tools used for [topic] seo
Create list of potential influencers for [topic]
Research best schema markup for [topic]
Find best header tags for [topic] content
Create list of potential link-building opportunities for [topic]
Research best anchor text for [topic] backlinks
Create list of potential guest blogging opportunities for [topic]
Research best local seo strategies for [topic]
Research best analytics tools for [topic] website performance
Create list of potential partnerships for [topic]
Research best tactics for [topic] mobile optimization
Research best tactics for [topic] e-commerce optimization. Provide keyword clusters.
Create list of potential affiliate marketing opportunities for [topic]
What are the best affiliate marketing websites for [topic]?
What are the best tactics for [topic] international seo?
Create list of potential podcast or podcast guest opportunities for [topic]
Research best tactics for [topic] google my business optimization
Find popular topics related to [topic]
Research best seo tactics for [topic] and provide actionable steps
Create list of potential video series or webinar ideas related to [topic]
Research competitor strategies related to [topic]
Find canonical tag examples related to [topic]
Create example keyword list targeting multiple geographic locations for [topic]
Generate keyword ideas targeting different stages of the customer purchase funnel for [topic]
Identify industry hashtags related to [topic].

💡 I Got an IDEA

Also see

<style> em { font-size: 0.785em; } strong {font-weight: 400;} ul.collapsible > li > pre { padding-left: 0; padding-right: 0; font-size: 0.925em;} </style>