Instructgpt-prompts

Instructgpt-prompts

强大的AI模型指令提示库

Instructgpt-prompts项目汇集了针对ChatGPT、GPT-3.5和GPT-4的指令提示,涵盖写作、分析和理解等多种任务。项目提供分类、生成、转换等类型的提示示例,以及常用指令结构和编程任务提示,帮助用户高效利用AI模型解决语言相关问题。通过适当的指令动词,用户可以更好地引导模型,提升工作效率。

ChatGPTGPT-3.5GPT-4指令提示自然语言处理Github开源项目

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.

  • <details><summary>Useful words to give directions to your input texts: (point to a location of your input text)</summary><p> - Given text <br> - following passage <br> - Following <br> - The following
  • <details><summary>Useful words to instruct: (to give instructions to the model)</summary><p> - Explain <br> - Create <br> - Generate <br> - Provide <br> - Write <br> - Summarize <br> - Paraphrase <br> - Translate <br> - Rewrite <br> - Reword <br> - Rephrase <br> - List <br> - Extract <br> - Pick out <br> - Analyze <br> - Define <br> - Identify <br> - Describe <br> - Predict <br> - Explain <br> - Analyze <br> - compare <br> - Categorize <br> - Evaluate <br> - Critique <br> - Differentiate <br> - Examine <br> - Illustrate <br> - Outline <br> - Calculate <br> - Infer <br> - Revise <br> - Summarize <br> - Classify <br> - Develop <br> - Evaluate <br> - Formulate <br> - Discuss <br> - Clarify <br> - Highlight <br> - Simplify <br> - Apply <br> - Suggest / Propose <br> - Make <br> * 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 …
</p></details>

Common use cases:

Classification

Instruction verbs that are useful for classification tasks in nlp

  • Classify the following as a physical or chemical property
  • Identify main idea of the given passage
  • Categorize the following passage as either a myth or a fact
  • Assign each item to its corresponding category based on its characteristics
  • List the five main categories of the given data set.
  • Group the items based on their common characteristics
  • Sort the data based on the date it was collected
  • Label each data point with its corresponding category
  • Divide the data into smaller subgroups based on their similarities
  • Group the items based on their similarity in features
  • Label each group with a descriptive name.

Generation

Instruction verbs that are useful for generation tasks

  • Generate a new text based on the given parameters
  • Create a short catchy headline based on the following, aim to promote the product
  • Write a story using the following keywords
  • Formulate a new sentence based on the given structure
  • Produce a new text that is similar in style to the given sample
  • Construct a new text that combines elements from multiple sources
  • Compose a new poem based on the given theme
  • Build a new text by combining different elements in a creative way
  • Devise a new narrative based on the given information
  • Invent 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 meaning
    • Reword 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 result
    • Apply 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

编辑推荐精选

Trae

Trae

字节跳动发布的AI编程神器IDE

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

下拉加载更多