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
/** Parameters for the `createSession` operation. */
286
285
exportinterfaceCreateSessionParams{
287
-
/** Unique identifier of the assistant. You can find the assistant ID of an assistant on the **Assistants** tab of the Watson Assistant tool. For information about creating assistants, see the [documentation](https://console.bluemix.net/docs/services/assistant/create-assistant.html#creating-assistants). **Note:** Currently, the v2 API does not support creating assistants. */
286
+
/** Unique identifier of the assistant. You can find the assistant ID of an assistant on the **Assistants** tab of the Watson Assistant tool. For information about creating assistants, see the [documentation](https://console.bluemix.net/docs/services/assistant/assistant-add.html#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
288
287
assistant_id: string;
289
288
headers?: Object;
290
289
return_response?: boolean;
291
290
}
292
291
293
292
/** Parameters for the `deleteSession` operation. */
294
293
exportinterfaceDeleteSessionParams{
295
-
/** Unique identifier of the assistant. You can find the assistant ID of an assistant on the **Assistants** tab of the Watson Assistant tool. For information about creating assistants, see the [documentation](https://console.bluemix.net/docs/services/assistant/create-assistant.html#creating-assistants). **Note:** Currently, the v2 API does not support creating assistants. */
294
+
/** Unique identifier of the assistant. You can find the assistant ID of an assistant on the **Assistants** tab of the Watson Assistant tool. For information about creating assistants, see the [documentation](https://console.bluemix.net/docs/services/assistant/assistant-add.html#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
296
295
assistant_id: string;
297
296
/** Unique identifier of the session. */
298
297
session_id: string;
@@ -302,13 +301,13 @@ namespace AssistantV2 {
302
301
303
302
/** Parameters for the `message` operation. */
304
303
exportinterfaceMessageParams{
305
-
/** Unique identifier of the assistant. You can find the assistant ID of an assistant on the **Assistants** tab of the Watson Assistant tool. For information about creating assistants, see the [documentation](https://console.bluemix.net/docs/services/assistant/create-assistant.html#creating-assistants). **Note:** Currently, the v2 API does not support creating assistants. */
304
+
/** Unique identifier of the assistant. You can find the assistant ID of an assistant on the **Assistants** tab of the Watson Assistant tool. For information about creating assistants, see the [documentation](https://console.bluemix.net/docs/services/assistant/assistant-add.html#assistant-add-task). **Note:** Currently, the v2 API does not support creating assistants. */
306
305
assistant_id: string;
307
306
/** Unique identifier of the session. */
308
307
session_id: string;
309
-
/** The user input. */
308
+
/** An input object that includes the input text. */
310
309
input?: MessageInput;
311
-
/** State information for the conversation. */
310
+
/** State information for the conversation. The context is stored by the assistant on a per-session basis. You can use this property to set or modify context variables, which can also be accessed by dialog nodes. */
312
311
context?: MessageContext;
313
312
headers?: Object;
314
313
return_response?: boolean;
@@ -384,7 +383,7 @@ namespace AssistantV2 {
384
383
typing?: boolean;
385
384
/** The URL of the image. */
386
385
source?: string;
387
-
/** The title to show before the response. */
386
+
/** The title or introductory text to show before the response. */
388
387
title?: string;
389
388
/** The description to show with the the response. */
390
389
description?: string;
@@ -416,37 +415,31 @@ namespace AssistantV2 {
416
415
input?: MessageInput;
417
416
}
418
417
419
-
/** State information for the conversation. */
418
+
/** MessageContext. */
420
419
exportinterfaceMessageContext{
421
-
/** Contains information that can be shared by all skills within the Assistant. */
420
+
/** Information that is shared by all skills used by the Assistant. */
422
421
global?: MessageContextGlobal;
423
-
/** Contains information specific to particular skills within the Assistant. */
422
+
/** 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. */
424
423
skills?: MessageContextSkills;
425
424
}
426
425
427
-
/** Contains information that can be shared by all skills within the Assistant. */
426
+
/** Information that is shared by all skills used by the Assistant. */
428
427
exportinterfaceMessageContextGlobal{
429
-
/** Properties that are shared by all skills used by the assistant. */
428
+
/** Built-in system properties that apply to all skills used by the assistant. */
430
429
system?: MessageContextGlobalSystem;
431
430
}
432
431
433
-
/** Properties that are shared by all skills used by the assistant. */
432
+
/** Built-in system properties that apply to all skills used by the assistant. */
434
433
exportinterfaceMessageContextGlobalSystem{
435
434
/** The user time zone. The assistant uses the time zone to correctly resolve relative time references. */
436
435
timezone?: string;
437
436
/** 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. */
438
437
user_id?: string;
439
-
/** 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. */
438
+
/** 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 (for example, triggering the start node of a dialog). */
440
439
turn_count?: number;
441
440
}
442
441
443
-
/** Contains information specific to a particular skill within the Assistant. */
444
-
exportinterfaceMessageContextSkill{
445
-
/** Arbitrary variables that can be read and written to by a particular skill within the Assistant. */
446
-
user_defined?: string;
447
-
}
448
-
449
-
/** Contains information specific to particular skills within the Assistant. */
442
+
/** 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. */
/** Assistant output to be rendered or processed by the client. */
514
507
output: MessageOutput;
515
-
/** State information for the conversation. */
508
+
/** State information for the conversation. The context is stored by the assistant on a per-session basis. You can use this property to access context variables. **Note:** The context is included in message responses only if **return_context**=`true` in the message request. */
0 commit comments