Skip to content

Commit 3b694b9

Browse files
committed
chore(PI): regenerate personality insighs
1 parent 5e25765 commit 3b694b9

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

ibm_watson/personality_insights_v3.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22

3-
# (C) Copyright IBM Corp. 2016, 2020.
3+
# (C) Copyright IBM Corp. 2020.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -25,9 +25,9 @@
2525
timestamped, can report temporal behavior.
2626
* For information about the meaning of the models that the service uses to describe
2727
personality characteristics, see [Personality
28-
models](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-models#models).
28+
models](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-models#models).
2929
* For information about the meaning of the consumption preferences, see [Consumption
30-
preferences](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-preferences#preferences).
30+
preferences](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-preferences#preferences).
3131
**Note:** Request logging is disabled for the Personality Insights service. Regardless of
3232
whether you set the `X-Watson-Learning-Opt-Out` request header, the service does not log
3333
or retain data from requests and responses.
@@ -38,7 +38,8 @@
3838
from .common import get_sdk_headers
3939
from enum import Enum
4040
from ibm_cloud_sdk_core import BaseService
41-
from ibm_cloud_sdk_core import get_authenticator_from_environment
41+
from ibm_cloud_sdk_core import DetailedResponse
42+
from ibm_cloud_sdk_core.get_authenticator import get_authenticator_from_environment
4243
from typing import Dict
4344
from typing import List
4445

@@ -110,9 +111,9 @@ def profile(self,
110111
Japanese, Korean, or Spanish. It can return its results in a variety of languages.
111112
**See also:**
112113
* [Requesting a
113-
profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#input)
114+
profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#input)
114115
* [Providing sufficient
115-
input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient)
116+
input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient)
116117
### Content types
117118
You can provide input content as plain text (`text/plain`), HTML (`text/html`),
118119
or JSON (`application/json`) by specifying the **Content-Type** parameter. The
@@ -125,22 +126,22 @@ def profile(self,
125126
parameter to indicate the character encoding of the input text; for example,
126127
`Content-Type: text/plain;charset=utf-8`.
127128
**See also:** [Specifying request and response
128-
formats](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#formats)
129+
formats](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#formats)
129130
### Accept types
130131
You must request a response as JSON (`application/json`) or comma-separated
131132
values (`text/csv`) by specifying the **Accept** parameter. CSV output includes a
132133
fixed number of columns. Set the **csv_headers** parameter to `true` to request
133134
optional column headers for CSV output.
134135
**See also:**
135136
* [Understanding a JSON
136-
profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-output#output)
137+
profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-output#output)
137138
* [Understanding a CSV
138-
profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-outputCSV#outputCSV).
139+
profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-outputCSV#outputCSV).
139140
140141
:param Content content: A maximum of 20 MB of content to analyze, though
141142
the service requires much less text; for more information, see [Providing
142143
sufficient
143-
input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient).
144+
input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient).
144145
For JSON input, provide an object of type `Content`.
145146
:param str accept: The type of the response. For more information, see
146147
**Accept types** in the method description.

0 commit comments

Comments
 (0)