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
2025夏 Foundation Models Framework体験記
Search
Yomogi.
August 06, 2025
1
68
2025夏 Foundation Models Framework体験記
Sansan x DMM.swift #2
合同会社DMM.com 柴田大輝
Yomogi.
August 06, 2025
Tweet
Share
More Decks by Yomogi.
See All by Yomogi.
ジョインして1ヶ月 緊急リリースを3度体験した話 〜そして改善へ〜
shibatadaiki
0
550
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
The Cult of Friendly URLs
andyhume
79
6.6k
Code Review Best Practice
trishagee
72
19k
Agile that works and the tools we love
rasmusluckow
331
21k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Context Engineering - Making Every Token Count
addyosmani
6
250
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
A designer walks into a library…
pauljervisheath
209
24k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Transcript
2025 _ Foundation Models Framework _ Sansan x DMM.swift #2
2025/08/06
÷ýõ³üû ÷o /(@yomoceseran) \\_DMM.com iOS z DMM öó¿¹²÷ú Î~1 o
Android ³ iOS ²÷ú¸ó¸û²{zº~w gß~ëwþó¼<ßo~ÿ= zu³¯³w ¶óvzsv{wt
ûwtsx Foundation Models Framework ~ëxÿoözto Ûy{}¿~xo oww_özýÏ
Foundation Models Framework
Foundation Models Framework ~zu¹t WWDC25 w~è Apple /k¿ò÷ûxö½¹ø{¸sv²¿»¹w}» 2025/08 ÿ1Xcode26³4
xmacOS Tahoe26 w×_úw}» ³5 û~w Apple Developer Documentation Foundation Models | Apple Developer Documentation Perform tasks with the on-device model that specializes in language understanding, structured output, and tool calling.
/Ïz3 t~} 1 ºó÷ð´¹ ºó÷ð´¹w×_w1÷ð´¹ ~CPU/GPU ²svëÞ 2 ýóøçÿO ´ó¿üýóø{çÿ|Oz
±1ÿo~ïöí{ß[wzt 3 ÷ù´ð·üßÿ ÿoÕwß}y»±÷ù´ð· üßÿ|Oy ?zLLM ²ÿo~xôÛqwvsx|w}»
Foundation Models Framework ~to 3 ¯~³üù²þpq 1. FoundationModels ~import 2.
session ~_r 3. session {ÿwvrespond ñ½óùw÷ýó÷ø²oy ³ response.content {¹or}ÿ²×ßy»sx|w}»
ß~þþ²Nr»{ ö½¹øwr²nú{w1ßy»ß²_xvz øû¹±²²÷ú³ rzuÿ²ùð´¶üwy o~ûvÿ²÷ú³ ÷þ¹~ûþu³wy ²üðÿ²÷ú³RPG ~ê²´svut ßy»r²÷ýó÷ø{}¿_x»sxwþþ|N|» ß{÷ýð¿ø{}¿{1öü¹±ü¹tx{gÛy»r²xvzß|r»
ß{}¿t ²÷ú×_o~ÿo|Foundation Models ²x» {yv{²víy»{ÿ
Foundation Models Framework ²x»ÿoþ Apple Intelligence ÿßÿo Apple Intelligence |oû
ò÷û~¯¿|ßÎ ²üðòüù{zsvtztsx
³üùNwoÿv²vÛy»{ Model ~´ó¹¿ó¹{¹ïO~ñùñü¿²Ówy» isAvailable ÿoÿý{²èyBool availability ÿ¹öü¿¹²èyenum availability {1/wy»x.available x.unavailable
|r» .unavailable ~owu¹{Vw|ÿý
ò÷û|ÿ×w}ztñ¿üó .unavailable ~vu{¸sv1÷v²VÜwvöü¶{÷y»sx|ÿý .deviceNotEligible #³ #zt~ÿowÿßwvzt¸1¯ÿßo³óöóô .appleIntelligenceNotEnabled ³ oûWwv¼»¸vß¼1¯Û¯{÷û .modelNotReady
³ DL owr»sx²÷1²üðòüù~ëöß¼ }¼ï_²WîwVÜ .unavailable(let other) #³ no¸ùü÷²ûwtt1Ïwother ~o¿{ÿwvAnalytics |ß
Ûy{sv±{ÿ ?ÿ{x»ß¯1»½õúö³ú¹¿²xvt{ ztxtqzt
Ûy{sv±~ÿ÷Û Foundation Models Framework {guardrail xtvß}|r» ´ºxº²y»ow÷úÁüøzåy{²u~»ùwñ·ó¿w1guardrail {÷ïw²~¸ùüxwvß} à{²ÿóùúóÀw}»¸ùü Apple
Developer Documentation LanguageModelSession.GenerationError | Apple Developer Documentation An error that occurs while generating a response.
input / output ²vÖwvÛy{v input öü¶{¹¯uzö½¹ø²×q×»~wz1 Þ}tsx~Yܲ²÷úNwówø³w²¹v¸v{y» e.g.) ü¿ówö½¹øYܲø³w²¹v output
÷ýó÷ø²oy{ß~YܲgÛy» öü¹±ü¹{ßxvßy»ß~ß²~±vz e.g) instructions xwvSession ~¯f{gÛ'respond f{þ¯~struct ²gÛ
guardrails ~»¹¿ð²^gö{w}»( {²ÿ) ³4 {vúwx} .default w{Ûÿ|q{s|1ÿfù~gõ ³5 w permissiveContentTransformations
|ÿòu¼ Îß²ÿòu¼vtsx|Îóu¼»~w1÷ýð¿ø|ys~w~ù´ó²»ûw}»{wtVq»sx|óÛu¼» Session ~¯f{gÛ guardrail types
÷ýð¿øwyv{y{ ñóóø{¸»µýüø¸ü¸·óøý y³z²÷ú{mwv²/Û~rÿ²{r¹¼»1s~ý|r»sx|gO gþ{zsv»{² ß{zsv»sx »½õúö³ú¹¿²¹y¯ öü¶x~ý~®n
ïN1toôrº|xvtvt~w Sansan x DMM.swift #2 ÷o /