From abb3079c7a965a62cb6ed8386ae4225b4ccb7212 Mon Sep 17 00:00:00 2001 From: Alan Nichol Date: Wed, 27 Sep 2023 14:10:11 +0200 Subject: [PATCH 1/2] update tutorial project template with new flows fmt --- rasa/cli/project_templates/tutorial/data/flows.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/rasa/cli/project_templates/tutorial/data/flows.yml b/rasa/cli/project_templates/tutorial/data/flows.yml index 040a96b776f1..d849432a00e6 100644 --- a/rasa/cli/project_templates/tutorial/data/flows.yml +++ b/rasa/cli/project_templates/tutorial/data/flows.yml @@ -2,11 +2,6 @@ flows: transfer_money: description: This flow lets users send money to friends and family. steps: - - id: "ask_recipient" - collect: recipient - next: "ask_amount" - - id: "ask_amount" - collect: amount - next: "transfer_successful" - - id: "transfer_successful" - action: utter_transfer_complete + - collect: recipient + - collect: amount + - action: utter_transfer_complete From 2839f88e20e6607d966ee1ee856f0befb3a63121 Mon Sep 17 00:00:00 2001 From: Alan Nichol Date: Wed, 27 Sep 2023 14:10:34 +0200 Subject: [PATCH 2/2] tutorial template domain file - remove unneeded slot mappings --- rasa/cli/project_templates/tutorial/domain.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rasa/cli/project_templates/tutorial/domain.yml b/rasa/cli/project_templates/tutorial/domain.yml index dc2854563712..4c04450e3094 100644 --- a/rasa/cli/project_templates/tutorial/domain.yml +++ b/rasa/cli/project_templates/tutorial/domain.yml @@ -3,12 +3,8 @@ version: "3.1" slots: recipient: type: text - mappings: - - type: custom amount: type: float - mappings: - - type: custom responses: utter_ask_recipient: