One Logo Pool Ball
FoundationModels · IOS API REFERENCE

SystemLanguageModel.UseCase

struct · iOS 26.0+ · SDK 27.1

struct UseCase

A type that represents the use case for prompting.

Members (2)

get · iOS 26.0+

contentTagging

TypeScript
static get contentTagging(): SystemLanguageModel_UseCase
Swift declaration
static let contentTagging: SystemLanguageModel.UseCase

A use case for content tagging. Content tagging produces a list of categorizing tags based on the input prompt. When specializing the model for the `contentTagging` use case, it always responds with tags. The tagging capabilities of the model include detecting topics, emotions, actions, and objects. For more information about content tagging, see <doc:categorizing-and-organizing-data-with-content-tags>.

get · iOS 26.0+

general

TypeScript
static get general(): SystemLanguageModel_UseCase
Swift declaration
static let general: SystemLanguageModel.UseCase

A use case for general prompting. This is the default use case for the base version of the model.

Skipped declarations

No declarations were skipped in this snapshot.

All FoundationModels types →