Upgrade to Pro — share decks privately, control downloads, hide ads and more …

用 AI 和 LINE Bot 簡化生活: 讓圖片告訴你何時該忙!-- LINE 工作坊

LINE Developers Taiwan
October 12, 2024
620

用 AI 和 LINE Bot 簡化生活: 讓圖片告訴你何時該忙!-- LINE 工作坊

Event: 梅竹黑客松 2024 賽前工作坊
Speaker: Nijia Lin

LINE Developers Taiwan

October 12, 2024
Tweet

More Decks by LINE Developers Taiwan

Transcript

  1. From when you wake up until you fall asleep, as

    the foundation for your daily life, we aim to surprise, inspire and make your life better. Create an amazing life platform that brings WOW! to our users. 02 ABOUT LINE | BY THE N UMBERS | GLO BA L | FINTECH | WEB3 | SERVICES | SO CIAL RESPON SIBILITY | AWARDS
  2. Getting up and checking the news Having pizza delivered for

    lunch Get coupon notifications from your favorite brands when you visit a store S hoppi ng f or gr ocer i es Listening to music on the way hom e from work Buying new shoes before heading to bed LINE NEWS LINE TODAY Demae-can LINE MAN LINE Official Account LINE Pay LINE MUSIC LINE TV L I N E S H O P P I N G 03 LIFE PLATFORM ABOUT LINE A platform to support users’ lives 24/7 12:00 17:00 22:00 14: 00 7:00 20:00 ABOUT LINE | BY THE N UMBERS | GLO BA L | FINTECH | WEB3 | SERVICES | SO CIAL RESPON SIBILITY | AWARDS
  3. 發送各種訊息格式 Message Event Imagemap message Flex message Text message Template

    message Location message Sticker message Image message Video/Audio Message Quote message
  4. 取得用戶資訊 • Display Name • User Id • Language •

    Picture Url • Status Message https://developers.line.biz/en/reference/messaging-api/#get-profile
  5. 什麼是 Quick Reply? • Camera action • Camera roll action

    • Location action • Postback action • Message action • URI action • Datetime picker action
  6. 什麼是 Rich Menu? • 圖片格式: JPEG or PNG • 寬度

    (pixels): 800 to 2500 • 高度 (pixels): 250 or more • 比率 (width/height): 1.45 or more • 檔案最大尺寸: 1 MB
  7. • 圖片格式: JPEG or PNG • 寬度 (pixels): 800 to

    2500 • 高度 (pixels): 250 or more • 比率 (width/height): 1.45 or more • 檔案最大尺寸: 1 MB 什麼是 Rich Menu?
  8. 發給 OA 互動的用戶 - Send Message • 各式 Message 格式

    • 最多一次發送 5 則訊息 • 從 OA 點過去的 LIFF 才能使用 https://developers.line.biz/en/reference/liff/#send-messages
  9. OMO 最需要的! - liff.scanCodeV2() • Powered by WebRTC • LINE

    v11.7.0+ • LIFF v2.15.0+ • External Browser/Android/iOS
  10. • LIFF starter app - https://github.com/line/line-liff-v2-starter - NextJS - NuxtJS

    - Vanilla • LIFF Playground - https://github.com/line/liff-playground - https://liff-playground.netlify.app/ - 外部/手機 瀏覽器皆可使用 從哪開始呢? - Starter
  11. • API Expert – David 撰寫 • 記帳機器人整合 LLM 快速實現

    • Demo 影片參考連結 (範例) 使用 Dify 以No Code方式建立記帳機器人
  12. • LangcChain 整合 • 總結 Youtube 內容 (省時) (範例)如何在 GCP

    Cloud Run 透過 LangChain 取得YouTube 的相關資訊