Skip to content

Commit

Permalink
stories for getting started in all three flows
Browse files Browse the repository at this point in the history
  • Loading branch information
indam23 committed Apr 15, 2021
1 parent 647497a commit baa7076
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 55 deletions.
12 changes: 6 additions & 6 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ pipeline:
- name: FallbackClassifier
threshold: 0.7
policies:
- name: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True
- max_history: 6
name: AugmentedMemoizationPolicy
- name: TEDPolicy
max_history: 10
epochs: 20
batch_size:
- 32
- 64
- max_history: 6
name: AugmentedMemoizationPolicy
- name: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True

12 changes: 8 additions & 4 deletions data/nlu/nlu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1197,9 +1197,12 @@ nlu:
- [my machine](install_type)
- [my laptop](install_type)
- [local machine](install_type)
- [core](product)
- [core](product) please
- [Core](product)
- [dialogue management](product)
- [Dialogue Management](product) please
- [DIALOGUE MANAGEMENT](product)
- [dialog management](product)
- [dialogue management](product) please
- [Dialogue management](product)
- Rasa [Core](product)
- Rasa [core](product)
- rasa [core](product)
Expand Down Expand Up @@ -2207,11 +2210,12 @@ nlu:
- synonym: all
examples: |
- both
- synonym: dialogue management
- synonym: core
examples: |
- CORE
- Core
- core
- dialogue management
- Dialogue management
- Dialogue Management
- DIALOGUE MANAGEMENT
Expand Down
83 changes: 45 additions & 38 deletions data/stories/get_started_intro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,69 +22,73 @@ stories:
- action: utter_faq
- action: action_set_faq_slot

- story: Getting started with Rasa Open Source installation
- story: Getting started with installation
steps:
- intent: get_started_intro
- action: utter_greet
- action: utter_ask_playground_install_info
- intent: install_rasa
- action: utter_ask_which_product
- intent: faq
entities:
- product: rasa
- slot_was_set:
- product: rasa
- action: utter_installation_command
- action: utter_having_trouble_installing
- action: utter_ask_ready_to_build

- story: Getting started with Rasa Open Source installation
steps:
- intent: get_started_intro
- action: utter_greet
- action: utter_ask_playground_install_info
- intent: install_rasa
- action: utter_ask_which_product
- intent: how_to_get_started
entities:
- product: rasa
- or:
- intent: faq
entities:
- product: rasa
- intent: enter_data
entities:
- product: rasa
- intent: how_to_get_started
entities:
- product: rasa
- slot_was_set:
- product: rasa
- action: utter_installation_command
- action: utter_having_trouble_installing
- action: utter_ask_ready_to_build

- story: Getting started with Rasa X local mode installation

- story: Getting started with Rasa X installation
steps:
- intent: get_started_intro
- action: utter_greet
- action: utter_ask_playground_install_info
- intent: install_rasa
- action: utter_ask_which_product
- intent: faq
entities:
- product: x
- or:
- intent: faq
entities:
- product: x
- intent: enter_data
entities:
- product: x
- intent: how_to_get_started
entities:
- product: x
- slot_was_set:
- product: rasa
- slot_was_set:
- product: x
- action: utter_ask_x_local_server
- intent: enter_data
entities:
- install_type: local
- slot_was_set:
- install_type: local
- action: utter_rasa_x_local_installation


- story: Getting started with Rasa X local mode installation
steps:
- intent: get_started_intro
- action: utter_greet
- action: utter_ask_playground_install_info
- intent: install_rasa
- action: utter_ask_which_product
- intent: how_to_get_started
entities:
- product: x
- or:
- intent: faq
entities:
- product: x
- intent: enter_data
entities:
- product: x
- intent: how_to_get_started
entities:
- product: x
- slot_was_set:
- product: x
- action: utter_ask_x_local_server
Expand All @@ -95,17 +99,20 @@ stories:
- install_type: local
- action: utter_rasa_x_local_installation


