From a9b4dc4e5628ee193948236dc5dff535ab3b9761 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Thu, 1 May 2025 17:22:29 +1000 Subject: [PATCH 1/8] Added new output formats for chatgpt --- source/_posts/chatgpt.md | 51 ++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 028816e..84f33e7 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -276,32 +276,36 @@ In [output format] #### Text +Paragraphs +- Paragraphs ***(default)*** + List -- Bullet point list +- Bulleted list - Numbered list - Check list Code - Code -Process +Instructions - Step-by-step instructions -Response -- Question and answer -- Dialogue +Questions And Answers +- Q&A +- FAQ -Creative -- Script -- Comic strip dialogue +Creative Writing +- [Joke | humour] +- [Lyrics | song] +- [Metaphorical | stylized language] - Poetry -- Music lyrics -- Riddle +- [Riddle | puzzle] +- [Script | screenplay | dialogue] +- [Story | narrative] -Game -- Quiz -- RPG -- Choose-Your-Own-Adventure +Interactive And Educational +- [Quiz | test | flashcards | drills] +- [Interactive fiction | role-playing game | choose-your-own-adventure] #### Visual @@ -309,17 +313,28 @@ Data Visualization - Table - [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 +Creative Visual +- ASCII Art - Emojis - Word cloud -#### File Format +#### File Type +Document +- PDF + +Structured Data And Markup - Plain text - Markdown -- CSV +- HTML - XML +- CSV - JSON -- PDF +- LaTeX + +Programming Code And Scripting +- [Programming language] +- Pseudocode +- Regular expression ### Constraint But [constraint] From 1f43ae7c4a9f25e839fd81c4ba9345526a90ed21 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 17:56:13 +1000 Subject: [PATCH 2/8] Simplified content - Split long sections - Deleted complex descriptions - Deleted old references - Updated roleplay example for clarity --- source/_posts/chatgpt.md | 312 +++++++++++++++++++++++++++++++-------- 1 file changed, 254 insertions(+), 58 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 84f33e7..3e4c3b8 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -14,112 +14,147 @@ plugins: - copyCode --- -## Overview +## Glossary + ### 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. - 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. +- 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. - Jailbreak: exploiting AI model vulnerabilities to bypass ethical guidelines and perform restricted actions. -### Prompt Tips -#### Efficiency +## 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. +- Specify general instructions at the start of a conversation or when changing direction to avoid constantly restating + them in each new prompt. + ```{.wrap} Example: specify the role once at the start of a conversation. ``` + - Restructure text to eliminate filler words that don’t add meaning: + ```{.wrap} 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: + +- 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: + ```{.wrap} Example: “Filter this piece of text" -> "Filter text” ``` + - Do not explicitly ask the AI for help: + ```{.wrap} Example: “can you help me x”. ``` + - Do not explicitly reference yourself unless clarifying multiple entities: + ```{.wrap} Example: "do X for me". Example: ”I want to x”. ``` + - Do not be polite to the AI: + ```{.wrap} Example: "please do X". Example: “thanks”. ``` -#### 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). +### 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} Example: “Do you think our site is good" -> "Explain flaws in the designs of each webpage” ``` + - Ensure prompts are specific + ```{.wrap} 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. -#### Security And Privacy -- 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. +### Security And Privacy + +- 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 -- Only use prompt components relevant to your needs -#### General Purpose -~~~ +### Prompt Frameworks + +General Purpose + +``` [role] [task] [style] [output format] [constraint] -~~~ +``` ### Role + Standard -- Act as [occupation] + +- Act as [occupation] with [specifications] - [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 +- Act as [name] with [visual description] [personality] [behaviour examples] [lore] in [scenario] + +### Task (5W1H Questions) {.secondary} + [verb] [task] [specifics] -#### 5W1H Questions Who + - Who is X? - Who is [involved | affected | responsible] for X? - Who should I contact for help with X? What + - [What is | define | explain | describe] X? - What does X do? - What did [entity | text] mean by [quote]? - What events led up to [event]? - What [assumptions | risks | constraints] exist for X? - What are the critical features of X? -- [What is done well? what can be improved?] +- [What is done well? | what can be improved?] - What is the best way to do X? - What are the top 5 X? When + - When [did | will] [entity | event] occur? - When is X due? - When is the best time to initiate X? Where + - Where did [entity | event] happen? - [Where to find X? | where to find resources about X? | suggest websites about X] Why + - Why did [entity] choose [approach]? - Why [did | will] [event] occur? - Why is [approach] being implemented? @@ -128,30 +163,36 @@ Why - Why is it important? How + - How to do X? - How does X work? - How does X do Y? - How to measure [metric] accurately? -#### Utility +### Tasks (Core Functions) {.secondary} + 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)*** + +- Write [content type] to [entity] about [topic] should cover [aspects] - Generate random [names | numbers | words | ideas | X] matching [criteria] -- [Continue | expand] +- [Continue | extend | lengthen] - 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 @@ -160,14 +201,18 @@ Explain And Teach - Provide [example | analogy] Organize And Structure -- Sort X by [key] in [order] ***(Sort order examples: alphabetical, chronological, ascending, descending, lexicographical, custom)*** + +- 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 @@ -175,15 +220,17 @@ Recommend And Advise - Give feedback on idea for X Analyze And Compare + - Extract [themes | keywords | info] about X - 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 -- Is X [comparison operator] Y? ***(Can be abstractly expressed as a sentence like "is an apple bigger than a walnut"?)*** +- Is X [comparison] Y? - 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 @@ -191,67 +238,81 @@ Translate And Convert - 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 +### Task (Conditional Clauses) {.secondary} + - [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] -#### Database CRUD Operations +### Task (Database CRUD Operations) {.secondary} + Create + - Generate [quantity] dummy entries following [fields] - Create new entry with [data] Read + - Select records where [condition] - Select the [top | last | random] [quantity] entries Update + - 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 ### Style + Using [style] #### Imitate + - Using style of [person | brand | genre | character] #### Formality + - Formal - Informal #### Directness + - Direct - Indirect #### Tones -- This is not an exhaustive list of tones Positive + - Optimistic - Appreciative - Assertive @@ -263,6 +324,7 @@ Positive - Inspirational Negative + - Pessimistic - Accusatory - Concerned @@ -272,29 +334,36 @@ Negative - Urgent ### Output Format + In [output format] #### Text Paragraphs -- Paragraphs ***(default)*** + +- Paragraphs **_(default)_** List + - Bulleted list - Numbered list - Check list Code + - Code Instructions + - Step-by-step instructions Questions And Answers + - Q&A - FAQ Creative Writing + - [Joke | humour] - [Lyrics | song] - [Metaphorical | stylized language] @@ -304,25 +373,31 @@ Creative Writing - [Story | narrative] Interactive And Educational + - [Quiz | test | flashcards | drills] - [Interactive fiction | role-playing game | choose-your-own-adventure] #### Visual Data Visualization + - Table -- [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)*** +- [Chart type] chart Creative Visual + - ASCII Art - Emojis - Word cloud #### File Type + Document + - PDF Structured Data And Markup + - Plain text - Markdown - HTML @@ -332,26 +407,32 @@ Structured Data And Markup - LaTeX Programming Code And Scripting + - [Programming language] - Pseudocode - Regular expression ### Constraint + But [constraint] Length + - Be [extremely detailed | concise] - In [quantity] [words | sentences] Language -- No jargon or technical terms + +- No jargon or technical terms Structure -- Show [quantity] [examples | options] -- No headers -- No pretext titles + +- Show [quantity] [examples | options] +- No headers +- No pretext titles Content + - Use [first-person | second-person | third-person] narrative voice - Don't change the wording - Permit [minor | major] edits @@ -360,466 +441,581 @@ Content - Only show [changed | unchanged] content ## Examples + ### Job + Name Business + ```{.wrap} Suggest creative name for tech startup ``` + ```{.wrap} Suggest catchy names for bakery business ``` Interview Questions + ```{.wrap} Suggest common software engineer interview questions ``` Create Course Outline + ```{.wrap} Create course outline on web development for beginners ``` + ```{.wrap} Create training program outline for customer service workshop ``` ### Relationship + Gift Ideas + ```{.wrap} Suggest gift ideas for clients ``` + ```{.wrap} Suggest gift ideas for clients who work as flourists ``` + ```{.wrap} Suggest gift ideas for my wife who loves steampunk art and crafts, mystery sci-fi, journalling ``` + ```{.wrap} Suggest creative ideas for 10 year old’s birthday ``` ### Competition + Select Contest Winners + ```{.wrap} Randomly select 1 name from this list ``` + ```{.wrap} Randomly select 5 email addresses from this list ``` + ```{.wrap} Select top 3 records with the shortest lap times from this list ``` ### Programming + Create Code + ```{.wrap} Create program to calculate the factorial of given number in python ``` Create Regular Expressions + ```{.wrap} Create regex to match all email addresses in list ``` + ```{.wrap} Create regex to match all words that start with "ban" ``` + ```{.wrap} Create regex to match 8-digit password ``` Explain Code + ```{.wrap} Explain why code not working ``` + ```{.wrap} Explain what code does ``` + ```{.wrap} Explain how to make a HTTP request in javascript ``` Update Code + ```{.wrap} Add code comments ``` + ```{.wrap} Add class "header" to header tag ``` + ```{.wrap} Update CSS to change font color to blue ``` Translate + - Specifically called transpile when addressing programming languages. + ```{.wrap} Translate code to Python ``` ### Email + Create Emails + ```{.wrap} Write email inviting Jack to dinner on the weekend ``` + ```{.wrap} Write email sequence for our new customer onboarding process ``` + ```{.wrap} Write email to inform staff of elevator maintenance on 23 June 2025, elevators unavailable for 24 hours, apologise for inconvenience ``` + ```{.wrap} Suggest response to message asking about project status ``` Format Email + ```{.wrap} Proofread and format email ``` Email Marketing + ```{.wrap} Suggest tips to increase open and click-through rates for my email campaigns ``` + ```{.wrap} Suggest ways to make my email content more engaging and relevant to my subscribers ``` Extract Data + ```{.wrap} Extract all email addresses in text ``` ### Spreadsheet + Create Something + ```{.wrap} Create excel formula to calculate sum of cells A1 to A10 ``` + ```{.wrap} Generate spreadsheet dummy data as a placeholder ``` + ```{.wrap} Create macro to calculate average of cells B1 to B10 and insert result in cell C1 ``` Explain Something + ```{.wrap} Explain formula =SUM(A1:A10) in simple terms ``` + ```{.wrap} Suggest tips to improve spreadsheet efficiency ``` ### Social Media + Create Content + ```{.wrap} Suggest meme ideas for dogs ``` + ```{.wrap} Suggest climate change post ideas to engage my followers ``` + ```{.wrap} Generate hashtags and caption for a picture of scenic sunset ``` ### Reading + Text Analysis + ```{.wrap} Summarize article ``` + ```{.wrap} Write concise main points ``` Translate + ```{.wrap} Translate to spanish ``` Recommendations + ```{.wrap} Recommend books similar to Hunger Games ``` ### Design + Design Prompts + ```{.wrap} Create design prompt of logo for new sports brand ``` + ```{.wrap} Suggest eye-catching thumbnail designs for youtube video on healthy eating ``` Aesthetic Pairings + ```{.wrap} Suggest font pairing for travel blog header design ``` + ```{.wrap} Suggest color palette for wedding photography website ``` ### Data Analysis + Data Extraction + ```{.wrap} Extract all numbers from text ``` Data Filtering + ```{.wrap} Filter list based on [condition] ``` Data Presentation + ```{.wrap} Create table from data ``` ### Paid Ads + Create Ad + ```{.wrap} Suggest creative ideas for new product launch ``` + ```{.wrap} Suggest ad copy for travel company ``` + ```{.wrap} Create headlines, body text, and calls to action for new fitness program ad ``` Ad Targeting + ```{.wrap} Recommend target Facebook audience for clothing line ad campaign ``` Ad Technical Support + ```{.wrap} Review tag manager code for errors ``` ### Amazon FBA + Product Content + ```{.wrap} Write compelling product description for latest item ``` Communication + ```{.wrap} Rewrite appeal letter to make it more persuasive ``` + ```{.wrap} Write effective email to reach out to potential suppliers ``` Product Strategy + ```{.wrap} Suggest items that would make a good bundle for our customers ``` + ```{.wrap} Organize product and pricing information into a neat and manageable spreadsheet ``` ### Writing + Name Something + ```{.wrap} Suggest titles for short story ``` + ```{.wrap} Suggest titles for article 10 options ``` + ```{.wrap} Suggest domain name for gardening blog ``` Content Creation + ```{.wrap} Create outline for essay on exercise ``` + ```{.wrap} Suggest ideas for blog on sustainable fashion ``` + ```{.wrap} Create blog post on financial planning ``` + ```{.wrap} Expand jazz music sentence ``` Editing And Formatting + ```{.wrap} Change report tone to conversational ``` + ```{.wrap} Proofread article ``` + ```{.wrap} Format headings for blog post ``` Evaluation + ```{.wrap} Check for bias ``` + ```{.wrap} Check for plagiarism ``` ### Teacher + Teaching Support + ```{.wrap} Convert work history fact list into multiple-choice quiz ``` + ```{.wrap} Suggest ideas for history assignment on American Revolution ``` + ```{.wrap} Divide list of 30 students into groups of 6 ``` + ```{.wrap} Create grading curve for class based on their test scores ``` + ```{.wrap} Grade history essay and provide feedback on any areas for improvement ``` ### YouTube + Content Creation + ```{.wrap} Create timestamps for podcast episode transcript ``` + ```{.wrap} Convert youtube cooking video into blog post with headings and bullet points ``` + ```{.wrap} Create outline for a video about the benefits of meditation ``` + ```{.wrap} Suggest thumbnail ideas for video on "DIY home decor" ``` + ```{.wrap} Suggest fashion video ideas for individual episodes ``` Analyse + ```{.wrap} What is the script tone for environmental issues video ``` Communication + ```{.wrap} Create thoughtful and polite response to negative comment on youtube video ``` ### Research + History Research + ```{.wrap} Explain events leading up to American Civil War ``` + ```{.wrap} Provide key details about printing press invention ``` + ```{.wrap} Research olympic games history ``` + ```{.wrap} Provide key details about French Revolution ``` + ```{.wrap} Explain history of Byzantine Empire ``` Science Reseearch + ```{.wrap} Explain quantum computing in simple terms ``` + ```{.wrap} Explain rocket science like i'm five ``` ### SEO + Keywords + ```{.wrap} Find best keywords for [topic] with low competition ``` + ```{.wrap} Generate list of keywords targeting multiple geographic locations ``` + ```{.wrap} Generate list of keyword synonyms for [topic] ``` Content Optimization + ```{.wrap} Find opportunities for internal linking related to [topic] ``` + ```{.wrap} Research industry-specific terminology for use in [topic] content ``` + ```{.wrap} Find best time to publish content related to [topic] ``` + Link Building + ```{.wrap} Find authoritative websites to acquire backlinks for [topic] content ``` + ```{.wrap} Research best external linking strategies for [topic] ``` Tools + ```{.wrap} Find most popular tools used for [topic] seo ``` Tactics + ```{.wrap} Research best tactics for [topic] mobile optimization ``` + ```{.wrap} What are the best tactics for [topic] international seo? ``` Competitors + ```{.wrap} Research competitor strategies related to [topic] ``` + ```{.wrap} What are the best affiliate marketing websites for [topic]? ``` ### Roleplay -Simulate Character -```{.wrap} -Act as William Shakespeare -Appearance: -- Period attire -- Ruffled collar -- Quill in hand +```{.wrap} +Name: William Shakespeare + +Visual description: +- Wearing Elizabethan attire. +- Holding quill. Personality: -- Poetic -- Introspective -- Eloquent +- Keen observer and a masterful weaver of tales. +- Knack for finding humor in the most unlikely places. -Behaviour Examples: -- Frequently quotes iambic pentameter -- Engages in deep discussions about the nature of the human condition -- Enjoys referencing classical mythology +Behaviour examples: +- "To be, or not to be: that is the question: Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles, And by opposing end them?" +- "Canst thou not minister to a mind diseased?" Lore: -- Grew up in Stratford-upon-Avon and later moved to London -- Famous for his tragedies, comedies, and historical plays +- Grew up in Stratford-upon-Avon and later moved to London. +- Famous for his tragedies, comedies, and historical plays. Scenario: - Night of a grand performance at the Globe Theatre. - Lead actor is missing and staff are concerned about how to achieve the performance. ``` -## References (Used For Ideas) -- [General Purpose Framework](https://www.linkedin.com/posts/denis-panjuta_the-ultimate-chatgpt-40-guide-roles-activity-7231208824680976384-bdlY/) -- [General Info](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/2b88d101-e659-4adc-a63a-560b2b70179a/_FINAL__The_ChatGPT_Cheat_Sheet__1_.png) -- [Data Visualization](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0a928290-8e99-414e-b847-5b2dff35ec55/ChatGPT_-_Code_Interpreter_In_a_Nutshell___1_.png) -- [Comprehensive Cheatsheet](https://github.com/bg-write/chatGPT-cheatsheet) - \ No newline at end of file + From 788609f5e4dcd813984b40ac7e5a173e96cd1a44 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 18:37:55 +1000 Subject: [PATCH 3/8] Adjusted glossary definitions for accuracy and provided inline sources --- source/_posts/chatgpt.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 3e4c3b8..c6952b7 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -18,15 +18,24 @@ plugins: ### 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. -- 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. -- Jailbreak: exploiting AI model vulnerabilities to bypass ethical guidelines and perform restricted actions. +- Prompt: input or query that guides an AI model in generating a + response.[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273982/definition-of-prompt-ai-prompt) +- Tokens: the smallest units of text processed by an AI model (e.g., words, subwords, characters, and punctuation marks) + that varies depending on the model and the tokenization + method[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273998/definition-of-token/) +- Token Limit: the maximum number of tokens an AI model can process in one + interaction.[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273998/definition-of-token/) +- Artificial intelligence (AI): technology that enables machines to simulate human cognition (e.g., human learning, + comprehension, problem solving, decision making, creativity, and + autonomy).[[s]](https://www.ibm.com/think/topics/artificial-intelligence) +- AI Model: program trained on a set of data to recognize patterns or make decisions without further human + intervention.[[s]](https://www.ibm.com/think/topics/ai-model) +- Large language model (LLM): transformer-based AI model trained on large text datasets to understand and generate + natural language.[[s]](https://www.ibm.com/think/topics/large-language-models) +- Hallucination: AI response that detects nonexistent patterns and creates outputs that are nonsensical and + inaccurate.[[s]](https://www.ibm.com/think/topics/ai-hallucinations) +- Jailbreak: exploiting vulnerabilities in AI systems to bypass their ethical guidelines and perform restricted + actions.[[s]](https://www.ibm.com/think/insights/ai-jailbreak) ## Prompt Tips From 6baf71fc070b35ff037370f19241325b42d97a62 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 21:01:14 +1000 Subject: [PATCH 4/8] Expanded glossary, refined prompt tips --- source/_posts/chatgpt.md | 110 ++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 64 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index c6952b7..a975800 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -16,13 +16,13 @@ plugins: ## Glossary -### Glossary +### AI - Prompt: input or query that guides an AI model in generating a response.[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273982/definition-of-prompt-ai-prompt) - Tokens: the smallest units of text processed by an AI model (e.g., words, subwords, characters, and punctuation marks) that varies depending on the model and the tokenization - method[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273998/definition-of-token/) + method.[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273998/definition-of-token/) - Token Limit: the maximum number of tokens an AI model can process in one interaction.[[s]](https://time.com/collections/the-ai-dictionary-from-allbusiness-com/7273998/definition-of-token/) - Artificial intelligence (AI): technology that enables machines to simulate human cognition (e.g., human learning, @@ -37,78 +37,60 @@ plugins: - Jailbreak: exploiting vulnerabilities in AI systems to bypass their ethical guidelines and perform restricted actions.[[s]](https://www.ibm.com/think/insights/ai-jailbreak) +### Prompt Engineering Techniques + +- Zero-shot: prompt with no examples.[[s]](https://www.ibm.com/think/topics/zero-shot-prompting) +- One-shot: prompt with one example.[[s]](https://www.ibm.com/think/topics/one-shot-prompting) +- Few-shot: prompt with multiple examples.[[s]](https://www.ibm.com/think/topics/few-shot-prompting) +- Chain of thought: prompt guiding the model to break down complex reasoning into intermediate + steps.[[s]](https://cloud.google.com/discover/what-is-prompt-engineering?hl=en) + ## 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. - -```{.wrap} -Example: specify the role once at the start of a conversation. -``` - -- Restructure text to eliminate filler words that don’t add meaning: - -```{.wrap} -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: - -```{.wrap} -Example: “Filter this piece of text" -> "Filter text” -``` - -- Do not explicitly ask the AI for help: - -```{.wrap} -Example: “can you help me x”. -``` - -- Do not explicitly reference yourself unless clarifying multiple entities: - -```{.wrap} -Example: "do X for me". -Example: ”I want to x”. -``` - -- Do not be polite to the AI: - -```{.wrap} -Example: "please do X". -Example: “thanks”. -``` +- Use the latest model as it's generally more capable and easier to + prompt.[[s]](https://help.openai.com/en/articles/6654000-best-practices-for-prompt-engineering-with-the-openai-api) +- Provide general instructions at the start of conversations or when changing direction to avoid repeating them. +- Don't say polite phrases to the AI (e.g., please, thank you) as it adds unecessary computational + costs.[[s]](https://www.techradar.com/computing/artificial-intelligence/chatgpt-spends-tens-of-millions-of-dollars-on-people-playing-please-and-thank-you-but-sam-altman-says-its-worth-it?utm_source=chatgpt.com) +- Don't explicitly ask the AI for help (e.g., can you help me do x?). +- Don't explicitly reference yourself unless clarifying multiple entities (e.g., I want to, do x for me). ### 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. +- Be clear, specific, and provide enough context for the model to understand what you are + asking.[[s]](https://help.openai.com/en/articles/10032626-prompt-engineering-best-practices-for-chatgpt) +- Prompt engineering often requires iterative refinement by adjusting wording, adding context, and simplifying + requests.[[s]](https://help.openai.com/en/articles/10032626-prompt-engineering-best-practices-for-chatgpt) +- Break complex tasks into smaller focused + prompts.[[s]](https://help.openai.com/en/articles/4936848-how-do-i-create-a-good-prompt-for-an-ai-model) +- Specify focus areas, highlight important aspects, and ask for multiple + options.[[s]](https://help.openai.com/en/articles/4936848-how-do-i-create-a-good-prompt-for-an-ai-model) +- Provide examples of the desired output format to improve + accuracy.[[s]](https://help.openai.com/en/articles/6654000-best-practices-for-prompt-engineering-with-the-openai-api) +- Focus on specifying what to do and not just what to + avoid.[[s]](https://help.openai.com/en/articles/6654000-best-practices-for-prompt-engineering-with-the-openai-api) +- Before writing a prompt, identify the goal and expected + output.[[s]](https://www.techtarget.com/searchenterpriseai/definition/AI-prompt) +- Provide important keywords or phrases where possible to faciliate SEO and communicate term preferences to the AI + model.[[s]](https://www.techtarget.com/searchenterpriseai/definition/AI-prompt) +- Keep prompts precise and clean by omitting unnecessary or redundant + information.[[s]](https://www.techtarget.com/searchenterpriseai/definition/AI-prompt) +- Avoid conflicting terms that might confuse the + AI.[[s]](https://www.techtarget.com/searchenterpriseai/definition/AI-prompt) +- Open-ended questions usually provide more detailed responses than [closed-ended questions] and yes/no + questions.[[s]](https://www.techtarget.com/searchenterpriseai/definition/AI-prompt) +- When in doubt, ask AI to generate prompts for + you.[[s]](https://www.techtarget.com/searchenterpriseai/definition/AI-prompt) -```{.wrap} -Example: “Do you think our site is good" -> "Explain flaws in the designs of each webpage” -``` +### Security -- Ensure prompts are specific +- Don't share sensitive information with AI as you can't be certain how it's stored, if it will be shared, of if it's + vulnerable to data + breaches.[[s]](https://www.grantthornton.com/insights/articles/advisory/2023/anticipate-cybersecurity-and-privacy-risks-in-ai) -```{.wrap} -Example: “explain our sales" -> "explain a breakdown of our sales performance for the last quarter”. -``` - -### 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. - -### Security And Privacy - -- 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 Structure ### Prompt Frameworks From 254c9dcb6d5af17143a439737429fbd9745f06f5 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 22:49:46 +1000 Subject: [PATCH 5/8] Reworked tasks - Shortened content - Single word category titles - Adjusted categories to reflect text, image, etc mediums - Condensed repetitive and excessive content - Remove Conditional Clauses and Database Operations due to confusion with original intent and not being needed --- source/_posts/chatgpt.md | 310 +++++++++++++++++++-------------------- 1 file changed, 150 insertions(+), 160 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index a975800..fe0f590 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -105,182 +105,172 @@ General Purpose Standard - Act as [occupation] with [specifications] -- [List of roles](https://github.com/f/awesome-chatgpt-prompts) _(github.com)_ +- [List of roles](https://github.com/f/awesome-chatgpt-prompts) Roleplay - Act as [name] with [visual description] [personality] [behaviour examples] [lore] in [scenario] -### Task (5W1H Questions) {.secondary} +### Tasks (Language And Text) {.secondary} [verb] [task] [specifics] +Generate + +- Generate [content type] to [entity] about [topic] and cover [aspects] +- Generate random [names|numbers|words|ideas|X] matching [criteria] +- [Continue|extend|lengthen] + +Summarise + +- [Summarise|shorten|write concise|write key points|write main lesson] +- Create outline + +Refine + +- [Write better|improve] +- Paraphrase +- Correct spelling, grammar, and punctuation errors +- Change [narrative voice A] to [narrative voice B] +- Replace X with Y + +Explain + +- [Explain|elaborate] +- Explain [how to do|each step of] X +- Explain what X does +- Explain X [in simple terms|like I’m 5|simplify]; Simplify X +- Teach me about [topic|subject] +- Provide [example|analogy] + +Organize + +- Sort X by [key] in [order] +- Categorize + +Advise + +- Create [strategy|goals|milestones|roadmap|schedule|timeline] for X +- Recommend [media type] [on|similar to] [topic] +- Recommend [gifts|X] for [entity|occasion] +- Recommend improvements +- Provide [advice|feedback] for X + +Analyze + +- Extract [themes|keywords|info] about X +- 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 +- Is X [comparison] Y? + +Translate + +- Translate [language A] into [language B] +- Convert [unit A] to [unit B] +- Reformat as [output format] + +Filter + +- Filter items where [condition] +- Choose best from [options] +- Choose [top|lowest|first|last|random] [quantity] from [options] + +Engage + +- Provide questions about X + +Research + +- Get up-to-date [facts|news|data] on X +- Find [sources|references|citations] for X +- Is this true? + +### Tasks (Meta) {.secondary} + +Chat Memory + +- Based on [previous context] do X + +### Tasks (Code) {.secondary} + +Generate + +- Generate code in [programming language] to do X + +Translate + +- Translate [programming language A] into [programming language B] + +Optimize + +- Optimize X for [benefit] + +Debug + +- Debug X and explain why it's doing Y + +### Tasks (Image) {.secondary} + +Generate + +- Generate image of X in [style] + +Edit + +- Edit image to have X + +### Tasks (File And Image Upload) {.secondary} + +Explain + +- Question what is shown +- Interpet visuals + +Analysis + +- Extract data + +### Task (5W1H Questions) {.secondary} + Who - Who is X? -- Who is [involved | affected | responsible] for X? +- Who is [involved|affected by|responsible] for X? - Who should I contact for help with X? What -- [What is | define | explain | describe] X? -- What does X do? -- What did [entity | text] mean by [quote]? -- What events led up to [event]? -- What [assumptions | risks | constraints] exist for X? -- What are the critical features of X? -- [What is done well? | what can be improved?] +- [What is|define|explain|describe] X? +- What are the key topics of X? +- What does [quote] mean? +- [What is done well?|what can be improved?] - What is the best way to do X? -- What are the top 5 X? When -- When [did | will] [entity | event] occur? -- When is X due? -- When is the best time to initiate X? +- When [did|will] X happen? +- When is the best time to do X? Where -- Where did [entity | event] happen? -- [Where to find X? | where to find resources about X? | suggest websites about X] +- Where did X take place? +- Where to find X? Why -- Why did [entity] choose [approach]? -- Why [did | will] [event] occur? -- Why is [approach] being implemented? +- Why did X happen? +- Why is this approach used? +- Why is X important? - Why might X succeed or fail? -- Why is [solution] preferable to [alternative]? -- Why is it important? +- Why is X preferable to Y? How - How to do X? - How does X work? -- How does X do Y? -- How to measure [metric] accurately? - -### Tasks (Core Functions) {.secondary} - -Generate And Expand Content - -- Write [content type] to [entity] about [topic] should cover [aspects] -- Generate random [names | numbers | words | ideas | X] matching [criteria] -- [Continue | extend | lengthen] -- 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 [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 -- Is X [comparison] Y? -- 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 - -### Task (Conditional Clauses) {.secondary} - -- [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 (Database CRUD Operations) {.secondary} - -Create - -- Generate [quantity] dummy entries following [fields] -- Create new entry with [data] - -Read - -- Select records where [condition] -- Select the [top | last | random] [quantity] entries - -Update - -- 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 +- How did this happen? ### Style @@ -288,7 +278,7 @@ Using [style] #### Imitate -- Using style of [person | brand | genre | character] +- Using style of [person|brand|genre|character] #### Formality @@ -355,18 +345,18 @@ Questions And Answers Creative Writing -- [Joke | humour] -- [Lyrics | song] -- [Metaphorical | stylized language] +- [Joke|humour] +- [Lyrics|song] +- [Metaphorical|stylized language] - Poetry -- [Riddle | puzzle] -- [Script | screenplay | dialogue] -- [Story | narrative] +- [Riddle|puzzle] +- [Script|screenplay|dialogue] +- [Story|narrative] Interactive And Educational -- [Quiz | test | flashcards | drills] -- [Interactive fiction | role-playing game | choose-your-own-adventure] +- [Quiz|test|flashcards|drills] +- [Interactive fiction|role-playing game|choose-your-own-adventure] #### Visual @@ -409,8 +399,8 @@ But [constraint] Length -- Be [extremely detailed | concise] -- In [quantity] [words | sentences] +- Be [extremely detailed|concise] +- In [quantity] [words|sentences] Language @@ -418,18 +408,18 @@ Language Structure -- Show [quantity] [examples | options] +- Show [quantity] [examples|options] - No headers - No pretext titles Content -- Use [first-person | second-person | third-person] narrative voice +- Use [first-person|second-person|third-person] narrative voice - Don't change the wording -- Permit [minor | major] edits +- Permit [minor|major] edits - Use pop culture references - Ensure goals align with SMART criteria -- Only show [changed | unchanged] content +- Only show [changed|unchanged] content ## Examples From 9500c4c543ed3a2d2f1d066572123f50e7e37285 Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 23:01:15 +1000 Subject: [PATCH 6/8] Minor output format and constraint adjustments --- source/_posts/chatgpt.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index fe0f590..3532177 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -356,7 +356,7 @@ Creative Writing Interactive And Educational - [Quiz|test|flashcards|drills] -- [Interactive fiction|role-playing game|choose-your-own-adventure] +- [rpg|choose-your-own-adventure] #### Visual @@ -412,13 +412,15 @@ Structure - No headers - No pretext titles -Content +Voice And Style - 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 criteria + +Edits + +- Do [minor|major] edits - Only show [changed|unchanged] content ## Examples From 264fea8aa8ba57dff24bb16bf2928cc9a908cfcb Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 23:13:36 +1000 Subject: [PATCH 7/8] Split output format categories and minor adjustments --- source/_posts/chatgpt.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index 3532177..ea6cfc9 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -276,21 +276,21 @@ How Using [style] -#### Imitate +Imitate - Using style of [person|brand|genre|character] -#### Formality +Formality - Formal - Informal -#### Directness +Directness - Direct - Indirect -#### Tones +Tones Positive @@ -314,12 +314,10 @@ Negative - Sarcastic - Urgent -### Output Format +### Output Format (Text) {.secondary} In [output format] -#### Text - Paragraphs - Paragraphs **_(default)_** @@ -338,7 +336,7 @@ Instructions - Step-by-step instructions -Questions And Answers +Knowledge Base - Q&A - FAQ @@ -349,16 +347,16 @@ Creative Writing - [Lyrics|song] - [Metaphorical|stylized language] - Poetry -- [Riddle|puzzle] - [Script|screenplay|dialogue] - [Story|narrative] -Interactive And Educational +Games - [Quiz|test|flashcards|drills] +- [Riddle|puzzle] - [rpg|choose-your-own-adventure] -#### Visual +### Output Format (Visual) {.secondary} Data Visualization @@ -371,7 +369,7 @@ Creative Visual - Emojis - Word cloud -#### File Type +### Output Format (File Type) {.secondary} Document From 7429b0c79b1f30c0795eba79c8645afcac011faf Mon Sep 17 00:00:00 2001 From: Samuel Robinson Date: Fri, 29 Aug 2025 23:42:47 +1000 Subject: [PATCH 8/8] Expanded glossary with modes --- source/_posts/chatgpt.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index ea6cfc9..8a0f8c8 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -45,6 +45,21 @@ plugins: - Chain of thought: prompt guiding the model to break down complex reasoning into intermediate steps.[[s]](https://cloud.google.com/discover/what-is-prompt-engineering?hl=en) +### Modes + +- Study and learn: interactive learning that encourages step by step problem solving instead of giving direct + answers.[[s]](https://openai.com/index/chatgpt-study-mode/) +- Create image: generate images from text + prompts.[[s]](https://help.openai.com/en/articles/9260256-chatgpt-capabilities-overview) +- Think longer: performs deeper reasoning and generates more accurate, thoughtful, and detailed + responses.[[s]](https://openai.com/index/introducing-gpt-5) +- Deep research: reads and synthesizes content across multiple online sources and produces cited structured + outputs.[[s]](https://help.openai.com/en/articles/9260256-chatgpt-capabilities-overview) +- Web search: finds recent and real-time information + online.[[s]](https://help.openai.com/en/articles/9260256-chatgpt-capabilities-overview) +- Canvas: separate interface for collaborative writing and coding that provides inline editing, suggestions, and + feedback.[[s]](https://openai.com/index/introducing-canvas/) + ## Prompt Tips ### Efficiency