8000 doc(assistantv2): description changes · leanstartpad/python-sdk@81895eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 81895eb

Browse files
committed
doc(assistantv2): description changes
1 parent 3f0ae54 commit 81895eb

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

ibm_watson/assistant_v2.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ def create_session(self, assistant_id, **kwargs):
8989
Create a session.
9090
9191
Create a new session. A session is used to send user input to a skill and receive
92-
responses. It also maintains the state of the conversation.
92+
responses. It also maintains the state of the conversation. A session persists
93+
until it is deleted, or until it times out because of inactivity. (For more
94+
information, see the
95+
[documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-settings).
9396
9497
:param str assistant_id: Unique identifier of the assistant. To find the
9598
assistant ID in the Watson Assistant user interface, open the assistant
@@ -127,7 +130,9 @@ def delete_session(self, assistant_id, session_id, **kwargs):
127130
"""
128131
Delete session.
129132
130-
Deletes a session explicitly before it times out.
133+
Deletes a session explicitly before it times out. (For more information about the
134+
session inactivity timeout, see the
135+
[documentation](https://cloud.ibm.com/docs/services/assistant?topic=assistant-assistant-settings)).
131136
132137
:param str assistant_id: Unique identifier of the assistant. To find the
133138
assistant ID in the Watson Assistant user interface, open the assistant
@@ -680,7 +685,8 @@ class DialogSuggestion():
680685
DialogSuggestion.
681686
682687
:attr str label: The user-facing label for the disambiguation option. This label
683-
is taken from the **user_label** property of the corresponding dialog node.
688+
is taken from the **title** or **user_label** property of the corresponding
689+
dialog node, depending on the disambiguation options.
684690
:attr DialogSuggestionValue value: An object defining the message input to be
685691
sent to the assistant if the user selects the corresponding disambiguation
686692
option.
@@ -693,8 +699,8 @@ def __init__(self, label, value, *, output=None):
693699
Initialize a DialogSuggestion object.
694700
695701
:param str label: The user-facing label for the disambiguation option. This
696-
label is taken from the **user_label** property of the corresponding dialog
697-
node.
702+
label is taken from the **title** or **user_label** property of the
703+
corresponding dialog node, depending on the disambiguation options.
698704
:param DialogSuggestionValue value: An object defining the message input to
699705
be sent to the assistant if the user selects the corresponding
700706
disambiguation option.

0 commit comments

Comments
 (0)
0