SwiftenumCoreSpotlightAgenticCore

enum CoreSpotlightAgenticCore.Ranking.Model

Structure

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

Members 11

  1. varstatic var generationSchema: FoundationModels.GenerationSchema { get }
  2. casecase host(CoreSpotlightAgenticCore.Ranking.HostParams)
  3. casecase participant(CoreSpotlightAgenticCore.Ranking.ParticipantParams)
  4. casecase popularity(CoreSpotlightAgenticCore.Ranking.PopularityParams)
  5. casecase recipient(CoreSpotlightAgenticCore.Ranking.RecipientParams)
  6. casecase semantic(CoreSpotlightAgenticCore.Ranking.SemanticParams)
  7. casecase sender(CoreSpotlightAgenticCore.Ranking.SenderParams)
  8. casecase topic(CoreSpotlightAgenticCore.Ranking.TopicParams)
  9. initinit(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.Ranking.Model
  10. typealiastypealias PartiallyGenerated = PartiallyGenerated
  11. varvar generatedContent: FoundationModels.GeneratedContent { get }
enum CoreSpotlightAgenticCore.Ranking.Model {
    enum PartiallyGenerated {
        case sender(CoreSpotlightAgenticCore.Ranking.SenderParams.PartiallyGenerated?)
        case recipient(CoreSpotlightAgenticCore.Ranking.RecipientParams.PartiallyGenerated?)
        case host(CoreSpotlightAgenticCore.Ranking.HostParams.PartiallyGenerated?)
        case participant(CoreSpotlightAgenticCore.Ranking.ParticipantParams.PartiallyGenerated?)
        case topic(CoreSpotlightAgenticCore.Ranking.TopicParams.PartiallyGenerated?)
        case semantic(CoreSpotlightAgenticCore.Ranking.SemanticParams.PartiallyGenerated?)
        case popularity(CoreSpotlightAgenticCore.Ranking.PopularityParams.PartiallyGenerated?)

        init(_: FoundationModels.GeneratedContent) throws
    }
    enum CodingKeys {
        case sender
        case recipient
        case host
        case participant
        case topic
        case semantic
        case popularity
    }
    enum SenderCodingKeys {
        case _0
    }
    enum RecipientCodingKeys {
        case _0
    }
    enum HostCodingKeys {
        case _0
    }
    enum ParticipantCodingKeys {
        case _0
    }
    enum TopicCodingKeys {
        case _0
    }
    enum SemanticCodingKeys {
        case _0
    }
    enum PopularityCodingKeys {
        case _0
    }
    struct DiscriminatedPopularity {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.PopularityParams
    }
    struct DiscriminatedSemantic {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.SemanticParams
    }
    struct DiscriminatedTopic {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.TopicParams
    }
    struct DiscriminatedParticipant {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.ParticipantParams
    }
    struct DiscriminatedHost {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.HostParams
    }
    struct DiscriminatedRecipient {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.RecipientParams
    }
    struct DiscriminatedSender {
        let type: Swift.String
        let value: CoreSpotlightAgenticCore.Ranking.SenderParams
    }
    case sender(CoreSpotlightAgenticCore.Ranking.SenderParams)
    case recipient(CoreSpotlightAgenticCore.Ranking.RecipientParams)
    case host(CoreSpotlightAgenticCore.Ranking.HostParams)
    case participant(CoreSpotlightAgenticCore.Ranking.ParticipantParams)
    case topic(CoreSpotlightAgenticCore.Ranking.TopicParams)
    case semantic(CoreSpotlightAgenticCore.Ranking.SemanticParams)
    case popularity(CoreSpotlightAgenticCore.Ranking.PopularityParams)

    init(_: FoundationModels.GeneratedContent) throws

    var generatedContent: FoundationModels.GeneratedContent {
        get
    }

    static var generationSchema: FoundationModels.GenerationSchema {
        get
    }
}