diff --git a/Examples/GenerativeAISample/GenerativeAIMultimodalSample/ViewModels/PhotoReasoningViewModel.swift b/Examples/GenerativeAISample/GenerativeAIMultimodalSample/ViewModels/PhotoReasoningViewModel.swift index 491181e..dc98bb8 100644 --- a/Examples/GenerativeAISample/GenerativeAIMultimodalSample/ViewModels/PhotoReasoningViewModel.swift +++ b/Examples/GenerativeAISample/GenerativeAIMultimodalSample/ViewModels/PhotoReasoningViewModel.swift @@ -20,7 +20,8 @@ import SwiftUI @MainActor class PhotoReasoningViewModel: ObservableObject { - // Maximum image dimensions (width and height) in pixels; reduces image size in bytes. + // Maximum value for the larger of the two image dimensions (height and width) in pixels. This is + // being used to reduce the image size in bytes. private static let largestImageDimension = 768.0 private var logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "generative-ai")