Skip to content

Commit 8dd51fb

Browse files
authored
Merge branch 'master' into test/remove-vcap-test
2 parents 3b72b56 + 5a0a272 commit 8dd51fb

10 files changed

+497
-204
lines changed

lib/ibm_watson/assistant_v1.rb

Lines changed: 139 additions & 59 deletions
Large diffs are not rendered by default.

lib/ibm_watson/assistant_v2.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ def initialize(args = {})
7777
# responses. It also maintains the state of the conversation. A session persists
7878
# until it is deleted, or until it times out because of inactivity. (For more
7979
# information, see the
80-
# [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-settings).
80+
# [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-settings).
8181
# @param assistant_id [String] Unique identifier of the assistant. To find the assistant ID in the Watson
8282
# Assistant user interface, open the assistant settings and click **API Details**.
8383
# For information about creating assistants, see the
84-
# [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task).
84+
# [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-add#assistant-add-task).
8585
#
8686
# **Note:** Currently, the v2 API does not support creating assistants.
8787
# @return [IBMCloudSdkCore::DetailedResponse] A `IBMCloudSdkCore::DetailedResponse` object representing the response.
@@ -114,11 +114,11 @@ def create_session(assistant_id:)
114114
# Delete session.
115115
# Deletes a session explicitly before it times out. (For more information about the
116116
# session inactivity timeout, see the
117-
# [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-settings)).
117+
# [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-settings)).
118118
# @param assistant_id [String] Unique identifier of the assistant. To find the assistant ID in the Watson
119119
# Assistant user interface, open the assistant settings and click **API Details**.
120120
# For information about creating assistants, see the
121-
# [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task).
121+
# [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-add#assistant-add-task).
122122
#
123123
# **Note:** Currently, the v2 API does not support creating assistants.
124124
# @param session_id [String] Unique identifier of the session.
@@ -161,7 +161,7 @@ def delete_session(assistant_id:, session_id:)
161161
# @param assistant_id [String] Unique identifier of the assistant. To find the assistant ID in the Watson
162162
# Assistant user interface, open the assistant settings and click **API Details**.
163163
# For information about creating assistants, see the
164-
# [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-add#assistant-add-task).
164+
# [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-add#assistant-add-task).
165165
#
166166
# **Note:** Currently, the v2 API does not support creating assistants.
167167
# @param session_id [String] Unique identifier of the session.

lib/ibm_watson/natural_language_classifier_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def classify_collection(classifier_id:, collection:)
141141
# (`pt`), and Spanish (`es`).
142142
# @param training_data [File] Training data in CSV format. Each text value must have at least one class. The
143143
# data can include up to 3,000 classes and 20,000 records. For details, see [Data
144-
# preparation](https://cloud.ibm.com/docs/services/natural-language-classifier?topic=natural-language-classifier-using-your-data).
144+
# preparation](https://cloud.ibm.com/docs/natural-language-classifier?topic=natural-language-classifier-using-your-data).
145145
# @return [IBMCloudSdkCore::DetailedResponse] A `IBMCloudSdkCore::DetailedResponse` object representing the response.
146146
def create_classifier(training_metadata:, training_data:)
147147
raise ArgumentError.new("training_metadata must be provided") if training_metadata.nil?

lib/ibm_watson/personality_insights_v3.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
# is timestamped, can report temporal behavior.
2727
# * For information about the meaning of the models that the service uses to describe
2828
# personality characteristics, see [Personality
29-
# models](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-models#models).
29+
# models](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-models#models).
3030
# * For information about the meaning of the consumption preferences, see [Consumption
31-
# preferences](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-preferences#preferences).
31+
# preferences](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-preferences#preferences).
3232
#
3333
#
3434
# **Note:** Request logging is disabled for the Personality Insights service. Regardless
@@ -95,9 +95,9 @@ def initialize(args = {})
9595
#
9696
# **See also:**
9797
# * [Requesting a
98-
# profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#input)
98+
# profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#input)
9999
# * [Providing sufficient
100-
# input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient)
100+
# input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient)
101101
#
102102
#
103103
# ### Content types
@@ -115,7 +115,7 @@ def initialize(args = {})
115115
# `Content-Type: text/plain;charset=utf-8`.
116116
#
117117
# **See also:** [Specifying request and response
118-
# formats](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#formats)
118+
# formats](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#formats)
119119
#
120120
#
121121
# ### Accept types
@@ -127,12 +127,12 @@ def initialize(args = {})
127127
#
128128
# **See also:**
129129
# * [Understanding a JSON
130-
# profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-output#output)
130+
# profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-output#output)
131131
# * [Understanding a CSV
132-
# profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-outputCSV#outputCSV).
132+
# profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-outputCSV#outputCSV).
133133
# @param content [Content] A maximum of 20 MB of content to analyze, though the service requires much less
134134
# text; for more information, see [Providing sufficient
135-
# input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient).
135+
# input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient).
136136
# For JSON input, provide an object of type `Content`.
137137
# @param accept [String] The type of the response. For more information, see **Accept types** in the method
138138
# description.

0 commit comments

Comments
 (0)