<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/SFCustomLanguageModelData/CompoundTemplate",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech25SFCustomLanguageModelDataC16CompoundTemplateV"
  },
  "title" : "SFCustomLanguageModelData.CompoundTemplate"
}
-->

# SFCustomLanguageModelData.CompoundTemplate

A class supporting the custom language model training data result builder. You are not intended to use this directly.

```
struct CompoundTemplate
```

## Topics

### Result builder methods

[`init([any TemplateInsertable])`](/documentation/Speech/SFCustomLanguageModelData/CompoundTemplate/init(_:))

## Relationships

### Conforms To

[`TemplateInsertable`](/documentation/Speech/TemplateInsertable)

---

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)