<!--
{
  "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/PredictableIntent/predictionConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents17PredictableIntentP23predictionConfiguration10PredictionQzvpZ"
  },
  "title" : "predictionConfiguration"
}
-->

# predictionConfiguration

A collection of predictions the system can use when it suggests the app intent.

```
@IntentPredictionsBuilder<Self> static var predictionConfiguration: Self.Prediction { get }
```

## Discussion

Use this property to offer descriptions of your app intent that the system can use
when making predictions. In the implementation of this property, use a result builder
to create one or more [`IntentPrediction`](/documentation/AppIntents/IntentPrediction) structures, and use these structures to
describe a suggested action. To include data from your app intent in a description,
initialize the [`IntentPrediction`](/documentation/AppIntents/IntentPrediction) type with key paths to parameters of your app intent.
The following example creates an intent prediction for an app intent with a `name` property
that serves as a parameter to that app intent.

```
static var predictionConfiguration: some IntentPredictionConfiguration {
   IntentPrediction(parameters: (\Self.$name)) { name in
       DisplayRepresentation(
           title: "Create a book named \(name)"
       )
   }
}
```

---

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)