Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save androchentw/a49e672eed4f1089f4aaf76f6509dfd0 to your computer and use it in GitHub Desktop.
Save androchentw/a49e672eed4f1089f4aaf76f6509dfd0 to your computer and use it in GitHub Desktop.

Revisions

  1. androchentw renamed this gist May 7, 2023. 1 changed file with 0 additions and 0 deletions.
  2. androchentw revised this gist May 7, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@
    再基於前述內容回答
    * 03 迭代
    Iterative
    * Iterative Prompt Development
    * **Iterative Prompt Development**
    * 過程
    * 瞭解如何用更好的過程來開發
    並取得正確的 prompts
  3. androchentw revised this gist May 7, 2023. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,8 @@
    再基於前述內容回答
    * 03 迭代
    Iterative
    * 過程
    * Iterative Prompt Development
    * 過程
    * 瞭解如何用更好的過程來開發
    並取得正確的 prompts
    * 指定規格: 字數/格式
  4. androchentw revised this gist May 7, 2023. 1 changed file with 11 additions and 4 deletions.
    15 changes: 11 additions & 4 deletions 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -11,13 +11,16 @@
    * 例外處理 (若無, 則...)
    * 示範成功
    2. 思考時間: 切分小任務
    3. 模型限制: 幻覺 Hallucination
    3. 模型限制
    * 幻覺 Hallucination
    * 對策: 先找相關資訊
    再基於前述內容回答
    * 03 迭代
    Iterative
    * 過程
    * 瞭解如何用更好的過程來開發
    並取得正確的 prompts
    * 指定規格
    * 指定規格: 字數/格式
    * 04 摘要
    Summarizing
    * 客製化摘要
    @@ -33,7 +36,11 @@
    3. 語氣轉換 Change tone
    * 07 擴寫
    Expanding
    * 客服 AI 助理: 個人化電子郵件
    * 調整溫度,平衡穩定與多樣性
    * 08 聊天機器人
    Chatbot
    * 09 結論
    Conclusion
    * 訂單機器人
    * 上下文 Context
    * 感想
    * 數據 > 資訊 > 知識 > 洞察 > 智慧
  5. androchentw revised this gist May 6, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    * 前情提要
    * 課程目標: 激發應用想像力
    * 明確指示: 將 LLM 視為 "**聰明但不清楚任務細節的人**"
    * 結合日常實務,改善流程
    * 02 準則
    Guidelines
    1. 清晰且具體的指示
  6. androchentw revised this gist May 6, 2023. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    * 前情提要
    * 課程目標: 激發應用想像力
    * 明確指示: 將 LLM 視為 "**聰明但不清楚任務細節的人**"
    * 02 準則
    Guidelines
    1. 清晰且具體的指示
    @@ -32,4 +35,4 @@
    * 08 聊天機器人
    Chatbot
    * 09 結論
    Conclusion
    Conclusion
  7. androchentw revised this gist May 6, 2023. 1 changed file with 17 additions and 8 deletions.
    25 changes: 17 additions & 8 deletions 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -1,26 +1,35 @@
    * 02 準則 Guidelines
    * 02 準則
    Guidelines
    1. 清晰且具體的指示
    Clear and specific
    * 分隔符號 (```, ...)
    * 結構化輸出 (JSON, ...)
    * 例外處理 (若無, 則...)
    * 示範成功
    2. 思考時間: 切分小任務
    3. 模型限制: 幻覺 Hallucination
    * 03 迭代 Iterative
    * 03 迭代
    Iterative
    * 過程
    * 瞭解如何用更好的過程來開發
    並取得正確的 prompts
    * 指定規格
    * 04 摘要 Summarizing
    * 04 摘要
    Summarizing
    * 客製化摘要
    * 05 推理 Inferring
    * 05 推理
    Inferring
    * 情感分析 Sentiment analysis
    * 萃取資訊
    * 推理文章主題 + 比對判斷關鍵字
    * 06 轉化 Transforming
    * 06 轉化
    Transforming
    1. 翻譯 Translate
    2. 校對 Proofread: 文法, 拼字檢查
    3. 語氣轉換 Change tone
    * 07 擴寫 Expanding
    * 08 聊天機器人 Chatbot
    * 09 結論 Conclusion
    * 07 擴寫
    Expanding
    * 08 聊天機器人
    Chatbot
    * 09 結論
    Conclusion
  8. androchentw revised this gist May 6, 2023. No changes.
  9. androchentw created this gist May 6, 2023.
    26 changes: 26 additions & 0 deletions 2023-05-07-dlai-chatgot-prompt-engineering.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    * 02 準則 Guidelines
    1. 清晰且具體的指示
    * 分隔符號 (```, ...)
    * 結構化輸出 (JSON, ...)
    * 例外處理 (若無, 則...)
    * 示範成功
    2. 思考時間: 切分小任務
    3. 模型限制: 幻覺 Hallucination
    * 03 迭代 Iterative
    * 過程
    * 瞭解如何用更好的過程來開發
    並取得正確的 prompts
    * 指定規格
    * 04 摘要 Summarizing
    * 客製化摘要
    * 05 推理 Inferring
    * 情感分析 Sentiment analysis
    * 萃取資訊
    * 推理文章主題 + 比對判斷關鍵字
    * 06 轉化 Transforming
    1. 翻譯 Translate
    2. 校對 Proofread: 文法, 拼字檢查
    3. 語氣轉換 Change tone
    * 07 擴寫 Expanding
    * 08 聊天機器人 Chatbot
    * 09 結論 Conclusion