inAppMessageSuppression
The AI usage for in-app message suppression.
Pass it to com.urbanairship.ai.AirshipAi.setContextProvider to supply the context a model weighs before a message is shown:
Airship.ai.setContextProvider(Usage.inAppMessageSuppression) { subject ->
EvaluationContext(listOf(EvaluationContext.Item("Last booked: ${store.lastBooking}")))
}Content copied to clipboard