You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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](https://cloud.ibm.com/docs/services/personality-insights/models.html). * For information about the meaning of the consumption preferences, see [Consumption preferences](https://cloud.ibm.com/docs/services/personality-insights/preferences.html). **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.
@@ -100,10 +101,6 @@ class PersonalityInsightsV3 extends BaseService {
100
101
* less text; for more information, see [Providing sufficient
101
102
* input](https://cloud.ibm.com/docs/services/personality-insights/input.html#sufficient). For JSON input, provide an
102
103
* object of type `Content`.
103
-
* @param {string} [params.content_type] - The type of the input. For more information, see **Content types** in the
104
-
* method description.
105
-
*
106
-
* Default: `text/plain`.
107
104
* @param {string} [params.content_language] - The language of the input text for the request: Arabic, English,
108
105
* Japanese, Korean, or Spanish. Regional variants are treated as their parent language; for example, `en-US` is
109
106
* interpreted as `en`.
@@ -124,9 +121,13 @@ class PersonalityInsightsV3 extends BaseService {
124
121
* default, no column labels are returned. Applies only when the response type is CSV (`text/csv`).
125
122
* @param {boolean} [params.consumption_preferences] - Indicates whether consumption preferences are returned with the
126
123
* results. By default, no consumption preferences are returned.
124
+
* @param {string} [params.content_type] - The type of the input. For more information, see **Content types** in the
/** A maximum of 20 MB of content to analyze, though the service requires much less text; for more information, see [Providing sufficient input](https://cloud.ibm.com/docs/services/personality-insights/input.html#sufficient). For JSON input, provide an object of type `Content`. */
332
331
content: Content|string;
333
-
/** The type of the input. For more information, see **Content types** in the method description. Default: `text/plain`. */
/** The language of the input text for the request: Arabic, English, Japanese, Korean, or Spanish. Regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`. The effect of the **Content-Language** parameter depends on the **Content-Type** parameter. When **Content-Type** is `text/plain` or `text/html`, **Content-Language** is the only way to specify the language. When **Content-Type** is `application/json`, **Content-Language** overrides a language specified with the `language` parameter of a `ContentItem` object, and content items that specify a different language are ignored; omit this parameter to base the language on the specification of the content items. You can specify any combination of languages for **Content-Language** and **Accept-Language**. */
/** The desired language of the response. For two-character arguments, regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`. You can specify any combination of languages for the input and response content. */
/** The type of the input. For more information, see **Content types** in the method description. Default: `text/plain`. */
352
-
exportenumContentType{
353
-
APPLICATION_JSON='application/json',
354
-
TEXT_HTML='text/html',
355
-
TEXT_PLAIN='text/plain',
356
-
}
357
350
/** The language of the input text for the request: Arabic, English, Japanese, Korean, or Spanish. Regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`. The effect of the **Content-Language** parameter depends on the **Content-Type** parameter. When **Content-Type** is `text/plain` or `text/html`, **Content-Language** is the only way to specify the language. When **Content-Type** is `application/json`, **Content-Language** overrides a language specified with the `language` parameter of a `ContentItem` object, and content items that specify a different language are ignored; omit this parameter to base the language on the specification of the content items. You can specify any combination of languages for **Content-Language** and **Accept-Language**. */
/** The type of the input. For more information, see **Content types** in the method description. Default: `text/plain`. */
373
+
exportenumContentType{
374
+
APPLICATION_JSON='application/json',
375
+
TEXT_HTML='text/html',
376
+
TEXT_PLAIN='text/plain',
377
+
}
379
378
}
380
379
381
380
/** Parameters for the `profileAsCsv` operation. */
382
381
exportinterfaceProfileAsCsvParams{
383
382
/** A maximum of 20 MB of content to analyze, though the service requires much less text; for more information, see [Providing sufficient input](https://cloud.ibm.com/docs/services/personality-insights/input.html#sufficient). For JSON input, provide an object of type `Content`. */
384
383
content: Content|string;
385
-
/** The type of the input. For more information, see **Content types** in the method description. Default: `text/plain`. */
/** The language of the input text for the request: Arabic, English, Japanese, Korean, or Spanish. Regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`. The effect of the **Content-Language** parameter depends on the **Content-Type** parameter. When **Content-Type** is `text/plain` or `text/html`, **Content-Language** is the only way to specify the language. When **Content-Type** is `application/json`, **Content-Language** overrides a language specified with the `language` parameter of a `ContentItem` object, and content items that specify a different language are ignored; omit this parameter to base the language on the specification of the content items. You can specify any combination of languages for **Content-Language** and **Accept-Language**. */
/** The desired language of the response. For two-character arguments, regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`. You can specify any combination of languages for the input and response content. */
/** Constants for the `profileAsCsv` operation. */
402
401
exportnamespaceProfileAsCsvConstants{
403
-
/** The type of the input. For more information, see **Content types** in the method description. Default: `text/plain`. */
404
-
exportenumContentType{
405
-
APPLICATION_JSON='application/json',
406
-
TEXT_HTML='text/html',
407
-
TEXT_PLAIN='text/plain',
408
-
}
409
402
/** The language of the input text for the request: Arabic, English, Japanese, Korean, or Spanish. Regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`. The effect of the **Content-Language** parameter depends on the **Content-Type** parameter. When **Content-Type** is `text/plain` or `text/html`, **Content-Language** is the only way to specify the language. When **Content-Type** is `application/json`, **Content-Language** overrides a language specified with the `language` parameter of a `ContentItem` object, and content items that specify a different language are ignored; omit this parameter to base the language on the specification of the content items. You can specify any combination of languages for **Content-Language** and **Accept-Language**. */
0 commit comments