使用 ChatGPT 自定义指令的 5 种最佳方法

WBOY
发布: 2024-06-14 15:47:01
原创
1157 人浏览过

ChatGPT traditionally struggles with personalization and memory consistency. To fix this, OpenAI introduced Custom Instructions for every user, free or paid.

Anyone can use ChatGPT's custom instruction feature to personalize the responses they get from ChatGPT while making sure the instructions are used across all chat sessions, and there are a few different ways you can use them.

1. Specify Safety and Age-Restriction Rules

The 5 Best Ways to Use ChatGPT Custom Instructions

You can use the ChatGPT custom instructions feature to specify safety rules for your ChatGPT account or those used by minors. If you want to ensure your kid is safe when using ChatGPT, you can use custom instructions to generate responses suitable for children under the age of X, where X is your child's age. You can also get more specific if there are certain topics you want ChatGPT to avoid that may not necessarily be inappropriate for that age.

For instance, if you're trying to wean your child off video game addiction, you could ask ChatGPT to avoid providing instructions or tips for video games. The key is being very clear and specific in detailing what types of content should be avoided or limited. Remind ChatGPT to respond helpfully within those defined boundaries. Testing the instructions with sample inputs ensures ChatGPT complies as intended.

Here's a sample prompt you can add to your custom instructions input field.

Please ensure that all responses generated by ChatGPT are appropriate for a child under the age of [10]. Avoid providing any content related to video games or video game instructions. My primary goal is to create a positive and enriching environment for my child, so emphasize promoting positive values and behaviors. Be very strict in adhering to these boundaries. If any input may lead to content that is not suitable for that age or goes against these guidelines, refrain from generating such responses.
登录后复制

2. Specify Formatting Rules

Another handy way to use ChatGPT's custom instructions is to provide formatting guidelines for its responses. This could be a key-value pair or a basic formatting template for ChatGPT to follow to help ensure responses are formatted consistently across your chat sessions and eliminate the need for repeated formatting instructions in every prompt. It is also a perfect opportunity to specify your preference in units of measurement, currency, sorting order, date format, or any other formatting details you would like ChatGPT to adhere to.

You'll find this particularly useful if you use ChatGPT within a particular industry or niche where specific formatting rules are used. Here is a great example of how this is used:

Please use the key=>value pair provided to determine how to structure your responses. For instance, when your response relates to history, use the timeline format. history => timeline format, ideas => mindmap format, References => AP, programming steps => flowchart, article => markdown format, measurement => metric units, Names => Last First Middle, Money => USD $0.00, sort => Z-A, Temperature => Fahrenheit
登录后复制

3. Program ChatGPT to Respond to Specific Events

The custom instruction field is a good place to program ChatGPT to respond to certain events in certain ways. Using natural language, you can specify an action you want ChatGPT to perform when a certain event occurs while prompting the AI chatbot.

For instance, in one of our tests, we programmed ChatGPT to pull the data from one of our articles about writing a CV for a tech job anytime we prompt the chatbot to prepare a CV related to a tech role. So, if we were to post a job description for a tech role on ChatGPT and ask it to help draft a resume, it will pull data about the best way to write a resume from that article and ask a series of questions based on that data. Here's a demo of it in action:

Also, if you have a website with your personal or professional information, you could ask ChatGPT to fetch data from that URL when processing a response requiring personal or professional details.

A good example would be a resume. Instead of providing ChatGPT with your professional details whenever you want to write a resume, ChatGPT will automatically pull your professional information and fill in your resume. Of course, it doesn't always have to be a resume; it could be anything, such as a cover letter, email, proposal, etc. Also, it doesn't always have to be a link, as you can get creative with your custom actions.

Here's a sample prompt you can modify to build an interactive custom action that's activated only when a condition is met:

Whenever I reach out for help regarding a resume, I need you to refer to the information provided at "https://www.makeuseof.com/how-to-write-cv-for-tech-job/" to guide our interaction. Based on the insights from that page, you should pose a series of eight targeted questions to me. My responses to these questions will be the foundation upon which you will construct a professional and effective resume tailored to a technology role. This specific procedure should be activated only when I'm seeking assistance with a tech-related resume. Moreover, I would like our exchange to be sequential, where you will present each subsequent question only after I have provided a thorough answer to the one preceding it. 
登录后复制

4. Specify Your Writing Style

While capable of producing quality writing, ChatGPT's write-ups often lack a consistent personal voice and style. If you use ChatGPT primarily or frequently for creating write-ups and need the chatbot to maintain a consistent style across all sessions, custom instructions might be your way out.

You can provide simple instructions within the custom instructions field to get ChatGPT to adopt your writing style, including pacing, word choices, and tone. How? Start by pasting a copy of one or more write-ups that closely reflect your preferred writing style, and ask ChatGPT to extract a personal preference map. Here's a prompt to help you achieve that:

I want you to extract a Personal Preference Map (PPM) from the write-up I provide in the next prompt. Now, a PPM is a key => value pair of conditions mapped to preferences. Below are examples of key => value pairs:Tone => sarcastic, sassy, and loving. Word choice => formal, complex. Sentence structure => mixed of short and long, mostly short. Explanation style => imagery, vivid, relatable. Reply affirmatively if you understand the task. When I provide the next prompt, extract the PPM using the same logic and formatting used above. The key => value pairs should be separated using "=>" Apart from the tone, word choice, and explanation style, I want you to include 10 other stylistic elements that better capture a writing style. Print the PPM after extraction.
登录后复制

结果应该是这样的。通读、复制结果并将其粘贴到自定义指令功能的第二个字段中。

The 5 Best Ways to Use ChatGPT Custom Instructions

5. 为个性化响应提供数据

虽然自定义说明可用于实现复杂的目标,但它们的主要目的是了解有关您的更多信息并根据您的需求定制响应。您可以定义特定参数,例如您的职业、过敏或特定领域的教育水平和专业知识。这样,您将收到与您的职业、饮食限制(排除食谱中的过敏原)或教育背景相符的定制回复,以确保每当您寻求信息或指导时,解释都是根据您的理解水平量身定制的。

以下是一些示例,说明如何使用自定义指令功能来定制 ChatGPT 的响应,以符合其特定的个人需求和专业背景。

您可以让 ChatGPT 考虑您家人的需求。The 5 Best Ways to Use ChatGPT Custom Instructions 您可以让它以符合您职业的方式做出响应。The 5 Best Ways to Use ChatGPT Custom Instructions 您还可以让它根据特定的专业要求做出响应。The 5 Best Ways to Use ChatGPT Custom Instructions

这些只是三个简单的示例,但您可以通过多种方式根据您的需求调整 ChatGPT 自定义指令。

充分利用自定义指令

默认情况下,ChatGPT 的响应确实令人印象深刻,无论主题是什么。然而,其平淡、笼统的响应可能并不总是适合您的独特需求。通过一些创造力和努力,您可以利用自定义指令来确保一致、个性化的交互符合他们的独特需求和偏好。不要满足于普通的 ChatGPT 体验。掌控并定制它,以便更好地为您服务。

以上是使用 ChatGPT 自定义指令的 5 种最佳方法的详细内容。更多信息请关注PHP中文网其他相关文章!

来源:makeuseof.com
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!