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
150
Defensive LLM Calling
Ogata Katsuya
December 05, 2025
Tweet
Share
More Decks by Ogata Katsuya
See All by Ogata Katsuya
AIで加速する文化祭ソフトウェア開発 / Software Development for School Festivals Accelerated by AI
ogatakatsuya
0
30
Vibe-Coding で作ったアプリを 文化祭で運用した話 / The story of running an app I built with Vibe-Coding at a school festival
ogatakatsuya
1
150
ハッカソンの勘所とエンジニアリングへの活かし方 / What Hackathons Teach Us and How to Bring That into Engineering
ogatakatsuya
0
37
Kubernetesで分散処理をやってみる-Kafkaを添えて-
ogatakatsuya
0
220
ソフトウェアアーキテクチャ入門 / Introduction to Software Architecture
ogatakatsuya
2
130
大学のサークルプラットフォームを作った話
ogatakatsuya
0
110
Go College
ogatakatsuya
0
130
文化祭で使うアプリを1人で作った話
ogatakatsuya
0
110
twitter-cloneを作った話
ogatakatsuya
0
63
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
The Curious Case for Waylosing
cassininazir
0
230
The Invisible Side of Design
smashingmag
302
51k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Facilitating Awesome Meetings
lara
57
6.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Done Done
chrislema
186
16k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
How to Think Like a Performance Engineer
csswizardry
28
2.4k
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