File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class AssistantV1(BaseService):
4848 """The Assistant V1 service."""
4949
5050 DEFAULT_SERVICE_URL = 'https://api.us-south.assistant.watson.cloud.ibm.com'
51- DEFAULT_SERVICE_NAME = 'conversation '
51+ DEFAULT_SERVICE_NAME = 'assistant '
5252
5353 def __init__(
5454 self,
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class AssistantV2(BaseService):
4848 """The Assistant V2 service."""
4949
5050 DEFAULT_SERVICE_URL = 'https://api.us-south.assistant.watson.cloud.ibm.com'
51- DEFAULT_SERVICE_NAME = 'conversation '
51+ DEFAULT_SERVICE_NAME = 'assistant '
5252
5353 def __init__ (
5454 self ,
@@ -84,7 +84,6 @@ def __init__(
8484 def create_session (self ,
8585 assistant_id : str ,
8686 * ,
87- create_session : 'CreateSession' = None ,
8887 ** kwargs ) -> DetailedResponse :
8988 """
9089 Create a session.
@@ -101,7 +100,6 @@ def create_session(self,
101100 assistants, see the
102101 [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-add#assistant-add-task).
103102 **Note:** Currently, the v2 API does not support creating assistants.
104- :param CreateSession create_session: (optional)
105103 :param dict headers: A `dict` containing the request headers
106104 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
107105 :rtype: DetailedResponse with `dict` result representing a `SessionResponse` object
You can’t perform that action at this time.
0 commit comments