The IBM Watson™ Personality Insights service enables applications to derive insights from social media, enterprise data, or other digital communications. The service uses linguistic analytics to infer individuals' intrinsic personality characteristics, including Big Five, Needs, and Values, from digital communications such as email, text messages, tweets, and forum posts.
The service can automatically infer, from potentially noisy social media, portraits of individuals that reflect their personality characteristics. The service can infer consumption preferences based on the results of its analysis and, for JSON content that is timestamped, can report temporal behavior.
For information about the meaning of the models that the service uses to describe personality characteristics, see Personality models. For information about the meaning of the consumption preferences, see Consumption preferences.
PM > Install-Package IBM.WatsonDeveloperCloud.PersonalityInsights.v3
<ItemGroup>
<PackageReference Include="IBM.WatsonDeveloperCloud.PersonalityInsights.v3" Version="2.5.0" />
</ItemGroup>
The service offers a single profile
method that accepts up to 20 MB of input data and produces results in JSON or CSV format. The service accepts input in Arabic, English, Japanese, or Spanish and can produce output in a variety of languages.
Extract personality characteristics based on how a person writes.
ContentListContainer contentListContainer = new ContentListContainer()
{
ContentItems = new List<ContentItem>()
{
new ContentItem()
{
Contenttype = ContentItem.ContenttypeEnum.TEXT_PLAIN,
Language = ContentItem.LanguageEnum.EN,
Content = <content-to-analyze>
}
}
};
var result = _personalityInsights.Profile("text/plain", "application/json", contentListContainer, rawScores: true, consumptionPreferences:true, csvHeaders:true);