@@ -74,6 +74,10 @@ class AssistantV1 extends BaseService {
7474 *
7575 * Send user input to a workspace and receive a response.
7676 *
77+ * **Note:** For most applications, there are significant advantages to using the v2 runtime API instead. These
78+ * advantages include ease of deployment, automatic state management, versioning, and search capabilities. For more
79+ * information, see the [documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-api-overview).
80+ *
7781 * There is no rate limit for this operation.
7882 *
7983 * @param {Object } params - The parameters to send to the service.
@@ -121,7 +125,7 @@ class AssistantV1 extends BaseService {
121125 'context' : _params . context ,
122126 'output' : _params . output
123127 } ;
124-
128+
125129 const query = {
126130 'nodes_visited_details' : _params . nodes_visited_details
127131 } ;
@@ -319,7 +323,7 @@ class AssistantV1 extends BaseService {
319323 if ( missingParams ) {
320324 return _callback ( missingParams ) ;
321325 }
322-
326+
323327 const query = {
324328 'export' : _params . _export ,
325329 'include_audit' : _params . include_audit ,
@@ -379,7 +383,7 @@ class AssistantV1 extends BaseService {
379383 } ) ;
380384 } ) ;
381385 }
382-
386+
383387 const query = {
384388 'page_limit' : _params . page_limit ,
385389 'include_count' : _params . include_count ,
@@ -472,7 +476,7 @@ class AssistantV1 extends BaseService {
472476 'dialog_nodes' : _params . dialog_nodes ,
473477 'counterexamples' : _params . counterexamples
474478 } ;
475-
479+
476480 const query = {
477481 'append' : _params . append
478482 } ;
@@ -668,7 +672,7 @@ class AssistantV1 extends BaseService {
668672 if ( missingParams ) {
669673 return _callback ( missingParams ) ;
670674 }
671-
675+
672676 const query = {
673677 'export' : _params . _export ,
674678 'include_audit' : _params . include_audit
@@ -739,7 +743,7 @@ class AssistantV1 extends BaseService {
739743 if ( missingParams ) {
740744 return _callback ( missingParams ) ;
741745 }
742-
746+
743747 const query = {
744748 'export' : _params . _export ,
745749 'page_limit' : _params . page_limit ,
@@ -1011,7 +1015,7 @@ class AssistantV1 extends BaseService {
10111015 if ( missingParams ) {
10121016 return _callback ( missingParams ) ;
10131017 }
1014-
1018+
10151019 const query = {
10161020 'include_audit' : _params . include_audit
10171021 } ;
@@ -1079,7 +1083,7 @@ class AssistantV1 extends BaseService {
10791083 if ( missingParams ) {
10801084 return _callback ( missingParams ) ;
10811085 }
1082-
1086+
10831087 const query = {
10841088 'page_limit' : _params . page_limit ,
10851089 'include_count' : _params . include_count ,
@@ -1342,7 +1346,7 @@ class AssistantV1 extends BaseService {
13421346 if ( missingParams ) {
13431347 return _callback ( missingParams ) ;
13441348 }
1345-
1349+
13461350 const query = {
13471351 'include_audit' : _params . include_audit
13481352 } ;
@@ -1408,7 +1412,7 @@ class AssistantV1 extends BaseService {
14081412 if ( missingParams ) {
14091413 return _callback ( missingParams ) ;
14101414 }
1411-
1415+
14121416 const query = {
14131417 'page_limit' : _params . page_limit ,
14141418 'include_count' : _params . include_count ,
@@ -1679,7 +1683,7 @@ class AssistantV1 extends BaseService {
16791683 if ( missingParams ) {
16801684 return _callback ( missingParams ) ;
16811685 }
1682-
1686+
16831687 const query = {
16841688 'export' : _params . _export ,
16851689 'include_audit' : _params . include_audit
@@ -1750,7 +1754,7 @@ class AssistantV1 extends BaseService {
17501754 if ( missingParams ) {
17511755 return _callback ( missingParams ) ;
17521756 }
1753-
1757+
17541758 const query = {
17551759 'export' : _params . _export ,
17561760 'page_limit' : _params . page_limit ,
@@ -1902,7 +1906,7 @@ class AssistantV1 extends BaseService {
19021906 if ( missingParams ) {
19031907 return _callback ( missingParams ) ;
19041908 }
1905-
1909+
19061910 const query = {
19071911 'export' : _params . _export ,
19081912 'include_audit' : _params . include_audit
@@ -2113,7 +2117,7 @@ class AssistantV1 extends BaseService {
21132117 if ( missingParams ) {
21142118 return _callback ( missingParams ) ;
21152119 }
2116-
2120+
21172121 const query = {
21182122 'export' : _params . _export ,
21192123 'include_audit' : _params . include_audit
@@ -2185,7 +2189,7 @@ class AssistantV1 extends BaseService {
21852189 if ( missingParams ) {
21862190 return _callback ( missingParams ) ;
21872191 }
2188-
2192+
21892193 const query = {
21902194 'export' : _params . _export ,
21912195 'page_limit' : _params . page_limit ,
@@ -2472,7 +2476,7 @@ class AssistantV1 extends BaseService {
24722476 if ( missingParams ) {
24732477 return _callback ( missingParams ) ;
24742478 }
2475-
2479+
24762480 const query = {
24772481 'include_audit' : _params . include_audit
24782482 } ;
@@ -2542,7 +2546,7 @@ class AssistantV1 extends BaseService {
25422546 if ( missingParams ) {
25432547 return _callback ( missingParams ) ;
25442548 }
2545-
2549+
25462550 const query = {
25472551 'page_limit' : _params . page_limit ,
25482552 'include_count' : _params . include_count ,
@@ -2849,7 +2853,7 @@ class AssistantV1 extends BaseService {
28492853 if ( missingParams ) {
28502854 return _callback ( missingParams ) ;
28512855 }
2852-
2856+
28532857 const query = {
28542858 'include_audit' : _params . include_audit
28552859 } ;
@@ -2915,7 +2919,7 @@ class AssistantV1 extends BaseService {
29152919 if ( missingParams ) {
29162920 return _callback ( missingParams ) ;
29172921 }
2918-
2922+
29192923 const query = {
29202924 'page_limit' : _params . page_limit ,
29212925 'include_count' : _params . include_count ,
@@ -3101,7 +3105,7 @@ class AssistantV1 extends BaseService {
31013105 if ( missingParams ) {
31023106 return _callback ( missingParams ) ;
31033107 }
3104-
3108+
31053109 const query = {
31063110 'filter' : _params . filter ,
31073111 'sort' : _params . sort ,
@@ -3165,7 +3169,7 @@ class AssistantV1 extends BaseService {
31653169 if ( missingParams ) {
31663170 return _callback ( missingParams ) ;
31673171 }
3168-
3172+
31693173 const query = {
31703174 'sort' : _params . sort ,
31713175 'filter' : _params . filter ,
@@ -3233,7 +3237,7 @@ class AssistantV1 extends BaseService {
32333237 if ( missingParams ) {
32343238 return _callback ( missingParams ) ;
32353239 }
3236-
3240+
32373241 const query = {
32383242 'customer_id' : _params . customer_id
32393243 } ;
@@ -4790,9 +4794,9 @@ namespace AssistantV1 {
47904794 entity : string ;
47914795 /** An array of zero-based character offsets that indicate where the detected entity values begin and end in the input text. */
47924796 location : number [ ] ;
4793- /** The term in the input text that was recognized as an entity value . */
4797+ /** The entity value that was recognized in the user input . */
47944798 value : string ;
4795- /** A decimal percentage that represents Watson's confidence in the entity. */
4799+ /** A decimal percentage that represents Watson's confidence in the recognized entity. */
47964800 confidence ?: number ;
47974801 /** Any metadata for the entity. */
47984802 metadata ?: JsonObject ;
0 commit comments