Skip to content

Commit 5f034ac

Browse files
chore(wa-v2): update comments
1 parent 9359156 commit 5f034ac

29 files changed

+129
-374
lines changed

assistant/src/main/java/com/ibm/watson/assistant/v2/model/CreateReleaseExportOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,9 @@ public Builder newBuilder() {
119119
/**
120120
* Gets the assistantId.
121121
*
122-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
123-
* Set the value for this ID depending on the type of request:
124-
*
125-
* <p>- For message, session, and log requests, specify the environment ID of the environment
126-
* where the assistant is deployed.
127-
*
128-
* <p>- For all other requests, specify the assistant ID of the assistant.
129-
*
130-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
131-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
132-
* and click **View Details**.
133-
*
134-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
135-
* ID.
136-
*
137-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
138-
* click **API Details**.
122+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
123+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
124+
* details** section and click **View Details**.
139125
*
140126
* @return the assistantId
141127
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/CreateReleaseImportOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -135,23 +135,9 @@ public Builder newBuilder() {
135135
/**
136136
* Gets the assistantId.
137137
*
138-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
139-
* Set the value for this ID depending on the type of request:
140-
*
141-
* <p>- For message, session, and log requests, specify the environment ID of the environment
142-
* where the assistant is deployed.
143-
*
144-
* <p>- For all other requests, specify the assistant ID of the assistant.
145-
*
146-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
147-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
148-
* and click **View Details**.
149-
*
150-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
151-
* ID.
152-
*
153-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
154-
* click **API Details**.
138+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
139+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
140+
* details** section and click **View Details**.
155141
*
156142
* @return the assistantId
157143
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/CreateReleaseOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,23 +112,9 @@ public Builder newBuilder() {
112112
/**
113113
* Gets the assistantId.
114114
*
115-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
116-
* Set the value for this ID depending on the type of request:
117-
*
118-
* <p>- For message, session, and log requests, specify the environment ID of the environment
119-
* where the assistant is deployed.
120-
*
121-
* <p>- For all other requests, specify the assistant ID of the assistant.
122-
*
123-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
124-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
125-
* and click **View Details**.
126-
*
127-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
128-
* ID.
129-
*
130-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
131-
* click **API Details**.
115+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
116+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
117+
* details** section and click **View Details**.
132118
*
133119
* @return the assistantId
134120
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/DeleteAssistantOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,23 +86,9 @@ public Builder newBuilder() {
8686
/**
8787
* Gets the assistantId.
8888
*
89-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
90-
* Set the value for this ID depending on the type of request:
91-
*
92-
* <p>- For message, session, and log requests, specify the environment ID of the environment
93-
* where the assistant is deployed.
94-
*
95-
* <p>- For all other requests, specify the assistant ID of the assistant.
96-
*
97-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
98-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
99-
* and click **View Details**.
100-
*
101-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
102-
* ID.
103-
*
104-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
105-
* click **API Details**.
89+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
90+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
91+
* details** section and click **View Details**.
10692
*
10793
* @return the assistantId
10894
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/DeleteReleaseOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -104,23 +104,9 @@ public Builder newBuilder() {
104104
/**
105105
* Gets the assistantId.
106106
*
107-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
108-
* Set the value for this ID depending on the type of request:
109-
*
110-
* <p>- For message, session, and log requests, specify the environment ID of the environment
111-
* where the assistant is deployed.
112-
*
113-
* <p>- For all other requests, specify the assistant ID of the assistant.
114-
*
115-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
116-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
117-
* and click **View Details**.
118-
*
119-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
120-
* ID.
121-
*
122-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
123-
* click **API Details**.
107+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
108+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
109+
* details** section and click **View Details**.
124110
*
125111
* @return the assistantId
126112
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/DeployReleaseOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -138,23 +138,9 @@ public Builder newBuilder() {
138138
/**
139139
* Gets the assistantId.
140140
*
141-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
142-
* Set the value for this ID depending on the type of request:
143-
*
144-
* <p>- For message, session, and log requests, specify the environment ID of the environment
145-
* where the assistant is deployed.
146-
*
147-
* <p>- For all other requests, specify the assistant ID of the assistant.
148-
*
149-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
150-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
151-
* and click **View Details**.
152-
*
153-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
154-
* ID.
155-
*
156-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
157-
* click **API Details**.
141+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
142+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
143+
* details** section and click **View Details**.
158144
*
159145
* @return the assistantId
160146
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/DownloadReleaseExportOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,9 @@ public Builder newBuilder() {
119119
/**
120120
* Gets the assistantId.
121121
*
122-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
123-
* Set the value for this ID depending on the type of request:
124-
*
125-
* <p>- For message, session, and log requests, specify the environment ID of the environment
126-
* where the assistant is deployed.
127-
*
128-
* <p>- For all other requests, specify the assistant ID of the assistant.
129-
*
130-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
131-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
132-
* and click **View Details**.
133-
*
134-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
135-
* ID.
136-
*
137-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
138-
* click **API Details**.
122+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
123+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
124+
* details** section and click **View Details**.
139125
*
140126
* @return the assistantId
141127
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/ExportSkillsOptions.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,9 @@ public Builder newBuilder() {
101101
/**
102102
* Gets the assistantId.
103103
*
104-
* <p>The assistant ID or the environment ID of the environment where the assistant is deployed.
105-
* Set the value for this ID depending on the type of request:
106-
*
107-
* <p>- For message, session, and log requests, specify the environment ID of the environment
108-
* where the assistant is deployed.
109-
*
110-
* <p>- For all other requests, specify the assistant ID of the assistant.
111-
*
112-
* <p>To get the **assistant ID** and **environment ID** in the watsonx Assistant interface, open
113-
* the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section
114-
* and click **View Details**.
115-
*
116-
* <p>**Note:** If you are using the classic Watson Assistant experience, always use the assistant
117-
* ID.
118-
*
119-
* <p>To find the **assistant ID** in the user interface, open the **Assistant settings** and
120-
* click **API Details**.
104+
* <p>Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant
105+
* interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API
106+
* details** section and click **View Details**.
121107
*
122108
* @return the assistantId
123109
*/

assistant/src/main/java/com/ibm/watson/assistant/v2/model/GenerativeAITask.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ public GenerativeAITaskConfidenceScores getConfidenceScores() {
103103
/**
104104
* Gets the originalResponse.
105105
*
106+
* <p>The original response returned by the generative ai.
107+
*
106108
* @return the originalResponse
107109
*/
108110
public String getOriginalResponse() {
@@ -112,6 +114,9 @@ public String getOriginalResponse() {
112114
/**
113115
* Gets the inferredQuery.
114116
*
117+
* <p>Generated from the input text after auto-correction. If this field is not present, the input
118+
* text was used as the query to the generative ai.
119+
*
115120
* @return the inferredQuery
116121
*/
117122
public String getInferredQuery() {

assistant/src/main/java/com/ibm/watson/assistant/v2/model/GenerativeAITaskConfidenceScores.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ protected GenerativeAITaskConfidenceScores() {}
3939
/**
4040
* Gets the preGen.
4141
*
42+
* <p>The confidence score based on user query and search results.
43+
*
4244
* @return the preGen
4345
*/
4446
public Double getPreGen() {
@@ -48,6 +50,10 @@ public Double getPreGen() {
4850
/**
4951
* Gets the preGenThreshold.
5052
*
53+
* <p>The pre_gen confidence score threshold. If the pre_gen score is below this threshold, it
54+
* shows an “I don't know” response instead of the generated response. Shown in the conversational
55+
* search skill UI as the “Retrieval Confidence threshold”.
56+
*
5157
* @return the preGenThreshold
5258
*/
5359
public Double getPreGenThreshold() {
@@ -57,6 +63,8 @@ public Double getPreGenThreshold() {
5763
/**
5864
* Gets the postGen.
5965
*
66+
* <p>The confidence score based on user query, search results, and the generated response.
67+
*
6068
* @return the postGen
6169
*/
6270
public Double getPostGen() {
@@ -66,6 +74,10 @@ public Double getPostGen() {
6674
/**
6775
* Gets the postGenThreshold.
6876
*
77+
* <p>The post_gen confidence score threshold. If the post_gen score is below this threshold, it
78+
* shows an “I don't know” response instead of the generated response. Shown in the conversational
79+
* search skill UI as the “Response Confidence threshold”.
80+
*
6981
* @return the postGenThreshold
7082
*/
7183
public Double getPostGenThreshold() {

0 commit comments

Comments
 (0)