06_13_2025星島日報(紐約大都會版)

何謂「提示工程」? 「提示工程」指的是設計和優化 給AI的指令,讓AI能夠產生更好的 回應。人工智能就像一個聽話的 助手,但它只能按照你的問題來回 答。若問題不夠精準,它可能生成 錯誤答案;若問題清晰明確,它就 可迅速且準確地回覆。 打個比方︰向人工智能下指 令,就像在餐廳點餐。若你跟餐廳 店員說:「我要好吃的米線。」店員 可能會問:「要哪種湯底?加甚麼配 料?辣度如何?」這樣的對話需要來 回溝通,才能夠確保食物符合客人 口味。 然而,如果你一開始就明確地 說:「我要雞肉加火腿,小辣,不加 芽菜。」店員就可直接製作出符合你 要求的米線。 同樣地,若我想創作一首詩, 並直接在AI代理中輸入以下提示: 「寫一首詩」。AI可能便會生成以下 文字: 我是一首詩, 充滿着神秘, 請你細細讀。 然而,這樣的詩缺乏內容和深 意,並非我所期望的。原因正是提 示不夠明確。 但若將提示修改為:「寫一首 關於下春雨的詩,四行,並要求押 韻」,AI可能會生成以下文字: 春雨綿綿潤新芽, 細滴輕敲窗前花。 溪水潺潺流淌去, 萬物復甦笑如霞。 這樣看起來是否更符合期待 呢?這是因為清晰的提示明確告知 AI你的需求。 既然提示如此重要,我們該如 何設計一個有效的指令呢? 指令設計小技巧 以下是幾個簡單的技巧,幫助 AI更準確地理解你的需求︰ 1. 提供詳細資訊 許多初次接觸生成式AI平台的 用戶,常認為其操作與搜索引擎無 異。這很可能是因為提示過於簡 略,導致AI無法理解用戶的真正需 求(甚至用戶本身也未必明確)。 如果同學正在進行一個有關 萬里長城的專題研習,向AI輸入指 令:「介紹萬里長城」,生成結果: 「萬里長城,是一座非常長的城牆, 長得讓人驚歎,幾乎看不到盡頭。」 此回答顯然不理想,因提示過 於簡略,AI缺乏方向性。若將提示 修訂為:「請介紹位於北京的長城, 並說明其歷史背景與用途。」生成結 果:「長城是中國古代為防禦外敵而 興建的建築,始建於公元前7世紀。 它全長超過2萬公里,是世界文化遺 產之一。除軍事用途外,現今長城 亦成為熱門旅遊景點。」 2. 提供範例 我們有時希望AI按特定格式回 答問題(如列清單、製作表格等)。 若可提供範例,AI將更易理解需求。 案例:若希望AI列出水果名稱,可 如此提示: 請列出3種水果,並按照以下格 式回答: ‧水果名稱:蘋果 ‧水果名稱:香蕉 ‧水果名稱: AI的回答可能是: ‧水果名稱:蘋果 ‧水果名稱:香蕉 ‧水果名稱:橙子 這樣的回答是不是更整 齊、更便於閱讀? 3. 提供上下文理與背景資訊 向AI提問時,補充上下文與背 景資訊,能讓回答更符合需求。 採用AI撰寫故事時,若僅輸入 「幫我寫一個故事」,AI可能生成無 關的內容。但若提供背景並細化問 題︰「請寫一個關於小明的故事。他 的狗走失了,他非常擔心,於是展 開一場冒險。接下來會發生甚麼?」 AI可能回答:「小明穿過森林和 農田,一邊呼喊着狗狗的名字,一 邊詢問路人。數日後,他終於在 鄰村找到狗狗,發現牠被一 位好心的奶奶收養着。小 明感激地道謝,牽着狗 狗回家了。」 4. 避免模糊或否定式指令 使用否定式表述(如「不要做甚 麼」)可能讓AI混淆,建議直接說明 「要做甚麼」。 設計專題研習問卷時,若輸入: 「不要複雜的問題,幫我設計問卷。」 此提示可能讓AI困惑,甚至仍須確認 需求。若改為:「幫我設計一份關於 大學生消費習慣的簡單問卷,包含5 個問題。」AI的回答可能就是:「1. 你 每月的生活費大約是多少?2. 你通常 在哪些平台上購物?3. 你平 均每月購物的次數是 多少?4. 你最常 購買的商品類 型是甚麼?5. 你通常如何 支付購物費 用?」 AI非全知守護思考力 AI雖具驚人潛力,卻非無懈可 擊。使用者須具備辨別真偽的慧 眼、道德運用的準繩及個人能力的 基石。有時候,AI的回答可能看似 合理,卻與事實不符,例如將「珠穆 朗瑪峰」誤判為「阿空加瓜山」,使用 者須交叉驗證資訊可靠性,警惕虛 假新聞或學術造假。 其次,AI可能生成侵犯隱私或 違反法律的內容,如未經授權的圖 像或誹謗性文字,使用者應尊重他 人權益。最後,AI可協助學習,但 無法取代思考與創造,使用者須保 持好奇心,透過AI發現問題後自主 探索答案,並反思其局限性。 總括而言,AI是強大的學習夥 伴,但真正的智慧是來自人類的判 斷力,惟有將AI與個人能力結合, 才可最大化其價值。 小思考,大智慧 1. 如何提高AI回應的質量? 2. 當AI提供的答案與你的認知不一 致時,你應該怎麼處理? 參考答案 1. 提供詳細背景和具體指令,讓AI 理解你的需求,從而生成更準確 和符合預期的回應。 2. 查閱其他來源以核實資料的準確 性;亦要保持批判思考,不要以 AI作為訊息的唯一來源。 星島教室 編程與人工智能 鍾禮邦 九龍真光中學 電腦科主任 當提起人工智能(AI),你腦海中首先浮現 的詞彙是甚麼?對筆者而言便是「提示工程」 (Prompt Engineering)。舉個例子,若老師要 求你使用AI生成一張圖片,題目為︰「一隻狗 在沙灘上玩耍」,你會發現每位同學生成的圖 像各不相同 —— 有的僅呈現狗與沙灘的簡單場 景,有的則畫面豐富、細節飽滿。這是否意味 着指令越詳細,生成結果就越符合預期呢?本 文將透過實例剖析,教你如何與人工智能「有 效對話」,使其成為你的學習良伴。 本欄,由教育評議會邀請資 深中小學老師、校長及大學講師 撰稿,旨在為學生提供多元化的 STEAM學習材料,引發學生探求 知識的興趣,將學習融入生活, 培養學生的世界觀、敏銳的觸 覺、積極學習的態度。 作者介紹 當 讀社論學 英文 The Pr i va t e Economy Promo t i on Law, passed on April 30 by the Standing Committee of the National People's Congress, will take effect on May 20. The legislation enshrines unwavering support for both public and non-public ownership economies (the "two unswervingly"). It also explicitly states the goal of "promoting the healthy growth of both the private economy and entrepreneurs". These provisions are very significant. For the ambitious, legal backing means greater protection, so they will more aggressively develop their business. For the broader economy, this law comes as timely rain under the haze of tariff war, to boost market confidence. Private enterprises underpin China's economy In recent years, "56789" has been used to describe the private sector's contribution of over 50 per cent to national tax revenue, 60 to the GDP, 70 to technological innovation achievements, 80 to urban employment and 90 to the total number of enterprises. These rough figures show that private firms are no less important than the state-owned or at least neck and neck. Saying that they are the backbone of China's economy is no exaggeration. How to further unleash their potential and more effectively unite them is clearly what the central government is giving considerable thought to. Despi te the i r impor tance , pr i vate enterpr i ses of ten f ind themse l ves at a disadvantage as they cannot equally access resources and participate in competition. Many in the industry have long voiced their frustrations. In recent years, there have even been some scandalous incidents referred to as "distant-water fishing". Regional governments, under f iscal strain, have targeted private entrepreneurs abroad to boost revenue, arbitrarily seizing their operations. Such harassment undermines their legitimate rights, discourages enthusiasm and greatly weakens their interest. We cannot say that the new law will eliminate all injustices, but recognizing the status of private enterprises at the legal level will certainly have a regulatory effect. With equal legal status, market opportunities and development rights, the private sector can reasonably obtain capital, labour, land, data and other production factors for their initiatives. Achieving a rule-of-law environment It is worth noting that the law also mentions supporting participation of private enterprises in major nat ional strategies and projects through investing and starting businesses in strategic emerging industries or so clearly in response to the current Sino-US cold war, where the country aims to develop new productive forces to break through the US technology blockade and gain a competitive edge. With the legal encouragement comes more appropriate protection. We may thus see the rise of start-ups like the "Six Little Dragons of Hangzhou". Support for private enterprises is a long-term policy. The Third Plenum last year proposed the formulation of this very law. In February, President Xi Jinping hosted a symposium with private entrepreneurs and encouraged them to become promoters of Chinese modernization - dispelling their doubts and anxieties. Now that the law has finally been passed, it concretely reflects the central government's support and marks the creation of a rule-of-law based and market-oriented environment. It being China' s f irst foundat ional legislation on private economy, the historical significance should not be underestimated. Moreover, given the ongoing global tariff war, it is naturally expected to help stabilize the market, boost confidence and anchor expectations. But enacting the law is not the end of the story. There may be even greater challenges of failure to enforce the law or abuse, requiring continued and intensified efforts. 翻譯自5月1日《星島日報》社論 (http://std.stheadline.com/) explicitly (adv) —— 明確地 provision (n) —— 條款 unleash (v) —— 釋放 scandalous (adj) —— 丟臉的 arbitrarily (adv) —— 任意地 formulation (n) —— 制訂 symposium (n) —— 論壇 anchor (v) —— 使穩固 neck and neck —— 不相伯仲 distant-water fishing —— 遠洋捕撈 fiscal strain —— 財政緊絀 competitive edge —— 競爭優勢 The new private economy law consists of nine chapters and 78 articles, covering fair competition, investment & f inancing promot ion, technological innovation and rights protection. It "will further optimize the development environment for private businesses, ensure fair market competition among all types of economic entities, promote the healthy growth of both the private economy and entrepreneurs," Xinhua said. 1. The word _____ in the first paragraph is the opposite of "vaguely". 2. _____ firms are just as important as the state-owned. 3. In the passage, the word _____ means "disgraceful". 4. The new law reflects the central government's _____. 5. According to the last paragraph, the _____ significance of the new law should not be underestimated. Answers 1. explicitly 2. Private 3. scandalous 4. support 5. historical & Q A Vocabulary Useful Terms Did you know? Timely law to stabilize expectations amid tariff war 翻譯︰George Hi D6 侷芎 06.13.2025 星期五

RkJQdWJsaXNoZXIy ODc1MTYz