SwiftenumCoreSpotlightAgenticCore

enum CoreSpotlightAgenticCore.Ranking.Entity

Structure

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

Members 7

  1. varstatic var generationSchema: FoundationModels.GenerationSchema { get }
  2. casecase namedPerson(CoreSpotlightAgenticCore.Ranking.PersonEntity)
  3. casecase organization(CoreSpotlightAgenticCore.Ranking.OrganizationEntity)
  4. casecase user
  5. initinit(FoundationModels.GeneratedContent) throws -> CoreSpotlightAgenticCore.Ranking.Entity
  6. typealiastypealias PartiallyGenerated = PartiallyGenerated
  7. varvar generatedContent: FoundationModels.GeneratedContent { get }
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
    }
}