SwiftenumCoreSpotlightAgenticCore
enum CoreSpotlightAgenticCore.Ranking.Entity
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 7
- var
static var generationSchema: FoundationModels.GenerationSchema { get } - case
case namedPerson(CoreSpotlightAgenticCore.Ranking.PersonEntity) - case
case organization(CoreSpotlightAgenticCore.Ranking.OrganizationEntity) - case
case user - init
init(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.Ranking.Entity - typealias
typealias PartiallyGenerated = PartiallyGenerated - var
var generatedContent: FoundationModels.GeneratedContent { get }
Header
enum CoreSpotlightAgenticCore.Ranking.Entity { enum PartiallyGenerated { case namedPerson(CoreSpotlightAgenticCore.Ranking.PersonEntity.PartiallyGenerated?) case organization(CoreSpotlightAgenticCore.Ranking.OrganizationEntity.PartiallyGenerated?) case user init(_: FoundationModels.GeneratedContent) throws } enum CodingKeys { case user case namedPerson case organization } enum UserCodingKeys {} enum NamedPersonCodingKeys { case _0 } enum OrganizationCodingKeys { case _0 } struct DiscriminatedOrganization { let type: Swift.String let value: CoreSpotlightAgenticCore.Ranking.OrganizationEntity } struct DiscriminatedNamedPerson { let type: Swift.String let value: CoreSpotlightAgenticCore.Ranking.PersonEntity } struct DiscriminatedUser { let type: Swift.String } case namedPerson(CoreSpotlightAgenticCore.Ranking.PersonEntity) case organization(CoreSpotlightAgenticCore.Ranking.OrganizationEntity) case user init(_: FoundationModels.GeneratedContent) throws var generatedContent: FoundationModels.GeneratedContent { get } static var generationSchema: FoundationModels.GenerationSchema { get } }