<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentPredictionsBuilder",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents24IntentPredictionsBuilderO"
  },
  "title" : "IntentPredictionsBuilder"
}
-->

# IntentPredictionsBuilder

A result builder that allows you to declaratively describe the predictions for an app intent.

```
@resultBuilder enum IntentPredictionsBuilder<Intent> where Intent : AppIntent
```

## Topics

### Building predictions

[`static func buildBlock<A0>(A0) -> A0`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:))

[`static func buildBlock<A0, A1>(A0, A1) -> TupleIntentPrediction<A0.Intent, (A0, A1)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:))

[`static func buildBlock<A0, A1, A2>(A0, A1, A2) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:))

[`struct TupleIntentPrediction`](/documentation/AppIntents/TupleIntentPrediction)

A type that represents a collection of predictions for a specific app intent.

### Type Methods

[`static func buildBlock<A0, A1, A2, A3>(A0, A1, A2, A3) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4>(A0, A1, A2, A3, A4) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5>(A0, A1, A2, A3, A4, A5) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6>(A0, A1, A2, A3, A4, A5, A6) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7>(A0, A1, A2, A3, A4, A5, A6, A7) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8>(A0, A1, A2, A3, A4, A5, A6, A7, A8) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9>(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10>(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11>(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12>(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13>(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:))

[`static func buildBlock<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14>(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) -> TupleIntentPrediction<A0.Intent, (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)>`](/documentation/AppIntents/IntentPredictionsBuilder/buildBlock(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:))

[`static func buildExpression<A0>(A0) -> A0`](/documentation/AppIntents/IntentPredictionsBuilder/buildExpression(_:))

---

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)