撰寫有效的提示

認識 ChatGPT

James Chapman

Curriculum Manager, DataCamp

垃圾進、垃圾出

把垃圾丟進機器,產出更多垃圾。

認識 ChatGPT

ChatGPT 如何解讀提示?

撰寫職缺說明的提示。

認識 ChatGPT

ChatGPT 如何解讀提示?

撰寫職缺說明的提示。

1. 辨識主題

 

已標示職缺說明、資料科學家與紐約,ChatGPT 正在辨識提示主題。

認識 ChatGPT

ChatGPT 如何解讀提示?

撰寫職缺說明的提示。

2. 理解指令

 

動詞 write 被標示,ChatGPT 開始理解提示。

認識 ChatGPT

3. 產生回應

資料科學家職缺的提示與回應。

認識 ChatGPT

Prompt engineering

 

  • Prompt engineering 是撰寫提示以最大化回應「品質」與「相關性」的流程

一位提示工程師。

認識 ChatGPT

撰寫提示的實用建議

 

清楚且具體

  • 加入必要資訊
  • 例如:摘要任務要指明長度

一位提示工程師。

 

保持精簡

  • 移除沒有提供有用脈絡的內容

 

使用正確文法與拼字

  • ChatGPT 解讀任務時會依據文法
認識 ChatGPT

必要時提供範例…

  • 提供脈絡的方式可更「快速」

 

範例:產生範例客戶

  • 需要這種格式:

Full Name, Age (Occupation)

認識 ChatGPT

姓名與職業範例的提示與回應。

認識 ChatGPT

姓名與職業範例的提示與回應。

認識 ChatGPT

一起來練習吧!

認識 ChatGPT

Preparing Video For Download...