2023-07-28ChatGPT Prompting 训练逻辑分享

最近看了一些 ChatGPT 相关的课程,再结合我的一些实践,分享一下 Prompt 的训练逻辑。

 

1 Define ChatGPT’s Role

Instruct the model to assume a specific role when generating the response. This helps guide the model’s thinking and provides context.

  1. Act as a [role].
  2. Imagine you are a [role].
  3. Assume the role of [role].

Demo:

Imagine you are an experienced SEO consultant working for a digital marketing agency. Assume the role of the lead strategist and develop a comprehensive SEO plan for a newly launched e-commerce store that specializes in outdoor activities.

2 Define Your Target Audience

Specify the targeted audience for the response, especially if it’s different from yours.

  1. Role of the audience: policymakers, students, professionals, small business owners.
  2. Knowledge level of the audience: beginners, experts, professionals with 5 years of experience.

Demo:

You are an SEO expert and leader of thought in SEO. Write an SEO guide specifically targeted at Fortune 100 corporations. Provide actionable tips and strategies tailored to their needs and goals written in formal language.

3 Qualify The Language Used

Language fluency of the audience: simple language, common language, formal language.

Tone of the language: persuasive, funny, confident, friendly

Could be implied with: Act as [famous person].

Could use negative tones if needed: cocky, pretentious.

Demo:

Imagine you are Dave Chappelle on stage. You start a set on SEO.

4 Add Context For Quality Results

Provide relevant background information to help the model understand the context of your query.

Background & Context Information: time frames, locations, countries, markets, industries, specific circumstances, constraints, limitations, challenges.

Demo:

You are the SEO manager for a multinational corporation with offices in several international locations, including in LATAM. The company is planning to launch a new product and wants to ensure maximum online visibility and organic search traffic. Develop an SEO strategy specifically tailored to the LATAM region ans especially Panama and Costa Rica, taking into consideration the unique challenges and opportunities presented by these two countries. Provide specifically locally relevant insights on optimizing website structure, implementing hreflang tags, conducting keyword research, and leveraging local search strategies to drive targeted traffic in each target market.

5 Action

It’s time to define what you want to achieve. Be specific.

  1. “Generate ideas on [topic]”, “Create 10 titles for [blog article content]”
  2. “Write [content desired]”, “Create [content desired]”
  3. “Summarize [text, URL]”, “Shorten”, “Lengthen”
  4. “List [subject]”
  5. “Explain in details [topic]”, “Teach me how to do [topic]”
  6. “Structure in categories [text, URL]”, “Outline”
  7. “Paraphrase [text, URL]”
  8. “Translate [text] in [other language]”
  9. “Code [program description] in [programing language A]”, “Convert this code from [language A] to [language B]”
  10. “Solve [math problem, exam question]”
  11. “Correct the mistakes and edit this text: [text]”
  12. “Criticize my argument: [argument]”

Demo:

Act as an SEO expert. Summarize in a paragraph the content of the blog article: https://www.exogn.com/blog/ttn-013-how-to-perform-a-keyword-research-for-seo.

6 Define Your Desired Deliverable

ChatGPT generates unstructured free-form text. However, you can manually prompt for specific formats or structures within the generated text to obtain an answer closer to your needs and save time.

  1. Unstructured free-form text (default)
  2. Multiple-choice options (within the generated text)
  3. Dialogue between two or more individuals
  4. Point-by-point arguments or debates
  5. Articles (with a specified word count)
  6. Tables (with manual formatting)
  7. Question and answer format
  8. Single-sentence responses
  9. Script for a play or movie
  10. Poetry or poetic verses
  11. Short story or narrative
  12. FAQ-style responses
  13. Step-by-step guides
  14. Numbered lists
  15. Short answers
  16. Bulleted lists
  17. Explanations
  18. Instructions
  19. Paragraphs
  20. Summaries
  21. Song lyrics
  22. Definitions
  23. Quotes

Act as Eminem. Write a rap song with rhymes and syllabic verses about search engine optimization.

7 Add References And Sources

Prompt the model to include relevant citations, references, or quotes from experts, research papers, or notable individuals to provide additional perspectives or support its response.

Demo:

Act as an SEO expert. You want to write an article about the relative importance of on-page SEO versus off-page SEO and help the reader understand which one is the most important. Support your arguments and recommendations with citations from reputable SEO industry reports or quotes from recognized experts. Incorporate these authoritative sources to enhance the quality and credibility of your response.

请登录后发表评论

    没有回复内容