Construct a PersonalityInsightsV3 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current
version is 2017-10-13
.
Disables retries.
Enable retries for unfulfilled requests.
Name | Type | Attribute | Description |
---|---|---|---|
retryOptions |
RetryOptions | Optional |
configuration for retries |
Get the instance of the authenticator set on the service.
Get the Axios instance set on the service. All requests will be made using this instance.
Get profile.
Generates a personality profile for the author of the input text. The service accepts a maximum of 20 MB of input content, but it requires much less text to produce an accurate profile. The service can analyze text in Arabic, English, Japanese, Korean, or Spanish. It can return its results in a variety of languages.
See also:
You can provide input content as plain text (text/plain
), HTML (text/html
), or JSON (application/json
) by
specifying the Content-Type parameter. The default is text/plain
.
When specifying a content type of plain text or HTML, include the charset
parameter to indicate the character
encoding of the input text; for example, Content-Type: text/plain;charset=utf-8
.
See also: Specifying request and response formats
You must request a response as JSON (application/json
) or comma-separated values (text/csv
) by specifying the
Accept parameter. CSV output includes a fixed number of columns. Set the csv_headers parameter to true
to
request optional column headers for CSV output.
See also:
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ProfileParams |
The parameters to send to the service. Properties
|
Get profile as csv.
Generates a personality profile for the author of the input text. The service accepts a maximum of 20 MB of input content, but it requires much less text to produce an accurate profile. The service can analyze text in Arabic, English, Japanese, Korean, or Spanish. It can return its results in a variety of languages.
See also:
You can provide input content as plain text (text/plain
), HTML (text/html
), or JSON (application/json
) by
specifying the Content-Type parameter. The default is text/plain
.
When specifying a content type of plain text or HTML, include the charset
parameter to indicate the character
encoding of the input text; for example, Content-Type: text/plain;charset=utf-8
.
See also: Specifying request and response formats
You must request a response as JSON (application/json
) or comma-separated values (text/csv
) by specifying the
Accept parameter. CSV output includes a fixed number of columns. Set the csv_headers parameter to true
to
request optional column headers for CSV output.
See also:
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ProfileAsCsvParams |
The parameters to send to the service. Properties
|
Turn request body compression on or off.
Name | Type | Attribute | Description |
---|---|---|---|
setting |
boolean |
Will turn it on if 'true', off if 'false'. |
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
Generated using TypeDoc
IBM Watson™ Personality Insights is discontinued. Existing instances are supported until 1 December 2021, but as of 1 December 2020, you cannot create new instances. Any instance that exists on 1 December 2021 will be deleted.
No direct replacement exists for Personality Insights. However, you can consider using IBM Watson™ Natural Language Understanding on IBM Cloud® as part of a replacement analytic workflow for your Personality Insights use cases. You can use Natural Language Understanding to extract data and insights from text, such as keywords, categories, sentiment, emotion, and syntax. For more information about the personality models in Personality Insights, see The science behind the service. {: deprecated} interfaces
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.
Note: Request logging is disabled for the Personality Insights service. Regardless of whether you set the
X-Watson-Learning-Opt-Out
request header, the service does not log or retain data from requests and responses.API Version: 3.4.4 See: https://cloud.ibm.com/docs/personality-insights