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
99
透過 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
Live Activities in LINE
line_developers_tw
PRO
0
9
Neumorphism x Liquid Glass
line_developers_tw
PRO
0
10
猜你喜歡 – 打造高度擴展的個人化電商推薦
line_developers_tw
PRO
0
22
打造新電商搜尋體驗- 搜尋意圖辨識
line_developers_tw
PRO
0
7
比價群組
line_developers_tw
PRO
0
11
從混亂到優雅,讓專案不再失控:ATDD 與 Clean Architecture 的後端實戰之路
line_developers_tw
PRO
0
10
2049智能共存:透過LINE Bot Agent迎接後人類時代
line_developers_tw
PRO
0
39
菸酒生在 LINE Taiwan 的後端雙刀流
line_developers_tw
PRO
0
1.4k
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
1.5k
Other Decks in Technology
See All in Technology
新規プロダクトでプロトタイプから正式リリースまでNext.jsで開発したリアル
kawanoriku0
1
110
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.6k
COVESA VSSによる車両データモデルの標準化とAWS IoT FleetWiseの活用
osawa
1
290
La gouvernance territoriale des données grâce à la plateforme Terreze
bluehats
0
180
複数サービスを支えるマルチテナント型Batch MLプラットフォーム
lycorptech_jp
PRO
1
380
BPaaSにおける人と協働する前提のAIエージェント-AWS登壇資料
kentarofujii
0
140
現場で効くClaude Code ─ 最新動向と企業導入
takaakikakei
1
250
roppongirb_20250911
igaiga
1
240
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
430
AWSで始める実践Dagster入門
kitagawaz
1
620
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
380
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
140
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Designing Experiences People Love
moore
142
24k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Speed Design
sergeychernyshev
32
1.1k
Into the Great Unknown - MozCon
thekraken
40
2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Writing Fast Ruby
sferik
628
62k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
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