From 238b9017d7754e2d253cca984c40e08fa9a67040 Mon Sep 17 00:00:00 2001 From: Branden Chan <33759007+brandenchan@users.noreply.github.com> Date: Thu, 30 Sep 2021 17:50:32 +0200 Subject: [PATCH] Fix typos --- docs/latest/guides/chatbots.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/latest/guides/chatbots.mdx b/docs/latest/guides/chatbots.mdx index 84b6e0704..7d3148171 100644 --- a/docs/latest/guides/chatbots.mdx +++ b/docs/latest/guides/chatbots.mdx @@ -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 @@ -92,7 +92,7 @@ By default the Rasa custom action server API is blocked so you will need to unco action_endpoint: url: "http://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 @@ -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) \ No newline at end of file +![image](/img/rasa_x_conversation.png)