ChatGPT Cheat Sheet รวมคำสั่ง ChatGPT, Bing

Mos Noppadol Rattanawisadrat
MSEDUTH
Published in
10 min readFeb 20, 2023

ในบทความนี้จะรวมคำสั่งในการถาม ChatGPT และ New Bing รวมไปถึงปุ่ม Discovery ที่อยู่ใน Microsoft Edge ตัวใหม่ด้วย

เนื้อหาเกือบทั้งหมด ไม่ได้คิดขึ้นมาเอง แต่ไปรวมจากของชาวบ้านเขามาและ ถามจาก Bing

Reference : ChatGPT Cheat Sheet (kdnuggets.com) ChatGPT Cheat Sheet & Quick Reference ChatGPT Cheat Sheet — Collabnix
Quickstart tutorial — OpenAI API

เนื้อหายังไม่สมบูรณ์ Update 20 02 2023

link ย่อ : https://bit.ly/bingpromt

Table of content

  1. คำสั่งทั่วไป เข้าใจภาษาคน
  2. Code
  3. structured Output Style
  4. Unstructured Output Style
  5. Media Types
  6. GPT capability

คำสั่งหลายๆอย่าง เมื่อใช้รวมกันแล้วจะได้ผลลัพธ์ที่ดีขึ้น

THE FRAMEWORK:

  1. Simulate a persona
  2. Write your task
  3. Outline the steps to complete that task
  4. Give it context and constraints
  5. Specify the goal
  6. Format the output

Eg. “(1) As a marketing professional (2) create ten taglines (3) for our eco-sustainable coffee cup. (4) The product’s core selling point is that it is earth-friendly, biodegradable and made from bamboo. The tagline should be two to six words. Do not use the word ‘green’. (5) The goal is to encapsulate our brand’s sustainable ethos in a short and snappy tagline. (6) The output should be a bullet point list.”

ChatGPT vs Bing

1. คำสั่งทั่วไป เข้าใจภาษาคน

Text generation

Prompt: Write

Prompt: Recommend

prompt : more

Prompt : Can you suggest a creative name for my tech startup?

Prompt: Please create an outline for a course on web development for beginners.

ปุ่ม Discovery ที่มุมขวาของ Edge
Compose : จริงๆอันนี้มันทำช่องมาให้แล้ว คิดง่ายดี

Summarization

Prompt: Summarize this text:

Prompt: Summarize this youtube video

Prompt: Summarize PDF in this page หรือ summary ตรงๆเลยก็ได้

Open Domain Question Answering

Prompt :

  1. “What is” — for questions about definitions and explanations
  2. “How to” — for questions about processes and procedures
  3. “Why” — for questions about reasons and justifications
  4. “When” — for questions about time and timing
  5. “Where” — for questions about location and direction
  6. “Who” — for questions about people and identities
  7. “Which” — for questions about choices and options
  8. “Can” or “Could” — for questions about possibilities and abilities
  9. “Should” — for questions about recommendations and advice
  10. “What if” — for hypothetical or imaginative questions
  11. “Do” or “Does” — for questions about actions or activities
  12. “Is” or “Are” — for questions about qualities, attributes or states
  13. “Have” or “Has” — for questions about possession or ownership
  14. “Will” — for questions about the future or predictions
  15. “Would” — for questions about hypothetical or imagined situations
  16. “If” — for conditional or hypothetical questions
  17. “Asking for a friend” — to ask sensitive or embarrassing questions anonymously
  18. “Comparison” — to compare two or more things or concepts
  19. “Opinion” — to ask for personal views or beliefs
  20. “Evidence” — to ask for proof or support for a claim
  21. “What are the benefits of” — for questions about advantages or positive outcomes
  22. “What are the drawbacks of” — for questions about disadvantages or negative outcomes
  23. “What are the different types of” — for questions about categorization or classification
  24. “What are the similarities and differences between” — for comparative questions
  25. “What are the steps to” — for questions about step-by-step processes
  26. “What are the most common reasons for” — for questions about causes or explanations
  27. “What are the best practices for” — for questions about recommended methods or approaches
  28. “What are the latest developments in” — for questions about recent advances or updates
  29. “What are the ethical implications of” — for questions about ethical considerations
  30. “What are the long-term effects of” — for questions about long-term consequences or outcomes.
  31. “What are the limitations of” — for questions about the weaknesses or constraints of something
  32. “What are the advantages and disadvantages of” — for questions about the pros and cons of a topic
  33. “What are the most effective ways to” — for questions about effective methods or strategies
  34. “What are the most common misconceptions about” — for questions about common misunderstandings or false beliefs
  35. “What are the benefits of learning” — for questions about the advantages of learning a particular skill or topic
  36. “What are the best resources for” — for questions about recommended resources or references
  37. “What are the qualifications for” — for questions about requirements or qualifications for a particular job or position
  38. “What are the risks and rewards of” — for questions about the potential risks and benefits of a decision or action
  39. “What are the future trends in” — for questions about expected changes or developments in a particular field or area
  40. “What are the controversies surrounding” — for questions about contentious or disputed issues.
  41. “What are the essential elements of” — for questions about key components or elements of something
  42. “What are the requirements for” — for questions about the criteria or standards necessary for a particular situation or task
  43. “What are the common myths about” — for questions about common misconceptions or false beliefs about a topic
  44. “What are the potential consequences of” — for questions about the possible outcomes or effects of a decision or action
  45. “What are the ethical considerations in” — for questions about ethical issues or dilemmas related to a topic
  46. “What are the ways to overcome” — for questions about strategies or methods for addressing a challenge or obstacle
  47. “What are the emerging trends in” — for questions about new or developing trends in a particular field or area
  48. “What are the implications of” — for questions about the broader implications or significance of a particular issue or development
  49. “What are the examples of” — for questions about specific examples or instances of a concept or idea
  50. “What are the reasons for and against” — for questions about arguments or perspectives for and against a particular topic or issue.
  51. “What are the similarities between” — for questions about identifying commonalities between two or more things
  52. “What are the differences between” — for questions about identifying distinctions between two or more things
  53. “What are the implications for” — for questions about the potential effects or consequences for a particular situation or group
  54. “What are the most common questions about” — for questions about common inquiries or curiosities related to a topic
  55. “What are the top tips for” — for questions about advice or recommendations for a particular situation or task
  56. “What are the causes and effects of” — for questions about the reasons behind something and its outcomes or consequences
  57. “What are the long-term benefits of” — for questions about the positive effects or outcomes of something over an extended period of time
  58. “What are the different perspectives on” — for questions about the various viewpoints or opinions on a particular topic
  59. “What are the most important considerations when” — for questions about the key factors or aspects to consider when making a decision or taking action
  60. “What are the potential solutions to” — for questions about possible ways to address or solve a particular problem or challenge.
  61. “What are the future challenges facing” — for questions about upcoming challenges or obstacles in a particular field or area
  62. “What are the key features of” — for questions about important or distinctive features of a topic or concept
  63. “What are the benefits of using” — for questions about the advantages of using a particular tool, technique or approach
  64. “What are the different methods for” — for questions about various methods or approaches for accomplishing a task or achieving a goal
  65. “What are the latest trends in” — for questions about recent or emerging trends in a particular field or area
  66. “What are the most common causes of” — for questions about the most frequent or likely causes of a problem or issue
  67. “What are the potential implications for” — for questions about the possible consequences or outcomes of a particular development or decision
  68. “What are the most common misconceptions about” — for questions about common misunderstandings or false beliefs about a topic
  69. “What are the different types of” — for questions about categories or classifications of a particular topic or concept
  70. “What are the steps to take when” — for questions about the appropriate steps to take when facing a particular situation or problem.

