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
66
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
540
Featured
See All Featured
Making Projects Easy
brettharned
117
6.4k
Into the Great Unknown - MozCon
thekraken
40
2k
A better future with KSS
kneath
239
17k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
The Invisible Side of Design
smashingmag
301
51k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
4 Signs Your Business is Dying
shpigford
184
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
For a Future-Friendly Web
brad_frost
180
9.9k
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 /