Skip to content

Commit ca720af

Browse files
authored
Update readme by replacing conversation to assistant service
1 parent 6f4e7e7 commit ca720af

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ This version includes many breaking changes as a result of standardizing behavio
7070
To set client configs like timeout use the `with_http_config()` function and pass it a dictionary of configs.
7171

7272
```python
73-
from watson_developer_cloud import ConversationV1
73+
from watson_developer_cloud import AssistantV1
7474

75-
conversation = ConversationV1(
75+
assistant = AssistantV1(
7676
username='xxx',
7777
password='yyy',
7878
version='2017-04-21')
7979

80-
conversation.set_http_config({'timeout': 100})
81-
response = conversation.message(workspace_id=workspace_id, input={
80+
assistant.set_http_config({'timeout': 100})
81+
response = assistant.message(workspace_id=workspace_id, input={
8282
'text': 'What\'s the weather like?'})
8383
print(json.dumps(response, indent=2))
8484
```

0 commit comments

Comments
 (0)