Paraphrasing

Prompt: rewrite this text:

Sentiment Analysis (few-shot or zero-shot)

Prompt: sentiment of:

Text to Table

Prompt: create a table from this text:

Token Classification (few-shot or zero-shot)

Prompt: classify the named entities in this text:

Machine Translation

Prompt: translate this text into thai:

2. Code

Code Generation

Prompt: show me how to make an [Things you want] in [Language]

Fix your code

Prompt: Why this code is not working? / Fix my code

Code Explanation

Prompt: explain this python code: / What this code does?

Programming Language Conversion

Prompt: convert this code from Python to Javascript:

Translate this code into Python:

Data Object Conversions (JSON, XML, CSV etc.)

Prompt: convert this JSON object into CSV:

convert this JSON object into CSV: {“Name”:{“0”:”John Smith”,”1":”Jane Doe”,”2":”Bob Johnson”,”3":”Samantha Williams”},”Age”:{“0”:32,”1":28,”2":45,”3":40},”Gender”:{“0”:”Male”,”1":”Female”,”2":”Male”,”3":”Female”},”O ccupation”:{“0”:”Software Developer”,”1":”Data Analyst”,”2":”Project Manager”,”3":”Marketing Director”}}

Code an entire software program

prompt:

Write a program that calculates the factorial of a given number in python?

Add comments to your codebase

prompt:

Add comments to this code: function addNumbers(a, b) { return a + b; }

3. Structured Output Styles

List

Prompt: give me a list of 5 citrus fruits

Numbered List

Prompt: give me a numbered list of 5 citrus fruits

Headings and Subheadings

Prompt: convert this text into headings and subheadings:

convert this text into headings and subheadings: Babe Ruth joined the New York Yankees in 1920. The Boston Red Sox sold his contract to the Yankees. He played for the Yankees from 1920 to 1934, and during that time he established himself as one of the greatest players in baseball history.

Tables

Prompt: create a table from this list:

create a table from this list: Oranges, Lemons, Limes, Grapefruit, Tangerines

4.Unstructured Output Style

Narrative Modes (1st, 2nd or in the 3rd person)

Prompt: write a paragraph on how to make brownies in the 1st person

Formal

Prompt: write a paragraph on the topic of cellular automata in a formal style

Informal

Prompt: write a paragraph on the topic of cellular automata in an informal style

Personas

Prompt: write a paragraph on the topic of cellular automata in the style of a social media influencer Hey guys, have you heard about cellular automata? It’s this super cool concept that simulates the behavio

Custom Text Manipulation

Prompt: write a paragraph on the history of the calculator, include emojis at the end of every sentence, and do not capitalize the first word in each sentence

5.Media Types

Write Social Media Posts

Prompt: write a tweet on futurism

Prompt: write an Instagram caption for Valentine's day which this post include picture of me and my girlfriend named “Air” that we dated for 9 months already

Write Blogs

Prompt: write a blog on French cuisine

Write Emails

Prompt: write an email selling software to corporate executives

Write Poems

Prompt: write a poem about the soul and show rhyme and meter headings

Write Songs

Prompt: write a folk song about the sunset show guitar chord

Write Resumes/Cover Letters

Prompt: write a software engineer resume

ChatGPT

Ask ChatGPT About Its Own Capabilities

Prompt: what ways can you structure text output?

Correct ChatGPT on Its Knowledge

Prompt:

Ask ChatGPT to Expand on Answer

Prompt: Can you explain more on … / can you show me detail

--

--

Mos Noppadol Rattanawisadrat
MSEDUTH

A guy who passionate on Technology, Psychology, Science and business thing