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
台大資料分析與決策社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
6
政大數據分析社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
10
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
450
NTUAI企業參訪
line_developers_tw
PRO
0
10k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
21k
Data Team 實習分享
line_developers_tw
PRO
0
18k
Backend Intern之旅
line_developers_tw
PRO
0
25k
清大企業參訪- Ben
line_developers_tw
PRO
0
4.1k
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
2.7k
Other Decks in Technology
See All in Technology
内製AIチャットボットで学んだDatadog LLM Observability活用術
mkdev10
0
130
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
500
"作る"から"使われる"へ:Backstage 活用の現在地
sbtechnight
0
190
組織全体で実現する標準監視設計
yuobayashi
3
500
AI時代の「本当の」ハイブリッドクラウド — エージェントが実現した、あの頃の夢
ebibibi
0
150
Claude Code のコード品質がばらつくので AI に品質保証させる仕組みを作った話 / A story about building a mechanism to have AI ensure quality, because the code quality from Claude Code was inconsistent
nrslib
13
8.6k
めちゃくちゃ開発するQAエンジニアになって感じたメリットとこれからの課題感
ryuhei0000yamamoto
0
130
SRE NEXT 2026 CfP レビュアーが語る聞きたくなるプロポーザルとは?
yutakawasaki0911
1
440
visionOS 開発向けの MCP / Skills をつくり続けることで XR の探究と学習を最大化
karad
1
650
ガバメントクラウドにおけるAWSの長期継続割引について
takeda_h
2
5.3k
Oracle Cloud Infrastructure IaaS 新機能アップデート 2025/12 - 2026/2
oracle4engineer
PRO
0
170
身体を持ったパーソナルAIエージェントの 可能性を探る開発
yokomachi
1
130
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
180
Fireside Chat
paigeccino
42
3.8k
Leo the Paperboy
mayatellez
4
1.5k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
200
Why Our Code Smells
bkeepers
PRO
340
58k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
4 Signs Your Business is Dying
shpigford
187
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
A better future with KSS
kneath
240
18k
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