<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/Transcript/Segment",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels10TranscriptV7SegmentO"
  },
  "title" : "Transcript.Segment"
}
-->

# Transcript.Segment

The types of segments that may be included in a transcript entry.

```
enum Segment
```

## Topics

### Segment cases

[`Transcript.Segment.text(_:)`](/documentation/FoundationModels/Transcript/Segment/text(_:))

A segment containing text.

[`Transcript.Segment.attachment(_:)`](/documentation/FoundationModels/Transcript/Segment/attachment(_:))

A segment containing an attachment.

[`Transcript.Segment.structure(_:)`](/documentation/FoundationModels/Transcript/Segment/structure(_:))

A segment containing structured content.

## Relationships

### Conforms To

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

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

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

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

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

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

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

---

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)