NegativeFeedbackCategory

enum NegativeFeedbackCategory

Categorized reasons for submitting a negative rating on home briefs or searchable home features.

  • The generated AI content contains factual errors or incorrect details about the home.

    Declaration

    Swift

    case inaccurate
  • The generated AI content is not related or useful to the context or the user’s intent.

    Declaration

    Swift

    case irrelevant
  • The generated AI content is too vague or lacks sufficient details to be helpful.

    Declaration

    Swift

    case notEnoughInformation
  • The generated AI content contains inappropriate, abusive, or toxic language.

    Declaration

    Swift

    case toxicAbuse
  • Any other reason for negative feedback not covered by the standard categories.

    Declaration

    Swift

    case other
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.