Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
透過 Cloud Functions, Firebasem Gemini Pro 打造具有記憶...
Search
LINE Developers Taiwan
PRO
May 08, 2024
Technology
0
100
透過 Cloud Functions, Firebasem Gemini Pro 打造具有記憶的 Open Data LINE Bot
- Speaker: Nijia Lin
- Event: NCCU GDSC 工作坊
LINE Developers Taiwan
PRO
May 08, 2024
Tweet
Share
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
清大企業參訪- Ben
line_developers_tw
PRO
0
730
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
870
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
880
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
870
LINE 與 AI 機器人技術應用現況
line_developers_tw
PRO
0
8
QA Testing
line_developers_tw
PRO
0
260
jcconf_datadev_prod
line_developers_tw
PRO
0
9
jcconf_SPM_prod
line_developers_tw
PRO
0
7
jcconf_LINEPay_prod
line_developers_tw
PRO
0
7
Other Decks in Technology
See All in Technology
ググるより、AIに聞こう - Don’t Google it, ask AI
oikon48
0
870
明日から真似してOk!NOT A HOTELで実践している入社手続きの自動化
nkajihara
1
490
「データ無い! 腹立つ! 推論する!」から 「データ無い! 腹立つ! データを作る」へ チームでデータを作り、育てられるようにするまで / How can we create, use, and maintain data ourselves?
moznion
7
4.1k
Master Dataグループ紹介資料
sansan33
PRO
1
3.9k
[CV勉強会@関東 ICCV2025 読み会] World4Drive: End-to-End Autonomous Driving via Intention-aware Physical Latent World Model (Zheng+, ICCV 2025)
abemii
0
140
今、MySQLのバックアップを作り直すとしたら何がどう良いのかを考える旅
yoku0825
0
260
[mercari GEARS 2025] Building Foundation for Mercari’s Global Expansion
mercari
PRO
1
120
ユーザーストーリー x AI / User Stories x AI
oomatomo
0
190
『HOWはWHY WHATで判断せよ』 〜『ドメイン駆動設計をはじめよう』の読了報告と、本質への探求〜
panda728
PRO
5
1.7k
手を動かしながら学ぶデータモデリング - 論理設計から物理設計まで / Data modeling
soudai
PRO
24
5.1k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
1.3k
AIでテストプロセスを自動化しよう251113.pdf
sakatakazunori
0
130
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
303
21k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Embracing the Ebb and Flow
colly
88
4.9k
The Invisible Side of Design
smashingmag
302
51k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Being A Developer After 40
akosma
91
590k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Statistics for Hackers
jakevdp
799
220k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Transcript
透過 Cloud Functions, Firebasem Gemini Pro 打造具有記憶的 Open Data LINE
Bot
NiJia Lin 🥷 LINE Technology Evangelist ⭐ Developer Relations 👋
External Evangelism 📌 Internal Evangelism
Messaging API 介紹
如何運作 內容
什麼是 Channel? 內容
什麼是 Provider? • 獨立開發者、公司或組織 • Channel 建立之後是不能更動 channel 的 Provider
• 請勿使⽤測試帳號到線上環境
什麼是 Provider?
什麼是 Provider?
Messaging API Reply event Push event LINE Platform LINE Bot
的兩種回應⽅式
Text & Sticker message
• ⾏程管理 • 個⼈化⼩幫⼿ • 美化⽂字 Emoji message
• ⾏程管理 • 個⼈化⼩幫⼿ • 美化⽂字 Emoji message
Image, Video, Audio, Location message
⽣成式 AI 服務
Workshop: 善⽤ Vision 的 LINE bot
Bot 還記得剛剛說過什麼嗎? https://www.evanlin.com/linebot-cloudfunc-firebase-gemini-workshop/
None
• 前往 LINE TODAY 找分類 • 邀請進入群組 • 修改 prompt
讓不同領域的⼈了解 • 重新部署 Cloud Functions 增加「!摘要」功能 https://github.com/louis70109/linebot-summarize-cloud-functions-gemini
• 修改 prompt 判斷地板 • 重新部署 Cloud Functions • https://lin.ee/UfdHydQ/yltz
天氣應⽤範例
• 修改 prompt 判斷台灣上空是否有雲 • 重新部署 Cloud Functions • https://lin.ee/1UoxY7Gj/yltz
天氣應⽤範例 2 – 衛星雲圖
更多 Open API 地震 API: https://opendata.cwa.gov.tw/dataset/ear thquake?page=1 天氣 JSON: https://opendata.cwa.gov.tw/dataset/for
ecast/F-A0010-001 紅外線: https://gist.github.com/louis70109/696d 064f3d40a676d6326e921c20843e ⽇常⽣活中有更多好⽤的 open data