rasa-pro 3.13.1a19__py3-none-any.whl → 3.13.1a20__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/__main__.py +8 -0
- rasa/builder/auth.py +71 -0
- rasa/builder/config.py +16 -0
- rasa/builder/copilot/constants.py +15 -0
- rasa/builder/copilot/copilot.py +342 -0
- rasa/builder/copilot/copilot_response_handler.py +471 -0
- rasa/builder/copilot/exceptions.py +20 -0
- rasa/builder/copilot/models.py +344 -0
- rasa/builder/copilot/prompts/copilot_system_prompt.jinja2 +495 -0
- rasa/builder/copilot/telemetry.py +195 -0
- rasa/builder/document_retrieval/__init__.py +0 -0
- rasa/builder/document_retrieval/constants.py +16 -0
- rasa/builder/{inkeep_document_retrieval.py → document_retrieval/inkeep_document_retrieval.py} +24 -30
- rasa/builder/document_retrieval/models.py +62 -0
- rasa/builder/download.py +140 -0
- rasa/builder/guardrails/__init__.py +1 -0
- rasa/builder/guardrails/constants.py +4 -0
- rasa/builder/guardrails/exceptions.py +4 -0
- rasa/builder/guardrails/lakera.py +188 -0
- rasa/builder/guardrails/models.py +199 -0
- rasa/builder/guardrails/utils.py +305 -0
- rasa/builder/job_manager.py +87 -0
- rasa/builder/jobs.py +232 -0
- rasa/builder/llm_service.py +59 -7
- rasa/builder/logging_utils.py +162 -4
- rasa/builder/main.py +29 -16
- rasa/builder/models.py +90 -233
- rasa/builder/project_generator.py +91 -7
- rasa/builder/scrape_rasa_docs.py +1 -1
- rasa/builder/service.py +632 -440
- rasa/builder/shared/tracker_context.py +212 -0
- rasa/builder/validation_service.py +4 -4
- rasa/cli/data.py +8 -3
- rasa/cli/project_templates/basic/actions/action_api.py +15 -0
- rasa/cli/project_templates/basic/actions/action_human_handoff.py +44 -0
- rasa/cli/project_templates/basic/config.yml +23 -0
- rasa/cli/project_templates/{plain → basic}/credentials.yml +8 -7
- rasa/cli/project_templates/basic/data/general/feedback.yml +20 -0
- rasa/cli/project_templates/basic/data/general/goodbye.yml +6 -0
- rasa/cli/project_templates/basic/data/general/hello.yml +7 -0
- rasa/cli/project_templates/basic/data/general/help.yml +6 -0
- rasa/cli/project_templates/basic/data/general/human_handoff.yml +16 -0
- rasa/cli/project_templates/basic/data/general/welcome.yml +9 -0
- rasa/cli/project_templates/{finance/data/patterns → basic/data/system}/pattern_completed.yml +2 -1
- rasa/cli/project_templates/basic/data/system/pattern_correction.yml +7 -0
- rasa/cli/project_templates/basic/data/system/pattern_search.yml +8 -0
- rasa/cli/project_templates/basic/data/system/pattern_session_start.yml +8 -0
- rasa/cli/project_templates/basic/docs/rasa_assistant_qa.txt +65 -0
- rasa/cli/project_templates/basic/docs/template.txt +7 -0
- rasa/cli/project_templates/basic/domain/general/assistant_details.yml +12 -0
- rasa/cli/project_templates/basic/domain/general/bot_identity.yml +5 -0
- rasa/cli/project_templates/basic/domain/general/cannot_handle.yml +5 -0
- rasa/cli/project_templates/basic/domain/general/feedback.yml +28 -0
- rasa/cli/project_templates/basic/domain/general/goodbye.yml +7 -0
- rasa/cli/project_templates/basic/domain/general/help.yml +5 -0
- rasa/cli/project_templates/basic/domain/general/human_handoff_domain.yml +35 -0
- rasa/cli/project_templates/{finance/domain/default_actions.yml → basic/domain/general/utils.yml} +0 -3
- rasa/cli/project_templates/basic/domain/general/welcome.yml +7 -0
- rasa/cli/project_templates/{plain → basic}/endpoints.yml +42 -27
- rasa/cli/project_templates/basic/prompts/rephraser_demo_personality_prompt.jinja2 +19 -0
- rasa/cli/project_templates/defaults.py +25 -3
- rasa/cli/project_templates/finance/actions/__init__.py +46 -0
- rasa/cli/project_templates/finance/actions/accounts/__init__.py +0 -0
- rasa/cli/project_templates/finance/actions/{action_ask_account.py → accounts/action_ask_account.py} +6 -9
- rasa/cli/project_templates/finance/actions/{action_check_balance.py → accounts/action_check_balance.py} +4 -4
- rasa/cli/project_templates/finance/actions/action_session_start.py +11 -6
- rasa/cli/project_templates/finance/actions/cards/__init__.py +0 -0
- rasa/cli/project_templates/finance/actions/{action_ask_card.py → cards/action_ask_card.py} +4 -3
- rasa/cli/project_templates/finance/actions/{action_check_card_existence.py → cards/action_check_card_existence.py} +4 -3
- rasa/cli/project_templates/finance/actions/{action_update_card_status.py → cards/action_update_card_status.py} +18 -9
- rasa/cli/project_templates/finance/actions/database.py +1 -0
- rasa/cli/project_templates/finance/actions/transfers/__init__.py +0 -0
- rasa/cli/project_templates/finance/actions/{action_add_payee.py → transfers/action_add_payee.py} +8 -3
- rasa/cli/project_templates/finance/actions/{action_ask_account_from.py → transfers/action_ask_account_from.py} +5 -4
- rasa/cli/project_templates/finance/actions/{action_check_payee_existence.py → transfers/action_check_payee_existence.py} +3 -3
- rasa/cli/project_templates/finance/actions/{action_check_sufficient_funds.py → transfers/action_check_sufficient_funds.py} +3 -4
- rasa/cli/project_templates/finance/actions/{action_list_payees.py → transfers/action_list_payees.py} +4 -3
- rasa/cli/project_templates/finance/actions/{action_remove_payee.py → transfers/action_remove_payee.py} +4 -4
- rasa/cli/project_templates/finance/config.yml +8 -19
- rasa/cli/project_templates/finance/credentials.yml +6 -7
- rasa/cli/project_templates/finance/csvs/cards.csv +10 -10
- rasa/cli/project_templates/finance/csvs/payees.csv +10 -9
- rasa/cli/project_templates/finance/data/{flows → accounts}/check_balance.yml +2 -1
- rasa/cli/project_templates/finance/data/general/bot_identity.yml +6 -0
- rasa/cli/project_templates/finance/data/general/feedback.yml +20 -0
- rasa/cli/project_templates/finance/data/general/goodbye.yml +6 -0
- rasa/cli/project_templates/finance/data/general/hello.yml +7 -0
- rasa/cli/project_templates/finance/data/{flows/welcome.yml → general/help.yml} +2 -7
- rasa/cli/project_templates/finance/data/general/human_handoff.yml +16 -0
- rasa/cli/project_templates/finance/data/general/welcome.yml +9 -0
- rasa/cli/project_templates/finance/data/{patterns → system/patterns}/pattern_chitchat.yml +0 -2
- rasa/cli/project_templates/finance/data/system/patterns/pattern_completed.yml +7 -0
- rasa/cli/project_templates/finance/data/system/patterns/pattern_correction.yml +7 -0
- rasa/cli/project_templates/finance/data/system/patterns/pattern_search.yml +8 -0
- rasa/cli/project_templates/finance/data/{patterns → system/patterns}/pattern_session_start.yml +0 -1
- rasa/cli/project_templates/finance/domain/{check_balance.yml → accounts/check_balance.yml} +2 -0
- rasa/cli/project_templates/finance/domain/general/assistant_details.yml +12 -0
- rasa/cli/project_templates/finance/domain/general/bot_identity.yml +5 -0
- rasa/cli/project_templates/finance/domain/general/cannot_handle.yml +5 -0
- rasa/cli/project_templates/finance/domain/general/defaults.yml +24 -0
- rasa/cli/project_templates/finance/domain/general/feedback.yml +28 -0
- rasa/cli/project_templates/finance/domain/general/goodbye.yml +7 -0
- rasa/cli/project_templates/finance/domain/general/help.yml +5 -0
- rasa/cli/project_templates/finance/domain/general/human_handoff.yml +30 -0
- rasa/cli/project_templates/finance/domain/general/utils.yml +13 -0
- rasa/cli/project_templates/finance/domain/general/welcome.yml +8 -0
- rasa/cli/project_templates/finance/endpoints.yml +1 -0
- rasa/cli/project_templates/finance/prompts/rephraser_demo_personality_prompt.jinja2 +3 -3
- rasa/cli/project_templates/telco/actions/actions_billing.py +24 -17
- rasa/cli/project_templates/telco/actions/actions_get_data_from_db.py +6 -1
- rasa/cli/project_templates/telco/actions/actions_run_diagnostics.py +6 -1
- rasa/cli/project_templates/telco/actions/actions_session_start.py +6 -1
- rasa/cli/project_templates/tutorial/config.yml +2 -1
- rasa/cli/scaffold.py +27 -2
- rasa/cli/train.py +8 -0
- rasa/cli/utils.py +31 -15
- rasa/core/actions/action.py +28 -41
- rasa/core/actions/action_run_slot_rejections.py +1 -1
- rasa/core/channels/development_inspector.py +47 -14
- rasa/core/channels/inspector/dist/assets/{arc-371401b1.js → arc-1ddec37b.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{blockDiagram-38ab4fdb-3f126156.js → blockDiagram-38ab4fdb-18af387c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{c4Diagram-3d4e48cf-12f22eb7.js → c4Diagram-3d4e48cf-250127a3.js} +1 -1
- rasa/core/channels/inspector/dist/assets/channel-59f6d54b.js +1 -0
- rasa/core/channels/inspector/dist/assets/{classDiagram-70f12bd4-03b1d386.js → classDiagram-70f12bd4-c3388b34.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{classDiagram-v2-f2320105-84f69d63.js → classDiagram-v2-f2320105-9c893a82.js} +1 -1
- rasa/core/channels/inspector/dist/assets/clone-26177ddb.js +1 -0
- rasa/core/channels/inspector/dist/assets/{createText-2e5e7dd3-ca47fd38.js → createText-2e5e7dd3-c111213b.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{edges-e0da2a9e-f837ca8a.js → edges-e0da2a9e-812a729d.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{erDiagram-9861fffd-8717ac54.js → erDiagram-9861fffd-fd5051bc.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDb-956e92f1-94f38b83.js → flowDb-956e92f1-3287ac02.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDiagram-66a62f08-b616f9fb.js → flowDiagram-66a62f08-692fb0b2.js} +1 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-29c03f5a.js +1 -0
- rasa/core/channels/inspector/dist/assets/{flowchart-elk-definition-4a651766-f5d24bb8.js → flowchart-elk-definition-4a651766-008376f1.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{ganttDiagram-c361ad54-b43ba8d9.js → ganttDiagram-c361ad54-df330a69.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{gitGraphDiagram-72cf32ee-c3aafaa5.js → gitGraphDiagram-72cf32ee-e03676fb.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{graph-0d0a2c10.js → graph-46fad2ba.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3862675e-58ea0305.js → index-3862675e-a484ac55.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-cce6f8a1.js → index-a003633f.js} +179 -179
- rasa/core/channels/inspector/dist/assets/{infoDiagram-f8f76790-b8f60461.js → infoDiagram-f8f76790-3f9e6ec2.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{journeyDiagram-49397b02-95be5545.js → journeyDiagram-49397b02-79f72383.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{layout-da885b9b.js → layout-aad098e5.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{line-f1c817d3.js → line-219ab7ae.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{linear-d42801e6.js → linear-2cddbe62.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{mindmap-definition-fc14e90a-a38923a6.js → mindmap-definition-fc14e90a-1d41ed99.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{pieDiagram-8a3498a8-ca6e71e9.js → pieDiagram-8a3498a8-cc496ee8.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{quadrantDiagram-120e2f19-b290dae9.js → quadrantDiagram-120e2f19-84d32884.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{requirementDiagram-deff3bca-03f02ceb.js → requirementDiagram-deff3bca-c0deb984.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sankeyDiagram-04a897e0-c49eee40.js → sankeyDiagram-04a897e0-b9d7fd62.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sequenceDiagram-704730f1-b2cd6a3d.js → sequenceDiagram-704730f1-7d517565.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-587899a1-e53a2028.js → stateDiagram-587899a1-98ef9b27.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-v2-d93cdb3a-e1982a03.js → stateDiagram-v2-d93cdb3a-cee70748.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-6aaf32cf-d0226ca5.js → styles-6aaf32cf-3f9d1c96.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-9a916d00-0e21dc00.js → styles-9a916d00-67471923.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-c10674c1-9588494e.js → styles-c10674c1-bd093fb7.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{svgDrawCommon-08f97a94-be478d4f.js → svgDrawCommon-08f97a94-675794e8.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{timeline-definition-85554ec2-74631749.js → timeline-definition-85554ec2-0ac67617.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{xychartDiagram-e933f94c-a043552f.js → xychartDiagram-e933f94c-c018dc37.js} +1 -1
- rasa/core/channels/inspector/dist/index.html +2 -2
- rasa/core/channels/inspector/index.html +1 -1
- rasa/core/channels/inspector/package.json +4 -3
- rasa/core/channels/inspector/src/App.tsx +53 -7
- rasa/core/channels/inspector/src/components/Chat.tsx +3 -2
- rasa/core/channels/inspector/src/components/DiagramFlow.tsx +1 -1
- rasa/core/channels/inspector/src/components/LatencyDisplay.tsx +268 -0
- rasa/core/channels/inspector/src/components/LoadingSpinner.tsx +6 -2
- rasa/core/channels/inspector/src/helpers/audio/audiostream.ts +8 -3
- rasa/core/channels/inspector/src/types.ts +8 -0
- rasa/core/channels/inspector/yarn.lock +12 -12
- rasa/core/channels/studio_chat.py +119 -34
- rasa/core/channels/voice_ready/twilio_voice.py +1 -1
- 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 +16 -8
- rasa/core/channels/voice_stream/browser_audio.py +39 -4
- rasa/core/channels/voice_stream/call_state.py +13 -2
- rasa/core/channels/voice_stream/genesys.py +16 -13
- rasa/core/channels/voice_stream/jambonz.py +14 -12
- rasa/core/channels/voice_stream/twilio_media_streams.py +14 -13
- rasa/core/channels/voice_stream/util.py +11 -1
- rasa/core/channels/voice_stream/voice_channel.py +108 -29
- rasa/core/nlg/callback.py +1 -1
- rasa/core/nlg/contextual_response_rephraser.py +19 -9
- rasa/core/nlg/generator.py +21 -5
- rasa/core/nlg/response.py +43 -6
- rasa/core/nlg/translate.py +8 -0
- rasa/core/policies/enterprise_search_policy.py +16 -21
- rasa/dialogue_understanding/commands/correct_slots_command.py +38 -10
- rasa/dialogue_understanding/generator/command_generator.py +5 -5
- rasa/dialogue_understanding/generator/command_parser.py +9 -13
- rasa/dialogue_understanding/processor/command_processor.py +149 -55
- rasa/dialogue_understanding/stack/utils.py +13 -3
- rasa/dialogue_understanding_test/du_test_schema.yml +3 -3
- rasa/dialogue_understanding_test/validation.py +9 -10
- rasa/e2e_test/e2e_config.py +18 -11
- rasa/e2e_test/e2e_test_schema.yml +3 -3
- rasa/e2e_test/utils/validation.py +17 -19
- rasa/engine/validation.py +86 -91
- rasa/exceptions.py +26 -1
- rasa/model_manager/model_api.py +2 -2
- rasa/model_manager/socket_bridge.py +8 -2
- rasa/shared/providers/_configs/default_litellm_client_config.py +3 -7
- rasa/shared/utils/cli.py +2 -0
- rasa/shared/utils/common.py +2 -1
- rasa/shared/utils/health_check/health_check.py +10 -14
- rasa/studio/upload.py +6 -2
- rasa/studio/utils.py +33 -22
- rasa/telemetry.py +95 -22
- rasa/utils/licensing.py +21 -10
- rasa/utils/log_utils.py +1 -1
- rasa/utils/tensorflow/transformer.py +3 -3
- rasa/validator.py +7 -5
- rasa/version.py +1 -1
- {rasa_pro-3.13.1a19.dist-info → rasa_pro-3.13.1a20.dist-info}/METADATA +7 -7
- {rasa_pro-3.13.1a19.dist-info → rasa_pro-3.13.1a20.dist-info}/RECORD +242 -205
- rasa/builder/constants.py +0 -4
- rasa/builder/copilot-llm-structured-output-response-schema.json +0 -69
- rasa/builder/copilot.py +0 -233
- rasa/builder/copilot_system_prompt.jinja2 +0 -245
- rasa/builder/create_openai_vector_store.py +0 -228
- rasa/builder/llm_context.py +0 -81
- rasa/cli/project_templates/finance/data/nlu.yml +0 -29
- rasa/cli/project_templates/finance/data/patterns/pattern_search.yml +0 -5
- rasa/cli/project_templates/finance/domain/default_flows.yml +0 -33
- rasa/cli/project_templates/finance/prompts/command-generator.jinja2 +0 -57
- 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/config.yml +0 -17
- rasa/cli/project_templates/plain/data/patterns/pattern_session_start.yml +0 -7
- rasa/cli/project_templates/plain/domain.yml +0 -5
- rasa/core/channels/inspector/dist/assets/channel-f1efda17.js +0 -1
- rasa/core/channels/inspector/dist/assets/clone-fdf164e2.js +0 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-7d7a1629.js +0 -1
- rasa/shared/importers/static.py +0 -63
- /rasa/{cli/project_templates/plain/actions → builder/copilot}/__init__.py +0 -0
- /rasa/builder/{inkeep-rag-response-schema.json → document_retrieval/inkeep-rag-response-schema.json} +0 -0
- /rasa/cli/project_templates/finance/actions/{action_process_immediate_payment.py → transfers/action_process_immediate_payment.py} +0 -0
- /rasa/cli/project_templates/finance/actions/{action_schedule_payment.py → transfers/action_schedule_payment.py} +0 -0
- /rasa/cli/project_templates/finance/actions/{action_validate_payment_date.py → transfers/action_validate_payment_date.py} +0 -0
- /rasa/cli/project_templates/finance/data/{flows → cards}/block_card.yml +0 -0
- /rasa/cli/project_templates/finance/data/{flows → cards}/select_card.yml +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/accounts.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/advisors.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/appointments.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/branches.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/cards.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/payees.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/transactions.json +0 -0
- /rasa/cli/project_templates/finance/data/{source → system/source}/users.json +0 -0
- /rasa/cli/project_templates/finance/data/{flows → transfers}/add_payee.yml +0 -0
- /rasa/cli/project_templates/finance/data/{flows → transfers}/list_payees.yml +0 -0
- /rasa/cli/project_templates/finance/data/{flows → transfers}/remove_payee.yml +0 -0
- /rasa/cli/project_templates/finance/data/{flows → transfers}/transfer_money.yml +0 -0
- /rasa/cli/project_templates/finance/domain/{block_card.yml → cards/block_card.yml} +0 -0
- /rasa/cli/project_templates/finance/domain/{select_card.yml → cards/select_card.yml} +0 -0
- /rasa/cli/project_templates/finance/domain/{add_payee.yml → transfers/add_payee.yml} +0 -0
- /rasa/cli/project_templates/finance/domain/{list_payees.yml → transfers/list_payees.yml} +0 -0
- /rasa/cli/project_templates/finance/domain/{remove_payee.yml → transfers/remove_payee.yml} +0 -0
- /rasa/cli/project_templates/finance/domain/{transfer_money.yml → transfers/transfer_money.yml} +0 -0
- {rasa_pro-3.13.1a19.dist-info → rasa_pro-3.13.1a20.dist-info}/NOTICE +0 -0
- {rasa_pro-3.13.1a19.dist-info → rasa_pro-3.13.1a20.dist-info}/WHEEL +0 -0
- {rasa_pro-3.13.1a19.dist-info → rasa_pro-3.13.1a20.dist-info}/entry_points.txt +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
- test_case: card_blocking - Happy paths no1
|
|
3
|
-
steps:
|
|
4
|
-
- user: "I want to block my card"
|
|
5
|
-
- utter: utter_block_card_understand
|
|
6
|
-
- bot: "Select the card you require assistance with:"
|
|
7
|
-
- user: "Wait, Wait, what will happen to my pre-authorized payments"
|
|
8
|
-
- bot: "When you block your card, any recurring payments linked to it will be interrupted until you update them with a new card number. You can request the merchants to cancel the hold on your pre-authorized payments if it is no longer necessary."
|
|
9
|
-
- bot: "Select the card you require assistance with:"
|
|
10
|
-
- user: "SetSlots(card_selection=3456789034567890)"
|
|
11
|
-
- utter: utter_ask_reason_for_blocking
|
|
12
|
-
- user: "/SetSlots(reason_for_blocking=lost)"
|
|
13
|
-
- utter: utter_acknowledge_reason_fraud_stolen_lost
|
|
14
|
-
- utter: utter_card_blocked
|
|
15
|
-
- utter: utter_ask_confirm_issue_new_card
|
|
16
|
-
- user: "/SetSlots(confirm_issue_new_card=true)"
|
|
17
|
-
- utter: utter_ask_address_confirmed
|
|
18
|
-
- user: "/SetSlots(address_confirmed=True)"
|
|
19
|
-
- utter: utter_confirm_physical_address
|
|
20
|
-
|
|
21
|
-
- test_case: card_blocking - Happy paths no2
|
|
22
|
-
steps:
|
|
23
|
-
- user: "I think I that I have lost my card"
|
|
24
|
-
- utter: utter_block_card_understand
|
|
25
|
-
- bot: "Select the card you require assistance with:"
|
|
26
|
-
- user: "SetSlots(card_selection=5555666677778888)"
|
|
27
|
-
- utter: utter_acknowledge_reason_fraud_stolen_lost
|
|
28
|
-
- utter: utter_card_blocked
|
|
29
|
-
- utter: utter_ask_confirm_issue_new_card
|
|
30
|
-
- user: "/SetSlots(confirm_issue_new_card=false)"
|
|
31
|
-
|
|
32
|
-
- test_case: card_blocking - Happy paths no3
|
|
33
|
-
steps:
|
|
34
|
-
- user: "I think I have lost my card"
|
|
35
|
-
- utter: utter_block_card_understand
|
|
36
|
-
- bot: "Select the card you require assistance with:"
|
|
37
|
-
- user: "SetSlots(card_selection=1111222233334444)"
|
|
38
|
-
- utter: utter_acknowledge_reason_fraud_stolen_lost
|
|
39
|
-
- utter: utter_card_blocked
|
|
40
|
-
- utter: utter_ask_confirm_issue_new_card
|
|
41
|
-
- user: "sorry, i selected the wrong card"
|
|
42
|
-
- utter: utter_corrected_previous_input
|
|
43
|
-
- bot: "Select the card you require assistance with:"
|
|
44
|
-
- user: "the second debit card"
|
|
45
|
-
- utter: utter_corrected_previous_input
|
|
46
|
-
- utter: utter_acknowledge_reason_fraud_stolen_lost
|
|
47
|
-
- utter: utter_card_blocked
|
|
48
|
-
- utter: utter_ask_confirm_issue_new_card
|
|
49
|
-
- user: "/SetSlots(confirm_issue_new_card=true)"
|
|
50
|
-
- utter: utter_ask_address_confirmed
|
|
51
|
-
- user: "yes"
|
|
52
|
-
- utter: utter_confirm_physical_address
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
- test_case: Money Transfer - Happy paths no1
|
|
3
|
-
steps:
|
|
4
|
-
- user: "I want to transfer money"
|
|
5
|
-
- utter: utter_transfer_money_understand
|
|
6
|
-
- bot: "Which account would you like to transfer money from?"
|
|
7
|
-
- user: "12345678"
|
|
8
|
-
- utter: utter_ask_payee_name
|
|
9
|
-
- user: "Robert"
|
|
10
|
-
- utter: utter_ask_amount
|
|
11
|
-
- user: "55"
|
|
12
|
-
- utter: utter_ask_timing
|
|
13
|
-
- user: "immediate"
|
|
14
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
15
|
-
- user: "Yes"
|
|
16
|
-
- utter: utter_transfer_successful
|
|
17
|
-
|
|
18
|
-
- test_case: Money Transfer - Happy paths no2
|
|
19
|
-
steps:
|
|
20
|
-
- user: "I want to transfer $55.55 to Amy from checking"
|
|
21
|
-
- utter: utter_transfer_money_understand
|
|
22
|
-
- utter: utter_ask_timing
|
|
23
|
-
- user: "/SetSlots(timing=now)"
|
|
24
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
25
|
-
- user: "yes"
|
|
26
|
-
- utter: utter_transfer_successful
|
|
27
|
-
|
|
28
|
-
- test_case: Money Transfer - Happy paths no3
|
|
29
|
-
steps:
|
|
30
|
-
- user: "I want to transfer $55.55 to Amy"
|
|
31
|
-
- utter: utter_transfer_money_understand
|
|
32
|
-
- bot: "Which account would you like to transfer money from?"
|
|
33
|
-
- user: "78901234"
|
|
34
|
-
- utter: utter_ask_timing
|
|
35
|
-
- user: "/SetSlots(timing=now)"
|
|
36
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
37
|
-
- user: "yes"
|
|
38
|
-
- utter: utter_transfer_successful
|
|
39
|
-
|
|
40
|
-
- test_case: Money Transfer - Happy paths no4
|
|
41
|
-
steps:
|
|
42
|
-
- user: "I would like to transfer $55.55 to Amy"
|
|
43
|
-
- utter: utter_transfer_money_understand
|
|
44
|
-
- bot: "Which account would you like to transfer money from?"
|
|
45
|
-
- user: "78901234"
|
|
46
|
-
- utter: utter_ask_timing
|
|
47
|
-
- user: "/SetSlots(timing=future)"
|
|
48
|
-
- utter: utter_ask_payment_date
|
|
49
|
-
- user: "12-12-2025"
|
|
50
|
-
- utter: utter_ask_confirm_future_payment
|
|
51
|
-
- user: "yes"
|
|
52
|
-
- utter: utter_payment_scheduled
|
|
53
|
-
|
|
54
|
-
- test_case: Money Transfer - Happy paths no5
|
|
55
|
-
steps:
|
|
56
|
-
- user: "I want to transfer $55.55 to Amy from checking"
|
|
57
|
-
- utter: utter_transfer_money_understand
|
|
58
|
-
- utter: utter_ask_timing
|
|
59
|
-
- user: "/SetSlots(timing=now)"
|
|
60
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
61
|
-
- user: "yes"
|
|
62
|
-
- utter: utter_transfer_successful
|
|
63
|
-
|
|
64
|
-
- test_case: Money Transfer - Happy paths no6
|
|
65
|
-
steps:
|
|
66
|
-
- user: "I want to transfer 55.55$ to Amy"
|
|
67
|
-
- utter: utter_transfer_money_understand
|
|
68
|
-
- bot: "Which account would you like to transfer money from?"
|
|
69
|
-
- user: "67890123"
|
|
70
|
-
- utter: utter_ask_timing
|
|
71
|
-
- user: "immediate"
|
|
72
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
73
|
-
- user: "yes"
|
|
74
|
-
- utter: utter_transfer_successful
|
|
75
|
-
|
|
76
|
-
- test_case: Money Transfer - Happy paths no7
|
|
77
|
-
steps:
|
|
78
|
-
- user: "I want to transfer $55.55 to Amy from checking right now"
|
|
79
|
-
- utter: utter_transfer_money_understand
|
|
80
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
81
|
-
- user: "yes"
|
|
82
|
-
- utter: utter_transfer_successful
|
|
83
|
-
|
|
84
|
-
- test_case: Money Transfer - Happy paths no8
|
|
85
|
-
steps:
|
|
86
|
-
- user: "I want to transfer 100.24$ from my savings to Amy right now"
|
|
87
|
-
- utter: utter_transfer_money_understand
|
|
88
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
89
|
-
- user: "yes"
|
|
90
|
-
- utter: utter_transfer_successful
|
|
91
|
-
|
|
92
|
-
- test_case: Money Transfer - Happy paths no9
|
|
93
|
-
steps:
|
|
94
|
-
- user: "I want to transfer money"
|
|
95
|
-
- utter: utter_transfer_money_understand
|
|
96
|
-
- bot: "Which account would you like to transfer money from?"
|
|
97
|
-
- user: "who are my payees"
|
|
98
|
-
- bot: "You are authorised to transfer money to: Robert, James and Food Market"
|
|
99
|
-
- utter: utter_flow_continue_interrupted
|
|
100
|
-
- bot: "Which account would you like to transfer money from?"
|
|
101
|
-
- user: "I would like to add Timmy as a payee"
|
|
102
|
-
- utter: utter_ask_account_number
|
|
103
|
-
- user: "56567"
|
|
104
|
-
- utter: utter_ask_payee_type
|
|
105
|
-
- user: "/SetSlots(payee_type=person)"
|
|
106
|
-
- utter: utter_ask_reference
|
|
107
|
-
- user: "Facebook Marketplace"
|
|
108
|
-
- utter: utter_ask_confirm_payee_details
|
|
109
|
-
- user: "/SetSlots(confirm_payee_details=True)"
|
|
110
|
-
- utter: utter_payee_added_success
|
|
111
|
-
- utter: utter_flow_continue_interrupted
|
|
112
|
-
- bot: "Which account would you like to transfer money from?"
|
|
113
|
-
- user: "12345678"
|
|
114
|
-
- utter: utter_ask_amount
|
|
115
|
-
- user: "$40.67"
|
|
116
|
-
- utter: utter_ask_timing
|
|
117
|
-
- user: "/SetSlots(timing=now)"
|
|
118
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
119
|
-
- user: "yup"
|
|
120
|
-
- utter: utter_transfer_successful
|
|
121
|
-
|
|
122
|
-
- test_case: Money Transfer - Happy paths no10
|
|
123
|
-
steps:
|
|
124
|
-
- user: "I want to transfer 55 to Amy from savings right now"
|
|
125
|
-
- utter: utter_transfer_money_understand
|
|
126
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
127
|
-
- user: "sorry I meant 65"
|
|
128
|
-
- utter: utter_corrected_previous_input
|
|
129
|
-
- utter: utter_ask_confirm_immediate_payment
|
|
130
|
-
- user: "sorry I meant in the future"
|
|
131
|
-
- utter: utter_corrected_previous_input
|
|
132
|
-
- utter: utter_ask_payment_date
|
|
133
|
-
- user: "12/12/2025"
|
|
134
|
-
- utter: utter_ask_confirm_future_payment
|
|
135
|
-
- user: "Yes"
|
|
136
|
-
- utter: utter_payment_scheduled
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
test_cases:
|
|
2
|
-
- test_case: payee_management - Happy paths no1
|
|
3
|
-
steps:
|
|
4
|
-
- user: "who are my payees"
|
|
5
|
-
- bot: "You are authorised to transfer money to: Robert, James and Food Market"
|
|
6
|
-
|
|
7
|
-
- test_case: payee_management - Happy paths no2
|
|
8
|
-
steps:
|
|
9
|
-
- user: "I want to add a payee"
|
|
10
|
-
- utter: utter_ask_payee_name
|
|
11
|
-
- user: "Sonia Smith"
|
|
12
|
-
- utter: utter_ask_account_number
|
|
13
|
-
- user: "123456"
|
|
14
|
-
- utter: utter_ask_payee_type
|
|
15
|
-
- user: "person"
|
|
16
|
-
- utter: utter_ask_reference
|
|
17
|
-
- user: "Facebook Marketplace"
|
|
18
|
-
- utter: utter_ask_confirm_payee_details
|
|
19
|
-
- user: "/SetSlots(confirm_payee_details=True)"
|
|
20
|
-
- utter: utter_payee_added_success
|
|
21
|
-
|
|
22
|
-
- test_case: payee_management - Happy paths no3
|
|
23
|
-
steps:
|
|
24
|
-
- user: "who are my payees"
|
|
25
|
-
- bot: "You are authorised to transfer money to: Robert, James and Food Market"
|
|
26
|
-
- user: "I want to remove a payee"
|
|
27
|
-
- utter: utter_ask_rephrase
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# The config recipe.
|
|
2
|
-
recipe: default.v1
|
|
3
|
-
|
|
4
|
-
# The assistant project unique identifier
|
|
5
|
-
# This default value must be replaced with a unique assistant name within your deployment
|
|
6
|
-
assistant_id: placeholder_default
|
|
7
|
-
|
|
8
|
-
language: en
|
|
9
|
-
pipeline:
|
|
10
|
-
- name: CompactLLMCommandGenerator
|
|
11
|
-
llm:
|
|
12
|
-
model_group: openai-gpt-4o
|
|
13
|
-
|
|
14
|
-
# Configuration for Rasa Core.
|
|
15
|
-
policies:
|
|
16
|
-
- name: FlowPolicy
|
|
17
|
-
- name: IntentlessPolicy
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aI as o,aJ as r}from"./index-cce6f8a1.js";const s=(a,n)=>o.lang.round(r.parse(a)[n]),e=s;export{e as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as r}from"./graph-0d0a2c10.js";var e=4;function a(o){return r(o,e)}export{a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,f as o}from"./flowDb-956e92f1-94f38b83.js";import{f as t,g as a}from"./styles-c10674c1-9588494e.js";import{u as i}from"./index-cce6f8a1.js";import"./graph-0d0a2c10.js";import"./layout-da885b9b.js";import"./index-3862675e-58ea0305.js";import"./clone-fdf164e2.js";import"./edges-e0da2a9e-f837ca8a.js";import"./createText-2e5e7dd3-ca47fd38.js";import"./line-f1c817d3.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./channel-f1efda17.js";const M={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{M as diagram};
|
rasa/shared/importers/static.py
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import logging
|
|
2
|
-
from typing import Dict, Optional, Text
|
|
3
|
-
|
|
4
|
-
from rasa.shared.core.domain import Domain
|
|
5
|
-
from rasa.shared.core.flows import FlowsList
|
|
6
|
-
from rasa.shared.core.training_data.structures import StoryGraph
|
|
7
|
-
from rasa.shared.importers.importer import TrainingDataImporter
|
|
8
|
-
from rasa.shared.nlu.training_data.training_data import TrainingData
|
|
9
|
-
from rasa.shared.utils.common import cached_method
|
|
10
|
-
|
|
11
|
-
logger = logging.getLogger(__name__)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class StaticTrainingDataImporter(TrainingDataImporter):
|
|
15
|
-
"""Static `TrainingFileImporter` implementation."""
|
|
16
|
-
|
|
17
|
-
def __init__(
|
|
18
|
-
self,
|
|
19
|
-
domain: Domain,
|
|
20
|
-
stories: Optional[StoryGraph] = None,
|
|
21
|
-
flows: Optional[FlowsList] = None,
|
|
22
|
-
nlu_data: Optional[TrainingData] = None,
|
|
23
|
-
config: Optional[Dict] = None,
|
|
24
|
-
):
|
|
25
|
-
self.domain = domain
|
|
26
|
-
self.stories = stories or StoryGraph([])
|
|
27
|
-
self.flows = flows or FlowsList(underlying_flows=[])
|
|
28
|
-
self.nlu_data = nlu_data or TrainingData()
|
|
29
|
-
self.config = config or {}
|
|
30
|
-
|
|
31
|
-
@cached_method
|
|
32
|
-
def get_config(self) -> Dict:
|
|
33
|
-
"""Retrieves model config (see parent class for full docstring)."""
|
|
34
|
-
return self.config
|
|
35
|
-
|
|
36
|
-
def get_config_file_for_auto_config(self) -> Optional[Text]:
|
|
37
|
-
"""Returns config file path for auto-config only if there is a single one."""
|
|
38
|
-
return None
|
|
39
|
-
|
|
40
|
-
@cached_method
|
|
41
|
-
def get_stories(self, exclusion_percentage: Optional[int] = None) -> StoryGraph:
|
|
42
|
-
"""Retrieves training stories / rules (see parent class for full docstring)."""
|
|
43
|
-
return self.stories
|
|
44
|
-
|
|
45
|
-
@cached_method
|
|
46
|
-
def get_flows(self) -> FlowsList:
|
|
47
|
-
"""Retrieves training stories / rules (see parent class for full docstring)."""
|
|
48
|
-
return self.flows
|
|
49
|
-
|
|
50
|
-
@cached_method
|
|
51
|
-
def get_conversation_tests(self) -> StoryGraph:
|
|
52
|
-
"""Retrieves conversation test stories (see parent class for full docstring)."""
|
|
53
|
-
return StoryGraph([])
|
|
54
|
-
|
|
55
|
-
@cached_method
|
|
56
|
-
def get_nlu_data(self, language: Optional[Text] = "en") -> TrainingData:
|
|
57
|
-
"""Retrieves NLU training data (see parent class for full docstring)."""
|
|
58
|
-
return self.nlu_data
|
|
59
|
-
|
|
60
|
-
@cached_method
|
|
61
|
-
def get_domain(self) -> Domain:
|
|
62
|
-
"""Retrieves model domain (see parent class for full docstring)."""
|
|
63
|
-
return self.domain
|
|
File without changes
|
/rasa/builder/{inkeep-rag-response-schema.json → document_retrieval/inkeep-rag-response-schema.json}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/rasa/cli/project_templates/finance/domain/{transfer_money.yml → transfers/transfer_money.yml}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|