Adjusting our app intents to work with Apple Intelligence
In the previous chapter, we discussed how we can take advantage of some of iOS’s machine learning and AI capabilities. One of the things that evolved in that area in iOS 18 is Siri. Siri is now smarter than ever and can allow users to perform tasks in natural language.
For example, the user can say something like Send this photo to my mom to Siri, and Siri can handle that task without needing the exact phrase.
Siri’s new capabilities are exactly where our app intents come in. Imagine that on one side, we have Siri, which can understand the user intent. On the other hand, we have the various actions we expose to the system. So, we must find a way to bind between the user intent, as Siri understands it, and our app actions. This is what we call an Assistant Schema.
Exploring the Assistant Schema
The Assistant Schema idea is simple yet advanced and full of potential.
Let’s look at Figure 13.11...