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
87
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
2025夏 Foundation Models Framework体験記
Sansan x DMM.swift #2
合同会社DMM.com 柴田大輝
Yomogi.
August 06, 2025
More Decks by Yomogi.
See All by Yomogi.
Androidifyで学ぶGeminiAPI
shibatadaiki
0
34
ジョインして1ヶ月 緊急リリースを3度体験した話 〜そして改善へ〜
shibatadaiki
0
600
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.7k
Designing Powerful Visuals for Engaging Learning
tmiket
1
480
The Cost Of JavaScript in 2023
addyosmani
55
10k
Designing for Performance
lara
611
70k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
460
ラッコキーワード サービス紹介資料
rakko
1
4.3M
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How to make the Groovebox
asonas
2
2.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
119
120k
The Cult of Friendly URLs
andyhume
79
7k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
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 /