One Logo Pool Ball
FoundationModels · IOS API REFERENCE

LanguageModelExecutorGenerationChannel.Response

struct · iOS 27.0+ · SDK 27.1

struct Response

A model-generated response event: text, segment replacements, citations, advisories, custom segments, metadata, or usage.

Members (4)

get · iOS 27.0+

action

TypeScript
get action(): LanguageModelExecutorGenerationChannel_Response_Action
Swift declaration
var action: LanguageModelExecutorGenerationChannel.Response.Action

The action to perform.

set · iOS 27.0+

action

TypeScript
set action(value: LanguageModelExecutorGenerationChannel_Response_Action)
Swift declaration
var action: LanguageModelExecutorGenerationChannel.Response.Action

The action to perform.

get · iOS 27.0+

entryID

TypeScript
get entryID(): (string) | null
Swift declaration
var entryID: String?

The identifier for the entry.

set · iOS 27.0+

entryID

TypeScript
set entryID(value: (string) | null)
Swift declaration
var entryID: String?

The identifier for the entry.

Skipped declarations

No declarations were skipped in this snapshot.

All FoundationModels types →