SwiftenumCoreSpotlightAgenticCore
enum CoreSpotlightAgenticCore.Ranking.Model
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundationModels.Generable
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
Members 11
- var
static var generationSchema: FoundationModels.GenerationSchema { get } - case
case host(CoreSpotlightAgenticCore.Ranking.HostParams) - case
case participant(CoreSpotlightAgenticCore.Ranking.ParticipantParams) - case
case popularity(CoreSpotlightAgenticCore.Ranking.PopularityParams) - case
case recipient(CoreSpotlightAgenticCore.Ranking.RecipientParams) - case
case semantic(CoreSpotlightAgenticCore.Ranking.SemanticParams) - case
case sender(CoreSpotlightAgenticCore.Ranking.SenderParams) - case
case topic(CoreSpotlightAgenticCore.Ranking.TopicParams) - init
init(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.Ranking.Model - typealias
typealias PartiallyGenerated = PartiallyGenerated - var
var generatedContent: FoundationModels.GeneratedContent { get }
Header
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 } }