diff --git a/config.yml b/config.yml index 63bd2ffe4..6a20d6d7a 100644 --- a/config.yml +++ b/config.yml @@ -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 diff --git a/data/nlu/nlu.yml b/data/nlu/nlu.yml index 5cd154249..f74f4523a 100644 --- a/data/nlu/nlu.yml +++ b/data/nlu/nlu.yml @@ -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) @@ -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 diff --git a/data/stories/get_started_intro.yml b/data/stories/get_started_intro.yml index bb62481a0..ef0265140 100644 --- a/data/stories/get_started_intro.yml +++ b/data/stories/get_started_intro.yml @@ -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 @@ -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 diff --git a/domain.yml b/domain.yml index cf6c88226..5b234f21f 100644 --- a/domain.yml +++ b/domain.yml @@ -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: @@ -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: |- @@ -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: @@ -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: @@ -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 diff --git a/tests/test_nlu.yml b/tests/test_nlu.yml index 0c47287e0..f5465532d 100644 --- a/tests/test_nlu.yml +++ b/tests/test_nlu.yml @@ -658,6 +658,10 @@ nlu: examples: | - Core - CORE + - dialogue management + - Dialogue Management + - DIALOGUE MANAGEMENT + - dialog management - synonym: date examples: | - dates