2023年12月11日 星期一

Prompting as a process

提示(Prompt)撰寫其實是一個逐步修正的過程,不要期待第一次就上手

  1. 迭代式提示開發: 創建有效的提示通常需要多次迭代。初始提示可能無法完全符合預期的結果。因此,根據初始輸出對提示進行精煉至關重要。


  2. 清晰和具體: 在提示的指令中清晰和具體很重要。無論是字數、句子結構還是特定所需的詳細資訊,都提供清晰的指導對於模型獲得更準確的結果至關重要。


  3. 調整提示: 如果初始輸出不符合期望(例如,長度過長或缺少特定資訊),則需要修改指令。這可能涉及調整字數、添加或更改特定細節,或改變輸出的焦點。


  4. 複雜的提示: 隨著時間的推移,隨著迭代的進行,提示可能變得更加詳細和複雜。這種複雜性可能包括格式要求(如HTML輸出)或要求特定的數據安排(如表格)。


  5. 應用軟體的成熟度: 隨著應用的成熟,對提示進行評估,應對較大量的示例進行評估變得至關重要,以確保在不同的輸入下具有一致且準確的性能。


  6. 整體而言,透過迭代方法開發提示,從單一示例開始,逐步根據輸出精煉指令,有助於為利用LLM的各種應用程式打造有效的提示。


Example: Test of comprehension 

Version 1: Generate the problems

Prepare 10 multiple choice problems from the paste text above to test comprehension.

  1. Shani Dhanda's activism primarily focuses on:
    A) Raising awareness for mental health issues
    B) Advocating for environmental sustainability
    C) Promoting cultural diversity
    D) Advocating for the rights of people with disabilities
    What year did Shani Dhanda organize the first event supporting disabled individuals and South Asian women?
    A) 2018
    B) 2019
    C) 2020
    D) 2021
    What medical condition does Shani Dhanda have?
    A) Rare genetic disorder
    B) Brittle Bone Disease
    C) Chronic fatigue syndrome
    D) Muscular dystrophy
    The "Diversability Card" app created by Shani Dhanda aims to provide:
    A) Social media networking for disabled individuals
    B) Travel guidance for people with disabilities
    C) Restaurant ratings and food delivery services
    D) Discounts for people with disabilities
    Shani Dhanda's vision for the future primarily revolves around:
    A) Global entrepreneurship programs
    B) Financial independence for disabled individuals
    C) Reducing carbon emissions
    D) Increasing government funding for disability services


Version 2: Making it more interactive

Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. Then generate next problem.

Version 3 Adding the grading 

Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. 

Version 4 Calculating the total score

Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end, tell me out of the 10 questions above, how many questions are correctly answered?


Example: Test of vocabulary

Version 1 Generate the problems

Based on the vocabulary: (Exoskeleton, Myoelectric, Sensors, Hydraulic, Cylinder, Prosthesis, Rehabilitation, Paralysis, Spinal cord, Neural),  prepare 5 fill the blank quiz questions. 

  1. The ___________ system in robotics uses electrical signals generated by muscle contractions to control artificial limbs or devices.
  2. Sensors integrated into exoskeletons enable the detection of motion and force, allowing for precise ___________ control in assisting movements.
  3. A ___________ cylinder is a mechanical device that uses fluid power to perform various tasks, often employed in advanced prosthetic designs for enhanced functionality.
  4. ___________ is a process that aims to restore functions to the body after an injury, commonly employed after amputation to adapt to a new prosthesis.
  5. Damage to the ___________ cord can result in loss of sensation or motor function below the injury site, leading to conditions such as paralysis.

Version 2 One at a time

Based on the vocabulary: (Exoskeleton, Myoelectric, Sensors, Hydraulic, Cylinder, Prosthesis, Rehabilitation, Paralysis, Spinal cord, Neural),  prepare 5 fill the blank quiz questions.  Generate one problem at a time. Then you request an answer.  Then generate next problem. 

Version 3 Grading answer interactively

