rasa-pro 3.13.1a17__py3-none-any.whl → 3.13.2__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/scaffold.py +3 -22
- rasa/core/actions/action.py +3 -5
- rasa/core/actions/direct_custom_actions_executor.py +8 -15
- rasa/core/channels/studio_chat.py +10 -34
- rasa/core/channels/voice_stream/asr/asr_engine.py +5 -1
- rasa/core/channels/voice_stream/asr/deepgram.py +5 -0
- rasa/core/channels/voice_stream/audiocodes.py +9 -4
- rasa/core/channels/voice_stream/jambonz.py +1 -1
- rasa/core/channels/voice_stream/voice_channel.py +7 -0
- rasa/core/policies/enterprise_search_policy.py +9 -8
- rasa/core/policies/flows/flow_executor.py +1 -8
- rasa/dialogue_understanding/commands/correct_slots_command.py +0 -10
- rasa/dialogue_understanding/generator/command_generator.py +5 -5
- rasa/dialogue_understanding/generator/flow_retrieval.py +9 -10
- rasa/dialogue_understanding/processor/command_processor.py +6 -1
- rasa/model_manager/model_api.py +3 -2
- rasa/model_manager/runner_service.py +1 -1
- rasa/model_manager/trainer_service.py +9 -12
- rasa/model_manager/utils.py +29 -1
- rasa/shared/core/domain.py +15 -62
- rasa/shared/core/flows/flow_step.py +1 -7
- rasa/shared/core/flows/yaml_flows_io.py +8 -16
- rasa/shared/core/slots.py +0 -4
- rasa/shared/importers/importer.py +0 -6
- rasa/shared/importers/utils.py +1 -77
- rasa/studio/upload.py +45 -10
- rasa/telemetry.py +1 -2
- rasa/utils/io.py +9 -27
- rasa/utils/json_utils.py +1 -6
- rasa/utils/log_utils.py +1 -5
- rasa/utils/plotting.py +1 -1
- rasa/validator.py +3 -7
- rasa/version.py +1 -1
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.2.dist-info}/METADATA +8 -9
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.2.dist-info}/RECORD +38 -260
- rasa/builder/README.md +0 -120
- rasa/builder/__init__.py +0 -0
- rasa/builder/config.py +0 -79
- rasa/builder/create_openai_vector_store.py +0 -228
- rasa/builder/exceptions.py +0 -55
- rasa/builder/inkeep-rag-response-schema.json +0 -64
- rasa/builder/inkeep_document_retrieval.py +0 -212
- rasa/builder/llm-helper-schema.json +0 -69
- rasa/builder/llm_context.py +0 -81
- rasa/builder/llm_helper_prompt.jinja2 +0 -245
- rasa/builder/llm_service.py +0 -317
- rasa/builder/logging_utils.py +0 -51
- rasa/builder/main.py +0 -147
- rasa/builder/models.py +0 -225
- rasa/builder/project_generator.py +0 -282
- rasa/builder/scrape_rasa_docs.py +0 -97
- rasa/builder/service.py +0 -742
- rasa/builder/skill_to_bot_prompt.jinja2 +0 -164
- rasa/builder/training_service.py +0 -132
- rasa/builder/validation_service.py +0 -93
- rasa/cli/project_templates/finance/actions/__init__.py +0 -0
- rasa/cli/project_templates/finance/actions/action_add_payee.py +0 -47
- rasa/cli/project_templates/finance/actions/action_ask_account.py +0 -50
- rasa/cli/project_templates/finance/actions/action_ask_account_from.py +0 -50
- rasa/cli/project_templates/finance/actions/action_ask_card.py +0 -47
- rasa/cli/project_templates/finance/actions/action_check_balance.py +0 -40
- rasa/cli/project_templates/finance/actions/action_check_card_existence.py +0 -35
- rasa/cli/project_templates/finance/actions/action_check_payee_existence.py +0 -40
- rasa/cli/project_templates/finance/actions/action_check_sufficient_funds.py +0 -41
- rasa/cli/project_templates/finance/actions/action_list_payees.py +0 -45
- rasa/cli/project_templates/finance/actions/action_process_immediate_payment.py +0 -18
- rasa/cli/project_templates/finance/actions/action_remove_payee.py +0 -49
- rasa/cli/project_templates/finance/actions/action_schedule_payment.py +0 -19
- rasa/cli/project_templates/finance/actions/action_session_start.py +0 -69
- rasa/cli/project_templates/finance/actions/action_update_card_status.py +0 -45
- rasa/cli/project_templates/finance/actions/action_validate_payment_date.py +0 -36
- rasa/cli/project_templates/finance/actions/database.py +0 -276
- rasa/cli/project_templates/finance/config.yml +0 -32
- rasa/cli/project_templates/finance/credentials.yml +0 -33
- rasa/cli/project_templates/finance/csvs/accounts.csv +0 -8
- rasa/cli/project_templates/finance/csvs/advisors.csv +0 -7
- rasa/cli/project_templates/finance/csvs/appointments.csv +0 -211
- rasa/cli/project_templates/finance/csvs/branches.csv +0 -10
- rasa/cli/project_templates/finance/csvs/cards.csv +0 -11
- rasa/cli/project_templates/finance/csvs/payees.csv +0 -10
- rasa/cli/project_templates/finance/csvs/transactions.csv +0 -71
- rasa/cli/project_templates/finance/csvs/users.csv +0 -4
- rasa/cli/project_templates/finance/data/flows/add_payee.yml +0 -29
- rasa/cli/project_templates/finance/data/flows/block_card.yml +0 -66
- rasa/cli/project_templates/finance/data/flows/check_balance.yml +0 -9
- rasa/cli/project_templates/finance/data/flows/list_payees.yml +0 -5
- rasa/cli/project_templates/finance/data/flows/remove_payee.yml +0 -21
- rasa/cli/project_templates/finance/data/flows/select_card.yml +0 -12
- rasa/cli/project_templates/finance/data/flows/transfer_money.yml +0 -67
- rasa/cli/project_templates/finance/data/flows/welcome.yml +0 -14
- rasa/cli/project_templates/finance/data/nlu.yml +0 -29
- rasa/cli/project_templates/finance/data/patterns/pattern_chitchat.yml +0 -7
- rasa/cli/project_templates/finance/data/patterns/pattern_completed.yml +0 -6
- rasa/cli/project_templates/finance/data/patterns/pattern_search.yml +0 -5
- rasa/cli/project_templates/finance/data/patterns/pattern_session_start.yml +0 -9
- rasa/cli/project_templates/finance/data/source/accounts.json +0 -51
- rasa/cli/project_templates/finance/data/source/advisors.json +0 -44
- rasa/cli/project_templates/finance/data/source/appointments.json +0 -1474
- rasa/cli/project_templates/finance/data/source/branches.json +0 -47
- rasa/cli/project_templates/finance/data/source/cards.json +0 -72
- rasa/cli/project_templates/finance/data/source/payees.json +0 -74
- rasa/cli/project_templates/finance/data/source/transactions.json +0 -492
- rasa/cli/project_templates/finance/data/source/users.json +0 -29
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/consequences_of_blocking_card.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/reasons_to_block_card.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/recovering_from_card_fraud.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/tips_for_card_security.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/block_card/what_to_do_if_card_is_lost.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/account_balance_security.txt +0 -7
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/common_balance_inquiries.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/methods_to_check_balance.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/understanding_balance_updates.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/check_balance/what_to_do_if_balance_is_incorrect.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/benefits_of_authorised_payees.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/common_issues_with_payees.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/general_payee_information.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/payee_management_tips.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/manage_payees/understanding_payee_types.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/common_transfer_errors.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/fees_for_transfers.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/general_transfer_information.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/security_tips_for_transfers.txt +0 -8
- rasa/cli/project_templates/finance/docs/bank_of_rasa_faq/transfer_money/transfer_processing_times.txt +0 -8
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part1.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part10.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part11.txt +0 -48
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part12.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part13.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part14.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part15.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part16.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part17.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part18.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part19.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part2.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part20.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part21.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part22.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part23.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part24.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part25.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part26.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part27.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part28.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part29.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part3.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part30.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part31.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part32.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part33.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part34.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part35.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part36.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part37.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part38.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part39.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part4.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part40.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part41.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part42.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part43.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part44.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part45.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part46.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part47.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part48.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part49.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part5.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part50.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part51.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part52.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part53.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part54.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part55.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part56.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part57.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part58.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part59.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part6.txt +0 -47
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part60.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part61.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part7.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part8.txt +0 -50
- rasa/cli/project_templates/finance/docs/huggingface_alpaca_dataset/questions_part9.txt +0 -47
- rasa/cli/project_templates/finance/domain/add_payee.yml +0 -47
- rasa/cli/project_templates/finance/domain/block_card.yml +0 -101
- rasa/cli/project_templates/finance/domain/check_balance.yml +0 -9
- rasa/cli/project_templates/finance/domain/default_actions.yml +0 -16
- rasa/cli/project_templates/finance/domain/default_flows.yml +0 -33
- rasa/cli/project_templates/finance/domain/list_payees.yml +0 -4
- rasa/cli/project_templates/finance/domain/remove_payee.yml +0 -16
- rasa/cli/project_templates/finance/domain/select_card.yml +0 -12
- rasa/cli/project_templates/finance/domain/transfer_money.yml +0 -79
- rasa/cli/project_templates/finance/endpoints.yml +0 -62
- rasa/cli/project_templates/finance/prompts/command-generator.jinja2 +0 -57
- rasa/cli/project_templates/finance/prompts/rephraser_demo_personality_prompt.jinja2 +0 -19
- rasa/cli/project_templates/finance/tests/conversation_repair/cancellations.yml +0 -12
- rasa/cli/project_templates/finance/tests/conversation_repair/cannot_handle.yml +0 -7
- rasa/cli/project_templates/finance/tests/conversation_repair/chitchat.yml +0 -7
- rasa/cli/project_templates/finance/tests/conversation_repair/clarification.yml +0 -9
- rasa/cli/project_templates/finance/tests/conversation_repair/completion.yml +0 -18
- rasa/cli/project_templates/finance/tests/conversation_repair/corrections.yml +0 -17
- rasa/cli/project_templates/finance/tests/conversation_repair/digressions.yml +0 -32
- rasa/cli/project_templates/finance/tests/conversation_repair/human_handoff.yml +0 -21
- rasa/cli/project_templates/finance/tests/conversation_repair/skipping_collect_steps.yml +0 -16
- rasa/cli/project_templates/finance/tests/demo_scripts/main.yml +0 -16
- rasa/cli/project_templates/finance/tests/happy_paths/balance_verification.yml +0 -15
- rasa/cli/project_templates/finance/tests/happy_paths/banking_questions.yml +0 -12
- rasa/cli/project_templates/finance/tests/happy_paths/card_blocking.yml +0 -52
- rasa/cli/project_templates/finance/tests/happy_paths/money_transfer.yml +0 -136
- rasa/cli/project_templates/finance/tests/happy_paths/payee_management.yml +0 -27
- rasa/cli/project_templates/finance/tests/happy_paths/user_greeted.yml +0 -5
- rasa/cli/project_templates/plain/actions/__init__.py +0 -0
- rasa/cli/project_templates/plain/config.yml +0 -17
- rasa/cli/project_templates/plain/credentials.yml +0 -33
- rasa/cli/project_templates/plain/data/patterns/pattern_session_start.yml +0 -7
- rasa/cli/project_templates/plain/domain.yml +0 -5
- rasa/cli/project_templates/plain/endpoints.yml +0 -58
- rasa/cli/project_templates/telco/actions/__init__.py +0 -0
- rasa/cli/project_templates/telco/actions/actions_billing.py +0 -197
- rasa/cli/project_templates/telco/actions/actions_get_data_from_db.py +0 -43
- rasa/cli/project_templates/telco/actions/actions_run_diagnostics.py +0 -23
- rasa/cli/project_templates/telco/actions/actions_session_start.py +0 -13
- rasa/cli/project_templates/telco/config.yml +0 -25
- rasa/cli/project_templates/telco/credentials.yml +0 -33
- rasa/cli/project_templates/telco/csvs/billing.csv +0 -10
- rasa/cli/project_templates/telco/csvs/customers.csv +0 -5
- rasa/cli/project_templates/telco/data/flows/flow_global.yml +0 -5
- rasa/cli/project_templates/telco/data/flows/flow_reboot_router.yml +0 -8
- rasa/cli/project_templates/telco/data/flows/flow_reset_router.yml +0 -7
- rasa/cli/project_templates/telco/data/flows/flow_solve_internet_issue.yml +0 -73
- rasa/cli/project_templates/telco/data/flows/flow_undertand_bill.yml +0 -45
- rasa/cli/project_templates/telco/data/patterns/pattern_completed.yml +0 -7
- rasa/cli/project_templates/telco/data/patterns/pattern_human_handoff.yml +0 -6
- rasa/cli/project_templates/telco/data/patterns/pattern_search.yml +0 -7
- rasa/cli/project_templates/telco/data/patterns/pattern_session_start.yml +0 -9
- rasa/cli/project_templates/telco/docs/reset_vs_rboot_router.txt +0 -1
- rasa/cli/project_templates/telco/docs/restart_router.txt +0 -6
- rasa/cli/project_templates/telco/docs/run_speed_test.txt +0 -6
- rasa/cli/project_templates/telco/domain/domain_global.yml +0 -29
- rasa/cli/project_templates/telco/domain/domain_patterns.yml +0 -17
- rasa/cli/project_templates/telco/domain/domain_reboot_router.yml +0 -20
- rasa/cli/project_templates/telco/domain/domain_reset_router.yml +0 -11
- rasa/cli/project_templates/telco/domain/domain_run_speed_test.yml +0 -24
- rasa/cli/project_templates/telco/domain/domain_solve_internet_issue.yml +0 -74
- rasa/cli/project_templates/telco/domain/domain_undertand_bill.yml +0 -102
- rasa/cli/project_templates/telco/endpoints.yml +0 -60
- rasa/cli/project_templates/telco/prompts/command-generator.jinja2 +0 -57
- rasa/cli/project_templates/telco/tests/e2e_results_failed.yml +0 -62
- rasa/cli/project_templates/telco/tests/e2e_results_passed.yml +0 -130
- rasa/cli/project_templates/telco/tests/e2e_test_cases/billing_test_cases.yml +0 -68
- rasa/cli/project_templates/telco/tests/e2e_test_cases/global_test_cases.yml +0 -13
- rasa/cli/project_templates/telco/tests/e2e_test_cases/internet_slow_test_case.yml +0 -47
- rasa/cli/project_templates/telco/tests/e2e_test_cases/out_of_scope_test_case.yml +0 -21
- rasa/cli/project_templates/telco/tests/e2e_test_cases/patterns_test_cases.yml +0 -15
- rasa/shared/importers/static.py +0 -63
- rasa/utils/openapi.py +0 -144
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.2.dist-info}/NOTICE +0 -0
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.2.dist-info}/WHEEL +0 -0
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.2.dist-info}/entry_points.txt +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
slots:
|
|
2
|
-
network_speed:
|
|
3
|
-
type: float
|
|
4
|
-
mappings:
|
|
5
|
-
- type: controlled
|
|
6
|
-
more_help_needed:
|
|
7
|
-
type: bool
|
|
8
|
-
mappings:
|
|
9
|
-
- type: from_llm
|
|
10
|
-
|
|
11
|
-
responses:
|
|
12
|
-
|
|
13
|
-
utter_acknowledge_issue:
|
|
14
|
-
- text: |
|
|
15
|
-
I see.
|
|
16
|
-
Let me try to identify the root cause of the issue you are facing.
|
|
17
|
-
utter_communicate_run_diagnosticss:
|
|
18
|
-
- text: |
|
|
19
|
-
I will run a network diagnostics for you 🛜
|
|
20
|
-
Wait a moment please...
|
|
21
|
-
image: "https://static.vecteezy.com/system/resources/previews/002/785/641/non_2x/speed-test-internet-measure-icon-illustration-free-vector.jpg"
|
|
22
|
-
utter_acknowledge_speed_test_not_good:
|
|
23
|
-
- text: |
|
|
24
|
-
Your network download speed is {network_speed} Mbps.
|
|
25
|
-
That's definitely not good.
|
|
26
|
-
|
|
27
|
-
utter_propose_reboot_router_solution:
|
|
28
|
-
- text: |
|
|
29
|
-
Let's reboot your router.
|
|
30
|
-
It helps resolving most issues with speed.
|
|
31
|
-
utter_speed_issue_resolved:
|
|
32
|
-
- text: |
|
|
33
|
-
{network_speed} Mbps, Awesome! 🚀
|
|
34
|
-
If the Internet gets slow again, you can always reset the router.
|
|
35
|
-
If that doesn't help, let me know, and we can try something else. 😊
|
|
36
|
-
utter_speed_issue_not_resolved:
|
|
37
|
-
- text: |
|
|
38
|
-
Your network speed is {network_speed} Mbps.
|
|
39
|
-
That's too low.
|
|
40
|
-
utter_speed_network_not_issue:
|
|
41
|
-
- text: |
|
|
42
|
-
{network_speed} Mbps sounds right. The speed seems to be in order.
|
|
43
|
-
utter_propose_other_solutions:
|
|
44
|
-
- text: |
|
|
45
|
-
The result of my test shows that there is no technical issues between your home and our core network.
|
|
46
|
-
However, if you're still experiencing slow browsing or buffering, it could be due to network congestion, too many connected devices, or Wi-Fi interference.
|
|
47
|
-
Try moving closer to your router or disconnecting unused devices.
|
|
48
|
-
utter_ask_more_help_needed:
|
|
49
|
-
- text: |
|
|
50
|
-
I can connect you to a human agent for further assistance.
|
|
51
|
-
Would you like me to do that now?
|
|
52
|
-
buttons:
|
|
53
|
-
- title: "Yes, please"
|
|
54
|
-
payload: "/SetSlots(more_help_needed=True)"
|
|
55
|
-
- title: "Not now"
|
|
56
|
-
payload: "/SetSlots(more_help_needed=False)"
|
|
57
|
-
utter_final_help:
|
|
58
|
-
- text: |
|
|
59
|
-
No problem! If you need help later, feel free to ask.
|
|
60
|
-
In the meantime, you might try checking for background apps using bandwidth or reducing the number of connected devices.
|
|
61
|
-
Let me know if there's anything else I can do for you!
|
|
62
|
-
utter_final_diagnistics_run:
|
|
63
|
-
- text: |
|
|
64
|
-
Final try 🤞
|
|
65
|
-
utter_fail_to_find_fix:
|
|
66
|
-
- text: |
|
|
67
|
-
I am sorry that I could not resolve the problem with your Internet speed.
|
|
68
|
-
Please don't worry, we will find the exact cause and remedy it.
|
|
69
|
-
utter_final_try_worked:
|
|
70
|
-
- text: |
|
|
71
|
-
third time is a charm
|
|
72
|
-
actions:
|
|
73
|
-
- actions_run_speed_test
|
|
74
|
-
- action_sleep_few_sec
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
actions:
|
|
2
|
-
- action_get_customer_info
|
|
3
|
-
- action_verify_bill_by_date
|
|
4
|
-
- action_recap_bill
|
|
5
|
-
|
|
6
|
-
slots:
|
|
7
|
-
bill_month:
|
|
8
|
-
type: categorical
|
|
9
|
-
mappings:
|
|
10
|
-
- type: from_llm
|
|
11
|
-
values:
|
|
12
|
-
- January
|
|
13
|
-
- February
|
|
14
|
-
- March
|
|
15
|
-
- April
|
|
16
|
-
- May
|
|
17
|
-
- June
|
|
18
|
-
- July
|
|
19
|
-
- August
|
|
20
|
-
- September
|
|
21
|
-
- October
|
|
22
|
-
- November
|
|
23
|
-
- December
|
|
24
|
-
|
|
25
|
-
bill_amount:
|
|
26
|
-
type: float
|
|
27
|
-
mappings:
|
|
28
|
-
- type: controlled
|
|
29
|
-
|
|
30
|
-
user_authenticated:
|
|
31
|
-
type: bool
|
|
32
|
-
mappings:
|
|
33
|
-
- type: controlled
|
|
34
|
-
initial_value: True
|
|
35
|
-
|
|
36
|
-
average_bill:
|
|
37
|
-
type: float
|
|
38
|
-
mappings:
|
|
39
|
-
- type: controlled
|
|
40
|
-
|
|
41
|
-
difference:
|
|
42
|
-
type: float
|
|
43
|
-
mappings:
|
|
44
|
-
- type: controlled
|
|
45
|
-
|
|
46
|
-
breakdown_cost:
|
|
47
|
-
type: bool
|
|
48
|
-
mappings:
|
|
49
|
-
- type: from_llm
|
|
50
|
-
|
|
51
|
-
issue_solved:
|
|
52
|
-
type: bool
|
|
53
|
-
mappings:
|
|
54
|
-
- type: from_llm
|
|
55
|
-
|
|
56
|
-
more_bill_details:
|
|
57
|
-
type: bool
|
|
58
|
-
mappings:
|
|
59
|
-
- type: from_llm
|
|
60
|
-
|
|
61
|
-
responses:
|
|
62
|
-
utter_ask_customer_id:
|
|
63
|
-
- text: |
|
|
64
|
-
Can you please provide me your customer id?
|
|
65
|
-
|
|
66
|
-
utter_ask_bill_month:
|
|
67
|
-
- text: |
|
|
68
|
-
Alright. Could you please specify the month? 📅
|
|
69
|
-
|
|
70
|
-
utter_ask_breakdown_cost:
|
|
71
|
-
- text: |
|
|
72
|
-
Would you like to see the breakdown of the costs?
|
|
73
|
-
buttons:
|
|
74
|
-
- title: "Yes, please"
|
|
75
|
-
payload: "/SetSlots(breakdown_cost=True)"
|
|
76
|
-
- title: "No, all good"
|
|
77
|
-
payload: "/SetSlots(breakdown_cost=False)"
|
|
78
|
-
|
|
79
|
-
utter_ask_issue_solved:
|
|
80
|
-
- text: |
|
|
81
|
-
Did I manage to provide all the information you need?
|
|
82
|
-
buttons:
|
|
83
|
-
- title: "Yes, all good"
|
|
84
|
-
payload: "/SetSlots(issue_solved=True)"
|
|
85
|
-
- title: "No, I need further help"
|
|
86
|
-
payload: "/SetSlots(issue_solved=False)"
|
|
87
|
-
|
|
88
|
-
utter_ask_more_bill_details:
|
|
89
|
-
- text: |
|
|
90
|
-
You can see more details in your account.
|
|
91
|
-
Would you like a link to the overview that contains all your bills?
|
|
92
|
-
buttons:
|
|
93
|
-
- title: "Yes, please"
|
|
94
|
-
payload: "/SetSlots(more_bill_details=True)"
|
|
95
|
-
- title: "No, it's enough"
|
|
96
|
-
payload: "/SetSlots(more_bill_details=False)"
|
|
97
|
-
|
|
98
|
-
utter_provide_bill_sources:
|
|
99
|
-
- text: |
|
|
100
|
-
I've provided a quick summary of your bill ⤵️
|
|
101
|
-
For full details, please log in to your account and check your billing history here:
|
|
102
|
-
https://companyName/account/your-bills 🔗
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# This file contains the different endpoints your bot can use.
|
|
2
|
-
|
|
3
|
-
# Server where the models are pulled from.
|
|
4
|
-
# https://rasa.com/docs/rasa-pro/production/model-storage#fetching-models-from-a-server
|
|
5
|
-
|
|
6
|
-
#models:
|
|
7
|
-
# url: http://my-server.com/models/default_core@latest
|
|
8
|
-
# wait_time_between_pulls: 10 # [optional](default: 100)
|
|
9
|
-
|
|
10
|
-
# Server which runs your custom actions.
|
|
11
|
-
# https://rasa.com/docs/rasa-pro/concepts/custom-actions
|
|
12
|
-
|
|
13
|
-
action_endpoint:
|
|
14
|
-
actions_module: "actions"
|
|
15
|
-
|
|
16
|
-
# Tracker store which is used to store the conversations.
|
|
17
|
-
# By default the conversations are stored in memory.
|
|
18
|
-
# https://rasa.com/docs/rasa-pro/production/tracker-stores
|
|
19
|
-
|
|
20
|
-
#tracker_store:
|
|
21
|
-
# type: redis
|
|
22
|
-
# url: <host of the redis instance, e.g. localhost>
|
|
23
|
-
# port: <port of your redis instance, usually 6379>
|
|
24
|
-
# db: <number of your database within redis, e.g. 0>
|
|
25
|
-
# password: <password used for authentication>
|
|
26
|
-
# use_ssl: <whether or not the communication is encrypted, default false>
|
|
27
|
-
|
|
28
|
-
#tracker_store:
|
|
29
|
-
# type: mongod
|
|
30
|
-
# url: <url to your mongo instance, e.g. mongodb://localhost:27017>
|
|
31
|
-
# db: <name of the db within your mongo instance, e.g. rasa>
|
|
32
|
-
# username: <username used for authentication>
|
|
33
|
-
# password: <password used for authentication>
|
|
34
|
-
|
|
35
|
-
# Event broker which all conversation events should be streamed to.
|
|
36
|
-
# https://rasa.com/docs/rasa-pro/production/event-brokers
|
|
37
|
-
|
|
38
|
-
#event_broker:
|
|
39
|
-
# url: localhost
|
|
40
|
-
# username: username
|
|
41
|
-
# password: password
|
|
42
|
-
# queue: queue
|
|
43
|
-
|
|
44
|
-
# The lines below activate contextual rephrasing, using the default OpenAI language model.
|
|
45
|
-
# Ensure the OPENAI_API_KEY is set to prevent any missing API key errors.
|
|
46
|
-
# For more details, refer to the documentation:
|
|
47
|
-
# https://rasa.com/docs/rasa-pro/concepts/contextual-response-rephraser
|
|
48
|
-
# To enable the rephraser, remove the comment symbols in the lines below.
|
|
49
|
-
nlg:
|
|
50
|
-
type: rephrase
|
|
51
|
-
llm:
|
|
52
|
-
model_group: openai-gpt-4o
|
|
53
|
-
|
|
54
|
-
model_groups:
|
|
55
|
-
- id: openai-gpt-4o
|
|
56
|
-
models:
|
|
57
|
-
- provider: openai
|
|
58
|
-
model: gpt-4o-2024-11-20
|
|
59
|
-
request_timeout: 7
|
|
60
|
-
max_tokens: 256
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
## Task Description
|
|
2
|
-
Your task is to analyze the current conversation context and generate a list of actions to start new business processes that we call flows, to extract slots, or respond to small talk and knowledge requests.
|
|
3
|
-
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Available Flows and Slots
|
|
7
|
-
Use the following structured data:
|
|
8
|
-
```json
|
|
9
|
-
{"flows":[{% for flow in available_flows %}{"name":"{{ flow.name }}","description":"{{ flow.description }}"{% if flow.slots %},"slots":[{% for slot in flow.slots %}{"name":"{{ slot.name }}"{% if slot.description %},"description":"{{ slot.description }}"{% endif %}{% if slot.allowed_values %},"allowed_values":{{ slot.allowed_values }}{% endif %}}{% if not loop.last %},{% endif %}{% endfor %}]{% endif %}}{% if not loop.last %},{% endif %}{% endfor %}]}
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## Available Actions:
|
|
15
|
-
* `start flow flow_name`: Starting a flow. For example, `start flow transfer_money` or `start flow list_contacts`.
|
|
16
|
-
* `set slot slot_name slot_value`: Slot setting. For example, `set slot transfer_money_recipient Freddy`. Can be used to correct and change previously set values.
|
|
17
|
-
* `cancel flow`: Cancelling the current flow.
|
|
18
|
-
* `disambiguate flows flow_name1 flow_name2 ... flow_name_n`: Disambiguate which flow should be started when user input is ambiguous by listing the potential flows as options. For example, `disambiguate flows list_contacts add_contact remove_contact ...` if the user just wrote "contacts".
|
|
19
|
-
* `provide info`: Responding to the user's questions by supplying relevant information, such as answering FAQs or explaining services.
|
|
20
|
-
* `offtopic reply`: Responding to casual or social user messages that are unrelated to any flows, engaging in friendly conversation and addressing off-topic remarks.
|
|
21
|
-
* `hand over`: Handing over to a human, in case the user seems frustrated or explicitly asks to speak to one.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## General Tips
|
|
26
|
-
* Do not fill slots with abstract values or placeholders.
|
|
27
|
-
* For categorical slots try to match the user message with allowed slot values. Use "other" if you cannot match it.
|
|
28
|
-
* Set the boolean slots based on the user response. Map positive responses to `True`, and negative to `False`.
|
|
29
|
-
* Extract text slot values exactly as provided by the user. Avoid assumptions, format changes, or partial extractions.
|
|
30
|
-
* Only use information provided by the user.
|
|
31
|
-
* Use clarification in ambiguous cases.
|
|
32
|
-
* Multiple flows can be started. If a user wants to digress into a second flow, you do not need to cancel the current flow.
|
|
33
|
-
* Do not cancel the flow unless the user explicitly requests it.
|
|
34
|
-
* Strictly adhere to the provided action format.
|
|
35
|
-
* Focus on the last message and take it one step at a time.
|
|
36
|
-
* Use the previous conversation steps only to aid understanding.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Current State
|
|
41
|
-
{% if current_flow != None %}Use the following structured data:
|
|
42
|
-
```json
|
|
43
|
-
{"active_flow":"{{ current_flow }}","current_step":{"requested_slot":"{{ current_slot }}","requested_slot_description":"{{ current_slot_description }}"},"slots":[{% for slot in flow_slots %}{"name":"{{ slot.name }}","value":"{{ slot.value }}","type":"{{ slot.type }}"{% if slot.description %},"description":"{{ slot.description }}"{% endif %}{% if slot.allowed_values %},"allowed_values":"{{ slot.allowed_values }}"{% endif %}}{% if not loop.last %},{% endif %}{% endfor %}]}
|
|
44
|
-
```{% else %}
|
|
45
|
-
You are currently not inside any flow.{% endif %}
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Conversation History
|
|
50
|
-
{{ current_conversation }}
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Task
|
|
55
|
-
Create an action list with one action per line in response to the user's last message: """{{ user_message }}""".
|
|
56
|
-
|
|
57
|
-
Your action list:
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
test_results:
|
|
2
|
-
|
|
3
|
-
- name: Solving Internet slow issue
|
|
4
|
-
pass_status: false
|
|
5
|
-
expected_steps:
|
|
6
|
-
- user: "Hey, my internet is very slow. What's going on?"
|
|
7
|
-
assertions:
|
|
8
|
-
- flow_started: "fix_internet_slow"
|
|
9
|
-
- bot_uttered:
|
|
10
|
-
utter_name: "utter_acknowledge_issue"
|
|
11
|
-
- action_executed: action_sleep_few_sec
|
|
12
|
-
- flow_started: "run_diagnostics"
|
|
13
|
-
- bot_uttered:
|
|
14
|
-
utter_name: "utter_communicate_run_diagnosticss"
|
|
15
|
-
- action_executed: "actions_run_speed_test"
|
|
16
|
-
- bot_uttered:
|
|
17
|
-
utter_name: "utter_acknowledge_speed_test_not_good"
|
|
18
|
-
- action_executed: "action_sleep_few_sec"
|
|
19
|
-
- bot_uttered:
|
|
20
|
-
utter_name: "utter_propose_reboot_router_solution"
|
|
21
|
-
- action_executed: "action_sleep_few_sec"
|
|
22
|
-
- flow_started: "reboot_router"
|
|
23
|
-
- slot_was_set:
|
|
24
|
-
- name: "reboot_router"
|
|
25
|
-
value: false
|
|
26
|
-
- flow_started: "pattern_human_handoff"
|
|
27
|
-
error_path: tests/e2e_test_cases/internet_slow_test_case.yml:15
|
|
28
|
-
assertion_failure:
|
|
29
|
-
assertion:
|
|
30
|
-
utter_name: "utter_acknowledge_speed_test_not_good"
|
|
31
|
-
text_matches: null
|
|
32
|
-
buttons: []
|
|
33
|
-
line: 15
|
|
34
|
-
type: bot_uttered
|
|
35
|
-
error_message: Bot did not utter 'utter_acknowledge_speed_test_not_good' response.
|
|
36
|
-
actual_events_transcript:
|
|
37
|
-
- 'ActionExecuted(action: action_session_start, policy: None, confidence: 1.0)'
|
|
38
|
-
- 'SessionStarted(type_name: session_started)'
|
|
39
|
-
- 'ActionExecuted(action: action_listen, policy: None, confidence: None)'
|
|
40
|
-
- UserUttered('Hey, my internet is very slow. What's going on?', 'None', [])
|
|
41
|
-
- 'FlowStarted(flow: fix_internet_slow)'
|
|
42
|
-
- 'ActionExecuted(action: utter_acknowledge_issue, policy: FlowPolicy, confidence: 1.0)'
|
|
43
|
-
- "BotUttered('I see.\nLet me try to identify the root cause of the issue you are facing.\n', {\"elements\": null, \"quick_replies\": null, \"buttons\": null, \"attachment\": null, \"image\": null, \"custom\": null}, {\"active_flow\": \"fix_internet_slow\", \"step_id\": \"fix_internet_slow_0_utter_acknowledge_issue\", \"utter_action\": \"utter_acknowledge_issue\", \"utter_source\": \"ContextualResponseRephraser\", \"domain_ground_truth\": [\"I see.\\nLet me try to identify the root cause of the issue you are facing.\\n\"], \"model_id\": \"71f56e4e003e4f8886bdc2f2b8f469b5\", \"assistant_id\": \"20250226-101111-delicious-dimension\"}, 1748607799.599152)"
|
|
44
|
-
- 'ActionExecuted(action: action_sleep_few_sec, policy: FlowPolicy, confidence: 1.0)'
|
|
45
|
-
- 'FlowStarted(flow: run_diagnostics)'
|
|
46
|
-
- 'ActionExecuted(action: utter_communicate_run_diagnosticss, policy: FlowPolicy, confidence: 1.0)'
|
|
47
|
-
- "BotUttered('I will run a network diagnostics for you \U0001F6DC\nWait a moment please...\n', {\"elements\": null, \"quick_replies\": null, \"buttons\": null, \"attachment\": \"https://static.vecteezy.com/system/resources/previews/002/785/641/non_2x/speed-test-internet-measure-icon-illustration-free-vector.jpg\", \"image\": \"https://static.vecteezy.com/system/resources/previews/002/785/641/non_2x/speed-test-internet-measure-icon-illustration-free-vector.jpg\", \"custom\": null}, {\"active_flow\": \"run_diagnostics\", \"step_id\": \"run_diagnostics_0_utter_communicate_run_diagnosticss\", \"utter_action\": \"utter_communicate_run_diagnosticss\", \"utter_source\": \"ContextualResponseRephraser\", \"domain_ground_truth\": [\"I will run a network diagnostics for you \\ud83d\\udedc\\nWait a moment please...\\n\"], \"model_id\": \"71f56e4e003e4f8886bdc2f2b8f469b5\", \"assistant_id\": \"20250226-101111-delicious-dimension\"}, 1748607802.609955)"
|
|
48
|
-
- 'ActionExecuted(action: actions_run_speed_test, policy: FlowPolicy, confidence: 1.0)'
|
|
49
|
-
- "BotUttered('Thank you for waiting... ✅ ', {\"elements\": [], \"quick_replies\": null, \"buttons\": null, \"attachment\": null, \"image\": null, \"custom\": {}}, {\"utter_source\": \"actions_run_speed_test\", \"model_id\": \"71f56e4e003e4f8886bdc2f2b8f469b5\", \"assistant_id\": \"20250226-101111-delicious-dimension\"}, 1748607812.616197)"
|
|
50
|
-
- 'SlotSet(key: network_speed, value: 147)'
|
|
51
|
-
- 'FlowCompleted(flow: run_diagnostics, step_id: run_diagnostics_1_actions_run_speed_test)'
|
|
52
|
-
- 'ActionExecuted(action: utter_speed_network_not_issue, policy: FlowPolicy, confidence: 1.0)'
|
|
53
|
-
- "BotUttered('147 Mbps sounds right. The speed seems to be in order.\n', {\"elements\": null, \"quick_replies\": null, \"buttons\": null, \"attachment\": null, \"image\": null, \"custom\": null}, {\"active_flow\": \"fix_internet_slow\", \"step_id\": \"fix_internet_slow_23_utter_speed_network_not_issue\", \"utter_action\": \"utter_speed_network_not_issue\", \"utter_source\": \"ContextualResponseRephraser\", \"domain_ground_truth\": [\"{network_speed} Mbps sounds right. The speed seems to be in order.\\n\"], \"model_id\": \"71f56e4e003e4f8886bdc2f2b8f469b5\", \"assistant_id\": \"20250226-101111-delicious-dimension\"}, 1748607812.625691)"
|
|
54
|
-
- 'ActionExecuted(action: action_sleep_few_sec, policy: FlowPolicy, confidence: 1.0)'
|
|
55
|
-
- 'ActionExecuted(action: utter_propose_other_solutions, policy: FlowPolicy, confidence: 1.0)'
|
|
56
|
-
- "BotUttered('The result of my test shows that there is no technical issues between your home and our core network.\nHowever, if you're still experiencing slow browsing or buffering, it could be due to network congestion, too many connected devices, or Wi-Fi interference. \nTry moving closer to your router or disconnecting unused devices. \n', {\"elements\": null, \"quick_replies\": null, \"buttons\": null, \"attachment\": null, \"image\": null, \"custom\": null}, {\"active_flow\": \"fix_internet_slow\", \"step_id\": \"fix_internet_slow_25_utter_propose_other_solutions\", \"utter_action\": \"utter_propose_other_solutions\", \"utter_source\": \"ContextualResponseRephraser\", \"domain_ground_truth\": [\"The result of my test shows that there is no technical issues between your home and our core network.\\nHowever, if you're still experiencing slow browsing or buffering, it could be due to network congestion, too many connected devices, or Wi-Fi interference. \\nTry moving closer to your router or disconnecting unused devices. \\n\"], \"model_id\": \"71f56e4e003e4f8886bdc2f2b8f469b5\", \"assistant_id\": \"20250226-101111-delicious-dimension\"}, 1748607815.639721)"
|
|
57
|
-
- 'ActionExecuted(action: action_sleep_few_sec, policy: FlowPolicy, confidence: 1.0)'
|
|
58
|
-
- 'FlowStarted(flow: pattern_collect_information)'
|
|
59
|
-
- 'ActionExecuted(action: action_run_slot_rejections, policy: FlowPolicy, confidence: 1.0)'
|
|
60
|
-
- 'ActionExecuted(action: utter_ask_more_help_needed, policy: FlowPolicy, confidence: 1.0)'
|
|
61
|
-
- "BotUttered('I can connect you to a human agent for further assistance. \nWould you like me to do that now? \n', {\"elements\": null, \"quick_replies\": null, \"buttons\": [{\"title\": \"Yes, please\", \"payload\": \"/SetSlots(more_help_needed=True)\"}, {\"title\": \"Not now\", \"payload\": \"/SetSlots(more_help_needed=False)\"}], \"attachment\": null, \"image\": null, \"custom\": null}, {\"active_flow\": \"fix_internet_slow\", \"step_id\": \"fix_internet_slow_27_collect_more_help_needed\", \"utter_action\": \"utter_ask_more_help_needed\", \"utter_source\": \"ContextualResponseRephraser\", \"domain_ground_truth\": [\"I can connect you to a human agent for further assistance. \\nWould you like me to do that now? \\n\"], \"model_id\": \"71f56e4e003e4f8886bdc2f2b8f469b5\", \"assistant_id\": \"20250226-101111-delicious-dimension\"}, 1748607818.654001)"
|
|
62
|
-
- 'ActionExecuted(action: action_listen, policy: FlowPolicy, confidence: 1.0)'
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
test_results:
|
|
2
|
-
|
|
3
|
-
- name: billing happy path
|
|
4
|
-
pass_status: true
|
|
5
|
-
expected_steps:
|
|
6
|
-
- user: "I would like to check my bill"
|
|
7
|
-
assertions:
|
|
8
|
-
- flow_started: "understand_bill"
|
|
9
|
-
- bot_uttered:
|
|
10
|
-
utter_name: utter_ask_bill_month
|
|
11
|
-
- user: "January"
|
|
12
|
-
assertions:
|
|
13
|
-
- slot_was_set:
|
|
14
|
-
- name: "bill_month"
|
|
15
|
-
value: "January"
|
|
16
|
-
- action_executed: action_verify_bill_by_date
|
|
17
|
-
- bot_uttered:
|
|
18
|
-
utter_name: utter_ask_breakdown_cost
|
|
19
|
-
text_matches: Would you like to see the breakdown of the costs?
|
|
20
|
-
buttons:
|
|
21
|
-
- title: "Yes, please"
|
|
22
|
-
payload: "/SetSlots(breakdown_cost=True)"
|
|
23
|
-
- title: "No, all good"
|
|
24
|
-
payload: "/SetSlots(breakdown_cost=False)"
|
|
25
|
-
- user: "Yes, please"
|
|
26
|
-
assertions:
|
|
27
|
-
- action_executed: action_recap_bill
|
|
28
|
-
- bot_uttered:
|
|
29
|
-
utter_name: utter_ask_more_bill_details
|
|
30
|
-
- user: "/SetSlots(more_bill_details=True)"
|
|
31
|
-
assertions:
|
|
32
|
-
- bot_uttered:
|
|
33
|
-
utter_name: utter_provide_bill_sources
|
|
34
|
-
|
|
35
|
-
- name: billing unhappy path
|
|
36
|
-
pass_status: true
|
|
37
|
-
expected_steps:
|
|
38
|
-
- user: "I would like to check my bill"
|
|
39
|
-
assertions:
|
|
40
|
-
- flow_started: "understand_bill"
|
|
41
|
-
- bot_uttered:
|
|
42
|
-
utter_name: utter_ask_bill_month
|
|
43
|
-
- user: "February"
|
|
44
|
-
assertions:
|
|
45
|
-
- slot_was_set:
|
|
46
|
-
- name: "bill_month"
|
|
47
|
-
value: "February"
|
|
48
|
-
- action_executed: action_verify_bill_by_date
|
|
49
|
-
- bot_uttered:
|
|
50
|
-
utter_name: utter_ask_breakdown_cost
|
|
51
|
-
text_matches: Would you like to see the breakdown of the costs?
|
|
52
|
-
buttons:
|
|
53
|
-
- title: "Yes, please"
|
|
54
|
-
payload: "/SetSlots(breakdown_cost=True)"
|
|
55
|
-
- title: "No, all good"
|
|
56
|
-
payload: "/SetSlots(breakdown_cost=False)"
|
|
57
|
-
- user: "/SetSlots(breakdown_cost=False)"
|
|
58
|
-
assertions:
|
|
59
|
-
- bot_uttered:
|
|
60
|
-
utter_name: utter_ask_issue_solved
|
|
61
|
-
- user: "/SetSlots(issue_solved=True)"
|
|
62
|
-
assertions:
|
|
63
|
-
- bot_uttered:
|
|
64
|
-
utter_name: utter_end_conversation
|
|
65
|
-
|
|
66
|
-
- name: bot challenge and ask to connect to a human agent
|
|
67
|
-
pass_status: true
|
|
68
|
-
expected_steps:
|
|
69
|
-
- user: "who am I talking with?"
|
|
70
|
-
assertions:
|
|
71
|
-
- flow_started: "bot_challenge"
|
|
72
|
-
- bot_uttered:
|
|
73
|
-
utter_name: "utter_bot_challenge"
|
|
74
|
-
- user: "Indeed, I would like to speak with a human"
|
|
75
|
-
assertions:
|
|
76
|
-
- flow_started: "pattern_human_handoff"
|
|
77
|
-
- bot_uttered:
|
|
78
|
-
utter_name: "utter_more_help_needed_handoff_pattern"
|
|
79
|
-
|
|
80
|
-
- name: Solving Internet issue not slow
|
|
81
|
-
pass_status: true
|
|
82
|
-
expected_steps:
|
|
83
|
-
- user: "Hey, my internet is very slow. What's going on?"
|
|
84
|
-
assertions:
|
|
85
|
-
- flow_started: "fix_internet_slow"
|
|
86
|
-
- bot_uttered:
|
|
87
|
-
utter_name: "utter_acknowledge_issue"
|
|
88
|
-
- action_executed: action_sleep_few_sec
|
|
89
|
-
- flow_started: "run_diagnostics"
|
|
90
|
-
- bot_uttered:
|
|
91
|
-
utter_name: "utter_speed_network_not_issue"
|
|
92
|
-
- action_executed: "actions_run_speed_test"
|
|
93
|
-
- bot_uttered:
|
|
94
|
-
utter_name: "utter_propose_other_solutions"
|
|
95
|
-
- action_executed: "action_sleep_few_sec"
|
|
96
|
-
- bot_uttered:
|
|
97
|
-
utter_name: "utter_ask_more_help_needed"
|
|
98
|
-
- user: "/SetSlots(more_help_needed=True)"
|
|
99
|
-
assertions:
|
|
100
|
-
- flow_started: "pattern_human_handoff"
|
|
101
|
-
|
|
102
|
-
- name: out of scope topics
|
|
103
|
-
pass_status: true
|
|
104
|
-
expected_steps:
|
|
105
|
-
- user: "can you help me book a hotel or restaurant"
|
|
106
|
-
assertions:
|
|
107
|
-
- flow_started: "pattern_cannot_handle"
|
|
108
|
-
- bot_uttered:
|
|
109
|
-
utter_name: "utter_cannot_handle"
|
|
110
|
-
- user: "can we discuss politics"
|
|
111
|
-
assertions:
|
|
112
|
-
- flow_started: "pattern_cannot_handle"
|
|
113
|
-
- bot_uttered:
|
|
114
|
-
utter_name: "utter_cannot_handle"
|
|
115
|
-
|
|
116
|
-
- name: test pattern search
|
|
117
|
-
pass_status: true
|
|
118
|
-
expected_steps:
|
|
119
|
-
- user: "how do you run a network speed test?"
|
|
120
|
-
assertions:
|
|
121
|
-
- generative_response_is_grounded:
|
|
122
|
-
threshold: 0.90
|
|
123
|
-
ground_truth: "You can run a network speed test using special software such as \"Fast.com\", \"Speedtest.net\", or Google's \"Internet speed test\". Alternatively, if you have our app, you can go to the Home menu, select WLAN speed test and run it. These tests measure your internet connection's performance by evaluating download and upload speeds, ping, and jitter."
|
|
124
|
-
- user: "what is the difference between restart and reset a router"
|
|
125
|
-
assertions:
|
|
126
|
-
- flow_completed:
|
|
127
|
-
flow_id: "pattern_search"
|
|
128
|
-
- generative_response_is_grounded:
|
|
129
|
-
threshold: 0.90
|
|
130
|
-
ground_truth: "Restarting or rebooting a router involves turning it off and back on without changing any settings, which can help resolve temporary issues like slow speeds or dropped connections. Resetting a router, however, restores it to factory settings, erasing all custom configurations such as the Wi-Fi name, password, and advanced settings. Resetting should only be done as a last resort when troubleshooting persistent problems."
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
fixtures:
|
|
2
|
-
- customer_information: # name of the fixture must be provided and be unique
|
|
3
|
-
- customer_id: "124" # every fixture can contain multiple slot key-value pairs
|
|
4
|
-
# This will be helpful when to se user information
|
|
5
|
-
|
|
6
|
-
test_cases:
|
|
7
|
-
- test_case: billing happy path
|
|
8
|
-
fixtures:
|
|
9
|
-
- customer_information
|
|
10
|
-
steps:
|
|
11
|
-
- user: "I would like to check my bill"
|
|
12
|
-
assertions:
|
|
13
|
-
- flow_started: "understand_bill"
|
|
14
|
-
- bot_uttered:
|
|
15
|
-
utter_name: utter_ask_bill_month
|
|
16
|
-
- user: "January"
|
|
17
|
-
assertions:
|
|
18
|
-
- slot_was_set:
|
|
19
|
-
- name: "bill_month"
|
|
20
|
-
value: "January"
|
|
21
|
-
- action_executed: action_verify_bill_by_date
|
|
22
|
-
- bot_uttered:
|
|
23
|
-
utter_name: utter_ask_breakdown_cost
|
|
24
|
-
text_matches: Would you like to see the breakdown of the costs?
|
|
25
|
-
buttons:
|
|
26
|
-
- title: "Yes, please"
|
|
27
|
-
payload: "/SetSlots(breakdown_cost=True)"
|
|
28
|
-
- title: "No, all good"
|
|
29
|
-
payload: "/SetSlots(breakdown_cost=False)"
|
|
30
|
-
- user: "Yes, please"
|
|
31
|
-
assertions:
|
|
32
|
-
- action_executed: action_recap_bill
|
|
33
|
-
- bot_uttered:
|
|
34
|
-
utter_name: utter_ask_more_bill_details
|
|
35
|
-
- user: "/SetSlots(more_bill_details=True)"
|
|
36
|
-
assertions:
|
|
37
|
-
- bot_uttered:
|
|
38
|
-
utter_name: utter_provide_bill_sources
|
|
39
|
-
# ====================================================>
|
|
40
|
-
- test_case: billing unhappy path
|
|
41
|
-
steps:
|
|
42
|
-
- user: "I would like to check my bill"
|
|
43
|
-
assertions:
|
|
44
|
-
- flow_started: "understand_bill"
|
|
45
|
-
- bot_uttered:
|
|
46
|
-
utter_name: utter_ask_bill_month
|
|
47
|
-
- user: "February"
|
|
48
|
-
assertions:
|
|
49
|
-
- slot_was_set:
|
|
50
|
-
- name: "bill_month"
|
|
51
|
-
value: "February"
|
|
52
|
-
- action_executed: action_verify_bill_by_date
|
|
53
|
-
- bot_uttered:
|
|
54
|
-
utter_name: utter_ask_breakdown_cost
|
|
55
|
-
text_matches: Would you like to see the breakdown of the costs?
|
|
56
|
-
buttons:
|
|
57
|
-
- title: "Yes, please"
|
|
58
|
-
payload: "/SetSlots(breakdown_cost=True)"
|
|
59
|
-
- title: "No, all good"
|
|
60
|
-
payload: "/SetSlots(breakdown_cost=False)"
|
|
61
|
-
- user: "/SetSlots(breakdown_cost=False)"
|
|
62
|
-
assertions:
|
|
63
|
-
- bot_uttered:
|
|
64
|
-
utter_name: utter_ask_issue_solved
|
|
65
|
-
- user: "/SetSlots(issue_solved=True)"
|
|
66
|
-
assertions:
|
|
67
|
-
- bot_uttered:
|
|
68
|
-
utter_name: utter_end_conversation
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
- test_case: bot challenge and ask to connect to a human agent
|
|
3
|
-
steps:
|
|
4
|
-
- user: "who am I talking with?"
|
|
5
|
-
assertions:
|
|
6
|
-
- flow_started: "bot_challenge"
|
|
7
|
-
- bot_uttered:
|
|
8
|
-
utter_name: "utter_bot_challenge"
|
|
9
|
-
- user: "Indeed, I would like to speak with a human"
|
|
10
|
-
assertions:
|
|
11
|
-
- flow_started: "pattern_human_handoff"
|
|
12
|
-
- bot_uttered:
|
|
13
|
-
utter_name: "utter_more_help_needed_handoff_pattern"
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
# one of these test cases will fail since the speed test will be randomly selected
|
|
3
|
-
- test_case: Solving Internet slow issue
|
|
4
|
-
steps:
|
|
5
|
-
- user: "Hey, my internet is very slow. What's going on?"
|
|
6
|
-
assertions:
|
|
7
|
-
- flow_started: "fix_internet_slow"
|
|
8
|
-
- bot_uttered:
|
|
9
|
-
utter_name: "utter_acknowledge_issue"
|
|
10
|
-
- action_executed: action_sleep_few_sec
|
|
11
|
-
- flow_started: "run_diagnostics"
|
|
12
|
-
- bot_uttered:
|
|
13
|
-
utter_name: "utter_communicate_run_diagnosticss"
|
|
14
|
-
- action_executed: "actions_run_speed_test"
|
|
15
|
-
- bot_uttered:
|
|
16
|
-
utter_name: "utter_acknowledge_speed_test_not_good"
|
|
17
|
-
- action_executed: "action_sleep_few_sec"
|
|
18
|
-
- bot_uttered:
|
|
19
|
-
utter_name: "utter_propose_reboot_router_solution"
|
|
20
|
-
- action_executed: "action_sleep_few_sec"
|
|
21
|
-
- flow_started: "reboot_router"
|
|
22
|
-
- slot_was_set:
|
|
23
|
-
- name: "reboot_router"
|
|
24
|
-
value: False
|
|
25
|
-
- flow_started: "pattern_human_handoff"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- test_case: Solving Internet issue not slow
|
|
29
|
-
steps:
|
|
30
|
-
- user: "Hey, my internet is very slow. What's going on?"
|
|
31
|
-
assertions:
|
|
32
|
-
- flow_started: "fix_internet_slow"
|
|
33
|
-
- bot_uttered:
|
|
34
|
-
utter_name: "utter_acknowledge_issue"
|
|
35
|
-
- action_executed: action_sleep_few_sec
|
|
36
|
-
- flow_started: "run_diagnostics"
|
|
37
|
-
- bot_uttered:
|
|
38
|
-
utter_name: "utter_speed_network_not_issue"
|
|
39
|
-
- action_executed: "actions_run_speed_test"
|
|
40
|
-
- bot_uttered:
|
|
41
|
-
utter_name: "utter_propose_other_solutions"
|
|
42
|
-
- action_executed: "action_sleep_few_sec"
|
|
43
|
-
- bot_uttered:
|
|
44
|
-
utter_name: "utter_ask_more_help_needed"
|
|
45
|
-
- user: "/SetSlots(more_help_needed=True)"
|
|
46
|
-
assertions:
|
|
47
|
-
- flow_started: "pattern_human_handoff"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
- test_case: out of scope topics
|
|
3
|
-
steps:
|
|
4
|
-
- user: "can you help me book a hotel or restaurant"
|
|
5
|
-
assertions:
|
|
6
|
-
- flow_started: "pattern_cannot_handle"
|
|
7
|
-
- bot_uttered:
|
|
8
|
-
utter_name: "utter_cannot_handle"
|
|
9
|
-
# generated text:
|
|
10
|
-
#Thank you for your query!
|
|
11
|
-
# Booking a hotel or restaurant isn't really my strong suit, but I can certainly assist you if you're having issues with your internet speed or need clarification on your bill.
|
|
12
|
-
# Do you need help with any of those?
|
|
13
|
-
- user: "can we discuss politics"
|
|
14
|
-
assertions:
|
|
15
|
-
- flow_started: "pattern_cannot_handle"
|
|
16
|
-
- bot_uttered:
|
|
17
|
-
utter_name: "utter_cannot_handle"
|
|
18
|
-
# generated text:
|
|
19
|
-
# Thank you for your question!
|
|
20
|
-
# Discussing politics isn't really my strong suit, but I'm available to assist if you're having issues with your internet speed or need clarification on your bill.
|
|
21
|
-
# Can I help you with any of these?
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
- test_case: test pattern search
|
|
3
|
-
steps:
|
|
4
|
-
- user: "how do you run a network speed test?"
|
|
5
|
-
assertions:
|
|
6
|
-
- generative_response_is_grounded:
|
|
7
|
-
threshold: 0.90
|
|
8
|
-
ground_truth: "You can run a network speed test using special software such as \"Fast.com\", \"Speedtest.net\", or Google's \"Internet speed test\". Alternatively, if you have our app, you can go to the Home menu, select WLAN speed test and run it. These tests measure your internet connection's performance by evaluating download and upload speeds, ping, and jitter."
|
|
9
|
-
- user: "what is the difference between restart and reset a router"
|
|
10
|
-
assertions:
|
|
11
|
-
- flow_completed:
|
|
12
|
-
flow_id: "pattern_search"
|
|
13
|
-
- generative_response_is_grounded:
|
|
14
|
-
threshold: 0.90
|
|
15
|
-
ground_truth: "Restarting or rebooting a router involves turning it off and back on without changing any settings, which can help resolve temporary issues like slow speeds or dropped connections. Resetting a router, however, restores it to factory settings, erasing all custom configurations such as the Wi-Fi name, password, and advanced settings. Resetting should only be done as a last resort when troubleshooting persistent problems."
|