rasa-pro 3.13.1a5__py3-none-any.whl → 3.13.1a6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rasa-pro might be problematic. Click here for more details.
- rasa/cli/project_templates/finance/actions/action_add_payee.py +47 -0
- rasa/cli/project_templates/finance/actions/action_ask_account.py +50 -0
- rasa/cli/project_templates/finance/actions/action_ask_account_from.py +50 -0
- rasa/cli/project_templates/finance/actions/action_ask_card.py +47 -0
- rasa/cli/project_templates/finance/actions/action_check_balance.py +40 -0
- rasa/cli/project_templates/finance/actions/action_check_card_existence.py +35 -0
- rasa/cli/project_templates/finance/actions/action_check_payee_existence.py +40 -0
- rasa/cli/project_templates/finance/actions/action_check_sufficient_funds.py +41 -0
- rasa/cli/project_templates/finance/actions/action_list_payees.py +45 -0
- rasa/cli/project_templates/finance/actions/action_process_immediate_payment.py +18 -0
- rasa/cli/project_templates/finance/actions/action_remove_payee.py +49 -0
- rasa/cli/project_templates/finance/actions/action_schedule_payment.py +19 -0
- rasa/cli/project_templates/finance/actions/action_session_start.py +69 -0
- rasa/cli/project_templates/finance/actions/action_update_card_status.py +45 -0
- rasa/cli/project_templates/finance/actions/action_validate_payment_date.py +36 -0
- rasa/cli/project_templates/finance/actions/database.py +233 -0
- rasa/cli/project_templates/finance/config.yml +16 -1
- rasa/cli/project_templates/finance/csvs/accounts.csv +8 -0
- rasa/cli/project_templates/finance/csvs/advisors.csv +7 -0
- rasa/cli/project_templates/finance/csvs/appointments.csv +211 -0
- rasa/cli/project_templates/finance/csvs/branches.csv +10 -0
- rasa/cli/project_templates/finance/csvs/cards.csv +11 -0
- rasa/cli/project_templates/finance/csvs/payees.csv +10 -0
- rasa/cli/project_templates/finance/csvs/transactions.csv +71 -0
- rasa/cli/project_templates/finance/csvs/users.csv +4 -0
- rasa/cli/project_templates/finance/data/flows/add_payee.yml +29 -0
- rasa/cli/project_templates/finance/data/flows/block_card.yml +66 -0
- rasa/cli/project_templates/finance/data/flows/check_balance.yml +9 -0
- rasa/cli/project_templates/finance/data/flows/list_payees.yml +5 -0
- rasa/cli/project_templates/finance/data/flows/remove_payee.yml +21 -0
- rasa/cli/project_templates/finance/data/flows/select_card.yml +12 -0
- rasa/cli/project_templates/finance/data/flows/transfer_money.yml +64 -2
- rasa/cli/project_templates/finance/data/flows/welcome.yml +14 -0
- rasa/cli/project_templates/finance/data/nlu.yml +29 -0
- rasa/cli/project_templates/finance/data/patterns/pattern_chitchat.yml +7 -0
- rasa/cli/project_templates/finance/data/patterns/pattern_completed.yml +6 -0
- rasa/cli/project_templates/finance/data/patterns/pattern_search.yml +5 -0
- rasa/cli/project_templates/finance/data/patterns/pattern_session_start.yml +5 -3
- rasa/cli/project_templates/finance/data/source/accounts.json +51 -0
- rasa/cli/project_templates/finance/data/source/advisors.json +44 -0
- rasa/cli/project_templates/finance/data/source/appointments.json +1474 -0
- rasa/cli/project_templates/finance/data/source/branches.json +47 -0
- rasa/cli/project_templates/finance/data/source/cards.json +72 -0
- rasa/cli/project_templates/finance/data/source/payees.json +74 -0
- rasa/cli/project_templates/finance/data/source/transactions.json +492 -0
- rasa/cli/project_templates/finance/data/source/users.json +29 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/consequences_of_blocking_card.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/reasons_to_block_card.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/recovering_from_card_fraud.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/tips_for_card_security.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/what_to_do_if_card_is_lost.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/account_balance_security.txt +7 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/common_balance_inquiries.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/methods_to_check_balance.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/understanding_balance_updates.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/what_to_do_if_balance_is_incorrect.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/benefits_of_authorised_payees.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/common_issues_with_payees.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/general_payee_information.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/payee_management_tips.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/understanding_payee_types.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/common_transfer_errors.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/fees_for_transfers.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/general_transfer_information.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/security_tips_for_transfers.txt +8 -0
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/transfer_processing_times.txt +8 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part1.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part10.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part11.txt +48 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part12.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part13.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part14.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part15.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part16.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part17.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part18.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part19.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part2.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part20.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part21.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part22.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part23.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part24.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part25.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part26.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part27.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part28.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part29.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part3.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part30.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part31.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part32.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part33.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part34.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part35.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part36.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part37.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part38.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part39.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part4.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part40.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part41.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part42.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part43.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part44.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part45.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part46.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part47.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part48.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part49.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part5.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part50.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part51.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part52.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part53.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part54.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part55.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part56.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part57.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part58.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part59.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part6.txt +47 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part60.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part61.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part7.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part8.txt +50 -0
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part9.txt +47 -0
- rasa/cli/project_templates/finance/domain/add_payee.yml +47 -0
- rasa/cli/project_templates/finance/domain/block_card.yml +101 -0
- rasa/cli/project_templates/finance/domain/check_balance.yml +9 -0
- rasa/cli/project_templates/finance/domain/default_actions.yml +16 -0
- rasa/cli/project_templates/finance/domain/default_flows.yml +33 -0
- rasa/cli/project_templates/finance/domain/list_payees.yml +4 -0
- rasa/cli/project_templates/finance/domain/remove_payee.yml +16 -0
- rasa/cli/project_templates/finance/domain/select_card.yml +12 -0
- rasa/cli/project_templates/finance/domain/transfer_money.yml +79 -0
- rasa/cli/project_templates/finance/endpoints.yml +6 -2
- rasa/cli/project_templates/finance/prompts/rephraser_demo_personality_prompt.jinja2 +19 -0
- rasa/cli/project_templates/finance/requirements.txt +1 -0
- rasa/cli/project_templates/telco/prompts/command-generator.jinja2 +57 -0
- rasa/cli/scaffold.py +1 -1
- rasa/version.py +1 -1
- {rasa_pro-3.13.1a5.dist-info → rasa_pro-3.13.1a6.dist-info}/METADATA +1 -1
- {rasa_pro-3.13.1a5.dist-info → rasa_pro-3.13.1a6.dist-info}/RECORD +183 -48
- rasa/cli/project_templates/finance/domain.yml +0 -7
- /rasa/cli/project_templates/{teleco → finance}/prompts/command-generator.jinja2 +0 -0
- /rasa/cli/project_templates/{teleco → telco}/actions/actions_billing.py +0 -0
- /rasa/cli/project_templates/{teleco → telco}/actions/actions_get_data_from_db.py +0 -0
- /rasa/cli/project_templates/{teleco → telco}/actions/actions_run_diagnostics.py +0 -0
- /rasa/cli/project_templates/{teleco → telco}/actions/actions_session_start.py +0 -0
- /rasa/cli/project_templates/{teleco → telco}/config.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/credentials.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/csvs/billing.csv +0 -0
- /rasa/cli/project_templates/{teleco → telco}/csvs/customers.csv +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/flows/flow_global.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/flows/flow_reboot_router.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/flows/flow_reset_router.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/flows/flow_solve_internet_issue.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/flows/flow_undertand_bill.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/patterns/pattern_completed.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/patterns/pattern_human_handoff.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/patterns/pattern_search.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/data/patterns/pattern_session_start.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/docs/reset_vs_rboot_router.txt +0 -0
- /rasa/cli/project_templates/{teleco → telco}/docs/restart_router.txt +0 -0
- /rasa/cli/project_templates/{teleco → telco}/docs/run_speed_test.txt +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_global.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_patterns.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_reboot_router.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_reset_router.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_run_speed_test.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_solve_internet_issue.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/domain/domain_undertand_bill.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/endpoints.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_results_failed.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_results_passed.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_test_cases/billing_test_cases.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_test_cases/global_test_cases.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_test_cases/internet_slow_test_case.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_test_cases/out_of_scope_test_case.yml +0 -0
- /rasa/cli/project_templates/{teleco → telco}/tests/e2e_test_cases/patterns_test_cases.yml +0 -0
- {rasa_pro-3.13.1a5.dist-info → rasa_pro-3.13.1a6.dist-info}/NOTICE +0 -0
- {rasa_pro-3.13.1a5.dist-info → rasa_pro-3.13.1a6.dist-info}/WHEEL +0 -0
- {rasa_pro-3.13.1a5.dist-info → rasa_pro-3.13.1a6.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
flows:
|
|
2
|
+
block_card:
|
|
3
|
+
description: "Block or freeze a user's debit or credit card to prevent unauthorized use, stop transactions, or report it lost, stolen, damaged, or misplaced for added security"
|
|
4
|
+
name: block a card
|
|
5
|
+
steps:
|
|
6
|
+
- action: utter_block_card_understand
|
|
7
|
+
- call: select_card
|
|
8
|
+
- collect: reason_for_blocking
|
|
9
|
+
description: |
|
|
10
|
+
The reason for freezing or blocking the card, described as lost, damaged, stolen, suspected of fraud,
|
|
11
|
+
malfunctioning, or expired. The user may say they are traveling or moving, or they may say they want to
|
|
12
|
+
temporarily freeze their card. For all other responses, set reason_for_blocking slot to 'unknown'.
|
|
13
|
+
next:
|
|
14
|
+
- if: "slots.reason_for_blocking == 'damaged' or slots.reason_for_blocking == 'expired'"
|
|
15
|
+
then: "acknowledge_reason_damaged_expired"
|
|
16
|
+
- if: "slots.reason_for_blocking == 'fraud' or slots.reason_for_blocking == 'stolen' or slots.reason_for_blocking == 'lost'"
|
|
17
|
+
then:
|
|
18
|
+
- set_slots:
|
|
19
|
+
- fraud_reported: true
|
|
20
|
+
next: "acknowledge_reason_fraud_stolen_lost"
|
|
21
|
+
- if: "slots.reason_for_blocking == 'traveling' or slots.reason_for_blocking == 'moving'"
|
|
22
|
+
then:
|
|
23
|
+
- set_slots:
|
|
24
|
+
- temp_block_card: true
|
|
25
|
+
next: "acknowledge_reason_travelling_moving"
|
|
26
|
+
- else: "contact_support"
|
|
27
|
+
- id: acknowledge_reason_damaged_expired
|
|
28
|
+
action: utter_acknowledge_reason_damaged_expired
|
|
29
|
+
next: "confirm_issue_new_card"
|
|
30
|
+
- id: acknowledge_reason_fraud_stolen_lost
|
|
31
|
+
action: utter_acknowledge_reason_fraud_stolen_lost
|
|
32
|
+
next: "card_blocked"
|
|
33
|
+
- id: acknowledge_reason_travelling_moving
|
|
34
|
+
action: utter_acknowledge_reason_travelling_moving
|
|
35
|
+
next: "card_blocked"
|
|
36
|
+
- id: "card_blocked"
|
|
37
|
+
action: "utter_card_blocked"
|
|
38
|
+
next: "confirm_issue_new_card"
|
|
39
|
+
- id: "confirm_issue_new_card"
|
|
40
|
+
collect: confirm_issue_new_card
|
|
41
|
+
description: |
|
|
42
|
+
Confirm if the user wants to be issued a new card. The answer should be an affirmative statement,
|
|
43
|
+
such as "yes" or "correct," or a declined statement, such as "no" or "I don't want to"
|
|
44
|
+
ask_before_filling: true
|
|
45
|
+
next:
|
|
46
|
+
- if: "slots.confirm_issue_new_card"
|
|
47
|
+
then: "retrieve_user_address"
|
|
48
|
+
- else: "update_card_status"
|
|
49
|
+
- id: "retrieve_user_address"
|
|
50
|
+
collect: address_confirmed
|
|
51
|
+
description: |
|
|
52
|
+
Confirm if the given address is correct. The answer should be an affirmative statement, such as "yes" or
|
|
53
|
+
"correct," or a declined statement, such as "no" or "that's not right."
|
|
54
|
+
next:
|
|
55
|
+
- if: "slots.address_confirmed"
|
|
56
|
+
then: "card_sent"
|
|
57
|
+
- else: "contact_support"
|
|
58
|
+
- id: "card_sent"
|
|
59
|
+
action: utter_confirm_physical_address
|
|
60
|
+
next: update_card_status
|
|
61
|
+
- id: "contact_support"
|
|
62
|
+
action: utter_contact_support
|
|
63
|
+
next: update_card_status
|
|
64
|
+
- id: "update_card_status"
|
|
65
|
+
action: action_update_card_status
|
|
66
|
+
next: END
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
flows:
|
|
2
|
+
check_balance:
|
|
3
|
+
description: |
|
|
4
|
+
Guides the user through retrieving their account balance by requesting an
|
|
5
|
+
account number and returning the balance on account
|
|
6
|
+
name: check an account balance
|
|
7
|
+
steps:
|
|
8
|
+
- collect: account
|
|
9
|
+
- action: action_check_balance
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
flows:
|
|
2
|
+
remove_payee:
|
|
3
|
+
if: False
|
|
4
|
+
description: |
|
|
5
|
+
Facilitates the process of removing an existing payee from a user's
|
|
6
|
+
account, ensuring the user is authenticated before proceeding. This flow
|
|
7
|
+
guides the user through specifying the payee to be removed, attempts the
|
|
8
|
+
removal action, and provides appropriate feedback on the success or
|
|
9
|
+
failure of the operation
|
|
10
|
+
name: delete an existing authorised payee
|
|
11
|
+
steps:
|
|
12
|
+
- collect: payee_name
|
|
13
|
+
- action: action_remove_payee
|
|
14
|
+
next:
|
|
15
|
+
- if: slots.payee_removed
|
|
16
|
+
then:
|
|
17
|
+
- action: utter_payee_removed_success
|
|
18
|
+
next: END
|
|
19
|
+
- else:
|
|
20
|
+
- action: utter_payee_removed_failure
|
|
21
|
+
next: END
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
flows:
|
|
2
|
+
select_card:
|
|
3
|
+
if: False
|
|
4
|
+
description: Guides the user through selecting a card
|
|
5
|
+
name: select a card number
|
|
6
|
+
steps:
|
|
7
|
+
- collect: card
|
|
8
|
+
description: "card number of the user"
|
|
9
|
+
ask_before_filling: true
|
|
10
|
+
rejections:
|
|
11
|
+
- if: not (slots.card matches "^[0-9]+$")
|
|
12
|
+
utter: utter_invalid_card_number
|
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
flows:
|
|
2
2
|
transfer_money:
|
|
3
|
-
description:
|
|
3
|
+
description: Guides the user through the process of initiating a bank transfer.
|
|
4
4
|
steps:
|
|
5
|
-
- action:
|
|
5
|
+
- action: utter_transfer_money_understand
|
|
6
|
+
- collect: account_from
|
|
7
|
+
- collect: payee_name
|
|
8
|
+
- action: action_check_payee_existence
|
|
9
|
+
next:
|
|
10
|
+
- if: not slots.payee_exists
|
|
11
|
+
then:
|
|
12
|
+
- call: add_payee
|
|
13
|
+
next: "get_transfer_amount"
|
|
14
|
+
- else: "get_transfer_amount"
|
|
15
|
+
- id: "get_transfer_amount"
|
|
16
|
+
collect: amount
|
|
17
|
+
description: The amount of money to transfer
|
|
18
|
+
rejections:
|
|
19
|
+
- if: slots.amount <= 0
|
|
20
|
+
utter: utter_invalid_amount
|
|
21
|
+
- action: action_check_sufficient_funds
|
|
22
|
+
next:
|
|
23
|
+
- if: slots.sufficient_funds
|
|
24
|
+
then: "get_payment_timing"
|
|
25
|
+
- else:
|
|
26
|
+
- action: utter_insufficient_funds
|
|
27
|
+
next: END
|
|
28
|
+
- id: "get_payment_timing"
|
|
29
|
+
collect: timing
|
|
30
|
+
next:
|
|
31
|
+
- if: slots.timing == "now"
|
|
32
|
+
then: "confirm_immediate_transfer"
|
|
33
|
+
- else: "get_payment_date"
|
|
34
|
+
- id: "confirm_immediate_transfer"
|
|
35
|
+
collect: confirm_immediate_payment
|
|
36
|
+
ask_before_filling: true
|
|
37
|
+
next:
|
|
38
|
+
- if: slots.confirm_immediate_payment
|
|
39
|
+
then:
|
|
40
|
+
- action: action_process_immediate_payment
|
|
41
|
+
- action: utter_transfer_successful
|
|
42
|
+
next: END
|
|
43
|
+
- else: "transfer_cancelled"
|
|
44
|
+
- id: "get_payment_date"
|
|
45
|
+
collect: payment_date
|
|
46
|
+
description: the future payment date of the money transfer. Convert date to DD/MM/YYYY format
|
|
47
|
+
- action: action_validate_payment_date
|
|
48
|
+
next:
|
|
49
|
+
- if: slots.future_payment_date
|
|
50
|
+
then: "confirm_future_payment"
|
|
51
|
+
- else:
|
|
52
|
+
- action: utter_past_payment_date
|
|
53
|
+
- set_slots:
|
|
54
|
+
- payment_date: null
|
|
55
|
+
next: "get_payment_date"
|
|
56
|
+
- id: "confirm_future_payment"
|
|
57
|
+
collect: confirm_future_payment
|
|
58
|
+
ask_before_filling: true
|
|
59
|
+
next:
|
|
60
|
+
- if: slots.confirm_future_payment
|
|
61
|
+
then:
|
|
62
|
+
- action: action_schedule_payment
|
|
63
|
+
- action: utter_payment_scheduled
|
|
64
|
+
next: END
|
|
65
|
+
- else: "transfer_cancelled"
|
|
66
|
+
- id: "transfer_cancelled"
|
|
67
|
+
action: utter_cancel_transfer
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
flows:
|
|
2
|
+
help:
|
|
3
|
+
# nlu_trigger:
|
|
4
|
+
# - intent:
|
|
5
|
+
# name: help
|
|
6
|
+
# confidence_threshold: 0.9999
|
|
7
|
+
description: |
|
|
8
|
+
This flow addresses user inquiries about the assistant's capabilities.
|
|
9
|
+
It starts by acknowledging the user's request and providing a clear overview of
|
|
10
|
+
key skills and services. This helps users understand how the assistant can assist
|
|
11
|
+
them effectively.
|
|
12
|
+
name: help you
|
|
13
|
+
steps:
|
|
14
|
+
- action: utter_help
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
version: "3.1"
|
|
2
|
+
|
|
3
|
+
nlu:
|
|
4
|
+
- intent: greet
|
|
5
|
+
examples: |
|
|
6
|
+
- Hello!
|
|
7
|
+
- Hi there
|
|
8
|
+
- Good morning
|
|
9
|
+
- Good afternoon
|
|
10
|
+
- Good evening
|
|
11
|
+
- Hey!
|
|
12
|
+
- Hi
|
|
13
|
+
- Greetings
|
|
14
|
+
- How are you?
|
|
15
|
+
- What's up?
|
|
16
|
+
|
|
17
|
+
- intent: help
|
|
18
|
+
examples: |
|
|
19
|
+
- Who are you?
|
|
20
|
+
- What can you do?
|
|
21
|
+
- How can you assist me?
|
|
22
|
+
- Please list your skills.
|
|
23
|
+
- What services do you provide?
|
|
24
|
+
- Can you explain your capabilities?
|
|
25
|
+
- What do you specialise in?
|
|
26
|
+
- What kind of support can you offer?
|
|
27
|
+
- Can you tell me about your expertise?
|
|
28
|
+
- How do you help users?
|
|
29
|
+
- What tasks are you capable of doing?
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
flows:
|
|
2
2
|
pattern_session_start:
|
|
3
|
-
description:
|
|
3
|
+
description: Flow for starting the conversation
|
|
4
|
+
name: pattern session start
|
|
4
5
|
nlu_trigger:
|
|
5
|
-
|
|
6
|
+
- intent: session_start
|
|
6
7
|
steps:
|
|
7
|
-
- action:
|
|
8
|
+
- action: utter_greeting
|
|
9
|
+
- action: utter_show_greeting_accordion
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"user_id": 1,
|
|
4
|
+
"balance": 10123.45,
|
|
5
|
+
"type": "savings",
|
|
6
|
+
"number": "12345678",
|
|
7
|
+
"sort_code": "123456"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"user_id": 1,
|
|
11
|
+
"balance": 4923.67,
|
|
12
|
+
"type": "current",
|
|
13
|
+
"number": "23456789",
|
|
14
|
+
"sort_code": "123456"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"user_id": 2,
|
|
18
|
+
"balance": 14789.32,
|
|
19
|
+
"type": "current",
|
|
20
|
+
"number": "34567890",
|
|
21
|
+
"sort_code": "234567"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"user_id": 2,
|
|
25
|
+
"balance": 7134.56,
|
|
26
|
+
"type": "savings",
|
|
27
|
+
"number": "45678901",
|
|
28
|
+
"sort_code": "234567"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"user_id": 2,
|
|
32
|
+
"balance": 2987.23,
|
|
33
|
+
"type": "business",
|
|
34
|
+
"number": "56789012",
|
|
35
|
+
"sort_code": "234567"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"user_id": 3,
|
|
39
|
+
"balance": 20245.67,
|
|
40
|
+
"type": "savings",
|
|
41
|
+
"number": "67890123",
|
|
42
|
+
"sort_code": "345678"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"user_id": 3,
|
|
46
|
+
"balance": 8034.12,
|
|
47
|
+
"type": "current",
|
|
48
|
+
"number": "78901234",
|
|
49
|
+
"sort_code": "345678"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"branch_id": 1,
|
|
4
|
+
"name": "Eto Demerzel",
|
|
5
|
+
"email": "eto.demerzel@trantorbranch.com",
|
|
6
|
+
"phone": "02079460001",
|
|
7
|
+
"position": "Business Loan Advisor"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"branch_id": 1,
|
|
11
|
+
"name": "Bayta Darell",
|
|
12
|
+
"email": "bayta.darell@trantorbranch.com",
|
|
13
|
+
"phone": "02079460003",
|
|
14
|
+
"position": "Wealth Management Advisor"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"branch_id": 2,
|
|
18
|
+
"name": "Daneel Olivaw",
|
|
19
|
+
"email": "daneel.olivaw@terminusbranch.com",
|
|
20
|
+
"phone": "02079460004",
|
|
21
|
+
"position": "Retirement Planning Advisor"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"branch_id": 3,
|
|
25
|
+
"name": "Hober Mallow",
|
|
26
|
+
"email": "hober.mallow@asimovbranch.com",
|
|
27
|
+
"phone": "02079460007",
|
|
28
|
+
"position": "Personal Finance Advisor"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"branch_id": 3,
|
|
32
|
+
"name": "Bel Riose",
|
|
33
|
+
"email": "bel.riose@asimovbranch.com",
|
|
34
|
+
"phone": "02079460008",
|
|
35
|
+
"position": "Investment Advisor"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"branch_id": 3,
|
|
39
|
+
"name": "Pritcher",
|
|
40
|
+
"email": "pritcher@asimovbranch.com",
|
|
41
|
+
"phone": "02079460009",
|
|
42
|
+
"position": "Investment Advisor"
|
|
43
|
+
}
|
|
44
|
+
]
|