Skip to content

Commit dbfc5ee

Browse files
author
Justina Petraityte
authored
updated readme.md
1 parent 3ced4da commit dbfc5ee

1 file changed

Lines changed: 19 additions & 12 deletions

File tree

  • Full Code [Latest release of Rasa NLU and Rasa Core]

Full Code [Latest release of Rasa NLU and Rasa Core]/README.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,33 @@ Training of the NLU model didn't change much from the way it was shown in the vi
1717

1818
The biggest change in how Rasa Core model works is that custom action 'action_weather' now needs to run on a separate server. That server has to be configured in a 'endpoints.yml' file. This is how to train and run the dialogue management model:
1919
1. Start the custom action server by running:
20-
``` python -m rasa_core_sdk.endpoint --actions actions '''
20+
21+
``` python -m rasa_core_sdk.endpoint --actions actions ```
22+
2123
2. Open a new terminal and train the Rasa Core model by running:
24+
2225
``` python dialogue_management_model.py```
23-
3. Talk to the chatbot once it's loaded.
26+
27+
3. Talk to the chatbot once it's loaded.
2428

2529
### Starting the online training session:
2630

2731
The process of running the online session is very similar to training the Rasa Core model:
28-
1. Make sure the custom actions server is running:
29-
``` python -m rasa_core_sdk.endpoint --actions actions '''
30-
2. Start the online training session by running:
31-
``` python train_online.py ```
32+
1. Make sure the custom actions server is running:
33+
34+
``` python -m rasa_core_sdk.endpoint --actions actions ```
35+
36+
2. Start the online training session by running:
37+
38+
``` python train_online.py ```
3239

3340
### Connecting a chatbot to Slack:
34-
1. Configure the slack app as shown in the video
35-
2. Make sure custom actions server is running
36-
3. Start the agent by running run_app.py file (don't forget to provide the slack_token)
37-
4. Start the ngrok on the port 5004
38-
5. Provide the url: https://your_ngrok_url/webhooks/slack/webhook to 'Event Subscriptions' page of the slack configuration.
39-
6. Talk to you bot.
41+
1. Configure the slack app as shown in the video
42+
2. Make sure custom actions server is running
43+
3. Start the agent by running run_app.py file (don't forget to provide the slack_token)
44+
4. Start the ngrok on the port 5004
45+
5. Provide the url: https://your_ngrok_url/webhooks/slack/webhook to 'Event Subscriptions' page of the slack configuration.
46+
6. Talk to you bot.
4047

4148
I will do my best to keep it up-to-date, but if you encounter any issues with using the code, please raise an issue or drop me a message :)
4249

0 commit comments

Comments
 (0)