$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2025夏 Foundation Models Framework体験記
Search
Yomogi.
August 06, 2025
1
75
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.
Androidifyで学ぶGeminiAPI
shibatadaiki
0
15
ジョインして1ヶ月 緊急リリースを3度体験した話 〜そして改善へ〜
shibatadaiki
0
560
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
The Invisible Side of Design
smashingmag
302
51k
GitHub's CSS Performance
jonrohan
1032
470k
Speed Design
sergeychernyshev
33
1.4k
Optimizing for Happiness
mojombo
379
70k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Designing for humans not robots
tammielis
254
26k
RailsConf 2023
tenderlove
30
1.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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 /