<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>ChatGPT Prompt｜林鼎淵 Dean Lin</title>
    <link>https://deanlin.net/tags/chatgpt-prompt/</link>
    <image><url>https://deanlin.net/images/author_hu_aa256fc934e9a932.jpg</url><title>ChatGPT Prompt｜林鼎淵 Dean Lin</title><link>https://deanlin.net/tags/chatgpt-prompt/</link><width>144</width><height>144</height></image>
    <description>林鼎淵（Dean Lin）的部落格：生成式 AI 企業內訓講師、外商資安公司軟體專家、7 本書作者。400 多篇文章用白話分享生成式 AI 實戰、Claude Code 與 Vibe Coding 教學、團隊合作與職場成長。</description>
    <generator>Hugo</generator>
    <language>zh-tw</language>
    <copyright>© 2020–2026 林鼎淵 Dean Lin</copyright>
    <lastBuildDate>Thu, 26 Jan 2023 16:29:00 +0800</lastBuildDate>
    <atom:link href="https://deanlin.net/tags/chatgpt-prompt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>3 個小技巧讓 ChatGPT 變聰明！</title>
      <link>https://deanlin.net/blog/202301/make-chatgpt-smarter/</link>
      <pubDate>Thu, 26 Jan 2023 16:29:00 +0800</pubDate>
      <guid>https://deanlin.net/blog/202301/make-chatgpt-smarter/</guid>
      <dc:creator>林鼎淵</dc:creator>
      <category>AI 實戰</category>
      <description>先前在「如何寫出有效的 Prompt，獲得更好的 ChatGPT 回覆」這篇文章中，筆者介紹了 prompt 的基礎使用原則，而這篇文章則是再補充一些小技巧（簡寫、符號、語言設定），讓你能更靈活的操作 ChatGPT。</description>
      <media:content url="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-og_hu_73754820b9137d3c.jpg" medium="image" type="image/jpeg" width="1200" height="675" />
      <content:encoded><![CDATA[<p>先前在「<a href="https://deanlin.net/blog/202301/effective-chatgpt-prompts/">如何寫出有效的 Prompt，獲得更好的 ChatGPT 回覆</a>」這篇文章中，筆者介紹了 prompt 的基礎使用原則，而這篇文章則是再補充一些小技巧（簡寫、符號、語言設定），讓你能更靈活的操作 ChatGPT。</p>
<p><img src="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-01.webp" width="1260" height="682" alt="3 個小技巧讓 ChatGPT 變聰明！（圖 1）" fetchpriority="high" decoding="async"></p>
<pre tabindex="0"><code>大綱

▋ TIP 1：設定 ChatGPT 快捷鍵（簡寫）
▋ TIP 2：用符號讓 ChatGPT 理解要處理的任務
▋ TIP 3：設定 ChatGPT 回應的語言
</code></pre><h2 id="tip-1設定-chatgpt-快捷鍵簡寫">TIP 1：設定 ChatGPT 快捷鍵（簡寫）<a class="h-anchor" href="#tip-1%e8%a8%ad%e5%ae%9a-chatgpt-%e5%bf%ab%e6%8d%b7%e9%8d%b5%e7%b0%a1%e5%af%ab" aria-label="這個段落的連結"></a></h2>
<pre tabindex="0"><code>接下來的對話，如果我只傳送「c」這個字母，就是「繼續完成回答」的意思。
</code></pre><p>因為 ChatGPT 的回答長度有限制，常常說到一半就斷了，要輸入「繼續」才能看到後續的文字；如果你跟筆者一樣覺得煩，不妨給他設計個快捷鍵。</p>
<p><img src="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-02.webp" width="892" height="170" alt="TIP 1：設定 ChatGPT 快捷鍵（簡寫）（圖 2）" loading="lazy" decoding="async"></p>
<blockquote>
<p><strong>小提醒</strong>：理論上設定的「快捷鍵」在同個聊天室內都有效，但筆者使用下來發現偶爾會跑掉，因此建議讀者把常用的設定複製一份。</p>
</blockquote>
<hr>
<h2 id="tip-2用符號讓-chatgpt-理解要處理的任務">TIP 2：用符號讓 ChatGPT 理解要處理的任務<a class="h-anchor" href="#tip-2%e7%94%a8%e7%ac%a6%e8%99%9f%e8%ae%93-chatgpt-%e7%90%86%e8%a7%a3%e8%a6%81%e8%99%95%e7%90%86%e7%9a%84%e4%bb%bb%e5%8b%99" aria-label="這個段落的連結"></a></h2>
<p>其實 ChatGPT 的理解能力已經很強了，但有時就是回答不到重點，此時我們可以加上<code>「」</code>這類的符號讓他理解。</p>
<pre tabindex="0"><code>優化文案「ERP 系統，量身打造，系統廠首選」
</code></pre><p>你也可以增加一些附加的描述、限制。</p>
<pre tabindex="0"><code>優化「」內的文案，擴充到 1000 字，分段描述。

「ERP 系統，為客戶量身打造，系統廠首選」
</code></pre><p><img src="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-03.webp" width="922" height="503" alt="TIP 2：用符號讓 ChatGPT 理解要處理的任務（圖 3）" loading="lazy" decoding="async"></p>
<p>發現話還沒說完，剛好可以試試看剛剛設定的快捷鍵「c」。</p>
<p><img src="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-04.webp" width="903" height="544" alt="TIP 2：用符號讓 ChatGPT 理解要處理的任務（圖 4）" loading="lazy" decoding="async"></p>
<blockquote>
<p>我只給他短短的描述，他就能從幾個關鍵字擴展到這個地步，這個自由發揮真的厲害。</p>
</blockquote>
<hr>
<h2 id="tip-3設定-chatgpt-回應的語言">TIP 3：設定 ChatGPT 回應的語言<a class="h-anchor" href="#tip-3%e8%a8%ad%e5%ae%9a-chatgpt-%e5%9b%9e%e6%87%89%e7%9a%84%e8%aa%9e%e8%a8%80" aria-label="這個段落的連結"></a></h2>
<pre tabindex="0"><code>不管我用什麼語言詢問，接下來的對話都使用「繁體中文」回答我。
</code></pre><p>「xxx」可以自由填入其他語言（ex：英文、日文&hellip;），<a href="https://deanlin.net/blog/202301/chatgpt-chinese-vs-english/">在之前的文章中</a>，筆者實驗過 ChatGPT 的英文能力比較好，尤其涉及專業知識的部分（ex：程式語言）。</p>
<p>所以我們可以取個巧，用「英文」提問，然後要求他用「繁體中文」回答。</p>
<blockquote>
<p><strong>小提醒</strong>：如果你只要求用「中文」回答，有高機率收到簡體字；另外即使已經告訴他要用「繁體中文」，偶爾還是會跳掉。</p>
</blockquote>
<pre tabindex="0"><code>不管我使用什麼語言詢問，接下來的對話都使用「繁體中文」回答我。
Explain decorator pattern, use exmple with node.js.
</code></pre><p><img src="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-05.webp" width="906" height="551" alt="TIP 3：設定 ChatGPT 回應的語言（圖 5）" loading="lazy" decoding="async"></p>
<p>這邊筆者是用英文詢問 ChatGPT 關於 Decorator 這個 Design Pattern 的解釋，並要求他提供「Node.js」的範例程式。</p>
<p>從回答你可以看到 ChatGPT 的確有使用「繁體中文」來回應，在最後也提供了一個用 Node.js 撰寫的範例：</p>
<div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#ff7b72">class</span> Request {
</span></span><span style="display:flex;"><span>  constructor(user) {
</span></span><span style="display:flex;"><span>    <span style="color:#ff7b72">this</span>.user <span style="color:#ff7b72;font-weight:bold">=</span> user;
</span></span><span style="display:flex;"><span>  }
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>  get content() {
</span></span><span style="display:flex;"><span>    <span style="color:#ff7b72">return</span> <span style="color:#a5d6ff">&#39;This is the base request content&#39;</span>;
</span></span><span style="display:flex;"><span>  }
</span></span><span style="display:flex;"><span>}
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#ff7b72">class</span> MemberDecorator {
</span></span><span style="display:flex;"><span>  constructor(request) {
</span></span><span style="display:flex;"><span>    <span style="color:#ff7b72">this</span>.request <span style="color:#ff7b72;font-weight:bold">=</span> request;
</span></span><span style="display:flex;"><span>  }
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>  get content() {
</span></span><span style="display:flex;"><span>    <span style="color:#ff7b72">return</span> <span style="color:#a5d6ff">`[Member] </span><span style="color:#a5d6ff">${</span><span style="color:#ff7b72">this</span>.request.content<span style="color:#a5d6ff">}</span><span style="color:#a5d6ff">`</span>;
</span></span><span style="display:flex;"><span>  }
</span></span><span style="display:flex;"><span>}
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#ff7b72">class</span> AdminDecorator {
</span></span><span style="display:flex;"><span>  constructor(request) {
</span></span><span style="display:flex;"><span>    <span style="color:#ff7b72">this</span>.request <span style="color:#ff7b72;font-weight:bold">=</span> request;
</span></span><span style="display:flex;"><span>  }
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>  get content() {
</span></span><span style="display:flex;"><span>    <span style="color:#ff7b72">return</span> <span style="color:#a5d6ff">`[Admin] </span><span style="color:#a5d6ff">${</span><span style="color:#ff7b72">this</span>.request.content<span style="color:#a5d6ff">}</span><span style="color:#a5d6ff">`</span>;
</span></span><span style="display:flex;"><span>  }
</span></span><span style="display:flex;"><span>}
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#ff7b72">const</span> user <span style="color:#ff7b72;font-weight:bold">=</span> {
</span></span><span style="display:flex;"><span>  role<span style="color:#ff7b72;font-weight:bold">:</span> <span style="color:#a5d6ff">&#39;admin&#39;</span>,
</span></span><span style="display:flex;"><span>};
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#ff7b72">let</span> request <span style="color:#ff7b72;font-weight:bold">=</span> <span style="color:#ff7b72">new</span> Request(user);
</span></span><span style="display:flex;"><span><span style="color:#ff7b72">if</span> (user.role <span style="color:#ff7b72;font-weight:bold">===</span> <span style="color:#a5d6ff">&#39;member&#39;</span>) {
</span></span><span style="display:flex;"><span>  request <span style="color:#ff7b72;font-weight:bold">=</span> <span style="color:#ff7b72">new</span> MemberDecorator(request);
</span></span><span style="display:flex;"><span>} <span style="color:#ff7b72">else</span> <span style="color:#ff7b72">if</span> (user.role <span style="color:#ff7b72;font-weight:bold">===</span> <span style="color:#a5d6ff">&#39;admin&#39;</span>) {
</span></span><span style="display:flex;"><span>  request <span style="color:#ff7b72;font-weight:bold">=</span> <span style="color:#ff7b72">new</span> AdminDecorator(request);
</span></span><span style="display:flex;"><span>}
</span></span><span style="display:flex;"><span>console.log(request.content);
</span></span></code></pre></div><p>我覺得他給的範例挺清晰易懂的，完整的說明我就不貼上來混字數了；有興趣的朋友可以複製筆者的指令，直接貼到 ChatGPT 來嘗試看看。</p>
<p>未來筆者會出一系列使用 ChatGPT、openAI 的文章，如果你對這個議題感興趣，可以持續關注我的文章！</p>
<a class="linkcard" href="https://deanlin.net/categories/ai/">
  <span class="lc-body">
    <span class="lc-title">AI 實戰</span>
    <span class="lc-desc">實測生成式 AI 工具、Vibe Coding 與自動化流程的第一手心得，把 AI 變成每天都用得上的即戰力。</span>
    <span class="lc-site"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M5 12h14M13 6l6 6-6 6"/></svg>林鼎淵 Dean Lin</span>
  </span>
