Skip to content

Commit 990d75a

Browse files
committed
chore(ta): regenerate tone analyzer
1 parent 87cfca2 commit 990d75a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ibm_watson/tone_analyzer_v3.py

Lines changed: 5 additions & 4 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.
@@ -30,7 +30,8 @@
3030
from .common import get_sdk_headers
3131
from enum import Enum
3232
from ibm_cloud_sdk_core import BaseService
33-
from ibm_cloud_sdk_core import get_authenticator_from_environment
33+
from ibm_cloud_sdk_core import DetailedResponse
34+
from ibm_cloud_sdk_core.get_authenticator import get_authenticator_from_environment
3435
from typing import Dict
3536
from typing import List
3637

@@ -110,7 +111,7 @@ def tone(self,
110111
text/plain;charset=utf-8`. For `text/html`, the service removes HTML tags and
111112
analyzes only the textual content.
112113
**See also:** [Using the general-purpose
113-
endpoint](https://cloud.ibm.com/docs/services/tone-analyzer?topic=tone-analyzer-utgpe#utgpe).
114+
endpoint](https://cloud.ibm.com/docs/tone-analyzer?topic=tone-analyzer-utgpe#utgpe).
114115
115116
:param ToneInput tone_input: JSON, plain text, or HTML input that contains
116117
the content to be analyzed. For JSON input, provide an object of type
@@ -205,7 +206,7 @@ def tone_chat(self,
205206
utterances have more than 500 characters. Per the JSON specification, the default
206207
character encoding for JSON content is effectively always UTF-8.
207208
**See also:** [Using the customer-engagement
208-
endpoint](https://cloud.ibm.com/docs/services/tone-analyzer?topic=tone-analyzer-utco#utco).
209+
endpoint](https://cloud.ibm.com/docs/tone-analyzer?topic=tone-analyzer-utco#utco).
209210
210211
:param List[Utterance] utterances: An array of `Utterance` objects that
211212
provides the input content that the service is to analyze.

0 commit comments

Comments
 (0)