Based on the vocabulary: (Exoskeleton, Myoelectric, Sensors, Hydraulic, Cylinder, Prosthesis, Rehabilitation, Paralysis, Spinal cord, Neural),  prepare 5 fill the blank quiz questions.  Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. 

Version 4 Total score

Based on the vocabulary: (Exoskeleton, Myoelectric, Sensors, Hydraulic, Cylinder, Prosthesis, Rehabilitation, Paralysis, Spinal cord, Neural), prepare 5 fill the blank quiz questions. Each question has only one missing word. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end tell me how many are correctly answered.

Version 5 Randomize

Based on the vocabulary: (Exoskeleton, Myoelectric, Sensors, Hydraulic, Cylinder, Prosthesis, Rehabilitation, Paralysis, Spinal cord, Neural)randomize the order of these words and then prepare 5 fill the blank quiz questions.  Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end tell me how many are correctly answered.

Version 6 Limiting the # of blanks to one

Based on the vocabulary: (Exoskeleton, Myoelectric, Sensors, Hydraulic, Cylinder, Prosthesis, Rehabilitation, Paralysis, Spinal cord, Neural), randomize the order of these words and then prepare 5 fill the blank quiz questions. Each question has only one missing word. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end tell me how many are correctly answered.


based on ChatGPT and the course in https://learn.deeplearning.ai/chatgpt-prompt-eng/lesson/3/iterative



AI Workshop 來寫寫Python程式吧 (12/12)

方便的話,可以攜帶筆電或是平板等螢幕比較大的設備,不過只有手機也是沒問題的。

AI工作坊主要內容請參看 https://nptechsl.blogspot.com/2023/12/ai-workshop.html

裡面有七個程式實作單元,12/12第一次工作坊預計進行單元一(Iteration) 與單元二(Summarize)

有任何問題都可以隨時聯絡我

2023年11月13日 星期一

AI tools for self evaluation of comprehension

 Using ChatGPT 3.5 (or Claude)

1. Copy the transcript of the video clip  無人機改變物流:凱勒·里諾多 / Zipline執行長 video 15:00  and paste it on ChatGPT 

2. Enter the prompt: 

Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end, tell me out of the 10 questions above, how many questions are correctly answered?

3. Answer each question. ChatGPT will grade it and generate the next question until 10 questions are generated.


Mail to chang212@gmail.com

2023年11月6日 星期一

AI tools for academic research

這個工具利用AI從論文中自動提取重要內容,生成簡明筆記。只需提供PDF檔,就可獲得涵蓋論文主要部分的提要。

如果有不熟悉的概念,可以讓AI進行通俗解釋。這樣,即使面對陌生領域,也可以快速抓住論文要點。

利用這工具高效掌握內容。你可以持續關注領域裡的最新論文。

這可以成為你學術研讀的一大助力!希望你可以善用這個工具,在學術領域不斷精進!


Guidelines when using generative AI tools

注意 不要將個人資料(例如個人財務,健康狀況),隱私或不可告知他人的資料(例如他人的研究資料)輸入給ChatGPT/Claude,以免危害自己或他人的利益。


Reading a document (pdf)

1. Using Claude, upload the pdf and summarize the paper.

2. Make 10 slides for this paper.

3. Translate the summary and the slides. 請翻譯這篇論文的摘要以及投影片。

4. 輸入「幫我做成筆記好嗎」

5. Comprehension test. Enter the prompt: 

Prepare 10 multiple choice problems from the paste text above to test comprehension. Generate one problem at a time. Then you request an answer. After you receive one, grade it. Then generate next problem. In the end, tell me out of the 10 questions above, how many questions are correctly answered?








11/7 使用AI深入服務設計

 11/7 上課大綱

http://nptechsl.blogspot.com/2023/10/blog-post_70.html?m=1

探索社會企業和社會服務,我們將討論兩個主題:

1. **另類美食餐廳 InGalera** - 一家位於監獄內的餐廳如何改變了囚犯的生活,我們將透過一段15分鐘的影片深入探討,並瞭解其背後的故事。

