Contents

使用 ChatGPT 自訂指令的 5 種最佳方法

要點

為了以適合未成年人且安全的方式自訂 ChatGPT 的回應,必須實施基於年齡的過濾器和內容限制。透過這樣做,我們可以保證人工智慧遵守我們的指導方針並尊重可能適用的任何特定規則或限制。

遵循既定的風格和表達標準,一致地格式化回應。清楚地指示單元,以邏輯和有組織的方式排列項目,並採用任何必要的視覺元素或設計特徵來增強可讀性和理解性。

可以對 ChatGPT 進行編程,以對特定事件做出反應、從網頁檢索資訊並根據預定標準個性化回應。

為了解決 ChatGPT 在個人化和記憶體一致性方面的局限性,OpenAI 實施了一種新穎的方法,引入專門為每個用戶量身定制的自訂指令,無論他們是免費還是付費客戶。

人們可以利用ChatGPT的定制指令功能來修改在與AI交互期間收到的回复,確保這些指令在整個對話中普遍適用,並且存在多種方法來實現這種修改。

指定安全性和年齡限制規則

/bc/images/access-control-policies.jpg

利用 ChatGPT 中的客製化指南功能為您的 ChatGPT 個人資料或未成年人使用的個人資料建立安全法規。為了確保您的孩子在使用 ChatGPT 時的健康,您可以使用個人化指令來產生適合低於特定年齡閾值(與您孩子的實際年齡相對應)的孩子的回應。此外,您可以更明確地表達您希望 ChatGPT 迴避的任何主題,無論它們本身是否不代表特定年齡層的適宜性問題。

為了緩解過度接觸電玩遊戲的潛在問題,在產生回應時向 ChatGPT 提供明確的指導可能是謹慎的做法。透過精確指定哪些主題應該被排除或限制,可以有效地界定允許內容的範圍。重要的是要提醒 ChatGPT 在遵守這些準則的同時保持幫助。使用模型輸出透過實驗驗證指令可確保 ChatGPT 的行為符合使用者期望。

以下提供了一個可以納入其客製化教學領域的範例提示,描述了其基本組成部分和遵守既定協議的指南。

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.

指定格式規則

利用 ChatGPT 自訂命令的有效方法是為其回應提供指導,例如將其呈現為鍵值對或簡單的格式化模板,以確保在各種聊天互動中呈現一致的呈現。此外,這提供了一個理想的設定來表達有關計量單位、貨幣、排序、日期格式或 ChatGPT 在回應產生過程中應遵循的任何其他風格規範的偏好。

事實上,當在採用獨特格式約定的專業領域或領域中使用時,此功能的實用性變得更加明顯。一個恰當的例子如下:

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

對 ChatGPT 進行編程以回應特定事件

自訂指令欄位允許對 ChatGPT 在與 AI 聊天機器人互動會話期間發生特定事件時採取的特定操作進行程式設計。利用語言表達,人們可以清楚地表達出當在對話過程中發生指定事件時,ChatGPT 將執行的所需行動方案。

在一項實驗中,當我們詢問是否需要協助為此類工作製作履歷表時,我們指示 ChatGPT 從一篇有關為技術職位撰寫履歷的文章中檢索資訊。當收到與技術相關的職位的招聘資訊並要求協助創建求職信時,人工智慧將從指定的文章中提取有關簡歷撰寫的指導,並根據該建議提出一系列查詢。下面是其操作示範:

您的瀏覽器不支援影片標籤。

此外,如果您透過專門網站保持線上狀態,展示您的個人或專業背景,您可以指示 ChatGPT 在產生需要此類詳細資訊的回應時從該網站提取相關資訊。

一個合適的例子是創建簡歷的過程。該平台不會在透過 ChatGPT 撰寫履歷時不斷輸入個人專業數據,而是從指定來源檢索此資訊並相應地填充文件。此外,ChatGPT 的用途不僅限於履歷,還包括其他書面信件,例如求職信、電子郵件或提案。此外,用戶可以自訂他們的自動化以適應各種格式,超越傳統的超連結連接。

考慮以下範例作為建立客製化互動功能的參考,該功能僅在滿足特定先決條件時才會觸發:

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. 

指定你的寫作風格

雖然 ChatGPT 表現出在產生高品質書面內容方面的熟練程度,但其輸出有時會出現不一致的個人語氣和風格。對於那些依賴聊天機器人作為主要或頻繁撰寫文件的方式的人來說,可能有必要提供具體的指南,以確保在與人工智慧語言模型的多次互動過程中保持統一的風格。

為了調整我的語言以更好地滿足您的喜好,我邀請您提交以您所需的風格編寫的文字範例。透過這樣做,我將生成一個個性化的配置文件,捕捉您選擇的聲音的細微差別,使我能夠在後續回應中複製它。為了促進此過程,請使用以下提示作為指導:

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.

查看結果後,請仔細閱讀下面提供的資訊。仔細檢查內容後,請隨意複製結果並將其插入到自訂指令部分的指定輸入框中。

/bc/images/personal-preference-map-in-chatgpt.jpg

為個人化回應提供數據

客製化指令提供了一種可以實現複雜目標的方法;然而,它們的主要功能是深入了解一個人的個人情況並相應地調整我們的反應。透過描述特定特徵,例如職業、過敏或特定領域的熟練程度,我們可以提供與您的職業、飲食限制(在建議菜餚中省略過敏原)或學術成就相對應的個性化答案,從而確保在尋求建議或指導時處於可以理解的水平。

利用自訂指令功能,使用者可以修改 ChatGPT 的回應,以符合個人喜好和專業知識。

⭐ 您可以讓 ChatGPT 回應家人的需求。 /bc/images/setting-preferred-ways-to-respond-using-chatgpt-s-custom-instructions-feature.jpg

⭐ 您可以讓它以符合您職業的方式做出反應。 /bc/images/setting-preferred-ways-to-respond-in-chatgpt-custom-instructions.jpg

⭐ 您也可以讓它回應特定的專業要求。 /bc/images/setting-preferred-ways-to-respond-using-chatgpt-custom-instructions-feature.jpg

除了上述實例之外,還存在多種客製化 ChatGPT 使用者指南以滿足個人偏好和要求的可能性。

充分利用自訂指令

預設情況下,ChatGPT 在各個主題上都提供了出色的效能。然而,有時它的標準答案可能無法滿足一個人的特定要求。為了創建符合個人品味和傾向的客製化對話,使用者可以選擇使用個人化方向。避免典型的 ChatGPT 遭遇並對其進行修改以滿足您的特定期望。