Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the betterdocs domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /data/user/htdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jnews-view-counter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /data/user/htdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-statistics domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /data/user/htdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpdiscuz domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /data/user/htdocs/wp-includes/functions.php on line 6114

Notice: 函数 _load_textdomain_just_in_time 的调用方法不正确jnews 域的翻译加载触发过早。这通常表示插件或主题中的某些代码运行过早。翻译应在 init 操作或之后加载。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 6.7.0 版本添加的。) in /data/user/htdocs/wp-includes/functions.php on line 6114

Notice: 函数 _load_textdomain_just_in_time 的调用方法不正确jnews-like 域的翻译加载触发过早。这通常表示插件或主题中的某些代码运行过早。翻译应在 init 操作或之后加载。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 6.7.0 版本添加的。) in /data/user/htdocs/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/wp-includes/functions.php:6114) in /data/user/htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":33884,"date":"2024-09-14T16:37:21","date_gmt":"2024-09-14T08:37:21","guid":{"rendered":"https:\/\/linguaresources.com\/?p=33884"},"modified":"2024-09-14T16:37:21","modified_gmt":"2024-09-14T08:37:21","slug":"6-ways-to-write-better-chatgpt-prompts-and-get-the-results-you-want-faster-2","status":"publish","type":"post","link":"https:\/\/linguaresources.com\/?p=33884","title":{"rendered":"6 ways to write better ChatGPT prompts – and get the results you want faster"},"content":{"rendered":"

<\/p>\n

\n
\n
\n
\"ChatGPT\"<\/div>\n<\/p><\/div>
\n
\n
<\/div>\n<\/div>\n

Andrey Rudakov\/Bloomberg via Getty Images<\/span><\/figcaption><\/figure>\n

ChatGPT is the generative artificial intelligence<\/a> (AI) tool that’s taken the world by storm. While there’s always the possibility it will simply make stuff up<\/a>, there’s a lot you can do when crafting prompts to ensure the best possible outcome. That’s what we’ll be exploring in this how-to.<\/p>\n

In this article, I’ll show you how to write prompts that encourage the large language model (LLM) that powers\u00a0ChatGPT<\/a> to provide the best possible answers.\u00a0<\/p>\n

<\/p>\n
\n
<\/div>\n

<\/div>\n

<\/p>\n
\n
\n

One of the more interesting things I had to get used to when working with ChatGPT is that you don’t program it; you talk to it. As a formally trained programmer, I’ve had to abandon many habits when engaging with AI. Talking to it (and with it) requires a mindset shift.<\/p>\n

When I say talk to it like a person, I mean talk to it like you would a coworker or team member. If that’s hard to do, give it a name. Alexa is taken, so maybe think of it as Bob. This naming helps because when you talk to Bob, you might include conversational details and anecdotes that give your story texture.<\/p>\n

Also:<\/strong>\u00a0How to use ChatGPT to write code<\/strong><\/a><\/p>\n

When you’re talking to a person, it would be natural for them to miss your point initially and require clarification or veer away from the topic at hand and need to be wrangled back. You might need to fill in the backstory for them or restate complex questions based on the answers they give you.\u00a0<\/p>\n

This is called interactive prompting. Don’t be afraid to ask ChatGPT multi-step questions: ask, get a response, and based on that response, ask another question. I’ve done this myself, sometimes 10 or 20 times in a row, and gotten very powerful results. Think of this as having a conversation with ChatGPT.<\/p>\n<\/div>\n<\/div>\n

<\/div>\n

<\/p>\n
\n
<\/div>\n

<\/div>\n

<\/p>\n
\n
\n

Writing a ChatGPT prompt is more than just asking a one-sentence question. It often involves providing relevant background information to set the context of the query.<\/p>\n

Let’s say that you want to prepare for a marathon (for the record, I do not run, dance, or jump — this is merely an example). You could ask ChatGPT:<\/p>\n

\n

How can I prepare for a marathon?<\/p>\n<\/blockquote>\n

However, you’ll get a far more nuanced answer if you add that you’re training for your first marathon. Try this instead:\u00a0<\/p>\n

\n

I am a beginner runner and have never run a marathon before, but I want to complete one in six months. How can I prepare for a marathon?<\/p>\n<\/blockquote>\n

By giving the AI more information, you’re helping it return a more focused answer.\u00a0
Here are two more examples of questions that provide context:<\/p>\n<\/div>\n<\/div>\n

<\/div>\n

\n

I am planning to travel to Spain in a few months and would like to learn some basic Spanish to help me communicate with local residents. I am looking for online resources that are suitable for beginners and provide a structured and comprehensive approach to learning the language. Can you recommend some online resources for learning Spanish as a beginner? \t \t<\/p>\n<\/blockquote>\n

<\/div>\n

Also: The most popular programming languages in 2024 (and what that even means)<\/a><\/strong><\/p>\n

<\/div>\n

The story takes place in 2339, in Boston. The entire story takes place inside a Victorian-style bookstore that wouldn’t be out of place in Diagon Alley. Inside the store are the following characters, all human: \t \t<\/p>\n

The proprietor: make this person interesting and a bit unusual, give them a name and at least one skill or characteristic that influences their backstory and possibly influences the entire short story. \t \t<\/p>\n

<\/div>\n

Another customer is Evangeline, a regular customer in the store, in her mid-40s. Yet another customer is Archibald, a man who could be anywhere from 40 to 70 years old. He has a mysterious air about himself and seems both somewhat grandiose and secretive. There is something about Archibald that makes the others uncomfortable. \t \t<\/p>\n

<\/div>\n
\n
<\/p>\n

3. Tell the AI to assume an identity or profession<\/h2>\n

<\/div>\n

<\/div>\n

<\/div>\n

<\/div>\n
\n
<\/p>\n

4. Keep ChatGPT on track<\/h2>\n

<\/div>\n

<\/div>\n

<\/div>\n

<\/div>\n
\n
<\/p>\n

5. Tell the AI to re-read the prompt.<\/h2>\n

<\/div>\n

<\/div>\n

<\/div>\n

<\/div>\n
\n
<\/p>\n

6. Don’t be afraid to play and experiment<\/h2>\n

<\/div>\n

<\/div>\n

<\/div>\n

<\/div>\n

More prompt-writing tips\u00a0<\/h2>\n