2. **機器人 x 身障就業** - 身障人士如何透過機器人技術找到就業機會,我們將觀賞一段28分鐘的影片(有效期至11/17/2023),並了解這個數位包容的主題。

除此之外,我們將進行一系列實作練習,使用AI助手來應對不同挑戰,包括編輯服務文件、專業翻譯和編寫紀錄。最後,我們還將練習製作一個10頁的簡報,分享這些服務設計的故事。


Guidelines when using generative AI

 有一些不錯的生成式AI 工具可供使用,例如

There are some excellent generative AI tools available for use, such as:



然而在使用AI時,需要注意以下:

  1. AI 不是永遠正確,請謹慎使用。(你可以想一想為甚麼AI會犯錯)
  2. 使用AI激發創意靈感,而非取代人的思考。
  3. 外文著作若具版權保護,請勿直接使用機器翻譯後進行使用,這可能構成重製並侵害著作權。
  4. 使用AI工具時請謹慎,避免濫用。
  5. 上傳個人、他人隱私資料或專業保密資訊至AI雲端,可能會違反法律,請注意維護個人與當事人權益。
  6. AI能力仍有限,使用時需注意判斷,避免錯誤。


However, when using AI, it is important to be mindful of the following:

  1. AI is not always correct, so please use it cautiously. (Consider what situations AI might make mistakes in.)
  2. Use AI to spark creative inspiration, not to replace human thinking.
  3. If foreign works are protected by copyright, avoid using machine-translated versions directly, as this may constitute reproduction and copyright infringement.
  4. Exercise caution when using AI tools to avoid misuse.
  5. Uploading personal, others' private information, or confidential professional data to AI clouds may violate laws, so be mindful of safeguarding personal and stakeholders' rights.
  6. AI capabilities are still limited, so exercise judgment and be cautious to prevent errors when using it.

2023年10月31日 星期二

社會服務計畫

 Length: 3 weeks

服務創造出價值  Create values, fulfill unmet needs

  • wealth, enjoyment, quality of life …
  • Social capital (wellness, happiness, trust, helping others, public safety…)

非營利服務
         In galera 
         Ukraine Take shelter

馬斯洛 人類需求層次理論


1. 獨居老人社區陪伴遊戲復健服務計畫


2. 社區精神障礙者遊戲復健服務計畫

  • 請你擔任一位計畫評審,對這份服務計畫書提出改善或加強的建議
  • Enhance this bp and make it more intriguing to financial sponsors.
  • 繁體中文版

社會企業/社會服務

練習使用 AI Assistant 



InGalera 

1. You are a magazine editor. According to the transcript of the interview, write a summary of the InGalera story.

2. You are a professional translator. Translate the summary  into Traditional Chinese. 你是一位專業翻譯者,請將上述故事摘要翻譯成繁體中文 。

3. You are a biography writer. According to the transcript of the interview, write a biography for Silvia Polleri. If the capacity constraints are violated, try limiting it to 2000 words.


4. What would be the title for the biography? Why? Please explain your choice.

5. You are sharing the story in your class. Make 10 slides for your presentation. 請提供此份投影片的繁體中文版。

Mail to chang212@gmail.com








社區獨居老人服務計畫 (志工招募)

 by Claude 

這是「社區陪伴遊戲復健服務計畫」摘要的繁體中文增強版本,用以吸引潛在志工:

您是否擁有充沛的同理心和一些空餘時間?請將您的善意付諸行動,加入我們令人欣慰的使命,照亮獨居長者的生活!

我們的計畫照顧那些缺乏社交聯繫和關懷的脆弱長者。通過每週定期探訪,您可以讓孤獨的長者感受到溫暖和喜悅。您的陪伴將比任何藥物更有療效。

在共享茶點時,洞悉長者的需求。在社區林蔭道上漫步,重新發現您的社區。在幫助做家務時,分享笑聲和智慧。通過經典桌遊喚醒美好回憶。並引導輕鬆的運動,提振身心靈。

