Profile

public struct Profile : Codable, Equatable

The personality profile that the service generated for the input content.

  • The language model that was used to process the input.

    See more

    Declaration

    Swift

    public enum ProcessedLanguage : String
  • The language model that was used to process the input.

    Declaration

    Swift

    public var processedLanguage: String
  • The number of words from the input that were used to produce the profile.

    Declaration

    Swift

    public var wordCount: Int
  • When guidance is appropriate, a string that provides a message that indicates the number of words found and where that value falls in the range of required or suggested number of words.

    Declaration

    Swift

    public var wordCountMessage: String?
  • A recursive array of Trait objects that provides detailed results for the Big Five personality characteristics (dimensions and facets) inferred from the input text.

    Declaration

    Swift

    public var personality: [Trait]
  • Detailed results for the Needs characteristics inferred from the input text.

    Declaration

    Swift

    public var needs: [Trait]
  • Detailed results for the Values characteristics inferred from the input text.

    Declaration

    Swift

    public var values: [Trait]
  • For JSON content that is timestamped, detailed results about the social behavior disclosed by the input in terms of temporal characteristics. The results include information about the distribution of the content over the days of the week and the hours of the day.

    Declaration

    Swift

    public var behavior: [Behavior]?
  • If the consumption_preferences parameter is true, detailed results for each category of consumption preferences. Each element of the array provides information inferred from the input text for the individual preferences of that category.

    Declaration

    Swift

    public var consumptionPreferences: [ConsumptionPreferencesCategory]?
  • An array of warning messages that are associated with the input text for the request. The array is empty if the input generated no warnings.

    Declaration

    Swift

    public var warnings: [Warning]