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
<h3>This app demonstrates the Watson Assistant service via a complete, complex interface which engages in simulated banking tasks.<br><br>It utilises features such as:<ul><li>Cloud Functions</li><li>Actions and UI Actions</li><li>Slots</li><li>Multi-Conditional Responses</li><li>Multi-Modal Responses</li></h3>
1
+
<h1align="center"style="border-bottom: none;">🚀 Watson Assistant Duo Demo</h1>
In this sample application, you're engaging with a banking virtual assistant. The assistant simulates a few scenarios, such as making a credit card payment, booking an appointment with a banker and choosing a credit card. Watson can understand your entries and respond accordingly.
6
+
7
+
This app demonstrates the Watson Assistant service via a complete, complex interface which engages in simulated banking tasks. It utilises features such as:
Please note this app uses the [Watson Assistant V2 API](https://console.bluemix.net/apidocs/assistant-v2#introduction).
10
18
11
19
## Prerequisites
12
20
13
-
1. Sign up for an [IBM Cloud account](https://console.bluemix.net/registration/).
14
-
1. Download the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cloud-cli-ibmcloud-cli#overview).
21
+
1. Sign up for an [IBM Cloud account](https://cloud.ibm.com/registration).
22
+
1. Download the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli/index.html#overview).
15
23
1. Create an instance of the Watson Assistant service and get your credentials:
16
-
- Go to the [Watson Assistant](https://console.bluemix.net/catalog/services/conversation) page in the IBM Cloud Catalog.
24
+
- Go to the [Watson Assistant][service_url] page in the IBM Cloud Catalog.
17
25
- Log in to your IBM Cloud account.
18
26
- Click **Create**.
19
27
- Click **Show** to view the service credentials.
20
-
- Copy the `apikey` value, or copy the `username` and `password` values if your service instance doesn't provide an `apikey`.
28
+
- Copy the `apikey` value.
21
29
- Copy the `url` value.
22
30
23
31
## Configuring the application
24
32
25
33
1. In your IBM Cloud console, open the Watson Assistant service instance
26
34
27
-
2. Click the **Import workspace** icon in the Watson Assistant service tool. Specify the location of the workspace JSON file in your local copy of the app project:
35
+
1. Click the **Import workspace** icon in the Watson Assistant service tool. Specify the location of the workspace JSON file in your local copy of the app project:
28
36
29
37
`<project_root>/training/banking_workspace.json`
30
38
31
-
3. Select **Everything (Intents, Entities, and Dialog)** and then click **Import**. The car dashboard workspace is created.
39
+
1. Select **Everything (Intents, Entities, and Dialog)** and then click **Import**. The car dashboard workspace is created.
32
40
33
-
4. Click the menu icon in the upper-right corner of the workspace tile, and then select **View details**.
41
+
1. Click the menu icon in the upper-right corner of the workspace tile, and then select **View details**.
34
42
35
-
5. Click the  icon to copy the workspace ID to the clipboard.
43
+
1. Click the  icon to copy the workspace ID to the clipboard.
36
44
37
45

38
46
39
-
6. In the application folder, copy the *.env.example* file and create a file called *.env*
47
+
1. In the application folder, copy the *.env.example* file and create a file called *.env*
40
48
41
49
```
42
50
cp .env.example .env
43
51
```
44
52
45
-
7. Open the *.env* file and add the service credentials that you obtained in the previous step. The Watson SDK automaticaly locates the correct enviromental variables for either `username`, `password`, and `url` or the `apikey` and `url` credentials found in the *.env* file.
53
+
1. Open the *.env* file and add the service credentials that you obtained in the previous step.
46
54
47
55
Example *.env* file that configures the `apikey` and `url` for a Watson Assistant service instance hosted in the US East region:
48
56
@@ -51,32 +59,7 @@ Please note this app uses the [Watson Assistant V2 API](https://console.bluemix.
- If your service instance uses `username` and `password` credentials, add the `ASSISTANT_USERNAME` and `ASSISTANT_PASSWORD` variables to the *.env* file.
55
-
56
-
Example *.env* file that configures the `username`, `password`, and `url` for a Watson Assistant service instance hosted in the US South region:
0 commit comments