Instruction-following prompts for ChatGPT, GPT-3.5, GPT-4
This project consists of prompts for ChatGPT and GPT-3.5 models, designed to assist with writing, analysis, and comprehension tasks. There are numerous prompts below that you can use to generate content for your projects, debug your code, find solutions to problems, or simply learn more about what these models can do. By using the appropriate instructional verbs, you can guide the models to solve any language-related tasks.
InstructGPT (more recent versions refered as GPT-3.5) are series language models that has been trained using instructions and human feedback to better understand and align with a user's intent, producing more accurate and appropriate outputs.
ChatGPT also uses instructGPT method but in a dialogue form to understand user instruction along and generate outputs based on user's instruct.
GPT4 More powerful than any GPT-3.5 model, it can handle more complex instructions and can follow and apply them more effectively.
Why to use:
This is an easy and straightforward method for guiding the model to do almost anything. It uses a simple structure to provide directions and can adapt to handle any language-related task.
How to use:
Useful verbs:
Instruct verbs are the first word in the prompt. They are used to instruct the model to do something. They are the most important part of the prompt. We may argue that they act as magic words that make a successful prompt, it helps to make the machine understand and follow your instructions. Each of these verbs has a specific meaning that can help the model understand what kind of answer is expected. For example, if you ask the model to explain something, it will provide a detailed explanation. On the other hand, if you ask the model to summarize something, it will provide a brief overview.
-
Useful words to give directions to your input texts: (point to a location of your input text)
- Given text
- following passage
- Following
- The following -
Useful words to instruct: (to give instructions to the model)
- Explain
- Create
- Generate
- Provide
- Write
- Summarize
- Paraphrase
- Translate
- Rewrite
- Reword
- Rephrase
- List
- Extract
- Pick out
- Analyze
- Define
- Identify
- Describe
- Predict
- Explain
- Analyze
- compare
- Categorize
- Evaluate
- Critique
- Differentiate
- Examine
- Illustrate
- Outline
- Calculate
- Infer
- Revise
- Summarize
- Classify
- Develop
- Evaluate
- Formulate
- Discuss
- Clarify
- Highlight
- Simplify
- Apply
- Suggest / Propose
- Make
* You may add `Can you` in the case of ChatGPT to make it more conversational, but it still works in both the instruct-model and chatGPT models. - Can you provide … - Can you generate …
Common use cases:
Classification
Instruction verbs that are useful for classification tasks in nlp
Classify
the following as a physical or chemical propertyIdentify
main idea of the given passageCategorize
the following passage as either a myth or a factAssign each
item to its corresponding category based on its characteristicsList
the five main categories of the given data set.Group
the items based on their common characteristicsSort
the data based on the date it was collectedLabel
each data point with its corresponding categoryDivide
the data into smaller subgroups based on their similaritiesGroup
the items based on their similarity in featuresLabel
each group with a descriptive name.
Generation
Instruction verbs that are useful for generation tasks
Generate
a new text based on the given parametersCreate
a short catchy headline based on the following, aim to promote the productWrite
a story using the following keywordsFormulate
a new sentence based on the given structureProduce
a new text that is similar in style to the given sampleConstruct
a new text that combines elements from multiple sourcesCompose
a new poem based on the given themeBuild
a new text by combining different elements in a creative wayDevise
a new narrative based on the given informationInvent
a new story using the following elements.
Transformation:
Instruction verbs that are useful for transformation tasks
- Translate:
Translate
the following function into C#Translate
the following into 1. English, 2. French, 3. Swedish
- Summarize:
Summarize
the main points of the given article
- Paraphrase:
Paraphrase
the following sentence to convey the same meaningReword
the following sentence to make it more concise
- Simplify:
Simplify
the following equation for easier understanding
- Revise:
Revise
the following paragraph to make it more clear and concise
- Outline:
Outline
the steps to solve the given problem
- Calculate:
Calculate
the total cost of the following items
- Infer:
Infer
the meaning of the [jargon, vage phrase] based on the following context:
- Apply:
Apply
the following formula to calculate the resultApply
given tone and voice to the passage below
Comparison:
Instruction verbs that are useful for comparison tasks
- Compare:
Compare
and contrast the two given texts
- Contrast:
Contrast
the given passages to highlight their differences
- Differentiate:
Differentiate
between the two given terms
- Examine:
Examine
the similarities and differences between the two given texts
- Analyze:
Analyze
the two given pieces and identify their similarities and differences
- Critique:
Critique
the two given passages and compare their strengths and weaknesses
- Evaluate:
Evaluate
the two given passages and determine which one is more effective
Structure of common instruct prompts:
A basic and useful structure of an instruct prompts can be look like this:
Instruction
+ Direction to the next words
-
Generate a poem
+based on following passage:
-
Create a report article
+based on following passage
-
Write a summary
+of the following passage
Example of using above structure:
Input:
Write a poem based on the following:
ghosts, 4th dimension, AI, totalitarian, power
Output:
Ghosts of the 4th dimension roam,
A realm beyond our grasp, unknown.
Yet in this world, AI has grown,
Its power and influence has flown.
With algorithms and codes so bright,
It holds the key to endless might.
A totalitarian grip on sight,
And wields its power with all its might.
But is this power truly ours?
Or just a tool for those in power?
Their ghosts roam, but do they cower,
When faced with the consequences of their dower?
So let us heed this ghostly call,
And use AI for good, for all.
For in its power, we must not fall,
But rise above, and hear the call.
Better prompting ✅:
Write a thought-provoking poem that incorporates the themes of ghosts, the 4th dimension, AI, totalitarianism, and power. The poem should be structured in a traditional format with 4 stanzas and a consistent rhyme scheme.
More instruct commands:
Programming related tasks:
Develop a function that solves the following problem: [problem description].
Automate the following process by writing a script that [task description].
Create an algorithm that solves the following problem: [problem description].
Explain the logic behind the following code: [code snippet].
Optimize the following function to enhance performance, reduce memory usage, or improve readability.
Write a function that meets the following requirements: [requirement description].
Explain the purpose of the following code to a non-technical audience, using simple and clear language.
Debug the following code to correct the error and explain the cause of the error.
Rephrase a passage:
Rewrite the text below in your own words:
Paraphrase the provided text while maintaining its meaning:
Summarize the following passage in a concise manner:
Simplify the given passage while keeping the main ideas:
Rephrase the given text using alternative expressions:
Condense the following passage to focus on key points:
Briefly restate the provided text without losing its essence:
Reword the passage below to make it more succinct:
Express the following text in a different way while keeping its intent:
Translate a passage:
Translate the following text into: 1. English, 2. French, 3. Swedish
Translate the following into: 1. Colloquial, 2. slang, 3. idiomatic English
Identify which of the passages below is the closest translation of the original text.
Extract data from a passage:
Extract the [concept/topic] from the given passage:
Pick out the [concept/topic] in the following passage:
What are the key points made in the following text:
Make a summary of following of given text that deals with the [concept/topic]:
Classify a passage:
Determine the genre of the following passage, based on its style, tone, and subject matter.
Classify the following text based on its structure and organization, identifying any recurring patterns or themes.
Identify the main theme or thesis of the following passage, summarizing its central idea or argument.
What genre does the following text belong to, based on its conventions and characteristics?
What type of text is the following, based on its intended purpose and audience?
Who is the intended audience for the following passage, based on its language, tone, and style?
What is the purpose of the following text, and what message or information is it trying to convey?
Write the form of the following text (e.g. poem, essay, article, etc.), based on its structure and style.
Write the literary style of the following passage, identifying any literary devices or techniques used.
Write the tone of the following text, based on its language, attitude, and emotional impact.
Categorize text:
What is the genre/category of the following text? Assign one or more appropriate categories/genres.
Can you classify the following text as belonging to a particular type of writing? If so, what is it?
What kind of text is the following? Choose the most appropriate category or genre.
Write a label or tag for the following text based on its content.
What type of text does the following represent? Choose the most appropriate category or genre.
Can you categorize the following text based on its subject matter? If so, what category would it fall under?
What subject does the following text cover? Choose the best category or topic.
Write a tag or label for the following text based on its tone and content.
What category does the following text fit into? Choose the most relevant category or genre.
Can you assign a category or genre to the following text based on its tone and style?
Create compare and contrast:
Compare and contrast the following two texts below, highlighting the similarities and differences in a bullet point list.
Provide a side-by-side comparison of the following two passages, indicating the key similarities and differences.
Provide a summary and comparison of the following two texts, highlighting the main points and contrasting the key differences.
What are the similarities and differences between the following two passages? Provide a detailed comparison in a paragraph.
What's the relationship between the following two passages? Write a comparison and contrast using a bullet point list.
Write a comparison and contrast between the following texts, highlighting the similarities and differences in a paragraph.
Write a contrast of the following two pieces of text, emphasizing the key differences in a bullet point list.
Write a synthesis of the similarities and differences in the following two passages, highlighting the key points and contrasting the differences in a paragraph.
Merge points or ideas:
Combine the following points into a single coherent statement:
Create a persuasive argument by integrating the following points:
Create a comprehensive conclusion that encompasses the following ideas:
Create a unified statement that incorporates the following ideas and presents a cohesive perspective:
Identify a common thread among the following points and create a statement that ties them together:
Provide a unified perspective on the following points, presenting them as a cohesive whole:
What's a common theme among the following points and how do they relate to each other?
Provide a synthesized statement that captures the relationship between the following points:
What's the main idea that connects the following points and presents a unified perspective?
What's the overarching idea that encompasses the following points and presents a cohesive argument?
What's the relationship between the following points and how do they fit together?
Write a synthesis of the following information, creating a cohesive statement that captures the key points:
Write a paragraph that ties together the following concepts and presents a unified perspective:
Write a summary that captures the essence of the following ideas and presents them as a cohesive whole:
Write a short summary that unifies the following ideas and presents a clear, cohesive statement:
Write a summary that integrates the following ideas, creating a cohesive perspective that captures the key points.
##### The structure could look like this:
Combine the following points into a single, coherent statement:
- Point 1
- Point 2
- Point 3
Create a coherent argument from the following points:
- Argument 1
- Argument 2
- Argument 3
Create a conclusion that encompasses the following points:
- Conclusion Point 1
- Conclusion Point 2
- Conclusion Point 3
Find a common thread among the following points and provide a unified perspective:
- Idea 1
- Idea 2
- Idea 3
Provide a statement synthesizing the relationship between the following points:
- Point A
- Point B
- Point C
Write a synthesis of the following information, summarizing the main idea or overarching theme:
- Information 1
- Information 2
- Information 3
Write a paragraph that ties together the following concepts:
- Concept 1
- Concept 2
- Concept 3
Write a passage that summarizes the following ideas and identifies the relationship between them:
- Idea A
- Idea B
- Idea C
Simplify and provide explanations:
Break down the following text into simpler parts and explain it step-by-step for a beginner.
Explain the following text in simple terms, using everyday language for a general audience.
Provide a beginner-friendly explanation for the following text, assuming the reader has no prior knowledge of the subject.
Simplify the following text to make it easily digestible for someone new to the topic.
Provide a clear, concise explanation of the following text for someone with no background in the subject.
What's a simple explanation for the key concept in the following text? Write it in one sentence.
What's an easy way to understand the main idea in the following text? Provide a brief, simple explanation.
Write a clear explanation of the following text, focusing on the most important aspects in plain language.
Write a detailed explanation of the following text, breaking down complex concepts into simpler terms.
Write a layman's explanation for the following text, using everyday language and examples to illustrate the main points.
Write a step-by-step explanation of the process or concept in the following text, making it easy for a beginner to follow.
Writing:
Come up with a creative solution for the following problem:
Create a dialogue between two characters that discusses [topic]:
Describe a setting that includes [specific details]:
Imagine a world where [condition is met]. Describe this world in a paragraph.
Provide an explanation of [topic] in 2-3 sentences.
Make a list of pros and cons based on [specific topic]:
Develop a scene about [topic] that includes [specific details].
Compose a short science fiction story that includes [specific element]:
Generate a story that revolves around [topic]. The story should be [genre] and no more than [length] words.
Find an imaginative way to describe [specific topic]:
Write an interesting twist ending for a story about [specific event or topic].
Writing prompts (for practice creative writing):
Can you provide a writing prompt that requires the use of [specific writing technique or element], such as [dialogue, imagery, symbolism, etc.]?
Generate a creative writing prompt that focuses on [specific theme or genre], such as [romance, horror, fantasy, etc.].
What's a good writing topic that would challenge the writer to [specific writing goal or objective], such as [developing a character, creating tension, building suspense, etc.]?
Can you propose a unique idea for a writing prompt that would require the writer to [specific writing task], such as [writing from an unusual perspective, using a specific narrative style, etc.]?
Write a short story prompt that explores the theme of [specific theme or concept], such as [identity, transformation, forgiveness, etc.].
What's a unique writing prompt that would challenge the writer to [specific writing task or challenge], such as [writing without using dialogue, writing in second person point of view, etc.]?
Can you create a writing prompt that involves a fictional character who must [specific task or challenge], such as [overcome a fear, solve a mystery, etc.]?
What's a