This post is from the WWDC26 Foundation Models Q&A.
What’s Apple’s guidance for using on-device models to turn structured JSON (time series, metrics, units) into a one-line natural-language summary without inventing values?
What’s Apple’s guidance for using on-device models to turn structured JSON (time series, metrics, units) into a one-line natural-language summary without inventing values?
I would look at the Guided Generation talk in "Meet Foundation Models" from last year.
Additionally, adding tools that can do calculations for the model (i.e. average, sum, etc) instead of the model trying to do them can help as well.