AI Prompt Engineering

From LemonWiki共筆
Jump to navigation Jump to search

Tips of ChatGPT prompts

English writing

修改英文文章

  • Edit the following 再貼上英文文章 [1]

Act as somebody

(1) 聊天機器人扮演怎樣的角色、(2) 我會輸入怎樣的資料、(3) 期待機器人回覆的資料

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

文章自動摘要

  • summary the following: 接上要摘要的文章
  • Summarize the article: 接上要摘要的文章
  • 提供以下文章的中文摘要:: 接上要摘要的文章
  • 提供以下文章的摘要,請用繁體中文回答:接上要摘要的文章

萃取出列點式重點

  • 從文章中,整理十句重點:接上原始的文章

Icon_exclaim.gif 不成功的嘗試:

  • 組合技 Summarize the following and translate into Traditional Chinese:

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"

Icon_exclaim.gif 不成功的嘗試:

  • 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: : 再貼上原始文章

Icon_exclaim.gif 不成功的嘗試:

  • 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: 接上要摘要的文章

Convert a transcript into article

將採訪逐字稿,轉成通順的文章(加上標點符號)

  • Convert the transcript into article: 接上文章
  • Convert the transcript into a blog article: 接上文章
  • 幫我整理成通順的文章: 接上文章[2]

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[3].

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

References


Further reading