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
If you encounter an issue with the Node.js library, you are welcome to submit a [bug report](https://github.com/watson-developer-cloud/assistant-demo/issues). Before that, please search for similar issues. It's possible somebody has already encountered this issue.
Copy file name to clipboardExpand all lines: README.md
+44-47Lines changed: 44 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,13 @@
4
4
5
5
### 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
6
7
-
8
7
This app demonstrates the Watson Assistant service via a complete, complex interface which engages in simulated banking tasks. It utilises features such as:
@@ -21,91 +19,90 @@ This app demonstrates the Watson Assistant service via a complete, complex inter
21
19
1. Sign up for an [IBM Cloud account](https://cloud.ibm.com/registration).
22
20
1. Download the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli/index.html#overview).
23
21
1. Create an instance of the Watson Assistant service and get your credentials:
24
-
- Go to the [Watson Assistant][service_url] page in the IBM Cloud Catalog.
25
-
- Log in to your IBM Cloud account.
26
-
- Click **Create**.
27
-
- Click **Show** to view the service credentials.
28
-
- Copy the `apikey` value.
29
-
- Copy the `url` value.
22
+
- Go to the [Watson Assistant][service_url] page in the IBM Cloud Catalog.
23
+
- Log in to your IBM Cloud account.
24
+
- Click **Create**.
25
+
- Click **Show** to view the service credentials.
26
+
- Copy the `apikey` value.
27
+
- Copy the `url` value.
30
28
31
29
## Configuring the application
32
30
33
31
1. In your IBM Cloud console, open the Watson Assistant service instance
34
32
35
33
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:
36
34
37
-
`<project_root>/training/banking_workspace.json`
35
+
`<project_root>/training/banking_workspace.json`
38
36
39
37
1. Select **Everything (Intents, Entities, and Dialog)** and then click **Import**. The car dashboard workspace is created.
40
38
41
39
1. Click the menu icon in the upper-right corner of the workspace tile, and then select **View details**.
42
40
43
41
1. Click the  icon to copy the workspace ID to the clipboard.
44
42
45
-

43
+

46
44
47
-
1. In the application folder, copy the *.env.example* file and create a file called *.env*
45
+
1. In the application folder, copy the _.env.example_ file and create a file called _.env_
48
46
49
-
```
50
-
cp .env.example .env
51
-
```
47
+
```
48
+
cp .env.example .env
49
+
```
52
50
53
-
1. Open the *.env* file and add the service credentials that you obtained in the previous step.
51
+
1. Open the _.env_ file and add the service credentials that you obtained in the previous step.
54
52
55
-
Example *.env* file that configures the `apikey` and `url` for a Watson Assistant service instance hosted in the US East region:
53
+
Example _.env_ file that configures the `apikey` and `url` for a Watson Assistant service instance hosted in the US East region:
0 commit comments