embeddedSelection
The AI usage for embedded-view selection.
Pass it to com.urbanairship.ai.AirshipAi.setContextProvider to supply the user context a model weighs when choosing between pending embedded content:
Airship.ai.setContextProvider(Usage.embeddedSelection) { subject ->
EvaluationContext(listOf(EvaluationContext.Item("Interests: ${profile.interests}")))
}Content copied to clipboard