reportConsumption(_:insightIDsUsed:)
Reports the consumption status, and optionally provides one or more associated insight identifiers.
Declaration
final func reportConsumption(_ status: InsightEvaluationConsumptionStatus, insightIDsUsed: [String])Parameters
- status:
A label indicating how the application context consumed the provided insights.
- insightIDsUsed:
The insight IDs that the app used in making the decision. These values are optional.
Discussion
Before releasing an InsightEvaluation, call this to report how your app used the results. The system may present this value in transparency reporting and also helps with model improvement.