</a>

<p><strong>想將 AI 導入自己的職場與生活嗎？歡迎<a href="https://www.books.com.tw/products/0011004216">購買筆者出版的新書</a></strong>，幫助您<strong>在 AI 的浪潮中站穩腳步，並在未來的職場競爭中佔據優勢！</strong></p>
<figure class="figure"><img src="https://deanlin.net/blog/202301/make-chatgpt-smarter/images/make-chatgpt-smarter-06.webp" width="1400" height="319" alt="林鼎淵著作《ChatGPT 與 AI 繪圖效率大師（新增 Copilot、Gamma、Runway、Suno）》" loading="lazy" decoding="async">
  <figcaption><a href="https://www.books.com.tw/products/0011004216">https://www.books.com.tw/products/0011004216</a></figcaption>
</figure>

]]></content:encoded>
    </item>
    <item>
      <title>ChatGPT 的翻譯有比 Google 翻譯更優秀嗎？</title>
      <link>https://deanlin.net/blog/202301/chatgpt-vs-google-translate/</link>
      <pubDate>Sun, 22 Jan 2023 21:19:22 +0800</pubDate>
      <guid>https://deanlin.net/blog/202301/chatgpt-vs-google-translate/</guid>
      <dc:creator>林鼎淵</dc:creator>
      <category>AI 實戰</category>
      <description>Google 翻譯已經有十多年的歷史，剛誕生的 ChatGPT 翻譯會比他更優秀嗎？ 這是我在看到 ChatGPT 有「文本翻譯」功能時，心裡產生的疑問。</description>
      <media:content url="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-og_hu_f9dc8db0f95efaf4.jpg" medium="image" type="image/jpeg" width="1200" height="675" />
      <content:encoded><![CDATA[<p>Google 翻譯已經有十多年的歷史，剛誕生的 ChatGPT 翻譯會比他更優秀嗎？</p>
<p>這是我在看到 ChatGPT 有「文本翻譯」功能時，心裡產生的疑問。</p>
<p>今天這篇文章就以「中翻英」來做比較，同場測試看看 ChatGPT 在擔任「翻譯專家」時，是否會比平常更專業，規劃如下：</p>
<p>有 3 位參賽選手：</p>
<ul>
<li>Google 翻譯</li>
<li>ChatGPT 正常版</li>
<li>ChatGPT 翻譯專家版</li>
</ul>
<p>他們要挑戰的是題目有：</p>
<ul>
<li><strong>基礎題</strong>：翻譯一小段筆者的「個人經歷」</li>
<li><strong>困難題</strong>：翻譯武俠小說中的「有人的地方，就有江湖」</li>
</ul>
<blockquote>
<p>原本的考題是「千秋萬載，一統江湖」，但似乎因為講太多堂課，這個案例被 Google 優化惹。</p>
</blockquote>
<figure class="figure"><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-01.webp" width="1136" height="616" alt="這就像是一場年輕人與老人的拳擊賽" fetchpriority="high" decoding="async">
  <figcaption>這就像是一場年輕人與老人的拳擊賽</figcaption>
</figure>

<pre tabindex="0"><code>大綱

▋ 賦予 ChatGPT 英文翻譯專家的人設
▋ 翻譯「個人經歷」
▋ 翻譯「有人的地方，就有江湖」
▋ 結論：好的技術幫我們節省時間
</code></pre><h2 id="賦予-chatgpt-英文翻譯專家的人設">賦予 ChatGPT 英文翻譯專家的人設<a class="h-anchor" href="#%e8%b3%a6%e4%ba%88-chatgpt-%e8%8b%b1%e6%96%87%e7%bf%bb%e8%ad%af%e5%b0%88%e5%ae%b6%e7%9a%84%e4%ba%ba%e8%a8%ad" aria-label="這個段落的連結"></a></h2>
<p><a href="https://deanlin.net/blog/202301/effective-chatgpt-prompts/">上一篇文章</a>，筆者有分享讓 ChatGPT 擔任某個領域「專家」的方式。</p>
<p>這邊為了確保 ChatGPT 的翻譯能力，我參考了 <a href="https://github.com/f/awesome-chatgpt-prompts#act-as-an-english-translator-and-improver">Github</a> 上面大神的 prompt 如下：<br>「I want you to act as an English translator, spelling corrector and improver. I will speak to you in any language and you will detect the language, translate it and answer in the corrected and improved version of my text, in English. I want you to replace my simplified A0-level words and sentences with more beautiful and elegant, upper level English words and sentences. Keep the meaning same, but make them more literary. I want you to only reply the correction, the improvements and nothing else, do not write explanations. My first sentence is “不要懷疑！我就是專家”」</p>
<p>上面這段話的大意就是：「我要你擔任我的英文翻譯員，我可以傳送任何語言的文字，你要先理解後，再用更好的文字表達。」</p>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-02.webp" width="1400" height="602" alt="賦予 ChatGPT 英文翻譯專家的人設（圖 2）" loading="lazy" decoding="async"></p>
<p>設定完後，可以開始比賽了！</p>
<hr>
<h2 id="翻譯個人經歷">翻譯「個人經歷」<a class="h-anchor" href="#%e7%bf%bb%e8%ad%af%e5%80%8b%e4%ba%ba%e7%b6%93%e6%ad%b7" aria-label="這個段落的連結"></a></h2>
<p>筆者擷取自己履歷中的一段經歷：「具備跨部門溝通能力，能有效整合不同部門的需求，找出各自的痛點並提出多方可接受的解決方案。」看看他們各自的發揮。</p>
<h3 id="-google-翻譯">Google 翻譯<a class="h-anchor" href="#-google-%e7%bf%bb%e8%ad%af" aria-label="這個段落的連結"></a></h3>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-03.webp" width="1400" height="847" alt="Google 翻譯（圖 3）" loading="lazy" decoding="async"></p>
<h3 id="-chatgpt-正常版">ChatGPT 正常版<a class="h-anchor" href="#-chatgpt-%e6%ad%a3%e5%b8%b8%e7%89%88" aria-label="這個段落的連結"></a></h3>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-04.webp" width="1400" height="454" alt="ChatGPT 正常版（圖 4）" loading="lazy" decoding="async"></p>
<h3 id="-chatgpt-翻譯專家版">ChatGPT 翻譯專家版<a class="h-anchor" href="#-chatgpt-%e7%bf%bb%e8%ad%af%e5%b0%88%e5%ae%b6%e7%89%88" aria-label="這個段落的連結"></a></h3>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-05.webp" width="1400" height="452" alt="ChatGPT 翻譯專家版（圖 5）" loading="lazy" decoding="async"></p>
<p>雖然筆者的英文沒有說很好，但從翻譯的結果來講，我想大家應該能感受到「Google 翻譯、ChatGPT 正常版」更像是根據中文照翻；而「ChatGPT 翻譯專家版」可以說是重新理解再翻譯了。</p>
<blockquote>
<p>其實…我覺得他英文翻譯出來的結果，比我中文寫得更好。</p>
</blockquote>
<hr>
<h2 id="翻譯有人的地方就有江湖">翻譯「有人的地方，就有江湖」<a class="h-anchor" href="#%e7%bf%bb%e8%ad%af%e6%9c%89%e4%ba%ba%e7%9a%84%e5%9c%b0%e6%96%b9%e5%b0%b1%e6%9c%89%e6%b1%9f%e6%b9%96" aria-label="這個段落的連結"></a></h2>
<p>從基礎題就能感受到「ChatGPT 翻譯專家版」的不同了，那現在變成困難題後，幾位選手是否會有更大的差異呢？讓我們看下去！</p>
<h3 id="-google-翻譯-1">Google 翻譯<a class="h-anchor" href="#-google-%e7%bf%bb%e8%ad%af-1" aria-label="這個段落的連結"></a></h3>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-06.webp" width="866" height="434" alt="Google 翻譯（圖 6）" loading="lazy" decoding="async"></p>
<h3 id="-chatgpt-正常版-1">ChatGPT 正常版<a class="h-anchor" href="#-chatgpt-%e6%ad%a3%e5%b8%b8%e7%89%88-1" aria-label="這個段落的連結"></a></h3>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-07.webp" width="1400" height="414" alt="ChatGPT 正常版（圖 7）" loading="lazy" decoding="async"></p>
<h3 id="-chatgpt-翻譯專家版-1">ChatGPT 翻譯專家版<a class="h-anchor" href="#-chatgpt-%e7%bf%bb%e8%ad%af%e5%b0%88%e5%ae%b6%e7%89%88-1" aria-label="這個段落的連結"></a></h3>
<p><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-08.webp" width="1400" height="432" alt="ChatGPT 翻譯專家版（圖 8）" loading="lazy" decoding="async"></p>
<p>這邊是筆者的心得：</p>
<ul>
<li><strong>Google 翻譯</strong>：結果不如人意，照著字面翻譯的後果，就是江湖直接被翻譯成「rivers and lakes」。</li>
<li><strong>ChatGPT 正常版</strong>：機器人似乎不太理解「江湖」的意思，所以直接採用音譯。</li>
<li><strong>ChatGPT 翻譯專家版</strong>：這個版本用的單字句子更加專業，且翻譯更接近本質：「有人的地方，就存在武林」。</li>
</ul>
<p>也許會有讀者提出質疑，說這三位選手都沒有把「江湖」完整翻譯出來；但「江湖」從源頭來說不就是武林的概念嗎？筆者覺得意境已經有到了。</p>
<hr>
<h2 id="結論好的技術幫我們節省時間">結論：好的技術幫我們節省時間<a class="h-anchor" href="#%e7%b5%90%e8%ab%96%e5%a5%bd%e7%9a%84%e6%8a%80%e8%a1%93%e5%b9%ab%e6%88%91%e5%80%91%e7%af%80%e7%9c%81%e6%99%82%e9%96%93" aria-label="這個段落的連結"></a></h2>
<p>這次實驗筆者最大的收穫是：「我有一個更加可靠的翻譯員了。」</p>
<p>如果你跟我一樣，總是浪費不少時間在撰寫英文信件與文件，老是卡在文法與用字遣詞，我想 ChatGPT 是我們的救星。</p>
<p>也許翻譯的結果不是全然正確，但比 Google 翻譯更具參考價值；我在社團跟大家分享這個資訊時，他們一口同聲的說：「珍惜生命，不要再用 Google 翻譯」。</p>
<blockquote>
<p>如果有英文翻譯的需求，「DeepL」跟「有道」也是不錯的選擇，你丟俚語就能感受到極大的差異了，例如：「I understand where you’re coming from.」</p>
<p>Google 翻譯為：「我知道你從哪裡來。」</p>
<p>DeepL 翻譯為：「我理解你的想法。」</p>
<p>這個殘酷結果真的是高下立見 XD</p>
</blockquote>
<p>未來筆者會出一系列使用 ChatGPT、openAI 的文章，如果你對這個議題感興趣，可以持續關注我的文章！</p>
<a class="linkcard" href="https://deanlin.net/categories/ai/">
  <span class="lc-body">
    <span class="lc-title">AI 實戰</span>
    <span class="lc-desc">實測生成式 AI 工具、Vibe Coding 與自動化流程的第一手心得，把 AI 變成每天都用得上的即戰力。</span>
    <span class="lc-site"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M5 12h14M13 6l6 6-6 6"/></svg>林鼎淵 Dean Lin</span>
  </span>
</a>

<p><strong>想將 AI 導入自己的職場與生活嗎？歡迎<a href="https://www.books.com.tw/products/0011004216">購買筆者出版的新書</a></strong>，幫助您<strong>在 AI 的浪潮中站穩腳步，並在未來的職場競爭中佔據優勢！</strong></p>
<figure class="figure"><img src="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/images/chatgpt-vs-google-translate-09.webp" width="1400" height="319" alt="林鼎淵著作《ChatGPT 與 AI 繪圖效率大師（新增 Copilot、Gamma、Runway、Suno）》" loading="lazy" decoding="async">
  <figcaption><a href="https://www.books.com.tw/products/0011004216">https://www.books.com.tw/products/0011004216</a></figcaption>
</figure>

]]></content:encoded>
    </item>
    <item>
      <title>如何寫出有效的 Prompt，獲得更好的 ChatGPT 回覆</title>
      <link>https://deanlin.net/blog/202301/effective-chatgpt-prompts/</link>
      <pubDate>Fri, 20 Jan 2023 20:30:24 +0800</pubDate>
      <guid>https://deanlin.net/blog/202301/effective-chatgpt-prompts/</guid>
      <dc:creator>林鼎淵</dc:creator>
      <category>AI 實戰</category>
      <description>有朋友試用 ChatGPT 後，覺得他總是給不出自己期望的回覆；這是因為 AI 距離我們的生活還太遠，還是因為沒有掌握到使用要領呢？ 今天這篇文章會先帶你了解「Prompt」是什麼，並用簡單的範例讓你了解如何善用他、避開陷阱，以此獲得更好的 ChatGPT 回覆。</description>
      <media:content url="https://deanlin.net/blog/202301/effective-chatgpt-prompts/images/effective-chatgpt-prompts-og_hu_fce73b0a2c28b18a.jpg" medium="image" type="image/jpeg" width="1200" height="675" />
      <content:encoded><![CDATA[<p>有朋友試用 ChatGPT 後，覺得他總是給不出自己期望的回覆；這是因為 AI 依舊距離我們的生活很遙遠，還是因為沒有掌握到使用要領呢？</p>
<p>今天這篇文章會先帶你了解「Prompt」是什麼，並用簡單的範例讓你了解如何善用他、避開陷阱，以此獲得更好的 ChatGPT 回覆。</p>
<p><img src="https://deanlin.net/blog/202301/effective-chatgpt-prompts/images/effective-chatgpt-prompts-01.webp" width="1400" height="728" alt="如何寫出有效的 Prompt，獲得更好的 ChatGPT 回覆（圖 1）" fetchpriority="high" decoding="async"></p>
<pre tabindex="0"><code>大綱

▋ Prompt 是什麼？
▋ 如果 Prompt 不完善會發生什麼事？
▋ 好的 Prompt 有哪些元素
▋ 讓 ChatGPT 擔任某個領域的「專家」
▋ 一些額外的建議
▋ 總結：對工具理解越深，越能發揮他的實力
</code></pre><h2 id="prompt-是什麼">Prompt 是什麼？<a class="h-anchor" href="#prompt-%e6%98%af%e4%bb%80%e9%ba%bc" aria-label="這個段落的連結"></a></h2>
<p>如果你需要別人幫忙做事，就需要給他具體的「指令」或「提示」；把角色換成 ChatGPT，Prompt 就是你問問題或提出請求的文字提示。</p>
<p>而決定 ChatGPT 回答品質的重要因素，就在於你提供的「Prompt」是否足夠完善。</p>
<hr>
<h2 id="如果-prompt-不完善會發生什麼事">如果 Prompt 不完善會發生什麼事？<a class="h-anchor" href="#%e5%a6%82%e6%9e%9c-prompt-%e4%b8%8d%e5%ae%8c%e5%96%84%e6%9c%83%e7%99%bc%e7%94%9f%e4%bb%80%e9%ba%bc%e4%ba%8b" aria-label="這個段落的連結"></a></h2>
<p>如果你已經出社會，讓我們回想一下，老闆、客戶在跟你溝通時，你是不是常常覺得要通靈？</p>
<p>很多人會抱怨老闆、客戶交代事情總是話說一半；但角色對換後，我們拋問題給 ChatGPT 時，是不是也常常問得很「模糊」？</p>
<p>這種模糊就會導致對話偏離軌道、缺乏重點，無論是現實中的人類，還是 ChatGPT 都無法給你合適的答案。</p>
<p>Ok，在了解「Prompt」的重要性後，接下來就來學習如何寫出有品質的 Prompt 吧！</p>
<blockquote>
<p>讀者可以將「好的 Prompt」理解為「好的提問技巧」，這些知識學習後對現實的生活、工作也是很有幫助的！</p>
</blockquote>
<hr>
<h2 id="好的-prompt-有哪些元素">好的 Prompt 有哪些元素<a class="h-anchor" href="#%e5%a5%bd%e7%9a%84-prompt-%e6%9c%89%e5%93%aa%e4%ba%9b%e5%85%83%e7%b4%a0" aria-label="這個段落的連結"></a></h2>
<ul>
<li><strong>清晰</strong>：越「具體」越好，避免給出太過複雜或模棱兩可的文字。</li>
<li><strong>重點</strong>：要有明確「目的」，避免太過廣泛或是開放式的問題。</li>
<li><strong>相關性</strong>：在對話中，建議內容都是相同「主題」，多主題會分散討論焦點。</li>
</ul>
<p>下面是 ChatGPT 認為「好」的 Prompt 案例：</p>
<ul>
<li><strong>2022年冬季奧運會在哪裡舉行？</strong>—— 明確地提出了問題並且特別指出了「時間」。</li>
<li><strong>請給我一些台北的知名美食</strong> —— 明確地提出了請求並且特別指出了需要「當地」的資訊。</li>
</ul>
<p>下面是 ChatGPT 認為「不好」的 Prompt 案例：</p>
<ul>
<li><strong>給我講講</strong> —— 沒有明確地表達問題或請求，不知道到底想要 ChatGPT 講什麼。</li>
<li><strong>請給我美食資料</strong> —— 因為沒有指定地區或美食種類，所以無法提供具體的美食資料。</li>
</ul>
<blockquote>
<p>不管對象是 ChatGPT 還是真人，遵循這些原則，都能讓對方更好地理解你的意圖，使對話維持在正軌上，是一種高效率的對話方式。</p>
</blockquote>
<hr>
<h2 id="讓-chatgpt-擔任某個領域的專家">讓 ChatGPT 擔任某個領域的「專家」<a class="h-anchor" href="#%e8%ae%93-chatgpt-%e6%93%94%e4%bb%bb%e6%9f%90%e5%80%8b%e9%a0%98%e5%9f%9f%e7%9a%84%e5%b0%88%e5%ae%b6" aria-label="這個段落的連結"></a></h2>
<p>這是我覺得很實用的「技巧」，你可以告訴 ChatGPT 在接下來對話中要擔任的「角色」，比如說：</p>
<ul>
<li>你遇到了一些職涯問題，告訴 ChatGPT 要擔任一個「職涯顧問」，根據你遇到的「具體問題」給出相關處理建議。</li>
<li>連假要出去旅遊，告訴 ChatGPT 要擔任一個「旅行社服務人員」，根據你的「目的地、時間長度、人員組成、特殊偏好」給出建議。</li>
</ul>
<p>下面就用一個具體案例給大家：「我希望你擔任一個優秀的旅行社服務人員。我會輸入“地點”的資訊，你只需要告訴我當地的“美食”、“景點”、“注意事項”。回答的字數不要超過 400 字，用“摘要”就好。我要詢問的第一個地點是“宜蘭”。」</p>
<figure class="figure"><img src="https://deanlin.net/blog/202301/effective-chatgpt-prompts/images/effective-chatgpt-prompts-02.webp" width="1400" height="716" alt="不過大溪老街應該是在桃園！？" loading="lazy" decoding="async">
  <figcaption>不過大溪老街應該是在桃園！？</figcaption>
</figure>

<p>我這邊將剛剛拋出的問題做一下說明：</p>
<ul>
<li><strong>我希望你擔任一個優秀的旅行社服務人員</strong>：我希望 ChatGPT 擔任的角色。</li>
<li><strong>我會輸入“地點”的資訊</strong>：告訴 ChatGPT 我會輸入的關鍵字。</li>
<li><strong>你只需要告訴我當地的“美食”、“景點”、“注意事項”</strong>：限制 ChatGPT 回答的範圍。</li>
<li><strong>回答的字數不要超過 400 字，用“摘要”就好</strong>：用兩句話強調回答的限制。</li>
<li><strong>我要詢問的第一個地點是“宜蘭”</strong>：讓 ChatGPT 執行的第一項任務。</li>
</ul>
<p>結構越嚴謹，越能得到期待的資訊；不過大家實際使用時，也能透過後續的對話來修正結果。</p>
<p><strong>同時提醒大家，就算讓 ChatGPT 擔任某個領域的專家，也可能獲得錯誤的答案。</strong></p>
<blockquote>
<p>如果你想將 ChatGPT 的專業度昇華到另一個境界，可以參考 <a href="https://github.com/f/awesome-chatgpt-prompts">Github</a> 上面大神們提供的 prompt。</p>
<p>筆者在「<a href="https://deanlin.net/blog/202301/chatgpt-vs-google-translate/">ChatGPT 的翻譯有比 Google 翻譯更優秀嗎？</a>、<a href="https://deanlin.net/blog/202301/chatgpt-chinese-vs-english/">ChatGPT 的中文跟英文能力一樣好嗎？</a>」的文章中，也有比較中文專家跟英文專家的差異，大家可以參考一下。</p>
</blockquote>
<hr>
<h2 id="一些額外的建議">一些額外的建議<a class="h-anchor" href="#%e4%b8%80%e4%ba%9b%e9%a1%8d%e5%a4%96%e7%9a%84%e5%bb%ba%e8%ad%b0" aria-label="這個段落的連結"></a></h2>
<ul>
<li><strong>鼓勵 ChatGPT 多給你一點建議</strong>：你可以在 ChatGPT 回應的基礎上，再做更多延伸詢問（ex：在知道台北有哪些知名美食後，你可能對滷肉飯更感興趣，此時就能延伸詢問：「請推薦幾間在台北評分高的滷肉飯餐廳」）。</li>
<li><strong>不要帶有辱罵、輕蔑的口氣</strong>：在得不到預期的答案時，你可以糾正他，讓他回到軌道上；但如果用不良的態度就會導致溝通破裂。</li>
<li><strong>多練習、多嘗試</strong>：千萬不要看完這篇文章就覺得自己會了，一定要自己去實踐才會知道怎麼樣的 prompt 是更合適的（歡迎跟筆者分享你的心得）。</li>
<li><strong>找志同道合的人一起研究</strong>：這是一個新誕生的工具，對大多數人來說是陌生的，如果有人可以一起討論、給予回饋，那大家可以共同進步（可以加入 ChatGPT 的社群）。</li>
</ul>
<blockquote>
<p><strong>這邊特別提醒讀者</strong>：<br><strong>有些問題 ChatGPT 會給出錯誤的答案</strong>，就像是「請推薦幾間在台北評分高的滷肉飯」這個問題，他推薦的三間滷肉飯分別是「老記滷肉飯、阜杭滷肉飯、高雄滷肉飯」。<br>如果你發現這三間都沒聽過不是你孤陋寡聞，而是筆者用 Google Map 搜尋，發現真的找不到 QQ</p>
</blockquote>
<hr>
<h2 id="總結對工具理解越深越能發揮他的實力">總結：對工具理解越深，越能發揮他的實力<a class="h-anchor" href="#%e7%b8%bd%e7%b5%90%e5%b0%8d%e5%b7%a5%e5%85%b7%e7%90%86%e8%a7%a3%e8%b6%8a%e6%b7%b1%e8%b6%8a%e8%83%bd%e7%99%bc%e6%8f%ae%e4%bb%96%e7%9a%84%e5%af%a6%e5%8a%9b" aria-label="這個段落的連結"></a></h2>
<p>好的 Prompt 能讓 ChatGPT 有更好的回應，下面是筆者整理的基礎結構（原則）：</p>
<ul>
<li><strong>讓 ChatGPT 了解自己要擔任的「角色」</strong>：比如法律專家、職涯顧問、導遊…</li>
<li><strong>清晰、有重點的提出「問題」</strong>：避免提出模棱兩可、開放式的問題，比如：「你對 xxx 策略有什麼看法」可以調整為「xxx 策略主要有哪些好處」。</li>
<li><strong>明確定義你期待的「結果」</strong>：你希望 ChatGPT 提供資訊、回答問題還是隨意聊天。</li>
</ul>
<p>相比於其他市場上的聊天機器人，相信用過的人會覺得他的回應更加「自然」，而且可以完成「連續」有邏輯的對話，即使是刁難的問題也能給出有一定「深度」的回覆。</p>
<p>目前市場主流是用「英文」跟 ChatGPT 溝通，後續筆者也會嘗試用「英文」跟「中文」詢問一樣的問題，以此比對 ChatGPT 的回應會有什麼樣的差異。</p>
<p>未來筆者會出一系列使用 ChatGPT、openAI 的文章，如果你對這個議題感興趣，可以持續關注我的文章！</p>
<a class="linkcard" href="https://deanlin.net/categories/ai/">
  <span class="lc-body">
    <span class="lc-title">AI 實戰</span>
    <span class="lc-desc">實測生成式 AI 工具、Vibe Coding 與自動化流程的第一手心得，把 AI 變成每天都用得上的即戰力。</span>
    <span class="lc-site"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M5 12h14M13 6l6 6-6 6"/></svg>林鼎淵 Dean Lin</span>
  </span>
</a>

<p><strong>想將 AI 導入自己的職場與生活嗎？歡迎<a href="https://www.books.com.tw/products/0011004216">購買筆者出版的新書</a></strong>，幫助您<strong>在 AI 的浪潮中站穩腳步，並在未來的職場競爭中佔據優勢！</strong></p>
<figure class="figure"><img src="https://deanlin.net/blog/202301/effective-chatgpt-prompts/images/effective-chatgpt-prompts-03.webp" width="1400" height="319" alt="林鼎淵著作《ChatGPT 與 AI 繪圖效率大師（新增 Copilot、Gamma、Runway、Suno）》" loading="lazy" decoding="async">
  <figcaption><a href="https://www.books.com.tw/products/0011004216">https://www.books.com.tw/products/0011004216</a></figcaption>
</figure>

]]></content:encoded>
    </item>
  </channel>
</rss>
