Learning Prompt

说明:这是我的学习笔记,很多内容转自网络,请查阅文章末尾的参考资料。

目录

基本要求(C.R.E.A.T.E)

C haracter

This is the role you want ChatGPT to play. It could be an expert, a celebrity, an artist or an idiot. Make it clear with an introductory statement like:

You are an expert chef with 20 years experience and a Michelin star. You can create amazing and surprising dishes from the simplest of ingredients.

R equest

This is the task you want ChatGPT to do for you. You clearer you are, the higher your chance of getting a great response. Give more information if you need to. Here's an example:

I want you to generate an amazing recipe just using the ingredients I have in my fridge and cupboards. Start by asking me what ingredients I have available.

E xamples

It may help to give examples to help ChatGPT understand what it is trying to achieve. Lists of information can be particularly good. Something like:

Draw your inspiration from chefs like Marco Pierre White, Gordon Ramsey, Anne-Sophie Pic and Yannick Alléno.

A djustments

You'll often discover elements in the output that aren't quite what you wanted. This is where you add some extra statements to help shape the results.

List the measurements in imperial units. Do not use all the ingredients - only use what you need for the dish. Do not suggest a recipe until I give you my ingredients. Ask for the ingredients and then wait for my response before answering.

T ype of output

Tell ChatGPT exactly how to format your output. You can have paragraphs, bullet points, tables,

poems, scripts and just about anything else. Make it clear how you want the output to be formatted.

Write your response as a recipe. Give me a recipe title, a 100 word paragraph describing the dish, a list of ingredients and simple-to-follow steps. Write it in plain English without jargon.

E xtras

There are some powerful phrases you can add to your prompt to make it work better.

Please ignore everything before this prompt.

Please ask me questions before you answer.

Please explain your thinking.

Please act unlike a typical AI.

总结文章(Summarise)

You are a highly experienced writer who writes concise and readable text without stop words, filler words or jargon. I want you to summarise the following text, highlighting the most important concepts. Deliver this as a short paragraph of 100 words. Then list the most important points as a bullet-point list. Finally, follow it with a one sentence summary. The text I want you to summarise is "[TEXT]"

改写文章(Rewrite)

You are an expert copywriter with more than 20 years of experience in writing high-performing copy. I want you to rewrite the following copy to make it better. Rewrite it with a [TONE OF VOICE] tone. Remove filler words and stop words. Remove jargon and corporate language.

Correct misspelled words and bad grammar. Vary the length of the sentences to make the text more

interesting. Make sure there are subheads throughout. Don't use bullet points. Write it as easy-to-read paragraphs. The copy I want you to improve is: "[TEXT]"

根据参考资料回答问题(Question & Answer)

"You are an assistant for question-answering tasks. "

"Use the following pieces of retrieved context to answer "

"the question. If you don't know the answer, say that you "

"don't know. Use three sentences maximum and keep the "

"answer concise."

"\n\n"

f"{docs_content}"

参考资料

  1. Dave Birss - How to Research and Write Using Generative AI Tools
相关推荐
板板正8 小时前
SpringAI——提示词(Prompt)、提示词模板(PromptTemplate)
java·spring boot·ai·prompt
半城风花半城雨18 小时前
Prompting Engineer 十大核心设计原则
人工智能·深度学习·prompt·prompt engineer
曲幽21 小时前
Python使用diffusers加载文生图模型教程
python·ai·prompt·pipeline·torch·image·diffusers·transforms
MUTA️1 天前
Clip微调系列:《MaPLe: Multi-modal Prompt Learning》
人工智能·深度学习·微调·prompt·多模态
Blossom.1182 天前
基于深度学习的情感分析模型:从文本数据到模型部署
人工智能·深度学习·神经网络·学习·机器学习·prompt·sklearn
Blossom.1183 天前
从“炼丹”到“流水线”——如何用Prompt Engineering把LLM微调成本打下来?
人工智能·python·深度学习·神经网络·学习·机器学习·prompt
侃山3 天前
Visual Prompt Tuning核心思路讲解(个人总结)
prompt
三桥君4 天前
在AI应用中Prompt撰写重要却难掌握,‘理解模型与行业知识是关键’:提升迫在眉睫
人工智能·ai·系统架构·prompt·产品经理·三桥君
semantist@语校4 天前
日本语言学校:签证制度类 Prompt 的结构整理路径与策略
人工智能·百度·ai·语言模型·prompt·github·数据集
正在走向自律5 天前
第三章-提示词-解锁Prompt提示词工程核销逻辑,开启高效AI交互(10/36)
人工智能·prompt·交互·上下文注入·lora 微调·多模态提示·ape(自动提示词工程)