public class PersonalityInsights extends WatsonService
| Constructor and Description |
|---|
PersonalityInsights()
Instantiates a new Personality Insights service.
|
| Modifier and Type | Method and Description |
|---|---|
Profile |
getProfile(ProfileOptions options)
Returns a
Profile with a tree of characteristics that include personality, needs, and
values. |
Profile |
getProfile(String text)
Accepts text and responds with a
Profile with a tree of characteristics that include
personality, needs, and values. |
String |
getProfileAsCSV(ProfileOptions options,
boolean includeHeaders)
Returns a CSV profile.
|
configureHttpClient, execute, executeRequest, executeWithoutResponse, getApiKey, getEndPoint, getName, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toStringpublic PersonalityInsights()
public Profile getProfile(String text)
Profile with a tree of characteristics that include
personality, needs, and values.text - Text to analyzeProfilepublic Profile getProfile(ProfileOptions options)
Profile with a tree of characteristics that include personality, needs, and
values.options - the ProfileOptionsProfilepublic String getProfileAsCSV(ProfileOptions options, boolean includeHeaders)
options - the ProfileOptionsincludeHeaders - if true returns the CSV headersCopyright © 2015. All rights reserved.