26
Foundation Models
Apple introduced the Foundation Models framework during WWDC25. It is a new framework that allows you to access Apple’s on-device large language model. This text-based model lets you generate new text based on a prompt.
In this chapter, you’ll configure a new screen for the JRNL app that will use the Foundation Models framework to help you write journal entries.
You’ll start by learning about the Foundation Models framework. Next, you’ll review a version of the JRNL app with an additional tab added. This tab displays a new screen that allows you to enter prompts for the large language model and displays the resulting text, but it does not work yet. After that, you’ll add code to implement the required functionality, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access