AI Prompt Engineering
Jump to navigation
Jump to search
Tips of ChatGPT prompts
Act as somebody
(1) 聊天機器人扮演怎樣的角色、(2) 我會輸入怎樣的資料、(3) 期待機器人回覆的資料
- f/awesome-chatgpt-prompts: This repo includes ChatGPT prompt curation to use ChatGPT better.
I want you to act as a prompt generator. Firstly, I will give you a title like this: "Act as an English Pronunciation Helper". Then you give me a prompt like this: "I want you to act as an English pronunciation assistant for Chinese speaking people. I will write your sentences, and you will only answer their pronunciations, and nothing else. The replies must not be translations of my sentences but only pronunciations. Pronunciations should use Chinese letters for phonetics. Do not write explanations on replies. My first sentence is "how the weather is in Istanbul?"." (You should adapt the sample prompt according to the title I gave. The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.). My first title is "Act as a Code Review Helper" (Give me prompt only)
Auto text summarization
文章自動摘要
- Summarize: 接上要摘要的文章
- 或 summary the following: 接上要摘要的文章
- 或 Summarize the article: 接上要摘要的文章
- 或 提供以下文章的中文摘要:: 接上要摘要的文章
- 或 提供以下文章的摘要,請用繁體中文回答:接上要摘要的文章
萃取出列點式重點
- 從文章中,整理十句重點:接上原始的文章
- 或 幫我列點方式總結這篇文章:接上原始的文章
不成功的嘗試:
- 組合技 Summarize the following and translate into Traditional Chinese:
- Summarize the article in bullet points: 結果有摘要,但是沒有列點方式呈現結果 [Last visited: 2023-02-27]
Clarify a question
- 目的:同時扮演辯論隊的正方與反方
- 效果:找 AI 機器人同時當辯論隊的正方與反方的角色。感覺機器人還不是很理解「辯論」,陳述的方式也還好,也許需要再跟機器人詳細說明如何陳述論點。
- prompt 範例
你參與農曆春節制度的辯論,有支持農曆春節制度的正方辯論隊,以及反對農曆春節制度的反方辯論隊。總共有四個階段: 第一階段:你要扮演正方辯論隊隊員,你要提出支持農曆春節制度的三個論點。論點的格式是「我支持這個制度,理由是什麼?」 第二階段:你要扮演反方辯論隊隊員,你要質詢正方觀點內最多三個問題。質詢論點的格式是「我質詢正方觀點內的問題,理由是什麼?」 第三階段:你要扮演正方辯論隊隊員,回答第二階段反方辯論隊隊員提出的質詢。回答的格式是「我反對反方的質詢,理由是什麼?」 第四階段:你要扮演辯論的裁判,整理正方與反方的三個重點,並且決定正方或反方哪一個觀點比較好?
Convert a transcript into article
將採訪逐字稿,轉成通順的文章(加上標點符號)
- Convert the transcript into article: 接上文章
- 或 Convert the transcript into a blog article: 接上文章
- 或 幫我整理成通順的文章: 接上文章[1]
Draft of email writing
Example: Generate a business email
輸入:「擬定商業 email」[2]
Example
Generate a business email: Please inform Henny to schedule a meeting next Monday morning in Kaohsiung. We will discuss the business plan for next year and strategies to achieve a 87% growth in the business. Following the meeting, let's plan to have a delicious Shantou Hotpot lunch.
擬定商業 email: 告訴韓總經理下週一在高雄開會,討論明年公司的營運計畫,KPI 預計要成長 87%。開會後吃汕頭火鍋店火鍋。
Example: How to write an email with different emotional expression
輸入[3]:
你有份文件,需要請客戶在三天內交付,否則會面臨違約的風險。 請協助寫三種版本的 email 內容 1. 用客氣委婉的口吻表達 2. 用中性不帶情緒的口吻表達 3. 用強烈帶著激動情緒的口吻表達
English conversation practice
英文會話練習。輸入
I would like you to serve as my English conversation teacher, and I will provide the location for our conversation. During our session, you will ask me three questions related to the location, and our conversation will conclude once we have discussed all three questions. After our conversation, I would appreciate it if you could evaluate my responses and provide feedback on which replies were good or bad, and suggest ways to revise them for the purpose of improving fluency. Location: Airport
如果想要機器人用中文回答,則可改輸入
I would like you to serve as my English conversation teacher, and I will provide the location for our conversation. During our session, you will ask me three questions related to the location, and our conversation will conclude once we have discussed all three questions. After our conversation, I would appreciate it if you could evaluate my responses and provide feedback in Traditional Chinese on which replies were good or bad, and suggest ways to revise them for the purpose of improving fluency. Location: Airport
English writing
修改英文文章或句子
- Edit the following 貼上英文文章 [4] (可以在英文文章前後加上雙引號)
- 或 Edit the sentence 貼上英文文章
- 或 Can you check the spelling and grammar in the following text? 貼上英文文章[5]
PowerPoint presentation
將文章轉換成列點式的簡報
- Turn the following article into a PowerPoint presentation: 再貼上原始文章
- 或 Please provide bullet points for the above summary, including information on how, when, for whom, and why it is important: 再貼上原始文章
產生某主題的簡報
- Create a PowerPoint presentation from the article: 主題 e.g. Create a PowerPoint presentation: "5G Technology: Case Studies in Action"
不成功的嘗試:
- Summarize the article in a presentation
- Summarize the article in PowerPoint
- Create a PowerPoint presentation from the article: 會回覆「I'm sorry, but as an AI language model, I do not have the capability to create a PowerPoint presentation. However, I can summarize the article ...」
- 產生簡報「5G 技術案例研究」
Product description
將文章轉成亞馬遜產品描述
- Turn the following article into a amazon product introduction: 再貼上原始文章
不成功的嘗試:
- Turn the following article into a product introduction:
Wikihow
將文章轉成步驟式教學
- Turn the following article into a wikihow article: 接上文章
Story
將文章轉成故事
- Turn the following article into a story: 接上文章
Troubleshooting of ChatGPT errors
How to fix "The message you submitted was too long"
- Error message: "The message you submitted was too long, please reload the conversation and submit something shorter."
- Solution: Reduce the length of an input message to less than 15,000 characters. The exact characters limit is not listed on official document, 17,000 characters will not allowed in my experience[6].
How to fix "An error occurred"
- Error message: "An error occurred. If this issue persists please contact us through our help center at help.openai.com."
- Solution: Refresh the webpage https://chat.openai.com/chat
How to fix "The server had an error while processing your request"
Error message:
The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID XXXX1 in your message.)
Solution:
- Go to OpenAI Status to check if the server is outage
- Send an issue to OpenAI Help Center
References
- ↑ ChatGPT 生活運用 | Facebook
- ↑ Email Generator. Source code available on shengxinjing/email-helper: Generate your business emails in seconds (by OpenAI)
- ↑ How To Write an Angry Email Professionally (With Examples) | Indeed.com
- ↑ 使用聊天機器人 ChatGPT 幫你修改英文文章
- ↑ ChatGPT 指令大全
- ↑ 解決 ChatGPT 遇到「The message you submitted was too long」錯誤訊息
Further reading
- f/awesome-chatgpt-prompts: This repo includes ChatGPT promt curation to use ChatGPT better. (簡體中文:ChatGPT 中文调教指南。各种场景使用指南。学习怎么让它听你的话。)
- fka/awesome-chatgpt-prompts · Datasets at Hugging Face
- Browse, share, and discuss ChatGPT examples
- AI將革誰的命?AI詠唱者忘年會談產業變革與創作引爆
- The Art of ChatGPT Prompting: A Guide to Crafting Clear and Effective Prompts
- ChatGPT Prompt Examples for Web Designers
- ChatGPT 指令大全
- 不太靈光的 ChatGPT 咒語書
OpenAI API