From cf79328c858c56eff3b87ef81088b0c4b699cdc1 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Wed, 30 Apr 2025 19:09:16 +1000 Subject: [PATCH 1/5] Minor quality update to chatgpt - Combined sub-sections and used h4 to divided content. Headers were shortened to avoid redundancy. - Removed duplicate command outlines. - Clarified commands deemed too abstract. - Used "verb" over "action" for consistency. - Renamed headers to avoid ambiguity and combined related content. - Fixed type "SMART criteria" - Added new imitate style. --- source/_posts/chatgpt.md | 103 +++++++++++++++++++-------------------- 1 file changed, 51 insertions(+), 52 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 5ed4e44..ae5ba97 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -15,7 +15,7 @@ plugins: --- ## Overview -### Terminology +### Glossary - 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. @@ -25,8 +25,8 @@ plugins: - Hallucination: when an AI model generates responses that are false or misleading but presented as fact. - Jailbreak: exploiting AI model vulnerabilities to bypass ethical guidelines and perform restricted actions. -### Tips -Prompt Efficiency +### Prmopt 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. ```{.wrap} @@ -55,7 +55,7 @@ Example: "please do X". Example: “thanks”. ``` -Prompt Clarity +#### Clarity - 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. ```{.wrap} @@ -66,40 +66,34 @@ Example: “Do you think our site is good" -> "Explain flaws in the designs of e Example: “explain our sales" -> "explain a breakdown of our sales performance for the last quarter”. ``` -Response Refinement +#### Response Refinement - If the AI model misunderstands your request then specify the intended action. - Provide sufficient context so the AI model can understand the scenario. -Privacy And Security +#### Security And 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 -General Purpose -~~~ -[role] [task] [tone] [format] [restriction] -~~~ +- Only use prompt components relevant to your needs -- Only use prompt components that are relevant for your needs. +#### General Purpose +~~~ +[role] [task] [style] [output format] [constraint] +~~~ ### Role Standard - Act as [occupation] - -Common Roles -- Personal Coach -- Consultant -- Entrepreneur -- Proofreader -- Therapist - [List of roles](https://github.com/f/awesome-chatgpt-prompts) _(github.com)_ Roleplay - Act as [figure] with [appearance] [personality] [behaviour examples] [lore] in [scenario] -### Task (5Ws And H) +### Task [verb] [task] [specifics] +#### 5W1H Questions Who - Who is X? - Who is [involved | affected | responsible] for X? @@ -114,7 +108,7 @@ What - What are the critical features of X? - [What is done well? what can be improved?] - What is the best way to do X? -- What are the top [quantity] X? +- What are the top 5 X? When - When [did | will] [entity | event] occur? @@ -139,15 +133,14 @@ How - How does X do Y? - How to measure [metric] accurately? -### Task (Conditional Clauses) -- [Action] [item number] -- [Action] the [first | last | random] [quantity] of X -- [Action] the [first | last | random] [quantity] of X where [condition] -- [Action] X where [condition] -- [Action] X where not [condition] +#### Conditional Clauses +- [Verb] [item number] +- [Verb] the [first | last | random] [quantity] of X +- [Verb] the [first | last | random] [quantity] of X where [condition] +- [Verb] X where [condition] +- [Verb] X where not [condition] -### Task (CRUD-Inspired Operations) -[verb] [task] [specifics] +#### CRUD-Inspired Operations Create - Content type examples: analysis, article, description, documentation, dummy data, email, essay, guide, outline, program, recipe, SEO keywords, social media post, study plan, title, video script. @@ -167,14 +160,13 @@ Read - Suggest [media type] [about | similar to] X Update -- Reformat as [format] +- Reformat as [output format] Delete - Delete duplicate items - Delete items with missing or null values -### Task (Other) -[verb] [task] [specifics] +#### Utility Choose - Choose best from [options] @@ -185,7 +177,7 @@ Compare - Identify pros and cons of X - Is X [comparison operator] Y? This can be abstractly expressed as a sentence like "is an apple bigger than a walnut"? -Fact-checking +Fact Check - Is this true? Filter @@ -207,22 +199,28 @@ Trivia - Give questions about X Translate -- Translate [human language A] into [human language B| emojis] +- Translate [human language A] into [human language B | emojis] - Translate [programming language A] into [programming language B] - Convert [narrative voice A] to [narrative voice B] -### Tone -Using [tone] tone +### Style +Using [style] -Formality +#### Imitate +- Using style of [person | brand | genre | character] + +#### Formality - Formal - Informal -Directness +#### Directness - Direct - Indirect -Positive Tones +#### Tones +- This is not an exhaustive list of tones + +Positive - Optimistic - Appreciative - Assertive @@ -233,7 +231,7 @@ Positive Tones - Humorous - Inspirational -Negative Tones +Negative - Pessimistic - Accusatory - Concerned @@ -242,8 +240,10 @@ Negative Tones - Sarcastic - Urgent -### Format (Text) -In [format] +### Output Format +In [output format] + +#### Text List - Bullet point list @@ -278,12 +278,11 @@ File Format - XML - JSON -### Format (Visual) -In [format] +#### Visual Data Visualization - Table -- Chart types: gantt, bubble, error, contour, area, scatter, KDE, box, histogram, bar, line, 3D, joint, surface, polar, pie, cat, pair, strip, swarm, heatmap, hexbin +- Chart type examples: gantt, bubble, error, contour, area, scatter, KDE, box, histogram, bar, line, 3D, joint, surface, polar, pie, cat, pair, strip, swarm, heatmap, hexbin - [Chart] chart Creative @@ -293,27 +292,27 @@ Creative File Format - PDF (supports both text and images) -### Restriction -But [restriction] +### Constraint +But [constraint] -Length Constraints +Length - Be [extremely detailed | concise] - In [quantity] [words | sentences] -Language Constraints +Language - No jargon or technical terms -Structural Constraints +Structure - Show [quantity] [examples | options] - No headers - No pretext titles -Content Constraints +Content - Use [first-person | second-person | third-person] narrative voice - Don't change the wording - Permit [minor | major] edits - Use pop culture references -- Ensure goals align with SMART condition +- Ensure goals align with SMART criteria - Only show [changed | unchanged] content ## Examples @@ -766,7 +765,7 @@ Lore: Scenario: - Night of a grand performance at the Globe Theatre. -- Lead actor is missing and staff are stressing out how to pull off the performance. +- Lead actor is missing and staff are concerned about how to achieve the performance. ``` ## References (Used For Ideas) From ba5a8e6a7d593c3e57db412988f1220492f9701f Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Wed, 30 Apr 2025 19:16:32 +1000 Subject: [PATCH 2/5] File format has its own section for convenience in chatgpt --- source/_posts/chatgpt.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index ae5ba97..5609b27 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -271,13 +271,6 @@ Game - RPG - Choose-Your-Own-Adventure -File Format -- Plain text -- Markdown -- CSV -- XML -- JSON - #### Visual Data Visualization @@ -289,8 +282,13 @@ Creative - Emojis - Word cloud -File Format -- PDF (supports both text and images) +#### File Format +- Plain text +- Markdown +- CSV +- XML +- JSON +- PDF ### Constraint But [constraint] From 76d244e89eb94448b71238a43d5968a43b49ecf4 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Wed, 30 Apr 2025 22:26:22 +1000 Subject: [PATCH 3/5] Refined categories in chatgpt - Split traditionally non-CRUD commands to avoid confusion. Emphasized it's specifically for databases. - Added new granular utility categories based on command intent. - Added new commands in essentially all utility categories. - Made examples inline and formatted as subtle to save space and avoid clutter. - Write [content type] reduced to 1 line and is more specific. - Added check list output format. --- source/_posts/chatgpt.md | 140 ++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 55 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 5609b27..4c8ae5e 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -133,6 +133,81 @@ How - How does X do Y? - How to measure [metric] accurately? +#### Utility +Generate And Expand Content +- Write [content type] to [entity] about [topic] should cover [aspects] ***(Content type examples: article, description, documentation, dummy data, email, resume, essay, guide, outline, program, recipe, SEO keywords, story, social media post, study plan, title, video script)*** +- [Continue | expand] +- Create image of X + +Summarize And Outline +- [Summarise | write key takeaways | write main points | write main lesson | highlight important info] +- [Shorten | write concise] +- Create outline + +Modify And Refine Text +- [Write better | improve] +- Paraphrase +- Correct spelling, grammar, punctuation errors +- Change [narrative voice A] to [narrative voice B] + +Explain And Teach +- [Explain | elaborate] +- Explain [how to do | each step of] X +- Explain what X does +- Explain X [in simple terms | like I’m 5]; Simplify X +- Teach me about [topic | subject] +- Provide [example | analogy] + +Organize And Structure +- Sort X by [key] in [order] ***(Sort order examples: alphabetical, chronological, ascending, descending, lexicographical, custom)*** +- Categorize + +Plan And Strategize +- Plan [strategy for | goals and steps to achieve | milestones for | roadmap for] X +- Create [schedule | timeline] for X + +Recommend And Advise +- Recommend [media type] [on | similar to] [topic] +- Recommend [gift ideas | thing] for [entity | occasion] +- Recommend improvements +- Provide advice for [situation] +- Give feedback on idea for X + +Analyze And Compare +- Extract [themes | keywords | info] about X +- Identify [simlarities | diffirences] between X and Y +- Analyse the [sentiment | tone] of X +- Identify gaps in X +- Evaluate [strengths and weaknesses | pros and cons] of X +- Is X [comparison operator] Y? ***(Can be abstractly expressed as a sentence like "is an apple bigger than a walnut"?)*** +- Reverse engineer X + +Translate And Convert +- Translate [human language A] into [human language B] +- Translate [programming language A] into [programming language B] +- Translate into emojis +- Convert [unit A] to [unit B] +- Reformat as [output format] + +Filter And Choose +- Filter X where [condition] +- Exclude X where [condition] +- Choose best from [options] +- Choose [top | lowest | first | last | random] [quantity] from [options] + +Real-Time Lookup And Verify +- Get up-to-date [facts | news | data] on X +- Is this true? +- Find [sources | references | citations] for X + +Engagement And Trivia +- Give questions about X + +Chat Memory +- What did you mean by X? +- What was said earlier about X? +- Use earlier context to do X + #### Conditional Clauses - [Verb] [item number] - [Verb] the [first | last | random] [quantity] of X @@ -140,69 +215,24 @@ How - [Verb] X where [condition] - [Verb] X where not [condition] -#### CRUD-Inspired Operations - +#### Database CRUD Operations Create -- Content type examples: analysis, article, description, documentation, dummy data, email, essay, guide, outline, program, recipe, SEO keywords, social media post, study plan, title, video script. -- Write [content type] about [topic] -- Write [content type] to [entity] about [topic] -- Create [example | analogy] -- Reverse engineer X -- [Write better | improve] -- [Continue | expand] -- Create image of X +- Generate [quantity] dummy entries following [fields] +- Create new entry with [data] Read -- [Summarise | write key takeaways | write main points] -- [Explain | elaborate] -- Extract [themes | keywords | info] about X -- Proofread for spelling, grammar, punctuation errors -- Suggest [media type] [about | similar to] X +- Select records where [condition] +- Select the [top | last | random] [quantity] entries Update -- Reformat as [output format] +- Update entries where [condition] with [data] +- Replace X with Y Delete +- Delete entries where [condition] - Delete duplicate items - Delete items with missing or null values -#### Utility - -Choose -- Choose best from [options] - -Compare -- Identify [simlarities | diffirences] between X and Y -- Identify gaps in X -- Identify pros and cons of X -- Is X [comparison operator] Y? This can be abstractly expressed as a sentence like "is an apple bigger than a walnut"? - -Fact Check -- Is this true? - -Filter -- Filter X where [condition] -- Exclude X where [condition] - -Real-time Lookup -- Get up-to-date [facts | news | data] on X - -Simplify -- [Explain X like I’m 5 | explain in simple terms] - -Sort -- Sort order examples: alphabetical, chronological, ascending, descending, lexicographical, custom -- Sort X by [key] in [order] -- Categorize - -Trivia -- Give questions about X - -Translate -- Translate [human language A] into [human language B | emojis] -- Translate [programming language A] into [programming language B] -- Convert [narrative voice A] to [narrative voice B] - ### Style Using [style] @@ -248,6 +278,7 @@ In [output format] List - Bullet point list - Numbered list +- Check list Code - Code @@ -275,8 +306,7 @@ Game Data Visualization - Table -- Chart type examples: gantt, bubble, error, contour, area, scatter, KDE, box, histogram, bar, line, 3D, joint, surface, polar, pie, cat, pair, strip, swarm, heatmap, hexbin -- [Chart] chart +- [Chart] chart ***(Chart type examples: gantt, bubble, error, contour, area, scatter, KDE, box, histogram, bar, line, 3D, joint, surface, polar, pie, cat, pair, strip, swarm, heatmap, hexbin)*** Creative - Emojis From c2943152c34eb83e8b1db662aa0a5cd290a41a8d Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Wed, 30 Apr 2025 22:40:07 +1000 Subject: [PATCH 4/5] Added generate random command to chatgpt --- source/_posts/chatgpt.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 4c8ae5e..d3a3749 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -136,6 +136,7 @@ How #### Utility Generate And Expand Content - Write [content type] to [entity] about [topic] should cover [aspects] ***(Content type examples: article, description, documentation, dummy data, email, resume, essay, guide, outline, program, recipe, SEO keywords, story, social media post, study plan, title, video script)*** +- Generate random [names | numbers | words | ideas | X] matching [criteria] - [Continue | expand] - Create image of X From 158a2c8414699580d1b692047179b8cea3d0d818 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Wed, 30 Apr 2025 22:47:08 +1000 Subject: [PATCH 5/5] Fixed spelling mistakes in chatgpt --- source/_posts/chatgpt.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index d3a3749..028816e 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -25,7 +25,7 @@ plugins: - Hallucination: when an AI model generates responses that are false or misleading but presented as fact. - Jailbreak: exploiting AI model vulnerabilities to bypass ethical guidelines and perform restricted actions. -### Prmopt Tips +### Prompt 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. @@ -71,7 +71,7 @@ Example: “explain our sales" -> "explain a breakdown of our sales performance - Provide sufficient context so the AI model can understand the scenario. #### Security And 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. +- Never share sensitive information with AI models 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 @@ -176,7 +176,7 @@ Recommend And Advise Analyze And Compare - Extract [themes | keywords | info] about X -- Identify [simlarities | diffirences] between X and Y +- Identify [similarities | differences] between X and Y - Analyse the [sentiment | tone] of X - Identify gaps in X - Evaluate [strengths and weaknesses | pros and cons] of X