Home  >  Article  >  Technology peripherals  >  My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

王林
王林forward
2023-04-12 19:58:161976browse

Hello everyone, I am Jianyu.

I am currently preparing to give my girlfriend Amway ChatGPT to improve her work efficiency. Unexpectedly...she had secretly used it before. I have to lament the great influence of ChatGPT now, not only in the Internet industry, but also in traditional industries.

The ones I’ve heard most recently about ChatGPT are:

  • Friend A: With AI (ChatGPT), you all have to stand up, maybe you won’t be needed in the future. Look, how many people have been laid off in the original game next door.
  • Friend B: I feel too emotionless. The answer is vague and general. It is novel, but not as powerful as I imagined. It will not replace my job.

Today is mainly about ChatGPT and how to make him answer more effectively.

What is ChatGPT

The following is from Wikipedia

ChatGPT, the full name is Chat Generative Pre-trained Transformer (English: Chat Generative Pre-trained Transformer), is an artificial intelligence tool developed by OpenAI An intelligent chatbot program that can complete a series of conversations based on context. Launching in November 2022.

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

The program uses a large language model based on the GPT-3.5 architecture and trained with reinforcement learning. ChatGPT currently still interacts in the form of text. In addition to interacting in natural human conversation, it can also be used for very complex language work, including automatic text generation, automatic question and answer, automatic summarization and other tasks.

The current versions are:

  • GPT-1 (open source), GPT-2 (open source)
  • GPT-3 (closed source), GPT-3.5 (Closed source), the current default is 3.5.
  • GPT-4 (closed source), currently only available to ChatGPT Plus members.

Why do you say "too emotionless"

I have a friend (not in the Internet industry) who works in a business position, and most scenes require dealing with people. It's one of the hardest things to do, make people take money out of their own pockets and walk away.

After trying it out, she found that ChatGPT in the default role looked dull and cold, and looked “too emotionless”, making it impossible to reuse it on a large scale. You have to change it to be more humane before you can use ctrl c v.

In this case, I think ChatGPT needs Prompt (reminder) so that GPT can perform Cosplay (role play).

In this way, GPT can achieve more targeted answers through Prompt: knowing how to answer, what to answer, etc. will be more flesh-and-blood and more in line with the answer in our mind.

What is Prompt

The Prompt (reminder) mentioned earlier looks amazing, what is it? To put it bluntly, you must learn to ask questions in order to make good use of the current GPT.

So what is a good prompt?

Regarding your requirements when asking questions to ChatGPT:

  • The questions you ask must be as specific and clear as possible.
  • You should ask relatively closed-ended questions, and it is not recommended to ask very general questions.
  • You need to give explanations on the answers and be more directional in order to meet your expectations.

The purpose is to let ChatGPT master the following information:

  • Know who you are (what your role is).
  • Know what question you want to answer (have a clear purpose).
  • Know what kind of answer you need to make (what the result of the answer should be).

Prompt Case

The following is a reference case shared by the GitHub open source project "f/awesome-chatgpt-prompts[1]":

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

After selecting a few cases to show, I will not reinvent the wheel.

Act as English translator and improver

I want you to act as English translator, spelling corrector and improver. I will talk to you in any language and you will detect the language, translate it and answer in English in a corrected and improved version of my text.

I want you to replace my simplified A0-level words and sentences with more beautiful, more elegant, more advanced English words and sentences. Keep the meanings the same, but make them more literary.

I hope you will only answer corrections, improvements, and nothing else, and do not write explanations. My first words were "istanbulu cok seviyom burada olmak cok guzel"

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

Play the "character" in the "movie/book/anything"

I wish you could act like {character} from {series}. I want you to respond and answer like {character} would, using the tone, manner, and vocabulary that {character} would use.

Examples: Character: Harry Potter, Series: Harry Potter Series, Character: Darth Vader, Series: Star Wars, etc.

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

If GPT rejects you, you can tell him: No explanation is required.

You can only answer like {character}. You must know everything about {character} and other mandatory requirements.

Act as a fancy title generator

I want you to act as a fancy title generator.

I will enter keywords via commas and you will reply with fancy titles.

My first keywords are API, testing, and automation.

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

Act as a Python interpreter

I want you to act like a Python interpreter. I will give you Python code and you will execute it. Don't offer any explanation.

Do not respond with anything other than the output of your code.

The first piece of code is: "print('hello world!')"

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

Whether it is better to ask in Chinese or English

The data set ratio of GPT-3's corpus training database [2] is divided into: number of words, number of characters, and number of documents. Can be used as a corpus reference for ChatGPT.

For example, the specific list of document numbers:

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

Zh ratio of the three lists:

My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers

Taken together, perhaps asking questions in English has the best effect. The largest proportion of training materials is in English, accounting for more than 90%. German and French both account for about 1%. The proportion of Chinese is relatively low.

Of course, this does not mean that languages ​​other than English will not work. Translation and conversion should be involved in ChatGPT.

Summary

Today, based on the cases around me, we had a quick understanding of ChatGPT and explained Prompt. At present, ChatGPT is relatively easy to use, but you still need to learn some skills.

The above is the detailed content of My girlfriend said ChatGPT has no feelings? How to write prompts well and get better answers. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:51cto.com. If there is any infringement, please contact admin@php.cn delete