rasa-pro 3.12.18.dev1__py3-none-any.whl → 3.13.0a1.dev2__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/__init__.py +0 -6
- rasa/__main__.py +3 -4
- rasa/api.py +1 -1
- rasa/builder/create_openai_vector_store.py +69 -0
- rasa/builder/llm-helper-schema.json +69 -0
- rasa/builder/prompt_to_bot.py +650 -0
- rasa/builder/scrape_rasa_docs.py +97 -0
- rasa/builder/skill_to_bot_prompt.jinja +158 -0
- rasa/cli/dialogue_understanding_test.py +1 -1
- rasa/cli/e2e_test.py +1 -1
- rasa/cli/evaluate.py +2 -2
- rasa/cli/export.py +3 -3
- rasa/cli/llm_fine_tuning.py +1 -1
- rasa/cli/project_templates/default/config.yml +5 -32
- rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_cancels_during_a_correction.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_changes_mind_on_a_whim.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_handle.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_name.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_adds_contact_to_their_list.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_lists_contacts.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact_from_list.yml +1 -1
- rasa/cli/project_templates/default/endpoints.yml +18 -2
- rasa/cli/project_templates/defaults.py +133 -0
- rasa/cli/run.py +1 -1
- rasa/cli/scaffold.py +2 -3
- rasa/cli/studio/download.py +1 -1
- rasa/cli/studio/link.py +53 -0
- rasa/cli/studio/pull.py +78 -0
- rasa/cli/studio/push.py +78 -0
- rasa/cli/studio/studio.py +12 -0
- rasa/cli/studio/upload.py +5 -3
- rasa/cli/train.py +1 -1
- rasa/cli/utils.py +1 -1
- rasa/cli/x.py +1 -1
- rasa/constants.py +2 -0
- rasa/core/__init__.py +0 -16
- rasa/core/actions/action.py +42 -31
- rasa/core/actions/action_repeat_bot_messages.py +18 -22
- rasa/core/actions/action_run_slot_rejections.py +1 -2
- rasa/core/agent.py +18 -3
- rasa/core/available_endpoints.py +146 -0
- rasa/core/brokers/kafka.py +4 -0
- rasa/core/brokers/pika.py +5 -2
- rasa/core/brokers/sql.py +1 -1
- rasa/core/channels/botframework.py +2 -2
- rasa/core/channels/channel.py +2 -2
- rasa/core/channels/development_inspector.py +1 -1
- rasa/core/channels/facebook.py +1 -4
- rasa/core/channels/hangouts.py +8 -5
- rasa/core/channels/inspector/.eslintrc.cjs +12 -6
- rasa/core/channels/inspector/.prettierrc +5 -0
- rasa/core/channels/inspector/README.md +11 -5
- rasa/core/channels/inspector/dist/assets/{arc-9f75cc3b.js → arc-02053cc1.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{blockDiagram-38ab4fdb-7f34db23.js → blockDiagram-38ab4fdb-008b6289.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{c4Diagram-3d4e48cf-948bab2c.js → c4Diagram-3d4e48cf-fb2597be.js} +1 -1
- rasa/core/channels/inspector/dist/assets/channel-078dada8.js +1 -0
- rasa/core/channels/inspector/dist/assets/{classDiagram-70f12bd4-53b0dd0e.js → classDiagram-70f12bd4-7f847e00.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{classDiagram-v2-f2320105-fdf789e7.js → classDiagram-v2-f2320105-ba1d689b.js} +1 -1
- rasa/core/channels/inspector/dist/assets/clone-5b4516de.js +1 -0
- rasa/core/channels/inspector/dist/assets/{createText-2e5e7dd3-87c4ece5.js → createText-2e5e7dd3-dd8e67c4.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{edges-e0da2a9e-5a8b0749.js → edges-e0da2a9e-10784939.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{erDiagram-9861fffd-66da90e2.js → erDiagram-9861fffd-24947ae6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDb-956e92f1-10044f05.js → flowDb-956e92f1-a9ced505.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDiagram-66a62f08-f338f66a.js → flowDiagram-66a62f08-afda9c7c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-f9613071.js +1 -0
- rasa/core/channels/inspector/dist/assets/{flowchart-elk-definition-4a651766-b13140aa.js → flowchart-elk-definition-4a651766-6ef530b8.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{ganttDiagram-c361ad54-f2b4a55a.js → ganttDiagram-c361ad54-0c7dd39a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{gitGraphDiagram-72cf32ee-dedc298d.js → gitGraphDiagram-72cf32ee-b57239d6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{graph-4ede11ff.js → graph-9ed57cec.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3862675e-65549d37.js → index-3862675e-233090de.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3a23e736.js → index-72184470.js} +123 -123
- rasa/core/channels/inspector/dist/assets/{infoDiagram-f8f76790-65439671.js → infoDiagram-f8f76790-aa116649.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{journeyDiagram-49397b02-56d03d98.js → journeyDiagram-49397b02-e51877cc.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{layout-dd48f7f4.js → layout-3ca3798c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{line-1569ad2c.js → line-26ee10d3.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{linear-48bf4935.js → linear-aedded32.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{mindmap-definition-fc14e90a-688504c1.js → mindmap-definition-fc14e90a-d8957261.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{pieDiagram-8a3498a8-78b6d7e6.js → pieDiagram-8a3498a8-d771f885.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{quadrantDiagram-120e2f19-048b84b3.js → quadrantDiagram-120e2f19-09fdf50c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{requirementDiagram-deff3bca-dd67f107.js → requirementDiagram-deff3bca-9f0af02e.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sankeyDiagram-04a897e0-8128436e.js → sankeyDiagram-04a897e0-84415b37.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sequenceDiagram-704730f1-1a0d1461.js → sequenceDiagram-704730f1-8dec4055.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-587899a1-46d388ed.js → stateDiagram-587899a1-c5431d07.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-v2-d93cdb3a-ea42951a.js → stateDiagram-v2-d93cdb3a-274e77d9.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-6aaf32cf-7427ed0c.js → styles-6aaf32cf-e364a1d7.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-9a916d00-ff5e5a16.js → styles-9a916d00-0dae36f6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-c10674c1-7b3680cf.js → styles-c10674c1-c4641675.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{svgDrawCommon-08f97a94-f860f2ad.js → svgDrawCommon-08f97a94-831fe9a1.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{timeline-definition-85554ec2-2eebf0c8.js → timeline-definition-85554ec2-c3304b3a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{xychartDiagram-e933f94c-5d7f4e96.js → xychartDiagram-e933f94c-da799369.js} +1 -1
- rasa/core/channels/inspector/dist/index.html +1 -1
- rasa/core/channels/inspector/package.json +3 -1
- rasa/core/channels/inspector/src/App.tsx +91 -90
- rasa/core/channels/inspector/src/components/Chat.tsx +45 -41
- rasa/core/channels/inspector/src/components/DiagramFlow.tsx +40 -40
- rasa/core/channels/inspector/src/components/DialogueInformation.tsx +57 -57
- rasa/core/channels/inspector/src/components/DialogueStack.tsx +36 -27
- rasa/core/channels/inspector/src/components/ExpandIcon.tsx +4 -4
- rasa/core/channels/inspector/src/components/FullscreenButton.tsx +7 -7
- rasa/core/channels/inspector/src/components/LoadingSpinner.tsx +28 -12
- rasa/core/channels/inspector/src/components/NoActiveFlow.tsx +9 -9
- rasa/core/channels/inspector/src/components/RasaLogo.tsx +5 -5
- rasa/core/channels/inspector/src/components/RecruitmentPanel.tsx +55 -60
- rasa/core/channels/inspector/src/components/SaraDiagrams.tsx +5 -5
- rasa/core/channels/inspector/src/components/Slots.tsx +22 -22
- rasa/core/channels/inspector/src/components/Welcome.tsx +28 -31
- rasa/core/channels/inspector/src/helpers/audio/audiostream.ts +245 -0
- rasa/core/channels/inspector/src/helpers/audio/microphone-processor.js +12 -0
- rasa/core/channels/inspector/src/helpers/audio/playback-processor.js +36 -0
- rasa/core/channels/inspector/src/helpers/conversation.ts +7 -7
- rasa/core/channels/inspector/src/helpers/formatters.test.ts +181 -181
- rasa/core/channels/inspector/src/helpers/formatters.ts +111 -111
- rasa/core/channels/inspector/src/helpers/utils.ts +78 -61
- rasa/core/channels/inspector/src/main.tsx +8 -8
- rasa/core/channels/inspector/src/theme/Button/Button.ts +8 -8
- rasa/core/channels/inspector/src/theme/Heading/Heading.ts +7 -7
- rasa/core/channels/inspector/src/theme/Input/Input.ts +9 -9
- rasa/core/channels/inspector/src/theme/Link/Link.ts +6 -6
- rasa/core/channels/inspector/src/theme/Modal/Modal.ts +13 -13
- rasa/core/channels/inspector/src/theme/Table/Table.tsx +10 -10
- rasa/core/channels/inspector/src/theme/Tooltip/Tooltip.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/breakpoints.ts +7 -7
- rasa/core/channels/inspector/src/theme/base/colors.ts +64 -64
- rasa/core/channels/inspector/src/theme/base/fonts/fontFaces.css +21 -18
- rasa/core/channels/inspector/src/theme/base/radii.ts +8 -8
- rasa/core/channels/inspector/src/theme/base/shadows.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/sizes.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/space.ts +12 -12
- rasa/core/channels/inspector/src/theme/base/styles.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/typography.ts +12 -12
- rasa/core/channels/inspector/src/theme/base/zIndices.ts +3 -3
- rasa/core/channels/inspector/src/theme/index.ts +38 -38
- rasa/core/channels/inspector/src/types.ts +56 -50
- rasa/core/channels/inspector/yarn.lock +5 -0
- rasa/core/channels/mattermost.py +1 -1
- rasa/core/channels/rasa_chat.py +2 -4
- rasa/core/channels/rest.py +5 -4
- rasa/core/channels/socketio.py +56 -41
- rasa/core/channels/studio_chat.py +337 -71
- rasa/core/channels/vier_cvg.py +1 -2
- rasa/core/channels/voice_ready/audiocodes.py +4 -11
- rasa/core/channels/voice_stream/audiocodes.py +8 -5
- rasa/core/channels/voice_stream/browser_audio.py +1 -1
- rasa/core/channels/voice_stream/genesys.py +2 -2
- rasa/core/channels/voice_stream/tts/__init__.py +8 -0
- rasa/core/channels/voice_stream/twilio_media_streams.py +10 -5
- rasa/core/channels/voice_stream/voice_channel.py +65 -23
- rasa/core/concurrent_lock_store.py +24 -10
- rasa/core/evaluation/marker_tracker_loader.py +1 -1
- rasa/core/exporter.py +1 -1
- rasa/core/http_interpreter.py +3 -7
- rasa/core/information_retrieval/faiss.py +18 -11
- rasa/core/information_retrieval/ingestion/__init__.py +0 -0
- rasa/core/information_retrieval/ingestion/faq_parser.py +158 -0
- rasa/core/jobs.py +2 -1
- rasa/core/lock_store.py +151 -60
- rasa/core/nlg/contextual_response_rephraser.py +17 -7
- rasa/core/nlg/generator.py +5 -22
- rasa/core/nlg/interpolator.py +2 -3
- rasa/core/nlg/response.py +6 -43
- rasa/core/nlg/summarize.py +1 -1
- rasa/core/nlg/translate.py +0 -8
- rasa/core/policies/enterprise_search_policy.py +262 -62
- rasa/core/policies/enterprise_search_prompt_with_relevancy_check_and_citation_template.jinja2 +63 -0
- rasa/core/policies/flow_policy.py +1 -1
- rasa/core/policies/flows/flow_executor.py +96 -17
- rasa/core/policies/intentless_policy.py +57 -20
- rasa/core/processor.py +114 -54
- rasa/core/run.py +33 -11
- rasa/core/tracker_stores/__init__.py +0 -0
- rasa/core/{auth_retry_tracker_store.py → tracker_stores/auth_retry_tracker_store.py} +5 -1
- rasa/core/tracker_stores/dynamo_tracker_store.py +218 -0
- rasa/core/tracker_stores/mongo_tracker_store.py +206 -0
- rasa/core/tracker_stores/redis_tracker_store.py +219 -0
- rasa/core/tracker_stores/sql_tracker_store.py +555 -0
- rasa/core/tracker_stores/tracker_store.py +805 -0
- rasa/core/training/interactive.py +1 -1
- rasa/core/utils.py +24 -95
- rasa/dialogue_understanding/coexistence/intent_based_router.py +2 -1
- rasa/dialogue_understanding/coexistence/llm_based_router.py +10 -6
- rasa/dialogue_understanding/commands/can_not_handle_command.py +2 -0
- rasa/dialogue_understanding/commands/cancel_flow_command.py +5 -1
- rasa/dialogue_understanding/commands/chit_chat_answer_command.py +2 -0
- rasa/dialogue_understanding/commands/clarify_command.py +4 -0
- rasa/dialogue_understanding/commands/command_syntax_manager.py +1 -0
- rasa/dialogue_understanding/commands/correct_slots_command.py +1 -3
- rasa/dialogue_understanding/commands/human_handoff_command.py +2 -0
- rasa/dialogue_understanding/commands/knowledge_answer_command.py +2 -0
- rasa/dialogue_understanding/commands/repeat_bot_messages_command.py +2 -0
- rasa/dialogue_understanding/commands/set_slot_command.py +10 -0
- rasa/dialogue_understanding/commands/skip_question_command.py +2 -0
- rasa/dialogue_understanding/commands/start_flow_command.py +4 -0
- rasa/dialogue_understanding/commands/utils.py +26 -2
- rasa/dialogue_understanding/generator/__init__.py +7 -1
- rasa/dialogue_understanding/generator/command_generator.py +4 -2
- rasa/dialogue_understanding/generator/command_parser.py +2 -2
- rasa/dialogue_understanding/generator/command_parser_validator.py +63 -0
- rasa/dialogue_understanding/generator/llm_based_command_generator.py +5 -17
- rasa/dialogue_understanding/generator/llm_command_generator.py +1 -3
- rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py +4 -44
- rasa/dialogue_understanding/generator/nlu_command_adapter.py +2 -2
- rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v3_gpt_4o_2024_11_20_template.jinja2 +78 -0
- rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py +26 -474
- rasa/dialogue_understanding/generator/single_step/search_ready_llm_command_generator.py +147 -0
- rasa/dialogue_understanding/generator/single_step/single_step_based_llm_command_generator.py +477 -0
- rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py +11 -64
- rasa/dialogue_understanding/patterns/cancel.py +1 -2
- rasa/dialogue_understanding/patterns/clarify.py +1 -1
- rasa/dialogue_understanding/patterns/correction.py +2 -2
- rasa/dialogue_understanding/patterns/default_flows_for_patterns.yml +37 -25
- rasa/dialogue_understanding/patterns/domain_for_patterns.py +190 -0
- rasa/dialogue_understanding/processor/command_processor.py +6 -7
- rasa/dialogue_understanding/stack/frames/flow_stack_frame.py +17 -4
- rasa/dialogue_understanding/stack/utils.py +3 -1
- rasa/dialogue_understanding/utils.py +68 -12
- rasa/dialogue_understanding_test/command_metric_calculation.py +7 -40
- rasa/dialogue_understanding_test/command_metrics.py +38 -0
- rasa/dialogue_understanding_test/du_test_case.py +58 -25
- rasa/dialogue_understanding_test/du_test_result.py +228 -132
- rasa/dialogue_understanding_test/du_test_runner.py +11 -2
- rasa/dialogue_understanding_test/io.py +35 -8
- rasa/e2e_test/e2e_test_runner.py +1 -1
- rasa/engine/constants.py +1 -1
- rasa/engine/graph.py +2 -2
- rasa/engine/recipes/default_recipe.py +1 -1
- rasa/engine/validation.py +3 -2
- rasa/hooks.py +2 -85
- rasa/llm_fine_tuning/paraphrasing/conversation_rephraser.py +1 -5
- rasa/llm_fine_tuning/utils.py +2 -4
- rasa/model_manager/model_api.py +90 -2
- rasa/model_manager/socket_bridge.py +0 -7
- rasa/model_manager/trainer_service.py +15 -12
- rasa/plugin.py +2 -15
- rasa/privacy/__init__.py +0 -0
- rasa/privacy/constants.py +83 -0
- rasa/privacy/event_broker_utils.py +77 -0
- rasa/privacy/privacy_config.py +281 -0
- rasa/privacy/privacy_config_schema.json +86 -0
- rasa/privacy/privacy_filter.py +340 -0
- rasa/privacy/privacy_manager.py +576 -0
- rasa/server.py +23 -2
- rasa/shared/constants.py +13 -4
- rasa/shared/core/command_payload_reader.py +1 -5
- rasa/shared/core/constants.py +4 -3
- rasa/shared/core/domain.py +172 -11
- rasa/shared/core/events.py +100 -6
- rasa/shared/core/flows/flow.py +35 -8
- rasa/shared/core/flows/flow_step.py +26 -4
- rasa/shared/core/flows/flow_step_links.py +15 -0
- rasa/shared/core/flows/flow_step_sequence.py +6 -0
- rasa/shared/core/flows/flows_yaml_schema.json +3 -0
- rasa/shared/core/flows/nlu_trigger.py +13 -0
- rasa/shared/core/flows/steps/action.py +7 -4
- rasa/shared/core/flows/steps/call.py +11 -4
- rasa/shared/core/flows/steps/collect.py +71 -6
- rasa/shared/core/flows/steps/internal.py +6 -1
- rasa/shared/core/flows/steps/link.py +7 -4
- rasa/shared/core/flows/steps/no_operation.py +7 -4
- rasa/shared/core/flows/steps/set_slots.py +8 -4
- rasa/shared/core/flows/validation.py +16 -3
- rasa/shared/core/flows/yaml_flows_io.py +106 -5
- rasa/shared/core/slots.py +33 -1
- rasa/shared/core/trackers.py +4 -10
- rasa/shared/core/training_data/story_reader/yaml_story_reader.py +1 -4
- rasa/shared/importers/importer.py +14 -0
- rasa/shared/importers/static.py +63 -0
- rasa/shared/providers/constants.py +0 -9
- rasa/shared/providers/llm/_base_litellm_client.py +4 -14
- rasa/shared/providers/llm/default_litellm_llm_client.py +2 -2
- rasa/shared/providers/llm/litellm_router_llm_client.py +7 -17
- rasa/shared/providers/llm/llm_client.py +15 -24
- rasa/shared/providers/llm/self_hosted_llm_client.py +2 -10
- rasa/shared/utils/common.py +43 -1
- rasa/shared/utils/llm.py +155 -3
- rasa/shared/utils/yaml.py +32 -0
- rasa/studio/data_handler.py +3 -3
- rasa/studio/download/__init__.py +0 -0
- rasa/studio/download/domains.py +49 -0
- rasa/studio/download/download.py +416 -0
- rasa/studio/download/flows.py +351 -0
- rasa/studio/link.py +200 -0
- rasa/studio/pull.py +94 -0
- rasa/studio/push.py +131 -0
- rasa/studio/results_logger.py +6 -1
- rasa/studio/upload.py +185 -71
- rasa/telemetry.py +83 -26
- rasa/tracing/config.py +4 -5
- rasa/tracing/constants.py +19 -1
- rasa/tracing/instrumentation/attribute_extractors.py +49 -11
- rasa/tracing/instrumentation/instrumentation.py +54 -3
- rasa/tracing/instrumentation/metrics.py +98 -15
- rasa/tracing/metric_instrument_provider.py +75 -3
- rasa/utils/common.py +37 -27
- rasa/utils/endpoints.py +22 -1
- rasa/utils/licensing.py +2 -3
- rasa/utils/log_utils.py +1 -45
- rasa/validator.py +9 -11
- rasa/version.py +1 -1
- {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev2.dist-info}/METADATA +12 -14
- {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev2.dist-info}/RECORD +318 -294
- rasa/anonymization/__init__.py +0 -2
- rasa/anonymization/anonymisation_rule_yaml_reader.py +0 -91
- rasa/anonymization/anonymization_pipeline.py +0 -286
- rasa/anonymization/anonymization_rule_executor.py +0 -266
- rasa/anonymization/anonymization_rule_orchestrator.py +0 -119
- rasa/anonymization/schemas/config.yml +0 -47
- rasa/anonymization/utils.py +0 -118
- rasa/cli/project_templates/calm/config.yml +0 -10
- rasa/cli/project_templates/calm/credentials.yml +0 -33
- rasa/cli/project_templates/calm/endpoints.yml +0 -58
- rasa/cli/project_templates/default/actions/actions.py +0 -27
- rasa/cli/project_templates/default/data/nlu.yml +0 -91
- rasa/cli/project_templates/default/data/rules.yml +0 -13
- rasa/cli/project_templates/default/data/stories.yml +0 -30
- rasa/cli/project_templates/default/domain.yml +0 -34
- rasa/cli/project_templates/default/tests/test_stories.yml +0 -91
- rasa/core/channels/inspector/dist/assets/channel-dfa68278.js +0 -1
- rasa/core/channels/inspector/dist/assets/clone-edb7f119.js +0 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-65e7c670.js +0 -1
- rasa/core/channels/inspector/src/helpers/audiostream.ts +0 -191
- rasa/core/tracker_store.py +0 -1792
- rasa/monkey_patches.py +0 -91
- rasa/studio/download.py +0 -489
- /rasa/{cli/project_templates/calm/actions → builder}/__init__.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/action_template.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/add_contact.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/db.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/list_contacts.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/remove_contact.py +0 -0
- /rasa/cli/project_templates/{calm → default}/data/flows/add_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/data/flows/list_contacts.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/data/flows/remove_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/db/contacts.json +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/add_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/list_contacts.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/remove_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/shared.yml +0 -0
- {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev2.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev2.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev2.dist-info}/entry_points.txt +0 -0
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
import { Event } from
|
|
1
|
+
import { Event } from '../types'
|
|
2
2
|
import {
|
|
3
3
|
formatSlots,
|
|
4
4
|
formatTestCases,
|
|
5
5
|
formatFlow,
|
|
6
6
|
parseFieldUsingStack,
|
|
7
|
-
} from
|
|
7
|
+
} from './formatters'
|
|
8
8
|
|
|
9
|
-
describe(
|
|
10
|
-
describe(
|
|
11
|
-
test(
|
|
9
|
+
describe('helpers', () => {
|
|
10
|
+
describe('formatSlots', () => {
|
|
11
|
+
test('should return an empty array if no slots are provided', () => {
|
|
12
12
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
13
13
|
// @ts-ignore
|
|
14
|
-
const result = formatSlots(undefined)
|
|
15
|
-
expect(result).toEqual([])
|
|
16
|
-
})
|
|
14
|
+
const result = formatSlots(undefined)
|
|
15
|
+
expect(result).toEqual([])
|
|
16
|
+
})
|
|
17
17
|
|
|
18
|
-
test(
|
|
18
|
+
test('should filter out slots with no value', () => {
|
|
19
19
|
const slots = {
|
|
20
20
|
slot1: null,
|
|
21
21
|
slot2: null,
|
|
22
|
-
}
|
|
23
|
-
const result = formatSlots(slots)
|
|
24
|
-
expect(result).toEqual([])
|
|
25
|
-
})
|
|
22
|
+
}
|
|
23
|
+
const result = formatSlots(slots)
|
|
24
|
+
expect(result).toEqual([])
|
|
25
|
+
})
|
|
26
26
|
|
|
27
|
-
test(
|
|
27
|
+
test('should filter out `dialogue_stack` slots', () => {
|
|
28
28
|
const slots = {
|
|
29
|
-
dialogue_stack:
|
|
30
|
-
}
|
|
31
|
-
const result = formatSlots(slots)
|
|
32
|
-
expect(result).toEqual([])
|
|
33
|
-
})
|
|
29
|
+
dialogue_stack: 'anything',
|
|
30
|
+
}
|
|
31
|
+
const result = formatSlots(slots)
|
|
32
|
+
expect(result).toEqual([])
|
|
33
|
+
})
|
|
34
34
|
|
|
35
|
-
test(
|
|
35
|
+
test('should filter out `flow_hashes` slots', () => {
|
|
36
36
|
const slots = {
|
|
37
|
-
flow_hashes:
|
|
38
|
-
}
|
|
39
|
-
const result = formatSlots(slots)
|
|
40
|
-
expect(result).toEqual([])
|
|
41
|
-
})
|
|
37
|
+
flow_hashes: 'anything',
|
|
38
|
+
}
|
|
39
|
+
const result = formatSlots(slots)
|
|
40
|
+
expect(result).toEqual([])
|
|
41
|
+
})
|
|
42
42
|
|
|
43
|
-
test(
|
|
43
|
+
test('should format a list of slots', () => {
|
|
44
44
|
const slots = {
|
|
45
45
|
slot1: true,
|
|
46
|
-
slot2:
|
|
47
|
-
}
|
|
48
|
-
const result = formatSlots(slots)
|
|
46
|
+
slot2: 'value',
|
|
47
|
+
}
|
|
48
|
+
const result = formatSlots(slots)
|
|
49
49
|
expect(result).toEqual([
|
|
50
50
|
{
|
|
51
|
-
name:
|
|
51
|
+
name: 'slot1',
|
|
52
52
|
value: true,
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
name:
|
|
56
|
-
value:
|
|
55
|
+
name: 'slot2',
|
|
56
|
+
value: 'value',
|
|
57
57
|
},
|
|
58
|
-
])
|
|
59
|
-
})
|
|
60
|
-
})
|
|
58
|
+
])
|
|
59
|
+
})
|
|
60
|
+
})
|
|
61
61
|
|
|
62
|
-
describe(
|
|
63
|
-
const sessionId =
|
|
62
|
+
describe('formatTestCases', () => {
|
|
63
|
+
const sessionId = 'session-id'
|
|
64
64
|
|
|
65
|
-
test(
|
|
66
|
-
const events: Event[] = []
|
|
67
|
-
const result = formatTestCases(events, sessionId)
|
|
65
|
+
test('should format an empty list of events', () => {
|
|
66
|
+
const events: Event[] = []
|
|
67
|
+
const result = formatTestCases(events, sessionId)
|
|
68
68
|
expect(result).toEqual(`test_cases:
|
|
69
69
|
- test_case: ${sessionId}
|
|
70
|
-
steps: []`)
|
|
71
|
-
})
|
|
70
|
+
steps: []`)
|
|
71
|
+
})
|
|
72
72
|
|
|
73
|
-
test(
|
|
73
|
+
test('should format a list of events', () => {
|
|
74
74
|
const events: Event[] = [
|
|
75
75
|
{
|
|
76
|
-
event:
|
|
77
|
-
text:
|
|
78
|
-
timestamp:
|
|
76
|
+
event: 'user',
|
|
77
|
+
text: 'book a restaurant',
|
|
78
|
+
timestamp: '123',
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
event:
|
|
81
|
+
event: 'bot',
|
|
82
82
|
metadata: {
|
|
83
|
-
utter_action:
|
|
83
|
+
utter_action: 'utter_ask_book_restaurant_name_of_restaurant',
|
|
84
84
|
},
|
|
85
85
|
text: "What's the name of the restaurant you are interested in?",
|
|
86
|
-
timestamp:
|
|
86
|
+
timestamp: '124',
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
event:
|
|
90
|
-
text:
|
|
91
|
-
timestamp:
|
|
89
|
+
event: 'user',
|
|
90
|
+
text: 'simsim',
|
|
91
|
+
timestamp: '125',
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
event:
|
|
95
|
-
text:
|
|
96
|
-
timestamp:
|
|
94
|
+
event: 'bot',
|
|
95
|
+
text: 'How many people are we talking?',
|
|
96
|
+
timestamp: '126',
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
event:
|
|
100
|
-
text:
|
|
101
|
-
timestamp:
|
|
99
|
+
event: 'user',
|
|
100
|
+
text: '100',
|
|
101
|
+
timestamp: '127',
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
event:
|
|
104
|
+
event: 'bot',
|
|
105
105
|
metadata: {
|
|
106
|
-
utter_action:
|
|
106
|
+
utter_action: 'utter_ask_book_restaurant_date',
|
|
107
107
|
},
|
|
108
|
-
text:
|
|
109
|
-
timestamp:
|
|
108
|
+
text: 'For which day do you want to book?',
|
|
109
|
+
timestamp: '128',
|
|
110
110
|
},
|
|
111
|
-
]
|
|
112
|
-
const result = formatTestCases(events, sessionId)
|
|
111
|
+
]
|
|
112
|
+
const result = formatTestCases(events, sessionId)
|
|
113
113
|
|
|
114
114
|
expect(result).toEqual(`test_cases:
|
|
115
115
|
- test_case: ${sessionId}
|
|
@@ -119,105 +119,105 @@ describe("helpers", () => {
|
|
|
119
119
|
- user: "simsim"
|
|
120
120
|
- bot: "How many people are we talking?"
|
|
121
121
|
- user: "100"
|
|
122
|
-
- utter: utter_ask_book_restaurant_date`)
|
|
123
|
-
})
|
|
124
|
-
})
|
|
122
|
+
- utter: utter_ask_book_restaurant_date`)
|
|
123
|
+
})
|
|
124
|
+
})
|
|
125
125
|
|
|
126
|
-
describe(
|
|
127
|
-
test(
|
|
126
|
+
describe('formatFlow', () => {
|
|
127
|
+
test('should render a step sequence', () => {
|
|
128
128
|
const slots = [
|
|
129
129
|
{
|
|
130
|
-
name:
|
|
130
|
+
name: 'book_restaurant_offered_alternative_dates',
|
|
131
131
|
value: [],
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
|
-
name:
|
|
134
|
+
name: 'book_restaurant_is_date_flexible',
|
|
135
135
|
value: true,
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
-
name:
|
|
139
|
-
value:
|
|
138
|
+
name: 'book_restaurant_name_of_restaurant',
|
|
139
|
+
value: 'fonfon',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
name:
|
|
143
|
-
value:
|
|
142
|
+
name: 'book_restaurant_number_of_people',
|
|
143
|
+
value: '30',
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
name:
|
|
147
|
-
value:
|
|
146
|
+
name: 'book_restaurant_date',
|
|
147
|
+
value: 'tomorrow',
|
|
148
148
|
},
|
|
149
|
-
]
|
|
149
|
+
]
|
|
150
150
|
const currentStack = {
|
|
151
|
-
frame_id:
|
|
152
|
-
flow_id:
|
|
153
|
-
step_id:
|
|
154
|
-
frame_type:
|
|
155
|
-
type:
|
|
156
|
-
}
|
|
151
|
+
frame_id: 'EPQQUPJA',
|
|
152
|
+
flow_id: 'book_restaurant',
|
|
153
|
+
step_id: '3_collect_book_restaurant_time',
|
|
154
|
+
frame_type: 'regular',
|
|
155
|
+
type: 'flow',
|
|
156
|
+
}
|
|
157
157
|
const flow = {
|
|
158
|
-
id:
|
|
159
|
-
name:
|
|
160
|
-
description:
|
|
158
|
+
id: 'book_restaurant',
|
|
159
|
+
name: 'book a restaurant',
|
|
160
|
+
description: 'This flow books a restaurant',
|
|
161
161
|
steps: [
|
|
162
162
|
{
|
|
163
|
-
next:
|
|
164
|
-
id:
|
|
165
|
-
collect:
|
|
166
|
-
utter:
|
|
163
|
+
next: '1_collect_book_restaurant_number_of_people',
|
|
164
|
+
id: '0_collect_book_restaurant_name_of_restaurant',
|
|
165
|
+
collect: 'book_restaurant_name_of_restaurant',
|
|
166
|
+
utter: 'utter_ask_book_restaurant_name_of_restaurant',
|
|
167
167
|
ask_before_filling: false,
|
|
168
168
|
reset_after_flow_ends: true,
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
next:
|
|
172
|
-
id:
|
|
173
|
-
collect:
|
|
174
|
-
utter:
|
|
171
|
+
next: '2_collect_book_restaurant_date',
|
|
172
|
+
id: '1_collect_book_restaurant_number_of_people',
|
|
173
|
+
collect: 'book_restaurant_number_of_people',
|
|
174
|
+
utter: 'utter_ask_book_restaurant_number_of_people',
|
|
175
175
|
ask_before_filling: false,
|
|
176
176
|
reset_after_flow_ends: true,
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
next:
|
|
180
|
-
id:
|
|
181
|
-
collect:
|
|
182
|
-
utter:
|
|
179
|
+
next: '3_collect_book_restaurant_time',
|
|
180
|
+
id: '2_collect_book_restaurant_date',
|
|
181
|
+
collect: 'book_restaurant_date',
|
|
182
|
+
utter: 'utter_ask_book_restaurant_date',
|
|
183
183
|
ask_before_filling: false,
|
|
184
184
|
reset_after_flow_ends: true,
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
|
-
next:
|
|
188
|
-
id:
|
|
189
|
-
collect:
|
|
190
|
-
utter:
|
|
187
|
+
next: '4_collect_book_restaurant_is_date_flexible',
|
|
188
|
+
id: '3_collect_book_restaurant_time',
|
|
189
|
+
collect: 'book_restaurant_time',
|
|
190
|
+
utter: 'utter_ask_book_restaurant_time',
|
|
191
191
|
ask_before_filling: false,
|
|
192
192
|
reset_after_flow_ends: true,
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
next:
|
|
196
|
-
id:
|
|
195
|
+
next: '5_check_restaurant_availability',
|
|
196
|
+
id: '4_collect_book_restaurant_is_date_flexible',
|
|
197
197
|
description:
|
|
198
|
-
|
|
199
|
-
collect:
|
|
200
|
-
utter:
|
|
198
|
+
'(True/False) whether offering alternative dates make sense',
|
|
199
|
+
collect: 'book_restaurant_is_date_flexible',
|
|
200
|
+
utter: 'utter_ask_book_restaurant_is_date_flexible',
|
|
201
201
|
ask_before_filling: false,
|
|
202
202
|
reset_after_flow_ends: true,
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
next: [
|
|
206
206
|
{
|
|
207
|
-
if:
|
|
207
|
+
if: 'not is_restaurant_available',
|
|
208
208
|
then: [
|
|
209
209
|
{
|
|
210
|
-
next:
|
|
211
|
-
id:
|
|
212
|
-
action:
|
|
210
|
+
next: 'ask_alternative',
|
|
211
|
+
id: '6_utter_restaurant_not_available',
|
|
212
|
+
action: 'utter_restaurant_not_available',
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
|
-
next:
|
|
216
|
-
id:
|
|
215
|
+
next: 'ask_alternative',
|
|
216
|
+
id: 'ask_alternative',
|
|
217
217
|
description:
|
|
218
|
-
|
|
219
|
-
collect:
|
|
220
|
-
utter:
|
|
218
|
+
'do not fill this slot, instead fill the given parts of the alternative into their respective slots',
|
|
219
|
+
collect: 'book_restaurant_alternative_dummy',
|
|
220
|
+
utter: 'utter_ask_book_restaurant_alternative_dummy',
|
|
221
221
|
ask_before_filling: false,
|
|
222
222
|
reset_after_flow_ends: true,
|
|
223
223
|
rejections: [],
|
|
@@ -225,121 +225,121 @@ describe("helpers", () => {
|
|
|
225
225
|
],
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
else:
|
|
228
|
+
else: 'available',
|
|
229
229
|
},
|
|
230
230
|
],
|
|
231
|
-
id:
|
|
232
|
-
action:
|
|
231
|
+
id: '5_check_restaurant_availability',
|
|
232
|
+
action: 'check_restaurant_availability',
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
next:
|
|
236
|
-
id:
|
|
237
|
-
action:
|
|
235
|
+
next: '9_collect_book_restaurant_reservation_name',
|
|
236
|
+
id: 'available',
|
|
237
|
+
action: 'utter_restaurant_available',
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
next:
|
|
241
|
-
id:
|
|
242
|
-
collect:
|
|
243
|
-
utter:
|
|
240
|
+
next: '10_collect_book_restaurant_confirmation',
|
|
241
|
+
id: '9_collect_book_restaurant_reservation_name',
|
|
242
|
+
collect: 'book_restaurant_reservation_name',
|
|
243
|
+
utter: 'utter_ask_book_restaurant_reservation_name',
|
|
244
244
|
ask_before_filling: true,
|
|
245
245
|
reset_after_flow_ends: true,
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
next: [
|
|
249
249
|
{
|
|
250
|
-
if:
|
|
250
|
+
if: 'book_restaurant_confirmation',
|
|
251
251
|
then: [
|
|
252
252
|
{
|
|
253
|
-
next:
|
|
254
|
-
id:
|
|
255
|
-
action:
|
|
253
|
+
next: 'END',
|
|
254
|
+
id: '11_utter_confirm_restaurant_booking',
|
|
255
|
+
action: 'utter_confirm_restaurant_booking',
|
|
256
256
|
},
|
|
257
257
|
],
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
else: [
|
|
261
261
|
{
|
|
262
|
-
next:
|
|
263
|
-
id:
|
|
264
|
-
action:
|
|
262
|
+
next: 'END',
|
|
263
|
+
id: '12_utter_cancel_book_restaurant',
|
|
264
|
+
action: 'utter_cancel_book_restaurant',
|
|
265
265
|
},
|
|
266
266
|
],
|
|
267
267
|
},
|
|
268
268
|
],
|
|
269
|
-
id:
|
|
270
|
-
collect:
|
|
271
|
-
utter:
|
|
269
|
+
id: '10_collect_book_restaurant_confirmation',
|
|
270
|
+
collect: 'book_restaurant_confirmation',
|
|
271
|
+
utter: 'utter_ask_book_restaurant_confirmation',
|
|
272
272
|
ask_before_filling: true,
|
|
273
273
|
reset_after_flow_ends: true,
|
|
274
274
|
},
|
|
275
275
|
],
|
|
276
|
-
}
|
|
277
|
-
const activeStep =
|
|
276
|
+
}
|
|
277
|
+
const activeStep = '3_collect_book_restaurant_time'
|
|
278
278
|
|
|
279
279
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
280
280
|
// @ts-ignore
|
|
281
|
-
const result = formatFlow(slots, currentStack, flow, activeStep)
|
|
282
|
-
expect(result).toEqual(restaurantFlow)
|
|
283
|
-
})
|
|
284
|
-
})
|
|
281
|
+
const result = formatFlow(slots, currentStack, flow, activeStep)
|
|
282
|
+
expect(result).toEqual(restaurantFlow)
|
|
283
|
+
})
|
|
284
|
+
})
|
|
285
285
|
|
|
286
|
-
describe(
|
|
287
|
-
test(
|
|
288
|
-
const fieldValue =
|
|
286
|
+
describe('parseFieldUsingStack', () => {
|
|
287
|
+
test('should parse a filed using a stack', () => {
|
|
288
|
+
const fieldValue = 'transfer_money_recipient'
|
|
289
289
|
|
|
290
290
|
expect(
|
|
291
|
-
parseFieldUsingStack(
|
|
292
|
-
frame_id:
|
|
293
|
-
flow_id:
|
|
294
|
-
step_id:
|
|
291
|
+
parseFieldUsingStack('{{context.collect}}', {
|
|
292
|
+
frame_id: 'frame_id',
|
|
293
|
+
flow_id: 'flow_id',
|
|
294
|
+
step_id: 'step_id',
|
|
295
295
|
collect: fieldValue,
|
|
296
296
|
ended: false,
|
|
297
|
-
})
|
|
298
|
-
).toEqual(fieldValue)
|
|
299
|
-
})
|
|
297
|
+
}),
|
|
298
|
+
).toEqual(fieldValue)
|
|
299
|
+
})
|
|
300
300
|
|
|
301
301
|
test("should return the same field if it doesn't have `context`", () => {
|
|
302
|
-
const fieldValue =
|
|
302
|
+
const fieldValue = 'transfer_money_recipient'
|
|
303
303
|
|
|
304
304
|
expect(
|
|
305
305
|
parseFieldUsingStack(fieldValue, {
|
|
306
|
-
frame_id:
|
|
307
|
-
flow_id:
|
|
308
|
-
step_id:
|
|
306
|
+
frame_id: 'frame_id',
|
|
307
|
+
flow_id: 'flow_id',
|
|
308
|
+
step_id: 'step_id',
|
|
309
309
|
ended: false,
|
|
310
|
-
})
|
|
311
|
-
).toEqual(fieldValue)
|
|
312
|
-
})
|
|
310
|
+
}),
|
|
311
|
+
).toEqual(fieldValue)
|
|
312
|
+
})
|
|
313
313
|
|
|
314
|
-
test(
|
|
315
|
-
const fieldValue =
|
|
314
|
+
test('should return the value if it has conditions as postfix', () => {
|
|
315
|
+
const fieldValue = 'transfer_money_recipient'
|
|
316
316
|
|
|
317
317
|
expect(
|
|
318
|
-
parseFieldUsingStack(
|
|
319
|
-
frame_id:
|
|
320
|
-
flow_id:
|
|
321
|
-
step_id:
|
|
318
|
+
parseFieldUsingStack('{{context.collect}} is not null', {
|
|
319
|
+
frame_id: 'frame_id',
|
|
320
|
+
flow_id: 'flow_id',
|
|
321
|
+
step_id: 'step_id',
|
|
322
322
|
collect: fieldValue,
|
|
323
323
|
ended: false,
|
|
324
|
-
})
|
|
325
|
-
).toEqual(`${fieldValue} is not null`)
|
|
326
|
-
})
|
|
324
|
+
}),
|
|
325
|
+
).toEqual(`${fieldValue} is not null`)
|
|
326
|
+
})
|
|
327
327
|
|
|
328
|
-
test(
|
|
329
|
-
const fieldValue =
|
|
328
|
+
test('should return the value if it has conditions as prefix', () => {
|
|
329
|
+
const fieldValue = 'transfer_money_recipient'
|
|
330
330
|
|
|
331
331
|
expect(
|
|
332
|
-
parseFieldUsingStack(
|
|
333
|
-
frame_id:
|
|
334
|
-
flow_id:
|
|
335
|
-
step_id:
|
|
332
|
+
parseFieldUsingStack('not {{context.collect}}', {
|
|
333
|
+
frame_id: 'frame_id',
|
|
334
|
+
flow_id: 'flow_id',
|
|
335
|
+
step_id: 'step_id',
|
|
336
336
|
collect: fieldValue,
|
|
337
337
|
ended: false,
|
|
338
|
-
})
|
|
339
|
-
).toEqual(`not ${fieldValue}`)
|
|
340
|
-
})
|
|
341
|
-
})
|
|
342
|
-
})
|
|
338
|
+
}),
|
|
339
|
+
).toEqual(`not ${fieldValue}`)
|
|
340
|
+
})
|
|
341
|
+
})
|
|
342
|
+
})
|
|
343
343
|
|
|
344
344
|
const restaurantFlow = `flowchart TD
|
|
345
345
|
classDef collect stroke-width:1px
|
|
@@ -389,4 +389,4 @@ END["🏁 END"]:::endstep
|
|
|
389
389
|
12_utter_cancel_book_restaurant --> END
|
|
390
390
|
END["🏁 END"]:::endstep
|
|
391
391
|
END["🏁 END"]:::endstep
|
|
392
|
-
|
|
392
|
+
`
|