Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
2025夏 Foundation Models Framework体験記
Search
Yomogi.
August 06, 2025
94
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
Transcript
18 slides
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 /
More Decks by Yomogi.
See All by Yomogi.
Androidifyで学ぶGeminiAPI
shibatadaiki
0
48
ジョインして1ヶ月 緊急リリースを3度体験した話 〜そして改善へ〜
shibatadaiki
0
610
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
How STYLIGHT went responsive
nonsquared
100
6.4k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
HDC tutorial
michielstock
2
1k
Raft: Consensus for Rubyists
vanstee
143
7.9k
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
580
Done Done
chrislema
187
17k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
Marketing to machines
jonoalderson
1
6k
RailsConf 2023
tenderlove
30
1.6k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
360
Discover your Explorer Soul
emna__ayadi
2
1.3k