Skip to content

Commit c9dbbfa

Browse files
chore(assistants): small hand edits
1 parent 149bdd2 commit c9dbbfa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ibm_watson/assistant_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

ibm_watson/assistant_v2.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)