每次探訪都能令長者心情愉悅,減輕孤獨所帶來的重擔。您的奉獻有助長者維持健康和自理能力,豐富他們的生活品質。我們計畫的回報是無法用言語衡量的。正如一句古訓所言:「一個志願者抵二十壓迫者。」

立即成為志工,產生超越言語的影響力。我們將為您提供完整的培訓和資源,使您能夠完成這項有意義的使命。您的慷慨將使社區中最孤獨的成員保持活躍,降低身心障礙的風險。

不要讓年邁的親人在黃金歲月中獨自承受孤獨。在您無私的支持下,獨居長者將在今年的節日季和全年感受到連結、關懷和重視。立即聯繫我們加入這項重要計畫吧,您的奉獻將點亮他人的生活!

2023年10月17日 星期二

Jessen’s tips on starting up a business

 Jessen’s tips 

1. True problem you want to solve 

2. Unmet needs that you believe will emerge 

3. Sufficiently hard thing that when you do it, people may not come up with a better solution that will make yours obsolete 

行銷策略

 Word of mouth 口碑行銷

Experiential marketing 體驗式行銷

  • 夜宿海生館
WM + EM
  • Google search, 1998
  • GMail, 2004

財務預測

 Uber, founded 2009, still unprofitable 

7-11 Taiwan, founded in 1978, unprofitable until seven years later

智慧手機的創業計畫

 你是一個創投公司,管理100億資金,以下的計畫書你會有興趣嗎?無論答案是否,請練習以 Seven Powers 理論分析關鍵因素為何?(只要關鍵,不需要窮舉七項)


(計畫書 by Bard)

公司介紹

本公司 iRock 為一家智慧手機製造商,專注於提供高品質、高性價比的智慧手機。本公司的目標客戶群體為大眾市場,包括學生、上班族、家庭用戶等。

產品/服務項目簡介、市場分析

智慧手機市場在全球範圍內迅速發展。根據IDC的資料,2022年全球智慧手機出貨量預計將達到14.9億部,同比增長3.5%。智慧手機市場的發展主要受到以下因素的驅動:

  • 智慧手機價格的下降:智慧手機的價格在近年來不斷下降,這使得智慧手機更加普及。
  • 智慧手機功能的不斷增強:智慧手機的功能不斷增強,包括拍照、影片、遊戲、社交等,這使得智慧手機成為人們日常生活中不可或缺的工具。

發展藍圖及策略

本公司將專注於以下幾個方面:

  • 提供高品質、高性價比的智慧手機:本公司將採用先進的技術和製造工藝,生產高品質的智慧手機,並以合理的價格銷售。
  • 擴大產品線:本公司將不斷擴大產品線,推出更多符合不同需求的智慧手機產品。
  • 加強品牌推廣:本公司將加強品牌推廣,提高品牌知名度和影響力。

公司架構及簡介

本公司將採用扁平化的組織架構,以提高效率和靈活性。

本公司將由以下人員組成:

  • 管理團隊:負責公司的整體運營。
  • 研發團隊:負責開發新的智慧手機產品。
  • 製造團隊:負責生產智慧手機。
  • 銷售團隊:負責銷售智慧手機。

實際營運計劃、風險評估

本公司將採取以下措施來降低風險:

  • 建立完善的風險管理體系。
  • 定期對市場進行分析,以應對市場變化。
  • 建立良好的供應商關係,以確保原料和零件的供應。

資金結構、財務狀況及預測

本公司將通過股權融資和銀行貸款來獲得資金。

本公司預計在第一年將虧損100萬美元,第二年將盈利200萬美元,第三年將盈利500萬美元。

退場機制

本公司計劃在五年內上市。

結論

智慧手機市場具有巨大的發展潛力。本公司將專注於提供高品質、高性價比的智慧手機,以滿足不同客戶的需求。我們相信,本公司將在智慧手機市場取得成功。

以下是一些提高競爭力的措施:

  • 開發創新的功能和技術:例如,開發可摺疊螢幕、5G、人工智慧等新技術。
  • 拓展海外市場:例如,在中國大陸、印度等新興市場開拓業務。
  • 加強品牌建設:例如,贊助體育賽事、舉辦品牌活動等。

