SwiftfuncPhotoAnalysisPhotoAnalysis.PromptSuggestionFetcher

rankSuggestions

PhotoAnalysis.PromptSuggestionFetcher.rankSuggestions(fetchedSuggestions: [PhotoAnalysis.PromptSuggestionFetcher.MCSuggestion], smartSuggestions: [PhotosIntelligence.PromptSuggestion], optOutSuggestions: [PhotosIntelligence.PromptSuggestion]) -> ([PhotosIntelligence.PromptSuggestion], PhotoAnalysis.PromptSuggestionDiagnosticContext)

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0fetchedSuggestions:
  2. 1smartSuggestions:
  3. 2optOutSuggestions:

result{}

tuple([PhotosIntelligence.PromptSuggestion], PhotoAnalysis.PromptSuggestionDiagnosticContext)