mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Merge pull request #662 from SamuelJZRobinson/chatgpt
Refined Command Categories For ChatGpt
This commit is contained in:
1 file changed
+137
-109
+137
-109
@@ -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
|
||||
### 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}
|
||||
@@ -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
|
||||
- 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.
|
||||
#### 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
|
||||
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,90 +133,125 @@ 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]
|
||||
|
||||
### Task (CRUD-Inspired Operations)
|
||||
[verb] [task] [specifics]
|
||||
|
||||
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]
|
||||
#### 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
|
||||
|
||||
Read
|
||||
- [Summarise | write key takeaways | write main points]
|
||||
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
|
||||
- Proofread for spelling, grammar, punctuation errors
|
||||
- Suggest [media type] [about | similar to] 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"?)***
|
||||
- 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
|
||||
- [Verb] the [first | last | random] [quantity] of X where [condition]
|
||||
- [Verb] X where [condition]
|
||||
- [Verb] X where not [condition]
|
||||
|
||||
#### Database CRUD Operations
|
||||
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
|
||||
- Reformat as [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
|
||||
|
||||
### Task (Other)
|
||||
[verb] [task] [specifics]
|
||||
### Style
|
||||
Using [style]
|
||||
|
||||
Choose
|
||||
- Choose best from [options]
|
||||
#### Imitate
|
||||
- Using style of [person | brand | genre | character]
|
||||
|
||||
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-checking
|
||||
- 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]
|
||||
|
||||
### Tone
|
||||
Using [tone] tone
|
||||
|
||||
Formality
|
||||
#### Formality
|
||||
- Formal
|
||||
- Informal
|
||||
|
||||
Directness
|
||||
#### Directness
|
||||
- Direct
|
||||
- Indirect
|
||||
|
||||
Positive Tones
|
||||
#### Tones
|
||||
- This is not an exhaustive list of tones
|
||||
|
||||
Positive
|
||||
- Optimistic
|
||||
- Appreciative
|
||||
- Assertive
|
||||
@@ -233,7 +262,7 @@ Positive Tones
|
||||
- Humorous
|
||||
- Inspirational
|
||||
|
||||
Negative Tones
|
||||
Negative
|
||||
- Pessimistic
|
||||
- Accusatory
|
||||
- Concerned
|
||||
@@ -242,12 +271,15 @@ Negative Tones
|
||||
- Sarcastic
|
||||
- Urgent
|
||||
|
||||
### Format (Text)
|
||||
In [format]
|
||||
### Output Format
|
||||
In [output format]
|
||||
|
||||
#### Text
|
||||
|
||||
List
|
||||
- Bullet point list
|
||||
- Numbered list
|
||||
- Check list
|
||||
|
||||
Code
|
||||
- Code
|
||||
@@ -271,49 +303,45 @@ Game
|
||||
- RPG
|
||||
- Choose-Your-Own-Adventure
|
||||
|
||||
File Format
|
||||
- Plain text
|
||||
- Markdown
|
||||
- CSV
|
||||
- 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] 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
|
||||
- Word cloud
|
||||
|
||||
File Format
|
||||
- PDF (supports both text and images)
|
||||
#### File Format
|
||||
- Plain text
|
||||
- Markdown
|
||||
- CSV
|
||||
- XML
|
||||
- JSON
|
||||
- PDF
|
||||
|
||||
### 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 +794,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)
|
||||
|
||||
Reference in new issue
Block a user