<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: 27.2.0 -",
    "macOS: 27.2.0 -",
    "visionOS: 27.2.0 -",
    "watchOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels38LanguageModelExecutorGenerationChannelV9DataEntryV"
  },
  "title" : "LanguageModelExecutorGenerationChannel.DataEntry"
}
-->

# LanguageModelExecutorGenerationChannel.DataEntry

A top-level data-entry event addressed to a transcript entry.

```
struct DataEntry
```

## Overview

A [`LanguageModelExecutorGenerationChannel.DataEntry`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry) event carries an entry-level action; the currently defined
action is [`update(contentType:content:metadata:)`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Action-swift.struct/update(contentType:content:metadata:)), which upserts a
data entry with the given fields — replacing the existing entry that
matches `entryID`, or appending a new one.

## Topics

### Structures

[`struct Action`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Action-swift.struct)

An operation that can be performed on a data entry.

[`struct Update`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Update)

The content carried by an [`update(contentType:content:metadata:)`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/Action-swift.struct/update(contentType:content:metadata:)) action.

### Instance Properties

[`var action: LanguageModelExecutorGenerationChannel.DataEntry.Action`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/action-swift.property)

The action to perform.

[`var entryID: String?`](/documentation/FoundationModels/LanguageModelExecutorGenerationChannel/DataEntry/entryID)

The identifier for the entry.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)