PadCodedocs

Ask Apple Intelligence

Asks the on-device model a question and saves the answer: summarize, rewrite, suggest. Private, free, and works offline.

Category: Apple Intelligence · Can fail (wrap it in Try to handle that) · Takes time: the next step waits for it

#When to use it

Use it to summarize, rewrite, sort or answer questions about text, using Apple Intelligence on the iPad itself.

#Example

A Summarize button on a note:

  • Prompt: Summarize this note in one line: {note.body}
  • Into: summary
  • Instructions: Answer in one short sentence.

#Good to know

  • The iPad has to support Apple Intelligence, with it turned on. Otherwise the step fails and says why: the iPad can't run it, it's off (turn it on in Settings → Apple Intelligence & Siri), or it's still getting ready.
  • Put it in a Try to show your own message when it isn't available.
  • The answer is saved as text.

#Add it

Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Ask Apple Intelligence (under Apple Intelligence). Tap the step to open its settings.

#Settings

SettingWhat it doesKindDefault
PromptWhat to ask. Templates can include the app's values.TextRequired
IntoWhere to save the answer.VariableRequired
InstructionsHow it should behave: "Answer in one short sentence."Text

#What it gives back

The answer, as text.

#See also