Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
brandenchan committed Sep 30, 2021
1 parent 49876d6 commit 238b901
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/latest/guides/chatbots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Simply clone it and call the following in the root directory:
After [installing](https://rasa.com/docs/rasa/installation) Rasa and [initializing](https://rasa.com/docs/rasa/command-line-interface/#rasa-init) a new project,
there are a few steps that a developer needs to take in order to get Rasa to communicate with Haystack.

In `data/nlu.yaml`, you will want to define a new intent but providing example utterances of that intent:
In `data/nlu.yaml`, you will want to define a new intent by providing example utterances of that intent:
```
nlu:
- intent: knowledge_question
Expand Down Expand Up @@ -92,7 +92,7 @@ By default the Rasa custom action server API is blocked so you will need to unco
action_endpoint:
url: "http:https://localhost:5055/webhook"
```
Finally, we can define an action function that calls the Haystack API and handles the response in `acitons/actions.py`.
Finally, we can define an action function that calls the Haystack API and handles the response in `actions/actions.py`.
Here is an example of what that might look like:

``` python
Expand Down Expand Up @@ -148,4 +148,4 @@ Now you can start talking to the Haystack enabled chatbot!
Alternatively, you can use [Rasa X](https://rasa.com/docs/rasa-x/) which allows the chatbot to be run in a GUI.
While interacting with you chatbot in this interface, you will also see the intent being assigned to each message as well as the action being taken.

![image](/img/rasa_x_conversation.png)
![image](/img/rasa_x_conversation.png)

0 comments on commit 238b901

Please sign in to comment.