Skip to content

Commit

Permalink
feat(personality-insights): generated code
Browse files Browse the repository at this point in the history
chore(personality-insights): manual changes
  • Loading branch information
germanattanasio committed Feb 24, 2020
1 parent 5d2dd6d commit 883b971
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 34 deletions.
5 changes: 4 additions & 1 deletion personality-insights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Installation

##### Maven

```xml
<dependency>
<groupId>com.ibm.watson</groupId>
Expand All @@ -12,11 +13,13 @@
```

##### Gradle

```gradle
'com.ibm.watson:personality-insights:8.2.1'
```

## Usage

Use linguistic analytics to infer personality and social characteristics, including Big Five, Needs, and Values, from text.
Example: Analyze text and get a personality profile using the [Personality Insights][personality_insights] service.

Expand Down Expand Up @@ -50,4 +53,4 @@ Profile profile = service.profile(options).execute().getResult();
System.out.println(profile);
```

[personality_insights]: https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-about
[personality_insights]: https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-about
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -36,18 +36,15 @@
* 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?topic=personality-insights-models#models).
* [Personality models](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-models#models).
* * For information about the meaning of the consumption preferences, see [Consumption
* preferences]
* (https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-preferences#preferences).
*
* preferences](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-preferences#preferences).
*
* **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.
*
* @version v3
* @see <a href="https://cloud.ibm.com/docs/services/personality-insights/">Personality Insights</a>
* @see <a href="https://cloud.ibm.com/docs/personality-insights/">Personality Insights</a>
*/
public class PersonalityInsights extends BaseService {

Expand Down Expand Up @@ -116,10 +113,9 @@ public PersonalityInsights(String versionDate, String serviceName, Authenticator
* English, Japanese, Korean, or Spanish. It can return its results in a variety of languages.
*
* **See also:**
* * [Requesting a
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#input)
* * [Requesting a profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#input)
* * [Providing sufficient
* input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient)
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient)
*
* ### Content types
*
Expand All @@ -133,7 +129,7 @@ public PersonalityInsights(String versionDate, String serviceName, Authenticator
* encoding of the input text; for example, `Content-Type: text/plain;charset=utf-8`.
*
* **See also:** [Specifying request and response
* formats](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#formats)
* formats](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#formats)
*
* ### Accept types
*
Expand All @@ -143,9 +139,9 @@ public PersonalityInsights(String versionDate, String serviceName, Authenticator
*
* **See also:**
* * [Understanding a JSON
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-output#output)
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-output#output)
* * [Understanding a CSV
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-outputCSV#outputCSV).
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-outputCSV#outputCSV).
*
* @param profileOptions the {@link ProfileOptions} containing the options for the call
* @return a {@link ServiceCall} with a response type of {@link Profile}
Expand Down Expand Up @@ -195,10 +191,9 @@ public ServiceCall<Profile> profile(ProfileOptions profileOptions) {
* English, Japanese, Korean, or Spanish. It can return its results in a variety of languages.
*
* **See also:**
* * [Requesting a
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#input)
* * [Requesting a profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#input)
* * [Providing sufficient
* input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient)
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient)
*
* ### Content types
*
Expand All @@ -212,7 +207,7 @@ public ServiceCall<Profile> profile(ProfileOptions profileOptions) {
* encoding of the input text; for example, `Content-Type: text/plain;charset=utf-8`.
*
* **See also:** [Specifying request and response
* formats](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#formats)
* formats](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#formats)
*
* ### Accept types
*
Expand All @@ -222,9 +217,9 @@ public ServiceCall<Profile> profile(ProfileOptions profileOptions) {
*
* **See also:**
* * [Understanding a JSON
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-output#output)
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-output#output)
* * [Understanding a CSV
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-outputCSV#outputCSV).
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-outputCSV#outputCSV).
*
* @param profileOptions the {@link ProfileOptions} containing the options for the call
* @return a {@link ServiceCall} with a response type of {@link String}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2017, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -238,8 +238,8 @@ public Builder newBuilder() {
*
* 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?topic=personality-insights-input#sufficient). For
* JSON input, provide an object of type `Content`.
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient). For JSON
* input, provide an object of type `Content`.
*
* @return the content
*/
Expand All @@ -252,8 +252,8 @@ public Content content() {
*
* 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?topic=personality-insights-input#sufficient). For
* JSON input, provide an object of type `Content`.
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient). For JSON
* input, provide an object of type `Content`.
*
* @return the body
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2016, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2017, 2020.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright IBM Corp. 2019.
* (C) Copyright IBM Corp. 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down

0 comments on commit 883b971

Please sign in to comment.