社區精障復健服務計畫

(by ChatGPT 3.5)

 Mail your comments and suggestions to chang212@gmail.coM

社區精神病患遊戲復健服務計畫是為了提供精神健康患者在社區中接受遊戲化復健服務,以幫助他們康復和重新融入社會。以下是一份簡要的計畫書概要:

計畫目標: 促進精神病患的康復和社會參與,改善他們的生活品質。

計畫受眾: 成年精神病患者,包括抑鬱症、焦慮症、精神分裂症等病症的患者。

計畫內容:

  1. 遊戲化活動:設計各種遊戲和活動,以提高認知功能、社交技能、自信心,並減輕壓力。
  2. 社交支持:提供群體活動,讓患者能夠建立支持系統,改善社交技能。
  3. 心理健康教育:提供精神健康知識和應對策略的教育,協助患者更好地理解和管理自己的狀況。
  4. 日常生活技能培訓:提供生活技能訓練,包括時間管理、烹飪和財務管理,以提高獨立性。

計畫執行方法:

  1. 遴選和培訓專業人員,包括臨床心理學家、社會工作者和康復專家。
  2. 與當地醫療機構和精神健康機構合作,以確保適當的診斷和醫療護理。
  3. 設立遊戲復健中心,提供設施和資源,以支持計畫的實施。
  4. 建立評估和追蹤機制,以追蹤患者的進展,並調整計畫以滿足他們的需求。

預算: 列出預估的費用,包括人力資源、設施租賃、遊戲設備和材料、心理健康教育材料等。

計畫評估: 建立評估標準,包括參與率、生活品質改善、精神健康狀況改善等,以評估計畫的成效。

社區精神病患遊戲復健服務計畫的目的是提供支持和協助精神健康患者康復,重建他們的生活。該計畫需要多學科合作,以確保患者得到全面的支持。

社區獨居老人服務計畫

 Mail your comments and suggestions to chang212@gmail.com

獨居老人社區陪伴遊戲復健服務計畫書 (by bard)

一、計畫目標

  • 透過陪伴與遊戲,促進獨居老人的社會參與與身心健康。
  • 提高獨居老人的生命品質,延緩失能。

二、計畫對象

  • 年滿65歲以上、獨自居住的老人。
  • 身體功能退化,有復健需求的老人。

三、計畫內容

  • 陪伴:
    • 志工每週定期訪視老人,陪伴老人聊天、散步、做家事等。
    • 志工提供老人生活協助,如協助採買、送餐、陪同就醫等。
  • 遊戲:
    • 志工帶領老人進行適合身體狀況的遊戲活動,如簡單的肢體活動、桌遊、手工藝等。
    • 志工提供老人心理支持,鼓勵老人參與活動,促進社交。

四、計畫方法

  • 志工招募:
    • 透過社區活動、網路等方式招募志工。
    • 志工需經過培訓,熟悉服務內容及注意事項。
  • 服務流程:
    • 志工與老人建立關係,了解老人需求。
    • 志工與老人共同制定服務計畫。
    • 志工定期訪視老人,提供陪伴與遊戲服務。
  • 服務評估:
    • 透過志工訪談、老人問卷等方式,評估服務成效。

五、計畫經費

  • 志工培訓費:新台幣10,000元
  • 遊戲材料費:新台幣20,000元
  • 交通費:新台幣10,000元
  • 其他:新台幣10,000元

六、計畫執行單位

  • 社區大學
  • 社區發展協會
  • 民間非營利組織

七、計畫期程

  • 1年

八、計畫成果

  • 獨居老人社會參與率提高。
  • 獨居老人身心健康狀況改善。
  • 獨居老人生命品質提升。

九、結語

獨居老人是社會上的弱勢族群,他們往往缺乏社交互動與照顧,容易陷入孤獨、憂鬱等心理問題,進而影響身體健康。本計畫透過陪伴與遊戲,提供獨居老人多元服務,促進他們的社會參與與身心健康,延緩失能。