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
/** Information specific to particular skills used by the Assistant. **Note:** Currently, only a single property named `main skill` is supported. This object contains variables that apply to the dialog skill used by the assistant. */
@@ -551,8 +563,9 @@ namespace AssistantV2 {
551
563
552
564
/** Optional properties that control how the assistant responds. */
553
565
exportinterfaceMessageInputOptions{
554
-
/** Whether to return additional diagnostic information. Set to `true` to return additional information under
555
-
* the `output.debug` key.
566
+
/** Whether to return additional diagnostic information. Set to `true` to return additional information in the
567
+
* `output.debug` property. If you also specify **return_context**=`true`, the returned skill context includes the
568
+
* `system.state` property.
556
569
*/
557
570
debug?: boolean;
558
571
/** Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes.
@@ -561,10 +574,17 @@ namespace AssistantV2 {
561
574
restart?: boolean;
562
575
/** Whether to return more than one intent. Set to `true` to return all matching intents. */
563
576
alternate_intents?: boolean;
564
-
/** Whether to return session context with the response. If you specify `true`, the response will include the
565
-
* `context` property.
577
+
/** Whether to return session context with the response. If you specify `true`, the response includes the
578
+
* `context` property. If you also specify **debug**=`true`, the returned skill context includes the `system.state`
579
+
* property.
566
580
*/
567
581
return_context?: boolean;
582
+
/** Whether to return session context, including full conversation state. If you specify `true`, the response
583
+
* includes the `context` property, and the skill context includes the `system.state` property.
584
+
*
585
+
* **Note:** If **export**=`true`, the context is returned regardless of the value of **return_context**.
586
+
*/
587
+
_export?: boolean;
568
588
}
569
589
570
590
/** Assistant output to be rendered or processed by the client. */
@@ -607,8 +627,8 @@ namespace AssistantV2 {
607
627
exportinterfaceMessageResponse{
608
628
/** Assistant output to be rendered or processed by the client. */
609
629
output: MessageOutput;
610
-
/** State information for the conversation. The context is stored by the assistant on a per-session basis. You
611
-
* can use this property to access context variables.
630
+
/** Context data for the conversation. The context is stored by the assistant on a per-session basis. You can
631
+
* use this property to access context variables.
612
632
*
613
633
* **Note:** The context is included in message responses only if **return_context**=`true` in the message request.
0 commit comments