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
/** An input object that includes the input text. */
328
328
input?: MessageInput;
329
329
}
330
330
@@ -378,7 +378,7 @@ namespace AssistantV2 {
378
378
379
379
/** An object defining the message input to be sent to the assistant if the user selects the corresponding disambiguation option. */
380
380
exportinterfaceDialogSuggestionValue{
381
-
/** The user input. */
381
+
/** An input object that includes the input text. */
382
382
input?: MessageInput;
383
383
}
384
384
@@ -392,33 +392,39 @@ namespace AssistantV2 {
392
392
393
393
/** Contains information that can be shared by all skills within the Assistant. */
394
394
exportinterfaceMessageContextGlobal{
395
-
/** Properties interpreted by the Assistant that are shared across all skills within the Assistant. */
395
+
/** Properties that are shared by all skills used by the assistant. */
396
396
system?: MessageContextGlobalSystem;
397
397
}
398
398
399
399
/** Properties that are shared by all skills used by the assistant. */
400
400
exportinterfaceMessageContextGlobalSystem{
401
401
/** The user time zone. The assistant uses the time zone to correctly resolve relative time references. */
402
402
timezone?: string;
403
-
/** A string value that identifies the user who is interacting with the assistant. The client must provide a unique identifier for each individual end user who accesses the application. This user ID may be used for billing and other purposes. */
403
+
/** A string value that identifies the user who is interacting with the assistant. The client must provide a unique identifier for each individual end user who accesses the application. For Plus and Premium plans, this user ID is used to identify unique users for billing purposes. This string cannot contain carriage return, newline, or tab characters. */
404
404
user_id?: string;
405
405
/** A counter that is automatically incremented with each turn of the conversation. A value of 1 indicates that this is the the first turn of a new conversation, which can affect the behavior of some skills. */
406
406
turn_count?: number;
407
407
}
408
408
409
+
/** Contains information specific to a particular skill within the Assistant. */
410
+
exportinterfaceMessageContextSkill{
411
+
/** Arbitrary variables that can be read and written to by a particular skill within the Assistant. */
412
+
user_defined?: string;
413
+
}
414
+
409
415
/** Contains information specific to particular skills within the Assistant. */
/** An input object that includes the input text. */
416
422
exportinterfaceMessageInput{
417
423
/** The type of user input. Currently, only text input is supported. */
418
424
message_type?: string;
419
425
/** The text of the user input. This string cannot contain carriage return, newline, or tab characters, and it must be no longer than 2048 characters. */
420
426
text?: string;
421
-
/** Properties that control how the assistant responds. */
427
+
/** Optional properties that control how the assistant responds. */
422
428
options?: MessageInputOptions;
423
429
/** Intents to use when evaluating the user input. Include intents from the previous response to continue using those intents rather than trying to recognize intents in the new input. */
424
430
intents?: RuntimeIntent[];
@@ -432,7 +438,7 @@ namespace AssistantV2 {
432
438
exportinterfaceMessageInputOptions{
433
439
/** Whether to return additional diagnostic information. Set to `true` to return additional information under the `output.debug` key. */
434
440
debug?: boolean;
435
-
/** Whether to start a new conversation with this user input. Specify `true` to clear the state information stored by the session. */
441
+
/** Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. **Note:** This does not affect `turn_count` or any other context variables. */
436
442
restart?: boolean;
437
443
/** Whether to return more than one intent. Set to `true` to return all matching intents. */
438
444
alternate_intents?: boolean;
@@ -472,7 +478,7 @@ namespace AssistantV2 {
472
478
exportinterfaceMessageResponse{
473
479
/** Assistant output to be rendered or processed by the client. */
474
480
output: MessageOutput;
475
-
/** The current session context. Included in the response if the `return_context` property of the message input was set to `true`. */
0 commit comments