- story: Getting started with Rasa X server installation
steps:
- intent: get_started_intro
- action: utter_greet
- action: utter_ask_playground_install_info
- intent: install_rasa
- action: utter_ask_which_product
- intent: faq
entities:
- product: x
- or:
- intent: faq
entities:
- product: x
- intent: enter_data
entities:
- product: x
- intent: how_to_get_started
entities:
- product: x
- slot_was_set:
- product: x
- action: utter_ask_x_local_server
Expand Down
15 changes: 8 additions & 7 deletions domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ responses:
utter_already_subscribed:
- text: Looks like {email} is already subscribed - good choice! If you haven't received a newsletter in a while, maybe check your spam folder 🗑
utter_also_explain_core:
- text: Would you also like me to explain Core?
- text: Would you also like me to explain Dialogue Management?
utter_also_explain_nlu:
- text: Would you also like me to explain NLU?
utter_also_explain_nlucore:
- text: Would you also like me to explain NLU and Core?
- text: Would you also like me to explain NLU and Dialogue Management?
utter_anything_else:
- text: Is there anything else I can help you with?
utter_ask_budget:
Expand Down Expand Up @@ -216,11 +216,11 @@ responses:
utter_ask_playground_install_info:
- text: Which would you like to do first?
buttons:
- payload: /playground
- payload: /get_started_playground
title: Try out Rasa in the online Rasa Playground
- payload: /install_rasa
title: Install Rasa on your own computer
- payload: /trigger_response_selector{"retrieval_intent":"chitchat/ask_whatisrasa"}
- payload: /trigger_response_selector{{"retrieval_intent":"chitchat/ask_whatisrasa"}}
title: Find out more about Rasa
utter_playground_intro:
- text: |-
Expand Down Expand Up @@ -295,8 +295,8 @@ responses:
- text: Just for completeness.
utter_explain_core:
- text: |-
Core decides what happens next in this conversation. Its machine learning-based dialogue management predicts the next best action based on the input from NLU, the conversation history and your training data.
(Example: Core has a confidence of 87% that ask_primary_change is the next best action to confirm with the user if they want to change their primary contact information.)
Dialogue Management (previously known as "Core") decides what happens next in this conversation. Its machine learning-based dialogue management predicts the next best action based on the input from NLU, the conversation history and your training data.
(Example: Dialogue Management has a confidence of 87% that ask_primary_change is the next best action to confirm with the user if they want to change their primary contact information.)
utter_explain_job_function:
- text: Your job function helps us in understanding how we can talk to you best.
utter_explain_nlu:
Expand Down Expand Up @@ -325,7 +325,7 @@ responses:
utter_tutorialnlu:
- text: Rasa Masterclass episodes 2-4 focus on NLU. Check out episode 2 [here](https://www.youtube.com/watch?v=k5UeywXA28k).
utter_first_bot_with_rasa:
- text: Let's go. Are you new to Rasa?
- text: I can give you more specific info depending on where you're at in your Rasa journey. Are you new to Rasa?
utter_getstarted:
- text: To determine how I can help you best, I'm going to ask you a few questions.
utter_getstarted_new:
Expand Down Expand Up @@ -511,6 +511,7 @@ responses:
utter_why_rasa_compliant:
- text: If data security and compliance is a priority for you, Rasa has your back! You can deploy Rasa either in the cloud or on premise and maintain complete control over your assistant & its data.
actions:
- action_store_playground_problem_description
- action_trigger_response_selector
- action_default_ask_affirmation
- action_default_fallback
Expand Down
4 changes: 4 additions & 0 deletions tests/test_nlu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,10 @@ nlu:
examples: |
- Core
- CORE
- dialogue management
- Dialogue Management
- DIALOGUE MANAGEMENT
- dialog management
- synonym: date
examples: |
- dates
Expand Down

0 comments on commit baa7076

Please sign in to comment.