Erik Hornberger

96 posts

Erik Hornberger

Erik Hornberger

@mopperson

SwiftAI Frameworks Engineer at Apple

Pittsburgh, PA Katılım Ocak 2017
54 Takip Edilen345 Takipçiler
Erik Hornberger retweetledi
Shun Takeishi
Shun Takeishi@ShunTakeishi·
9/11だけではありますが、Foundation Model フレームワークのエンジニアも参加してくれることになりました。もし直接エンジニアと話したいって方は9/11にぜひご応募ください。また、9/9,10の枠も、もちろんお待ちしております。
Shun Takeishi@ShunTakeishi

developer.apple.com/events/view/MJ… 新しいイベントのご案内です。Foundation Model フレームワークをアプリに実装するワークショップです。皆さんのプロジェクトを持ってきていただいて、もくもく会のようにそれぞれ作業いただきながら、必要に応じて私たちの方でもアドバイスなどサポートさせていただきます。

日本語
0
6
26
5.4K
Erik Hornberger
Erik Hornberger@mopperson·
The update also contains optimizations to the inference stack that improve token throughput. I'm curious to see how noticeable the difference is in your use cases. (6/6)
English
1
0
18
2K
Erik Hornberger
Erik Hornberger@mopperson·
GeneratedContent is no longer opaque. It now has a kind property that you can inspect. This makes it possible to create views that display arbitrary generated content, which can be useful when working with user configurable generation schemas. (5/6) developer.apple.com/documentation/…
English
3
1
17
2.7K
Erik Hornberger
Erik Hornberger@mopperson·
iOS 26 Beta 5 dropped today and contains some exciting additions to the Foundation Models framework. (1/6)
English
1
34
249
31.6K
Bryan Jones
Bryan Jones@bdkjones·
@_julianschiavo Does LanguageModelSession respect Task.isCancelled? Or is there some other way to cancel a session that's streaming a response before it finishes?
English
1
0
2
77
winston
winston@winstondu·
FB18746126
1
0
0
81
winston
winston@winstondu·
Generable macro should add an @available(iOS 26.0, *) wrapper I want to mark data models across my app as Generable Right now I’m forced to maintain two parallel model definitions, drop older OS support, or manually write out the conformance (defeats the purpose) @mopperson
English
2
0
0
631
Tarek M. Ben Lechhab
Tarek M. Ben Lechhab@bilqisium·
I am beyond honored and humbled by the opportunity @NatashaTheRobot gave me in making this guest post. I've read her since the days of very early Swift. Explore tool calling in Apple's new Foundation Models, with an agentic architecture and nested LLMs, pushed to the limit!
NatashaTheRobot@NatashaTheRobot

Don't miss this new guest blog post by @bilqisium! LLMs Calling LLMs: Building AI Agents with Apple's Foundation Models and Tool Calling Explore going from prompts to multi-agent architecture by leveraging Foundation Models tool calling capabilities and exposing LLMs themselves as tools 🤯 Link below in comments

English
3
2
6
1.9K
Erik Hornberger
Erik Hornberger@mopperson·
@bilqisium @NatashaTheRobot Please file feedback for that. If you have specific prompts that you can include for us to repro, that would be very helpful. Seed 3 should have a new session.dumpFeedbackAttachment() that you can use to capture the transcript in a json file that you can attach!
English
1
0
2
69
Erik Hornberger
Erik Hornberger@mopperson·
@NatashaTheRobot Great write up! First I’ve seen the recommendation to put reasoning before classifications and use structured concurrency. 👍👍 A small optimization is to use an enum for the classification. After the first token, the label is deterministic, so we can skip computing the suffix!
English
0
0
0
109
NatashaTheRobot
NatashaTheRobot@NatashaTheRobot·
New Blog Post: How to Add Custom Guardrails to Your FoundationModels Generation Learn how to add custom guardrails to Apple’s on-device FoundationModels framework to validate and filter user input using structured prompts and model-generated reasoning. Link below in comments!
English
2
1
1
1.6K
Erik Hornberger
Erik Hornberger@mopperson·
@irangareddy @azamsharp @generable There is a type named DynamicGenerationSchema that exists specifically for expressing schemas that are constructed at runtime instead of compile time. It’s a little more typing, but can be very powerful.
English
0
0
2
83
Mohammad Azam
Mohammad Azam@azamsharp·
One important thing to keep in mind when using @Generable types is that the model will generate all properties defined in the struct—even if you only display a few of them in your UI. For example, if your view only shows the recipe’s name, description, and prepTimeMinutes, the model will still generate the full ingredients list behind the scenes. This can lead to a noticeable delay or a “stuck” feeling in the UI, especially since you're not rendering the ingredients and users may wonder why it's taking so long.
Mohammad Azam tweet media
English
6
3
68
8.5K
Erik Hornberger
Erik Hornberger@mopperson·
@gyin94 @normarayr Also, the entires Transcript type is Codable, which is an even easier way to persist and restore sessions.
English
0
0
0
65
Normarayr
Normarayr@normarayr·
Apple Foundation Models team, please explain to me WHY every Transcript.Entry has a public initializer except Transcript.ToolCall? Why do you have to be like this ^:( How am I supposed to initialize this to restore a saved conversation?
Normarayr tweet media
English
3
0
3
372