You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Contains information specific to a particular skill used by the assistant. The property name must be the same as the name of the skill. **Note:** The default skill names are `main skill` for the dialog skill (if enabled) and `actions skill` for the action skill. */
2925
-
exportinterfaceMessageContextSkill{
2926
-
/** Arbitrary variables that can be read and written by a particular skill. */
2925
+
/** Context variables that are used by the action skill. */
2926
+
exportinterfaceMessageContextSkillAction{
2927
+
/** An object containing any arbitrary variables that can be read and written by a particular skill. */
2928
+
user_defined?: JsonObject;
2929
+
/** System context data used by the skill. */
2930
+
system?: MessageContextSkillSystem;
2931
+
/** An object containing action variables. Action variables can be accessed only by steps in the same action,
2932
+
* and do not persist after the action ends.
2933
+
*/
2934
+
action_variables?: JsonObject;
2935
+
/** An object containing skill variables. (In the Watson Assistant user interface, skill variables are called
2936
+
* _session variables_.) Skill variables can be accessed by any action and persist for the duration of the session.
2937
+
*/
2938
+
skill_variables?: JsonObject;
2939
+
}
2940
+
2941
+
/** Context variables that are used by the dialog skill. */
2942
+
exportinterfaceMessageContextSkillDialog{
2943
+
/** An object containing any arbitrary variables that can be read and written by a particular skill. */
2927
2944
user_defined?: JsonObject;
2928
2945
/** System context data used by the skill. */
2929
2946
system?: MessageContextSkillSystem;
@@ -2941,12 +2958,20 @@ namespace AssistantV2 {
2941
2958
[propName: string]: any;
2942
2959
}
2943
2960
2961
+
/** Context data specific to particular skills used by the assistant. */
2962
+
exportinterfaceMessageContextSkills{
2963
+
/** Context variables that are used by the dialog skill. */
2964
+
'main skill'?: MessageContextSkillDialog;
2965
+
/** Context variables that are used by the action skill. */
2966
+
'actions skill'?: MessageContextSkillAction;
2967
+
}
2968
+
2944
2969
/** MessageContextStateless. */
2945
2970
exportinterfaceMessageContextStateless{
2946
2971
/** Session context data that is shared by all skills used by the assistant. */
2947
2972
global?: MessageContextGlobalStateless;
2948
-
/** Information specific to particular skills used by the assistant. */
2949
-
skills?: JsonObject;
2973
+
/** Context data specific to particular skills used by the assistant. */
2974
+
skills?: MessageContextSkills;
2950
2975
/** An object containing context data that is specific to particular integrations. For more information, see the
/** Authentication information for the Watson Discovery service. For more information, see the [Watson Discovery documentation](https://cloud.ibm.com/apidocs/discovery-data#authentication). **Note:** You must specify either **basic** or **bearer**, but not both. */
0 commit comments