// // AIReflectionFeedback.swift // Reflect // // @Generable model for AI-powered reflection feedback after guided reflection completion. // import Foundation import FoundationModels /// AI-generated personalized feedback after completing a guided reflection @available(iOS 26, *) @Generable struct AIReflectionFeedback: Equatable { @Guide(description: "A warm, specific affirmation of what the user did well in their reflection (1 sentence)") var affirmation: String @Guide(description: "An observation connecting something the user wrote to a meaningful pattern or insight (1 sentence)") var observation: String @Guide(description: "A brief, actionable takeaway the user can carry forward (1 sentence)") var takeaway: String @Guide(description: "SF Symbol name for the feedback icon (e.g., sparkles, heart.fill, leaf.fill, star.fill)") var iconName: String }