Core Spotlight "Summarization" Oddly Inconsistent

The new Core Spotlight APIs in 18.4 and aligned releases for using Apple Intelligence models to summarize messages sort of work? But I'd say in my testing that only about 80% of the requests I send to Spotlight come back to the delegate with summaries and the rest are never returned. No errors logged in the delegate methods.

I can't figure out if there's a pattern. Before I dig apart my code, I'm wondering if anyone else here is using these brand-new APIs and has seen anything similar.

It's odd because my code to submit to Spotlight to be summarized is the same for all of my entities but some just never seem to be returned.

Answered by DTS Engineer in 830040022

For summarization an item must meet a number of criteria listed here. Maybe check and see if all of the content you are providing meets these criteria.

If the content you are trying to summarize meets all of the criteria and you can provide some test cases showing that this API is not working correctly then please consider filing a bug report.

If you file a bug report please include a small Xcode project and some directions that can be used to reproduce the problem. Then, post the FB number here once you do. If you post the bug number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

For summarization an item must meet a number of criteria listed here. Maybe check and see if all of the content you are providing meets these criteria.

If the content you are trying to summarize meets all of the criteria and you can provide some test cases showing that this API is not working correctly then please consider filing a bug report.

If you file a bug report please include a small Xcode project and some directions that can be used to reproduce the problem. Then, post the FB number here once you do. If you post the bug number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

Yup, I guess that's the next step, a sample.

I am submitting the required elements (nicely documented, appreciate that).

What I'm noticing is that it almost appears throttled (though the delegate is not getting the throttling message). On Vision Pro, it appears that I'm much more likely to get a response if the battery pack is plugged into mains power... but nobody really uses the Vision Pro that way so that's not something I can rely on.

Anyway - thanks for the tip.

Core Spotlight "Summarization" Oddly Inconsistent
 
 
Q