From 981e6e38ce25c4ad3c48134f321e9b4ffb4f9873 Mon Sep 17 00:00:00 2001 From: Alan Nichol Date: Fri, 22 Sep 2023 11:38:55 +0200 Subject: [PATCH 1/2] rename custom action in tutorial project --- rasa/cli/project_templates/tutorial/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rasa/cli/project_templates/tutorial/actions.py b/rasa/cli/project_templates/tutorial/actions.py index f023605fe014..312c3a47c5d5 100644 --- a/rasa/cli/project_templates/tutorial/actions.py +++ b/rasa/cli/project_templates/tutorial/actions.py @@ -4,9 +4,9 @@ from rasa_sdk.events import SlotSet -class ActionSufficientFunds(Action): +class ActionCheckSufficientFunds(Action): def name(self) -> Text: - return "action_sufficient_funds" + return "action_check_sufficient_funds" def run( self, From cd31c17fe29b8089a418f33ae377631a5867912a Mon Sep 17 00:00:00 2001 From: Alan Nichol Date: Fri, 22 Sep 2023 11:59:30 +0200 Subject: [PATCH 2/2] rm hardcoded dollar sign --- rasa/cli/project_templates/tutorial/domain.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasa/cli/project_templates/tutorial/domain.yml b/rasa/cli/project_templates/tutorial/domain.yml index e06882f8f3d1..dc2854563712 100644 --- a/rasa/cli/project_templates/tutorial/domain.yml +++ b/rasa/cli/project_templates/tutorial/domain.yml @@ -18,4 +18,4 @@ responses: - text: "How much money would you like to send?" utter_transfer_complete: - - text: "All done. ${amount} has been sent to {recipient}." + - text: "All done. {amount} has been sent to {recipient}."