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
Defensive LLM Calling
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ogata Katsuya
December 05, 2025
0
180
Defensive LLM Calling
Ogata Katsuya
December 05, 2025
Tweet
Share
More Decks by Ogata Katsuya
See All by Ogata Katsuya
【初心者向け勉強会#9】MLOpsの基本 ~構築から運用まで~ / MLOps Basics: From Development to Operations
ogatakatsuya
1
130
AIで加速する文化祭ソフトウェア開発 / Software Development for School Festivals Accelerated by AI
ogatakatsuya
0
44
Vibe-Coding で作ったアプリを 文化祭で運用した話 / The story of running an app I built with Vibe-Coding at a school festival
ogatakatsuya
1
160
ハッカソンの勘所とエンジニアリングへの活かし方 / What Hackathons Teach Us and How to Bring That into Engineering
ogatakatsuya
0
46
Kubernetesで分散処理をやってみる-Kafkaを添えて-
ogatakatsuya
0
230
ソフトウェアアーキテクチャ入門 / Introduction to Software Architecture
ogatakatsuya
2
170
大学のサークルプラットフォームを作った話
ogatakatsuya
0
120
Go College
ogatakatsuya
0
160
文化祭で使うアプリを1人で作った話
ogatakatsuya
0
120
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
650
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.9k
Automating Front-end Workflow
addyosmani
1370
200k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
75
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
400
For a Future-Friendly Web
brad_frost
183
10k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
770
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Transcript
Kyoto Tech Talk #9 2025/12/05 Defensive LLM Calling Katsuya Ogata
ࣗݾհ • ໊લ: ॹํ ࠀ࠸ʢ͓͕ͨ ͔ͭʣ • ॴଐ: େࡕେֶ ใՊֶݚڀՊ
• झຯ: ొࢁɾཱྀߦɾαφ • MLLMΛ༻͍ͨಈըղੳͷݚڀ • ϝϧϘϧϯʹߦͬͯ·ͨ͠ • X: @ogata_katsuya • ݸਓ: www.ogatakatsuya.com ϝϧϘϧϯཱྀߦ ޒ৭ϲݪͷొࢁ
None
AWS 2025/10/20 Google Cloud 2025/06/13 Azure 2025/10/29
ΫϥυյΕΔલఏͰར༻͢Δ
2025ʹো͕ى͖ͯͨͷʁ
શ෦
োͷݪҼͱ༰ • ݪҼ • AIΛϗετ͍ͯ͠ΔΫϥυͷো • ίϯύΠϥͷόάʢΠϯϑϥىҼʣ • ༰ •
ϨΠςϯγͷٸܹͳ૿Ճ • ਫ਼ͷԼ • ͦͦLLMΛݺͼग़͢͜ͱ͕Ͱ͖ͳ͍
LLMյΕΔલఏͰར༻͢Δ
🤔
Application Layer Transport Layer Network Layer Network Access Layer TCP/IP
τϥϯεϙʔτ • ΞυϨεϙʔτ൪߸ͷΈʢIPΛͬͯΔͷωοτϫʔΫʣ • ͲΜͳωοτϫʔΫͷܦ࿏Λ௨Δ͔Βͳ͍ • ωοτϫʔΫͦͷͷΛ৴པ͍ͯ͠ͳ͍લఏͰ࣮֬ʹσʔλΛૹΓಧ͚Δ • ࠶ૹ੍ޚɺ੍ޚɺޡΓݕग़ •
ʢͷߟ͑Δʣτϥϯεϙʔτͷׂ • ΞϓϦέʔγϣϯʹωοτϫʔΫͷΓޱΛݟͤΔ • ΞϓϦέʔγϣϯωοτϫʔΫͷҧ͍Λҙࣝ͠ͳͯ͘ྑ͍ • ωοτϫʔΫͦͷͷͷ৴པੑΛ୲อ͢Δ
🤔
Application Layer Transport Layer Network Layer Network Access Layer TCP/IP
Application Endpoint ????? LLM Calling LLM Calling ͜͜
LLM Callingʹ͓͚Δτϥϯεϙʔτ • LLM Providerͷҧ͍Λٵऩͯ͠ɺͦͷΓޱ͚ͩΛݟͤΔ • நԽ • Ӆṭ •
LLM ProviderΛ৴པ͍ͯ͠ͳ͍લఏͰ࣭Λ୲อ͢Δ • ϦτϥΠॲཧ • ଞͷProviderͷϑΥʔϧόοΫ • ඞͣԿ͔͠ΒͷϨεϙϯε͕ฦͬͯ͘Δ
PythonͰͷ࣮ྫ abcΛ༻͍ͨநΫϥεͷ࡞ LiteLLMͱ͍͏ศརϥΠϒϥϦ͋Γ·͢
PythonͰͷ࣮ྫ ֤ϓϩόΠμʔͰͷநϝιουͷ࣮
PythonͰͷ࣮ྫ LLM Callingͷτϥϯεϙʔτ(͔ͳΓંͬͯ·͢)
LLM Callerઢ • τϥϯεϙʔτʹඞཁͳύϥϝʔλΛ͚ͩ͢ • ͲΜͳϓϩόΠμͰ࣮ߦ͞ΕΔ͔Βͳ͍ • ΠϯλʔϑΣʔε͚ͩΛҙࣝͯ͠ɺͦΕҎԼΛؾʹ͠ͳ͍ • ͚ͩͲɺҰఆ࣭͕อͨΕͯɺ͋ΔఔͷͰฦ͕ฦͬͯ͘Δ
ສࣄղܾʁʁʁ • LLMͷোૉʹΤϥʔΛు͍ͯམͪͯ͘Εͳ͍ • Ϩεϙϯε͕500൪ͳΒେৎ • ϨΠςϯγ͕૿Ճ͢Δ • λΠϚʔͱϦτϥΠॲཧͰͳΜͱ͔ͳΔʢ͔ʣ •
ਫ਼͕མͪΔ • োΛײ͢Δ͜ͱ͕͍͠ • ࠷ऴతʹɺ͜·ΊͳࢹͱɺϢʔβʔͷʹৗʹහײͰ͋Δ͜ͱ͕ॏཁ • LangfuseLangsmithͳͲͷLLMࢹମ੍ͷඋඞཁ
·ͱΊ • ͜ͷLTʹ໌֬ͳ͑͋Γ·ͤΜ • LLMͷ࣭Λ୲อ͢ΔͷϓϩόΠμͪΖΜɺϢʔβʔΛෛ͍ͬͯ Δͱ͍͏ఏى • ࠷ݶఏڙ͖͢αʔϏεͷ࣭Λ୲อ͢ΔͨΊͷϑΥʔϧόοΫઓུΛߟ͑ ͍ͯ͘ඞཁ͕͋Δ •
օ͞Μ͕࣮ફ͍ͯ͠ΔϑΥʔϧόοΫઓུɾख๏Λڭ͍͑ͯͩ͘͞
Reference • https://azure.status.microsoft/en-us/status/history/ • https://www.youtube.com/watch?v=D297rfqSFvY • https://status.cloud.google.com/incidents/ow5i3PPK96RduMcb1SsW • https://www.mobihealthnews.com/news/google-cloud-outage-disrupts-ai- services-used-healthcare
• https://www.youtube.com/watch?v=Ar_ckPSwe1Y • https://www.anthropic.com/engineering/a-postmortem-of-three-recent-issues