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.
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.
private void GetProfile()
{
if(!m_personalityInsights.GetProfile(OnGetProfileJson, OnFail, dataPath, ContentType.TEXT_HTML, ContentLanguage.ENGLISH, ContentType.APPLICATION_JSON, AcceptLanguage.ENGLISH, true, true, true))
Log.Debug("ExamplePersonalityInsights.GetProfile()", "Failed to get profile!");
}
private void OnGetProfile(Profile profile, Dictionary<string, object> customData)
{
Log.Debug("ExamplePersonalityInsights.OnGetProfile()", "Profile result: {0}", customData["json"].ToString());
}
private void OnFail(RESTConnector.Error error, Dictionary<string, object> customData)
{
Log.Error("ExamplePersonalityInsights.OnFail()", "Error received: {0}", error.ToString());
}