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
Foundation Models frameworkで画像分析
Search
リョウ
July 18, 2026
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Foundation Models frameworkで画像分析
WWDC26 Recap - Japan-\(region).swift
https://luma.com/x230s9i1
リョウ
July 18, 2026
More Decks by リョウ
See All by リョウ
オンデバイスAIとXcode
ryodeveloper
0
2.5k
アプリのユーザー体験を高めるAccessibility Modifier
ryodeveloper
0
140
Cursor
ryodeveloper
0
48
What’s new in Xcode 16
ryodeveloper
0
78
SwiftUI Introspect
ryodeveloper
0
150
ZStackとbackgroundの使い分け / Comparing ZStack and background
ryodeveloper
1
570
Other Decks in Programming
See All in Programming
どこまでゆるくて許されるのか
tk3fftk
0
480
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
関数型プログラミングのメリットって何だろう?
wanko_it
0
170
act1-costs.pdf
sumedhbala
0
230
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
350
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
170
技術記事、 専門家としてのプログラマ、 言語化
mizchi
14
7.5k
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
170
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
5.9k
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
2
1.3k
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
140
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
690
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
360
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
180
For a Future-Friendly Web
brad_frost
183
10k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Being A Developer After 40
akosma
91
590k
Into the Great Unknown - MozCon
thekraken
41
2.6k
Scaling GitHub
holman
464
140k
Utilizing Notion as your number one productivity tool
mfonobong
4
410
Typedesign – Prime Four
hannesfritz
42
3.1k
Statistics for Hackers
jakevdp
799
230k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
260
Transcript
Ϧϣ @RyoDeveloper Foundation Models framework Ͱը૾ੳ WWDC26 Recap - Japan-\(region).swift
Ϧϣ • @RyoDeveloper • גࣜձࣾLuup iOS Engineer
Foundation Models framework Apple Intelligenceͷج൫ͱͳΔେنݴޠϞσϧΛ Swift API͔Βར༻Ͱ͖ΔϑϨʔϜϫʔΫ • ϓϥΠόγʔͷ֬อ •
ΦϑϥΠϯ࣮ߦՄೳ • OSʹΈࠐ·Ε͍ͯΔ • ແྉͰར༻Մೳ
WWDC26ͰͷFoundation Models frameworkͷΞοϓσʔτ • ը૾ೖྗ • Evaluations framework • ίΞϑϨʔϜϫʔΫͷΦʔϓϯιʔεԽ
• ৽͍͠ΦϯσόΠεϞσϧ • Private Cloud Compute • αʔυύʔςΟϞσϧରԠ
None
LUUPΞϓϦͰͷ ׆༻ ※PoCͱ࣮ͯͨ͠͠Πϝʔδ Ͱ͢
Foundation Models frameworkͷը૾ೖྗ let session = LanguageModelSession() let response =
try await session.respond { "͜ͷը૾ʹ͍ࣸͬͯΔं྆ʹΕ͕ͳ͍͔ڭ͑ͯɻ" Attachment(image) } let content = response.content ͜ͷं྆ͷલΧΰʹࠇ͍ϦϡοΫ͕ೖ͍ͬͯ·͢ɻ
Guided Generation @Generable struct ForgottenItemPresence { @Guide(description: "ं྆ʹΕ͕͍ࣸͬͯΔ͔") let hasForgottenItem:
Bool } let session = LanguageModelSession() let response = try await session.respond( generating: ForgottenItemPresence.self ) { "͜ͷը૾ʹ͍ࣸͬͯΔं྆ʹΕ͕ͳ͍͔ڭ͑ͯɻ" Attachment(image) } let hasForgottenItem = response.content.hasForgottenItem true
Evaluations framework ΞϓϦͷΠϯςϦδΣϯτػೳͷ࣭Λଌఆ͢Δ SwiftϑϨʔϜϫʔΫ • Swift Testingͱ౷߹͠ɺϓϩϯϓ τΛௐ͠ͳ͕Βਫ਼ΛଌఆͰ ͖Δ
ධՁ var dataset: ArrayLoader<ModelSample<Bool>> { ArrayLoader(samples: [ ModelSample( prompt: Prompt
{ "͜ͷը૾ʹ͍ࣸͬͯΔं྆ʹΕ͕ͳ͍͔ڭ͑ͯɻ" Attachment(imageURL: withLuggageURL) }, expected: true ), ModelSample( prompt: Prompt { "͜ͷը૾ʹ͍ࣸͬͯΔं྆ʹΕ͕ͳ͍͔ڭ͑ͯɻ" Attachment(imageURL: withoutLuggageURL) }, expected: false ), ]) }
None
Foundation Models frameworkͷҙ • σόΠεɾҬͷ੍ • AI͕ੜ͢Δग़ྗʹޡΓؚ͕·ΕΔՄೳੑ • ༻్ʹ߹ΘͤͯଞͷϑϨʔϜϫʔΫͱͷ͍͚ݕ౼
·ͱΊ • Foundation Models frameworkͷը૾ೖྗ؆୯ʹΈࠐΊΔ • Evaluations frameworkͰਫ਼ΛܧଓతʹධՁ͠ɺ࣭Λ୲อ • ಛੑΛཧղͯ͠ɺదͨ͠໘Ͱ׆༻͢Δ