rasa-pro 3.13.0.dev1__py3-none-any.whl → 3.13.0.dev3__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/run.py +10 -6
- rasa/cli/utils.py +7 -0
- rasa/core/actions/action.py +0 -6
- rasa/core/channels/channel.py +30 -0
- rasa/core/channels/voice_ready/audiocodes.py +52 -17
- rasa/core/channels/voice_ready/jambonz.py +25 -5
- rasa/core/channels/voice_ready/jambonz_protocol.py +4 -0
- rasa/core/channels/voice_stream/audiocodes.py +53 -9
- rasa/core/channels/voice_stream/genesys.py +146 -16
- rasa/core/information_retrieval/faiss.py +6 -62
- rasa/core/nlg/contextual_response_rephraser.py +3 -0
- rasa/core/policies/enterprise_search_policy.py +10 -1
- rasa/core/policies/flows/flow_executor.py +3 -38
- rasa/core/policies/intentless_policy.py +3 -0
- rasa/core/processor.py +27 -6
- rasa/core/utils.py +53 -0
- rasa/dialogue_understanding/coexistence/llm_based_router.py +8 -0
- rasa/dialogue_understanding/commands/cancel_flow_command.py +4 -59
- rasa/dialogue_understanding/commands/knowledge_answer_command.py +2 -2
- rasa/dialogue_understanding/commands/start_flow_command.py +0 -41
- rasa/dialogue_understanding/generator/command_generator.py +67 -0
- rasa/dialogue_understanding/generator/flow_retrieval.py +1 -4
- rasa/dialogue_understanding/generator/llm_based_command_generator.py +2 -12
- rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py +13 -0
- rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_claude_3_5_sonnet_20240620_template.jinja2 +1 -1
- rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_gpt_4o_2024_11_20_template.jinja2 +2 -5
- rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py +22 -10
- rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py +27 -12
- rasa/dialogue_understanding/patterns/default_flows_for_patterns.yml +0 -61
- rasa/dialogue_understanding/processor/command_processor.py +7 -65
- rasa/dialogue_understanding/stack/utils.py +0 -38
- rasa/e2e_test/utils/validation.py +3 -3
- rasa/llm_fine_tuning/paraphrasing/conversation_rephraser.py +3 -0
- rasa/shared/core/constants.py +0 -8
- rasa/shared/core/domain.py +12 -3
- rasa/shared/core/flows/flow.py +0 -17
- rasa/shared/core/flows/flows_yaml_schema.json +3 -38
- rasa/shared/core/flows/steps/collect.py +5 -18
- rasa/shared/core/flows/utils.py +1 -16
- rasa/shared/core/slot_mappings.py +11 -5
- rasa/shared/nlu/constants.py +0 -1
- rasa/shared/utils/common.py +11 -1
- rasa/shared/utils/constants.py +3 -0
- rasa/shared/utils/llm.py +69 -23
- rasa/validator.py +1 -123
- rasa/version.py +1 -1
- {rasa_pro-3.13.0.dev1.dist-info → rasa_pro-3.13.0.dev3.dist-info}/METADATA +2 -2
- {rasa_pro-3.13.0.dev1.dist-info → rasa_pro-3.13.0.dev3.dist-info}/RECORD +51 -54
- rasa/core/actions/action_handle_digressions.py +0 -164
- rasa/dialogue_understanding/commands/handle_digressions_command.py +0 -144
- rasa/dialogue_understanding/patterns/handle_digressions.py +0 -81
- {rasa_pro-3.13.0.dev1.dist-info → rasa_pro-3.13.0.dev3.dist-info}/NOTICE +0 -0
- {rasa_pro-3.13.0.dev1.dist-info → rasa_pro-3.13.0.dev3.dist-info}/WHEEL +0 -0
- {rasa_pro-3.13.0.dev1.dist-info → rasa_pro-3.13.0.dev3.dist-info}/entry_points.txt +0 -0
|
@@ -75,7 +75,7 @@ rasa/cli/project_templates/tutorial/data/flows.yml,sha256=mTzRicdj-Pbb95Hi3mhno4
|
|
|
75
75
|
rasa/cli/project_templates/tutorial/data/patterns.yml,sha256=phj1vrOcAacwzdVHFHNwKFRPlC1wHBC9im0KrLgl7Qc,464
|
|
76
76
|
rasa/cli/project_templates/tutorial/domain.yml,sha256=X16UwfoTNKSV2DYvEQZ-CfRczzg5MqI49AHgSH0-aZs,974
|
|
77
77
|
rasa/cli/project_templates/tutorial/endpoints.yml,sha256=HgnwIyGcWoMZGtQr9jFTzmlkAct8U9c3ueeLtshtH3I,1780
|
|
78
|
-
rasa/cli/run.py,sha256=
|
|
78
|
+
rasa/cli/run.py,sha256=k3QdVDJgl_zCVqo0V8cjA9NXps3m_B-WC56O8wkbj8M,4618
|
|
79
79
|
rasa/cli/scaffold.py,sha256=E-cq91YZeRkMKBZvPfHimVgqCxLd5R7PUEzNqFcj_FY,8063
|
|
80
80
|
rasa/cli/shell.py,sha256=YTXn3_iDWJySY187BEJTRDxPoG-mqRtl17jqwqQ6hX4,4332
|
|
81
81
|
rasa/cli/studio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -86,16 +86,15 @@ rasa/cli/studio/upload.py,sha256=1-cqlCI7GMoGD9nmstO2wlqj3nhksSBOFIUJhNsbRB8,170
|
|
|
86
86
|
rasa/cli/telemetry.py,sha256=mNMMbcgnNPZzeF1k-khN-7lAQFnkFx75VBwtnPfPI6k,3538
|
|
87
87
|
rasa/cli/test.py,sha256=JfzBh1_TAOnd346jVikSK94bTlUA-BLSAQ7XBRvL2TQ,8901
|
|
88
88
|
rasa/cli/train.py,sha256=C2RvOWIpkxSxoIMlpAgmWs5zFebsCCjiis7zAB91IFE,9300
|
|
89
|
-
rasa/cli/utils.py,sha256=
|
|
89
|
+
rasa/cli/utils.py,sha256=kNm5aWB7w4plHgdKVT2MkhtNXuTAJ3qgqfgC8ORXNl8,16850
|
|
90
90
|
rasa/cli/visualize.py,sha256=YmRAATAfxHpgE8_PknGyM-oIujwICNzVftTzz6iLNNc,1256
|
|
91
91
|
rasa/cli/x.py,sha256=C7dLtYXAkD-uj7hNj7Pz5YbOupp2yRcMjQbsEVqXUJ8,6825
|
|
92
92
|
rasa/constants.py,sha256=m6If7alC5obaHU-JQWXEBo4mooVwIMzNRTjyTzzZSVg,1306
|
|
93
93
|
rasa/core/__init__.py,sha256=wTSmsFlgK0Ylvuyq20q9APwpT5xyVJYZfzhs4rrkciM,456
|
|
94
94
|
rasa/core/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
95
|
-
rasa/core/actions/action.py,sha256=
|
|
95
|
+
rasa/core/actions/action.py,sha256=r7AoXuwmDmD2Fo9ZjUAyTrzWqqMJH0VX_BAgvedFiv8,43132
|
|
96
96
|
rasa/core/actions/action_clean_stack.py,sha256=xUP-2ipPsPAnAiwP17c-ezmHPSrV4JSUZr-eSgPQwIs,2279
|
|
97
97
|
rasa/core/actions/action_exceptions.py,sha256=hghzXYN6VeHC-O_O7WiPesCNV86ZTkHgG90ZnQcbai8,724
|
|
98
|
-
rasa/core/actions/action_handle_digressions.py,sha256=p3cjzTfT0GEsJlYip-TPnr-PJQ545vQnNp0JPKBUs8A,5234
|
|
99
98
|
rasa/core/actions/action_hangup.py,sha256=o5iklHG-F9IcRgWis5C6AumVXznxzAV3o9zdduhozEM,994
|
|
100
99
|
rasa/core/actions/action_repeat_bot_messages.py,sha256=2DZFHPS7SKslz_Pm3Tyn0154xTws3E7lMYKl2ktQPTQ,3522
|
|
101
100
|
rasa/core/actions/action_run_slot_rejections.py,sha256=xsb0AHEWLV9AtX7dsCyxaJBbF0t7REC353YWerHIhts,7274
|
|
@@ -122,7 +121,7 @@ rasa/core/brokers/sql.py,sha256=3xPDa3QaQg83VDJ-kAvGLelLnaFcWLHxFc0DueXKsSE,2729
|
|
|
122
121
|
rasa/core/channels/__init__.py,sha256=PTm7AEXDMNff7KdEdFZffMxVUo8StdW1yw4Kdh5OTdI,2490
|
|
123
122
|
rasa/core/channels/botframework.py,sha256=qEuh19OJYPBcX4PN1hhPwMznKbi0_zj4hotV5En70Vk,11668
|
|
124
123
|
rasa/core/channels/callback.py,sha256=Llt5TGimf_5P29s2KxEPOZUX6_df7u8uBCsNSFy7CQA,2750
|
|
125
|
-
rasa/core/channels/channel.py,sha256=
|
|
124
|
+
rasa/core/channels/channel.py,sha256=5iw2UsCyuddAjtuS3eANuyf0s0OEmDjLSei2vl3Hpg4,16319
|
|
126
125
|
rasa/core/channels/console.py,sha256=13bjhsmnuKoShYVdtt2VHzzt9xylER-hDTONC1MiQG0,8075
|
|
127
126
|
rasa/core/channels/development_inspector.py,sha256=D7AmmdhqVtdoOSGAXZK22o70xpNCax8KUiRtjtB8cqs,9288
|
|
128
127
|
rasa/core/channels/facebook.py,sha256=CGlmPYsiSCPDMDU_2DuiXAxll8bEzZI3_ny5LGBeK-Q,15816
|
|
@@ -268,9 +267,9 @@ rasa/core/channels/telegram.py,sha256=TKVknsk3U9tYeY1a8bzlhqkltWmZfGSOvrcmwa9qoz
|
|
|
268
267
|
rasa/core/channels/twilio.py,sha256=2BTQpyx0b0yPpc0A2BHYfxLPgodrLGLs8nq6i3lVGAM,5906
|
|
269
268
|
rasa/core/channels/vier_cvg.py,sha256=GkrWKu7NRMFtLMyYp-kQ2taWAc_keAwhYrkVPW56iaU,13544
|
|
270
269
|
rasa/core/channels/voice_ready/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
271
|
-
rasa/core/channels/voice_ready/audiocodes.py,sha256=
|
|
272
|
-
rasa/core/channels/voice_ready/jambonz.py,sha256=
|
|
273
|
-
rasa/core/channels/voice_ready/jambonz_protocol.py,sha256=
|
|
270
|
+
rasa/core/channels/voice_ready/audiocodes.py,sha256=U8Cd-00xPB0CZD0sMD2yqcrOKEVM-qNTpCggtjzRAxE,20782
|
|
271
|
+
rasa/core/channels/voice_ready/jambonz.py,sha256=bU2yrO6Gw_JcmFXeFVc8f1DK3ZDDYLQVjBB8SM2JjWc,4783
|
|
272
|
+
rasa/core/channels/voice_ready/jambonz_protocol.py,sha256=E9iwvitSDpVkL7BxbckczF4b0a8lWZt-3zR4Innflow,13116
|
|
274
273
|
rasa/core/channels/voice_ready/twilio_voice.py,sha256=5N5dQ2l_u8CC9J16USgufl6MB1bJziCky7VT58MPt68,14520
|
|
275
274
|
rasa/core/channels/voice_ready/utils.py,sha256=Tmq0OOAN2sAvxPP64x298zX1TZYTdszK3iazfGZ5RsI,987
|
|
276
275
|
rasa/core/channels/voice_stream/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -280,10 +279,10 @@ rasa/core/channels/voice_stream/asr/asr_event.py,sha256=skPwrkRrcsptmeWXu9q68i4B
|
|
|
280
279
|
rasa/core/channels/voice_stream/asr/azure.py,sha256=uqg2xAmGfP8N9pts_AT6KxobiuQIqRy1lkyU7vqC564,5845
|
|
281
280
|
rasa/core/channels/voice_stream/asr/deepgram.py,sha256=9cIqRuv9gWzOfEKxeDbhijGoT8EPUV7Oo493WXaHlBo,5682
|
|
282
281
|
rasa/core/channels/voice_stream/audio_bytes.py,sha256=3V0QQplPD-kVfebaaeVcKgV7pwIJyjnTenujVD3y3sY,340
|
|
283
|
-
rasa/core/channels/voice_stream/audiocodes.py,sha256=
|
|
282
|
+
rasa/core/channels/voice_stream/audiocodes.py,sha256=WVAd5ksO97y7a6Wvv6PqQKQVgS1_IdRXeDIjnl6IAkY,12498
|
|
284
283
|
rasa/core/channels/voice_stream/browser_audio.py,sha256=fDwp-yaalik8R92EOJHsgHMuNAg9yoeGWVRGMCH2lJQ,3939
|
|
285
284
|
rasa/core/channels/voice_stream/call_state.py,sha256=fbwVbT0ddE7AjTYjx-Mq5jBMEGXanbug5wlBwstaews,899
|
|
286
|
-
rasa/core/channels/voice_stream/genesys.py,sha256
|
|
285
|
+
rasa/core/channels/voice_stream/genesys.py,sha256=EyZ4G3gfiQ5HXP6jslTjXRBYVEhpyO8nK5r6znQtHtE,16965
|
|
287
286
|
rasa/core/channels/voice_stream/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
288
287
|
rasa/core/channels/voice_stream/tts/azure.py,sha256=Fj9vLg-8d6aCoDcycDMG0oIPl5gw7Nhb8MXb-wBvLhE,4221
|
|
289
288
|
rasa/core/channels/voice_stream/tts/cartesia.py,sha256=cH2eHicZ_NCWtDH-cn9Chq8SSm-1agJRy-ieDJCVlD4,5407
|
|
@@ -308,7 +307,7 @@ rasa/core/featurizers/single_state_featurizer.py,sha256=K3O-dPmSjXwxgmOjXIvp7W4U
|
|
|
308
307
|
rasa/core/featurizers/tracker_featurizers.py,sha256=_4kvkAH95-V1TKhhSuxFLSd_O43gW0U3IcqN79NDFCo,46756
|
|
309
308
|
rasa/core/http_interpreter.py,sha256=rLvMdH4E_RgHzDIjazFIHIXvkwMezrNzwdGl9GQ4pMM,3032
|
|
310
309
|
rasa/core/information_retrieval/__init__.py,sha256=Xo9VzUBriFGo4m2Ba-1f7D6sIz_WcXAOJr9WU2iYJRc,218
|
|
311
|
-
rasa/core/information_retrieval/faiss.py,sha256=
|
|
310
|
+
rasa/core/information_retrieval/faiss.py,sha256=p1tlu3UXm_qRnDsFOX9kOnswXixCy-AI3zb_BhBDJ0w,4192
|
|
312
311
|
rasa/core/information_retrieval/information_retrieval.py,sha256=Re17_o7jQfaQWR_3jJs42J_EaH0SXgMnAp5rlQSe7Ww,4251
|
|
313
312
|
rasa/core/information_retrieval/milvus.py,sha256=x-WDVANwj9gJ1ZqpkdTWAK0a2K-_bIyyXDdYReXfJlo,2024
|
|
314
313
|
rasa/core/information_retrieval/qdrant.py,sha256=KHtU6txMs5ZrAECVjgTa2d5mb37-gHxpy8uRHSIMMAg,3441
|
|
@@ -318,7 +317,7 @@ rasa/core/lock_store.py,sha256=weupfBiYMz-B_N-LAONCvp-po1uPRdie9imLYn7hFDU,12504
|
|
|
318
317
|
rasa/core/migrate.py,sha256=h1dOpXxmVmZlbLVGy1yOU_Obp2KzRiOiL0iuEacA0Cg,14618
|
|
319
318
|
rasa/core/nlg/__init__.py,sha256=jZuQAhOUcxO-KqqHGqICHSY3oDeXlUiGr2trQDYfG6o,240
|
|
320
319
|
rasa/core/nlg/callback.py,sha256=0zDQsOa3uV66G3smCVQ9cUdvj-it8tFneIzqShM7NeI,5208
|
|
321
|
-
rasa/core/nlg/contextual_response_rephraser.py,sha256=
|
|
320
|
+
rasa/core/nlg/contextual_response_rephraser.py,sha256=o1FDNhu5K99i75rsgTVNz8FNh465baEpnWWkL7euz7Y,13738
|
|
322
321
|
rasa/core/nlg/generator.py,sha256=GA3XwpGdWKKcaMdNGqRCiSwvix2RR4IocVxg_dv_1Yg,10895
|
|
323
322
|
rasa/core/nlg/interpolator.py,sha256=hEOhqfMXrAqTZiqjg2t6ZfTK6DJQ5IiX4tJIz2b8Fbw,5190
|
|
324
323
|
rasa/core/nlg/response.py,sha256=kfBSFnQni0lDZlGpZEVRjuQvil7G1JMjS4xIdd3AKhs,6045
|
|
@@ -327,22 +326,22 @@ rasa/core/nlg/translate.py,sha256=PBMTbIgdkhx8rhzqv6h0u5r9jqdfiVIh7u0qb363sJA,18
|
|
|
327
326
|
rasa/core/persistor.py,sha256=EP8kaGQQbRJKkxw2GCZkjJk-O2n4PgIHXa9F9a5MjVk,20337
|
|
328
327
|
rasa/core/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
328
|
rasa/core/policies/ensemble.py,sha256=XoHxU0jcb_io_LBOpjJffylzqtGEB7CH9ivhRyO8pDc,12960
|
|
330
|
-
rasa/core/policies/enterprise_search_policy.py,sha256=
|
|
329
|
+
rasa/core/policies/enterprise_search_policy.py,sha256=mPiqAplOfe5MtgEzoF6TclVnlA4QgpMqXJsKuBGFv3o,37011
|
|
331
330
|
rasa/core/policies/enterprise_search_prompt_template.jinja2,sha256=dCS_seyBGxMQoMsOjjvPp0dd31OSzZCJSZeev1FJK5Q,1187
|
|
332
331
|
rasa/core/policies/enterprise_search_prompt_with_citation_template.jinja2,sha256=va9rpP97dN3PKoJZOVfyuISt3cPBlb10Pqyz25RwO_Q,3294
|
|
333
332
|
rasa/core/policies/flow_policy.py,sha256=597G62hrLF_CAMCvu-TPRldFnjMP2XEIkhcIaPWcQAc,7489
|
|
334
333
|
rasa/core/policies/flows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
335
334
|
rasa/core/policies/flows/flow_exceptions.py,sha256=_FQuN-cerQDM1pivce9bz4zylh5UYkljvYS1gjDukHI,1527
|
|
336
|
-
rasa/core/policies/flows/flow_executor.py,sha256=
|
|
335
|
+
rasa/core/policies/flows/flow_executor.py,sha256=sT7ZFrm_CKVKBv5SO0M_QE984ZFw8t6trm8dMxCXbv8,25649
|
|
337
336
|
rasa/core/policies/flows/flow_step_result.py,sha256=agjPrD6lahGSe2ViO5peBeoMdI9ngVGRSgtytgxmJmg,1360
|
|
338
|
-
rasa/core/policies/intentless_policy.py,sha256=
|
|
337
|
+
rasa/core/policies/intentless_policy.py,sha256=TPpnBY5r9ajtDuAhHJtl5uojC6auDr7sd_Nb8tXPIFE,36314
|
|
339
338
|
rasa/core/policies/intentless_prompt_template.jinja2,sha256=KhIL3cruMmkxhrs5oVbqgSvK6ZiN_6TQ_jXrgtEB-ZY,677
|
|
340
339
|
rasa/core/policies/memoization.py,sha256=CX2d3yP7FehSMW92Wi9NYLZei7tBzoT3T6yybu-Nb5s,19377
|
|
341
340
|
rasa/core/policies/policy.py,sha256=5SUnPajSTSf8PzB1-jFbQPtsvR-zLN-xkjeotWOxuJc,27432
|
|
342
341
|
rasa/core/policies/rule_policy.py,sha256=EItfUn07JIBLRIbriPKDprsvWq_-xzZTGrlTS2erByA,50730
|
|
343
342
|
rasa/core/policies/ted_policy.py,sha256=0RzIuyrtt4PxLcqQ-bfaExkZvU-TnsMbgmDcwh2SakY,87710
|
|
344
343
|
rasa/core/policies/unexpected_intent_policy.py,sha256=ZXvbswf2NDy00kHmBQcyXa1OVYFyc79HQKrFkQ4gCfM,39609
|
|
345
|
-
rasa/core/processor.py,sha256=
|
|
344
|
+
rasa/core/processor.py,sha256=g0CjcU0-y_CX_sC63mlKTxogBeDreYcqujSNFMjPLq0,60074
|
|
346
345
|
rasa/core/run.py,sha256=5qq1Z-GiIrFejsthOnnkhQtNiqccuYHYf8ixP49PSHk,11484
|
|
347
346
|
rasa/core/secrets_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
348
347
|
rasa/core/secrets_manager/constants.py,sha256=dTDHenvG1JBVi34QIR6FpdO5RDOXQwAjAxLlgJ2ZNEI,1193
|
|
@@ -359,17 +358,17 @@ rasa/core/training/converters/responses_prefix_converter.py,sha256=D4wZ8XWBowUNq
|
|
|
359
358
|
rasa/core/training/interactive.py,sha256=OKTg2asZ_gC8S9GIJtDfK2q-hvtZeOC6CEkbr5jy8BU,60342
|
|
360
359
|
rasa/core/training/story_conflict.py,sha256=sr-DOpBMz2VikXcmpYiqrlRY2O_4ErX9GKlFI1fjjcM,13592
|
|
361
360
|
rasa/core/training/training.py,sha256=A7f3O4Nnfik1VVAGAI1VM3ZoxmZxNxqZxe_UGKO4Ado,3031
|
|
362
|
-
rasa/core/utils.py,sha256=
|
|
361
|
+
rasa/core/utils.py,sha256=i83G-AnFaNuGlsqCE-jJ-JNPr7V1y6rDrp5xQsmurk4,14048
|
|
363
362
|
rasa/core/visualize.py,sha256=ZP5k8YI3r7A_ZKUhBmXZ6PvBQ-dSw19xwUjHxCAfr3g,2125
|
|
364
363
|
rasa/dialogue_understanding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
365
364
|
rasa/dialogue_understanding/coexistence/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
366
365
|
rasa/dialogue_understanding/coexistence/constants.py,sha256=RpgLKMG4s7AgII0fRV0siS0Zh2QVI0OVRunhgm4q_j4,94
|
|
367
366
|
rasa/dialogue_understanding/coexistence/intent_based_router.py,sha256=JlYBZdScnhflLK__i4bG0-PIkuFv0B7L4yOdnLgYWAY,7609
|
|
368
|
-
rasa/dialogue_understanding/coexistence/llm_based_router.py,sha256=
|
|
367
|
+
rasa/dialogue_understanding/coexistence/llm_based_router.py,sha256=6OSdje9ZMJuJ7eoPHAuVIQGaVx0qtLg6YdpfUAuGbj0,11752
|
|
369
368
|
rasa/dialogue_understanding/coexistence/router_template.jinja2,sha256=CHWFreN0sv1EbPh-hf5AlCt3zxy2_llX1Pdn9Q11Y18,357
|
|
370
369
|
rasa/dialogue_understanding/commands/__init__.py,sha256=F-pLETYRUjhIkjjDfXGUuPsK_ac1HcLmJkrUUP0RhME,2259
|
|
371
370
|
rasa/dialogue_understanding/commands/can_not_handle_command.py,sha256=fKOj9ScLxuaFO9Iw0p7og_4zMiw2weBdx322rBKlnCI,3519
|
|
372
|
-
rasa/dialogue_understanding/commands/cancel_flow_command.py,sha256=
|
|
371
|
+
rasa/dialogue_understanding/commands/cancel_flow_command.py,sha256=7Jcvza6OBT8vM7bwJlTCujKsCMrC8gxR0DE6uaIb5_0,5340
|
|
373
372
|
rasa/dialogue_understanding/commands/change_flow_command.py,sha256=NnD9PM0B9o4oxTtYdcb-lDBC0-oQkbAQRB-55iYCkng,2409
|
|
374
373
|
rasa/dialogue_understanding/commands/chit_chat_answer_command.py,sha256=PtwNuAHJdIUQ_PIOv5bguVJMyZ_2jPtoozQQdiebKB4,2842
|
|
375
374
|
rasa/dialogue_understanding/commands/clarify_command.py,sha256=H-sse6PA47nPkFXhx8L6XAztdInSrgU_U4U0VF45EBU,4289
|
|
@@ -379,9 +378,8 @@ rasa/dialogue_understanding/commands/correct_slots_command.py,sha256=LlaBtWc3y-D
|
|
|
379
378
|
rasa/dialogue_understanding/commands/error_command.py,sha256=LTEsxkGGGZR6wEEGuTtQ4K4EK_u2UFhNK4eAKyPfyME,2436
|
|
380
379
|
rasa/dialogue_understanding/commands/free_form_answer_command.py,sha256=XlQrHXrcOemzu1LHZiDhBAluiSlnUQ2V7ET5Z-aG7gc,224
|
|
381
380
|
rasa/dialogue_understanding/commands/handle_code_change_command.py,sha256=Cp2e1iD0zacXmljJ8vDXHJu9Fp6BwB7cGx8NF748akw,2192
|
|
382
|
-
rasa/dialogue_understanding/commands/handle_digressions_command.py,sha256=KKEqyW6HROsZ0xcCUKqOIQapK6oSKWXyDNOHyzU-5KA,4889
|
|
383
381
|
rasa/dialogue_understanding/commands/human_handoff_command.py,sha256=vfMXBWKm7fsaabCcLti1r8c1GrjS_0bvRKzgxJ8s6rU,2965
|
|
384
|
-
rasa/dialogue_understanding/commands/knowledge_answer_command.py,sha256=
|
|
382
|
+
rasa/dialogue_understanding/commands/knowledge_answer_command.py,sha256=hnU6hOVr9aR7KfuxIV-LFycQWk7fsl4b9ZuAqpjBjvM,2852
|
|
385
383
|
rasa/dialogue_understanding/commands/noop_command.py,sha256=aIaLBjSV84qy9X4aGlJfMIYhF57maH5CiKNWL_-giD4,1485
|
|
386
384
|
rasa/dialogue_understanding/commands/prompt_command.py,sha256=slKQkvtrM353I3gltiett5xrZ7IxQ0omdqJHi6IowGk,2569
|
|
387
385
|
rasa/dialogue_understanding/commands/repeat_bot_messages_command.py,sha256=8SavUvMk6FmWz4Yr-j_JDTuwAwLfGy0RYZOLqn16wx0,2933
|
|
@@ -390,31 +388,31 @@ rasa/dialogue_understanding/commands/session_end_command.py,sha256=ZecUpYZDTX_68
|
|
|
390
388
|
rasa/dialogue_understanding/commands/session_start_command.py,sha256=FA4yocMnFt5bn2dmXj48S4Pq_yTlEnOBxgK_mq-qAxg,1704
|
|
391
389
|
rasa/dialogue_understanding/commands/set_slot_command.py,sha256=_Ce8OAikmwYVtiCnTUpUVGsCC2Zj-6Iz7iLbISDEu3U,6768
|
|
392
390
|
rasa/dialogue_understanding/commands/skip_question_command.py,sha256=PvGpiW0Dk1xwvmntzhz7pEn99XqPv5nMQfR-cwNKxXk,3296
|
|
393
|
-
rasa/dialogue_understanding/commands/start_flow_command.py,sha256=
|
|
391
|
+
rasa/dialogue_understanding/commands/start_flow_command.py,sha256=prPbTh7salW-p44JNQ2kkJHFBtnLXJCBT_3wDNsN_K4,4542
|
|
394
392
|
rasa/dialogue_understanding/commands/user_silence_command.py,sha256=DQjRfZk09sV1o2emnLkmX7cZpsJwBHNeJGBDQVkejjY,1686
|
|
395
393
|
rasa/dialogue_understanding/commands/utils.py,sha256=lyl8FSdR2kQogqdjX2NSpQVQ9D2FZpwYUG6z4yFIMlU,4057
|
|
396
394
|
rasa/dialogue_understanding/constants.py,sha256=_kB0edGV23uvhujlF193N2jk6YG0R6LC599YDX5B5vo,129
|
|
397
395
|
rasa/dialogue_understanding/generator/__init__.py,sha256=pBm0o6pnJA_0W0UOrGuVsiG4hsTNH_n5GLrz8BYQHM8,830
|
|
398
396
|
rasa/dialogue_understanding/generator/_jinja_filters.py,sha256=KuK7nGKvKzKJz6Wg3AmrLFvzneGgIyeK825MCE379wc,248
|
|
399
|
-
rasa/dialogue_understanding/generator/command_generator.py,sha256=
|
|
397
|
+
rasa/dialogue_understanding/generator/command_generator.py,sha256=WAlDCzpQuQnoWSHozq3a6xIN5UWMxxiKFFIRp9AXvA0,15640
|
|
400
398
|
rasa/dialogue_understanding/generator/command_parser.py,sha256=wf6FSgqBw5F0legg06SqKlzajIN6sc_Cov2lFY_O9MI,8109
|
|
401
399
|
rasa/dialogue_understanding/generator/constants.py,sha256=PuUckBGUZ-Tu31B0cs8yxN99BDW3PGoExZa-BlIL5v8,1108
|
|
402
400
|
rasa/dialogue_understanding/generator/flow_document_template.jinja2,sha256=f4H6vVd-_nX_RtutMh1xD3ZQE_J2OyuPHAtiltfiAPY,253
|
|
403
|
-
rasa/dialogue_understanding/generator/flow_retrieval.py,sha256=
|
|
404
|
-
rasa/dialogue_understanding/generator/llm_based_command_generator.py,sha256=
|
|
401
|
+
rasa/dialogue_understanding/generator/flow_retrieval.py,sha256=DavL-37e0tksMWkxvFImoqlsmYeYeSdDN3u7wZI0K-8,17817
|
|
402
|
+
rasa/dialogue_understanding/generator/llm_based_command_generator.py,sha256=R04sdPb9izquAyuqJ0J8vZ5V7K7E6xdLKDiK4oGSWAE,23586
|
|
405
403
|
rasa/dialogue_understanding/generator/llm_command_generator.py,sha256=z7jhIJ3W_5GFH-p15kVoWbigMIoY8fIJjc_j_uX7yxw,2581
|
|
406
404
|
rasa/dialogue_understanding/generator/multi_step/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
407
405
|
rasa/dialogue_understanding/generator/multi_step/fill_slots_prompt.jinja2,sha256=Y0m673tAML3cFPaLM-urMXDsBYUUcXIw9YUpkAhGUuA,2933
|
|
408
406
|
rasa/dialogue_understanding/generator/multi_step/handle_flows_prompt.jinja2,sha256=8l93_QBKBYnqLICVdiTu5ejZDE8F36BU8-qwba0px44,1927
|
|
409
|
-
rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py,sha256=
|
|
407
|
+
rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py,sha256=LopAxEaY1PRNf28k_2tO1DTnPWVfh7S1qXJo6sSbPyw,32539
|
|
410
408
|
rasa/dialogue_understanding/generator/nlu_command_adapter.py,sha256=cisxLlPVQXgbWMAz9xSxBvrOz4HO-f0G3CFVjJ2wt-g,10876
|
|
411
409
|
rasa/dialogue_understanding/generator/prompt_templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
412
410
|
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_template.jinja2,sha256=nMayu-heJYH1QmcL1cFmXb8SeiJzfdDR_9Oy5IRUXsM,3937
|
|
413
|
-
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_claude_3_5_sonnet_20240620_template.jinja2,sha256=
|
|
414
|
-
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_gpt_4o_2024_11_20_template.jinja2,sha256=
|
|
411
|
+
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_claude_3_5_sonnet_20240620_template.jinja2,sha256=z-cnFVfIE_kEnY1o52YE2CdCWwgYTv7R3xVxsjXWlnw,3808
|
|
412
|
+
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_gpt_4o_2024_11_20_template.jinja2,sha256=4076ARsy0E0iADBX6li19IoM3F4F-2wK3bL6UEOvCdo,3620
|
|
415
413
|
rasa/dialogue_understanding/generator/single_step/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
416
|
-
rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py,sha256=
|
|
417
|
-
rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py,sha256=
|
|
414
|
+
rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py,sha256=P732pdylTR_EM7xZIXbSWZuQY2lOQZ7EKkpMDhpHrps,22391
|
|
415
|
+
rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py,sha256=RWTPdeBfdGUmdFSUzdQejcbJJLhc_815G0g6AabTK04,5100
|
|
418
416
|
rasa/dialogue_understanding/generator/utils.py,sha256=jxtb-AfngN59y2rHynqJDK80xM_yooEvr3aW1MWl6H0,2760
|
|
419
417
|
rasa/dialogue_understanding/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
420
418
|
rasa/dialogue_understanding/patterns/cancel.py,sha256=8D66Q7lPD6xcHoiTR90eU2DW6EFtRWFoItIMY9WYHig,3869
|
|
@@ -426,8 +424,7 @@ rasa/dialogue_understanding/patterns/collect_information.py,sha256=8YWvhFTt8CJML
|
|
|
426
424
|
rasa/dialogue_understanding/patterns/completed.py,sha256=7qkyUj2d__2R3mpwWVmQpfwCCbJruBrjRZbmbDr3Zbo,1278
|
|
427
425
|
rasa/dialogue_understanding/patterns/continue_interrupted.py,sha256=OSTbe5l0B0ECNIYWpYB0pdzIeaqM3m3UZskNNjL5vrw,1682
|
|
428
426
|
rasa/dialogue_understanding/patterns/correction.py,sha256=fGr1Fpot5c0sm6BgPBy1nGwRTnntRVZcFGHlWT9YSng,11402
|
|
429
|
-
rasa/dialogue_understanding/patterns/default_flows_for_patterns.yml,sha256=
|
|
430
|
-
rasa/dialogue_understanding/patterns/handle_digressions.py,sha256=_6wNNLsGsGkjvzdnzS7vUoh0C5g0Dx9AHW-mC1XHQxU,3272
|
|
427
|
+
rasa/dialogue_understanding/patterns/default_flows_for_patterns.yml,sha256=XWmAR1Rp6KdXrXxTVBNQgznGBNbbyh5HW_zd44YK0vs,10297
|
|
431
428
|
rasa/dialogue_understanding/patterns/human_handoff.py,sha256=1hkSdL6kui42rZc7zERZ9R7nLyvRHi_tHgNU7FyrhAQ,1132
|
|
432
429
|
rasa/dialogue_understanding/patterns/internal_error.py,sha256=APCKVv16M6mSQ4upu4UwG0yIaaKTyr7uB2yV8ZtpMzo,1609
|
|
433
430
|
rasa/dialogue_understanding/patterns/repeat.py,sha256=K7Ok3DGsB2mivA2AwaKfmDyagupSSySOo4oARx2eXm8,1152
|
|
@@ -438,7 +435,7 @@ rasa/dialogue_understanding/patterns/skip_question.py,sha256=fJ1MC0WEEtS-BpnGJEf
|
|
|
438
435
|
rasa/dialogue_understanding/patterns/user_silence.py,sha256=xP-QMnd-MsybH5z4g01hBv4OLOHcw6m3rc26LQfe2zo,1140
|
|
439
436
|
rasa/dialogue_understanding/patterns/validate_slot.py,sha256=hqd5AEGT3M3HLNhMwuI9W9kZNCvgU6GyI-2xc2b4kz8,2085
|
|
440
437
|
rasa/dialogue_understanding/processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
441
|
-
rasa/dialogue_understanding/processor/command_processor.py,sha256
|
|
438
|
+
rasa/dialogue_understanding/processor/command_processor.py,sha256=3Q7vux5xN1oMwF7SPpbgm4934G_M9nF1dLDPiw_pAIk,29952
|
|
442
439
|
rasa/dialogue_understanding/processor/command_processor_component.py,sha256=nvp_q-vM2ZEa7sbNMjRhEeuvmCwVWQl1ckTf0UAXuH4,1606
|
|
443
440
|
rasa/dialogue_understanding/stack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
444
441
|
rasa/dialogue_understanding/stack/dialogue_stack.py,sha256=cYV6aQeh0EuOJHODDqK3biqXozYTX8baPgLwHhPxFqs,5244
|
|
@@ -448,7 +445,7 @@ rasa/dialogue_understanding/stack/frames/dialogue_stack_frame.py,sha256=SBTmCV4S
|
|
|
448
445
|
rasa/dialogue_understanding/stack/frames/flow_stack_frame.py,sha256=827ppz6PKr1tSN34BuMlm_iWZCYsZTgvqaNaq1QQFkc,5078
|
|
449
446
|
rasa/dialogue_understanding/stack/frames/pattern_frame.py,sha256=EVrYWv5dCP7XTvNV-HqtOOrseP-IkF0jD2_JacAvIYw,235
|
|
450
447
|
rasa/dialogue_understanding/stack/frames/search_frame.py,sha256=Eo6tSSbJpslKcs6DLu250NmtoKMe4bDHC8_ebx5sJ60,759
|
|
451
|
-
rasa/dialogue_understanding/stack/utils.py,sha256=
|
|
448
|
+
rasa/dialogue_understanding/stack/utils.py,sha256=7ETHyvsqUSyNElVmouswKm99NcGCOG6sWBWFazgXd7A,7932
|
|
452
449
|
rasa/dialogue_understanding/utils.py,sha256=s3Y-REFv2HKYGpPS8nCgISQh86SnQgaRA8KukeFSf9Y,5445
|
|
453
450
|
rasa/dialogue_understanding_test/README.md,sha256=klUCq_FYd0MkIeyxlwYCfsB9EEsSmXUpTTDTxdR7EPc,17764
|
|
454
451
|
rasa/dialogue_understanding_test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -488,7 +485,7 @@ rasa/e2e_test/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
488
485
|
rasa/e2e_test/utils/e2e_yaml_utils.py,sha256=XvP14DGHMfsNXyI7uTV-GTAdqv-r5FNmpFmvEIn93OM,1601
|
|
489
486
|
rasa/e2e_test/utils/generative_assertions.py,sha256=vKBNKhV8C9A_DlQhBnZHfYM1P-_rxovPOyJ37aop3M4,7611
|
|
490
487
|
rasa/e2e_test/utils/io.py,sha256=XyZ8O3s-UVOM-PatdLD3_FKcGesm1BJNANIqkfhXidY,19900
|
|
491
|
-
rasa/e2e_test/utils/validation.py,sha256=
|
|
488
|
+
rasa/e2e_test/utils/validation.py,sha256=3Q5X1Xfe3f42MYMb8JJ9NYTk0X_JAkV8In0Djm-Tsxg,5656
|
|
492
489
|
rasa/engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
493
490
|
rasa/engine/caching.py,sha256=K69amXY6cvKd0Sc5SLe02ujSb3WtQHYsWhcGAwwKyxA,16449
|
|
494
491
|
rasa/engine/constants.py,sha256=rRSg4vUPWJCLlYnU4VQSabKXFcoAF_TFnRGRq8ieTds,623
|
|
@@ -540,7 +537,7 @@ rasa/llm_fine_tuning/annotation_module.py,sha256=6wBBjGwONVlikp79xAHp5g3rydEhPM6
|
|
|
540
537
|
rasa/llm_fine_tuning/conversations.py,sha256=QZVaUsfXe5iIE830Bv-_3oo8luhGfHpirvubxzOoEvA,4116
|
|
541
538
|
rasa/llm_fine_tuning/llm_data_preparation_module.py,sha256=jZ2ItgawV6PzakQVg5JHOrt-_9CwaSAJ01qGZND8uLI,6246
|
|
542
539
|
rasa/llm_fine_tuning/paraphrasing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
543
|
-
rasa/llm_fine_tuning/paraphrasing/conversation_rephraser.py,sha256=
|
|
540
|
+
rasa/llm_fine_tuning/paraphrasing/conversation_rephraser.py,sha256=YwY4btMR-GOOuL_YgMpiMMrJYbby3kLXAv9HUwsrdHU,10147
|
|
544
541
|
rasa/llm_fine_tuning/paraphrasing/default_rephrase_prompt_template.jina2,sha256=sOHiE0WYEp7v7U6FUwHdlG7dAYDCDIWWPEP3eAj6elE,1340
|
|
545
542
|
rasa/llm_fine_tuning/paraphrasing/rephrase_validator.py,sha256=Gj6_CGq5cfPW8doBHIeppY2fs8p4b0r0keCq9Jb1x8w,4796
|
|
546
543
|
rasa/llm_fine_tuning/paraphrasing/rephrased_user_message.py,sha256=cOEmZ71yDXW9-7aZm1gjNHVn_N2kNTHttDqSAz0-lEA,292
|
|
@@ -630,24 +627,24 @@ rasa/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
630
627
|
rasa/shared/constants.py,sha256=lGZKYydyfIKz98ZYyXKM0quCatB4R3mPXZZZ0AIHlfY,12073
|
|
631
628
|
rasa/shared/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
632
629
|
rasa/shared/core/command_payload_reader.py,sha256=puHYsp9xbX0YQm2L1NDBItOFmdzI7AzmfGefgcHiCc0,3871
|
|
633
|
-
rasa/shared/core/constants.py,sha256=
|
|
630
|
+
rasa/shared/core/constants.py,sha256=gwIZHjQYafHnBlMe9_jUiIPm17hxYG9R1MOCtxeC1Ns,6337
|
|
634
631
|
rasa/shared/core/conversation.py,sha256=0nUhcbQkPDnO3_Rig7oiinrWmPy5fsVQs_U6Fx1hG5c,1384
|
|
635
|
-
rasa/shared/core/domain.py,sha256=
|
|
632
|
+
rasa/shared/core/domain.py,sha256=piJu4Kr2exC9ehC3e2oNaxPxXkeIhOYoQJQQOuzMw18,81638
|
|
636
633
|
rasa/shared/core/events.py,sha256=kTUWSpDepj3kpjjXveYXz3h2XcIQV3Sq8h7MTbx5fMw,86489
|
|
637
634
|
rasa/shared/core/flows/__init__.py,sha256=Z4pBY0qcEbHeOwgmKsyg2Nz4dX9CF67fFCwj2KXSMpg,180
|
|
638
635
|
rasa/shared/core/flows/constants.py,sha256=0HN3k-apOb_fi8E2AJtUxMxro8jwFVyXQpil-tHEzbM,340
|
|
639
|
-
rasa/shared/core/flows/flow.py,sha256=
|
|
636
|
+
rasa/shared/core/flows/flow.py,sha256=6RQvDdXNq1FTPKCjZc7wAWZ__eYiJYpvIH2-vQyukG0,23817
|
|
640
637
|
rasa/shared/core/flows/flow_path.py,sha256=xstwahZBU5cfMY46mREA4NoOGlKLBRAqeP_mJ3UZqOI,2283
|
|
641
638
|
rasa/shared/core/flows/flow_step.py,sha256=ZvjXz1Fs5FR1_BlGBitOEYRnLhzk-bBYv1CC2Oi6iWQ,4537
|
|
642
639
|
rasa/shared/core/flows/flow_step_links.py,sha256=U9c4MFASieJGp_-XMhR0hrxFQISCJAF4TQ0wEy4IjB0,10530
|
|
643
640
|
rasa/shared/core/flows/flow_step_sequence.py,sha256=Rcw82OccjJsNc2wKXi6IePOIAPFRBTylSVphCRJCuc4,2362
|
|
644
641
|
rasa/shared/core/flows/flows_list.py,sha256=fnWzY-pI0SmNb6tsEnKIhfhzxFM35rPeKz_SkMw1fjw,8728
|
|
645
|
-
rasa/shared/core/flows/flows_yaml_schema.json,sha256=
|
|
642
|
+
rasa/shared/core/flows/flows_yaml_schema.json,sha256=lILHEH3sp9rm61uV4HcN-3V3Dxg1xakcVvYFRAs3gu8,12399
|
|
646
643
|
rasa/shared/core/flows/nlu_trigger.py,sha256=GG6m5h6Z0jaukA5rPAHscnULgZGDjYMXfufX9nYQtzA,3907
|
|
647
644
|
rasa/shared/core/flows/steps/__init__.py,sha256=jvJp02o9_Wx-rZeQ3SYiLVMpO6ulS1yKuiiKg0ld_nE,655
|
|
648
645
|
rasa/shared/core/flows/steps/action.py,sha256=ctePK0izZudBQE_2wTPQL83T1QAZtaVNSD8mqHtulCQ,1730
|
|
649
646
|
rasa/shared/core/flows/steps/call.py,sha256=ZbJQpRVL8qzU-nS19aW4Hu3RvxemAYRLyNslmId4oww,1856
|
|
650
|
-
rasa/shared/core/flows/steps/collect.py,sha256=
|
|
647
|
+
rasa/shared/core/flows/steps/collect.py,sha256=AOLlbhFrS3UlYCrqbXJyxaxS0nsR6ijwwBY7AKcGV6o,3327
|
|
651
648
|
rasa/shared/core/flows/steps/constants.py,sha256=DCxrEUGbJciBknHm-_t4tmcnH19IZKP-WYxqix9gm7M,132
|
|
652
649
|
rasa/shared/core/flows/steps/continuation.py,sha256=5Rzayr80FsgS4bAajuRObVvVcLqPEh9nxGbT2te85xY,1498
|
|
653
650
|
rasa/shared/core/flows/steps/end.py,sha256=0XrPlQMVBnQKVeZs0or8P9IrVqG7i6RoSNDsVrvAeDk,749
|
|
@@ -656,13 +653,13 @@ rasa/shared/core/flows/steps/link.py,sha256=T6TE-LnfoGUrrPCmlZBLeXou2HGHmOVhu_zh
|
|
|
656
653
|
rasa/shared/core/flows/steps/no_operation.py,sha256=SKqNQ4usLZ4c-faSZOX41lpHBD8YtVe2eGDSt50H05s,1399
|
|
657
654
|
rasa/shared/core/flows/steps/set_slots.py,sha256=DudtHKXaVSNmQL_vXLvkK23_JqgTBU9RJrdQeBpC4s0,1492
|
|
658
655
|
rasa/shared/core/flows/steps/start.py,sha256=AJpKIm0S3GZYLEs3ybXW0Zrq03Pu9lvirNahiUy2I6k,1010
|
|
659
|
-
rasa/shared/core/flows/utils.py,sha256=
|
|
656
|
+
rasa/shared/core/flows/utils.py,sha256=wqPWuEgYcbGMTs6wuckX400Sq1_Jz8yKYd2t91p3e8U,2270
|
|
660
657
|
rasa/shared/core/flows/validation.py,sha256=4IfTR8LoaJcqP8I7NQXjl0Ysmwc7VO7YzCshpiDEDP0,27410
|
|
661
658
|
rasa/shared/core/flows/yaml_flows_io.py,sha256=85ln95jpkh7ZqDl1cheFa8Q21gnadLjWrW8ADmQlrUQ,14385
|
|
662
659
|
rasa/shared/core/generator.py,sha256=UAuBPu5UjUhL9djVK-PvrWZcNhRACOEgnRsTleV7eeY,35686
|
|
663
660
|
rasa/shared/core/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
664
661
|
rasa/shared/core/policies/utils.py,sha256=rWE_-48Ovc__V7wOKCJ-2lTerVRtN3iRHV4ZvuU2b2g,3070
|
|
665
|
-
rasa/shared/core/slot_mappings.py,sha256=
|
|
662
|
+
rasa/shared/core/slot_mappings.py,sha256=afWxJsnAdHPzIxpHBBG1NbK4JBBWSsua3_xq87PKEZA,26663
|
|
666
663
|
rasa/shared/core/slots.py,sha256=2tOpUGLMY3a24zL8pqJ_U38x-h5Du-KpZoNxEGoFOqY,29198
|
|
667
664
|
rasa/shared/core/trackers.py,sha256=KRmahvRNa3M9q8MS-pv8wu8atzo__sh8uHhkSildSsA,45018
|
|
668
665
|
rasa/shared/core/training_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -688,7 +685,7 @@ rasa/shared/importers/rasa.py,sha256=04ohlwnqllfFDJPcmE32SkMNg1TMKwKnsfNlzeGJWUc
|
|
|
688
685
|
rasa/shared/importers/remote_importer.py,sha256=fKLQskaCVPpD5cCMQ9sR71cZZlSIP-SSv3J3o2kra2w,7696
|
|
689
686
|
rasa/shared/importers/utils.py,sha256=NcVgGTc_wnIXhsTjielimDXhO2zg3_qV1w_vBpyENJo,1289
|
|
690
687
|
rasa/shared/nlu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
691
|
-
rasa/shared/nlu/constants.py,sha256=
|
|
688
|
+
rasa/shared/nlu/constants.py,sha256=EVMuFXWX_SspnB7FFi8gf-ZHDjdESxalNJI9h7sjG9g,1919
|
|
692
689
|
rasa/shared/nlu/interpreter.py,sha256=eCNJp61nQYTGVf4aJi8SCWb46jxZY6-C1M1LFxMyQTM,188
|
|
693
690
|
rasa/shared/nlu/training_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
694
691
|
rasa/shared/nlu/training_data/entities_parser.py,sha256=YbPxz8y-o4zwkPAj7V9ohG8eJ600xxERfzckI1rc_kM,6729
|
|
@@ -753,14 +750,14 @@ rasa/shared/providers/router/_base_litellm_router_client.py,sha256=I6ucWfG7dUz_a
|
|
|
753
750
|
rasa/shared/providers/router/router_client.py,sha256=5BBEg-_JtClOVxBy1hu-HceG329PsKs-2v_qbyX_vSo,2174
|
|
754
751
|
rasa/shared/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
755
752
|
rasa/shared/utils/cli.py,sha256=cCI7-2WSqW_O_3fp_X3UPWKevLtHuts8nueV2PhPqlg,2916
|
|
756
|
-
rasa/shared/utils/common.py,sha256=
|
|
757
|
-
rasa/shared/utils/constants.py,sha256=
|
|
753
|
+
rasa/shared/utils/common.py,sha256=bDgy_a3XBKtvuAXOFTlrYIG2NyL_HY1qb0h6-JT6BWY,11234
|
|
754
|
+
rasa/shared/utils/constants.py,sha256=qJ9Tg3lEJMFTS-kcgpAMszlXPu-gQyf_Q8RAswYE5WM,373
|
|
758
755
|
rasa/shared/utils/health_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
759
756
|
rasa/shared/utils/health_check/embeddings_health_check_mixin.py,sha256=ASOzDtI3i6HlRLzee8pafejlTkUesOhY6FZb5-wAZMI,1034
|
|
760
757
|
rasa/shared/utils/health_check/health_check.py,sha256=izixrbc9BxFSsjzwoIw9U0w0VKSX5gMwhey8bcwe1wc,9709
|
|
761
758
|
rasa/shared/utils/health_check/llm_health_check_mixin.py,sha256=ANP5Q68TRX8p4wWkRCAISsWBV1iYYeGnqWILnR1NawE,957
|
|
762
759
|
rasa/shared/utils/io.py,sha256=AhuECoXGO367NvWRCBu99utEtTQnyxWVJyKOOpLePpg,15917
|
|
763
|
-
rasa/shared/utils/llm.py,sha256=
|
|
760
|
+
rasa/shared/utils/llm.py,sha256=Q8RxUzcDqczco87_M_f9yc4Lirx48m_C9vkpb45y2ro,30861
|
|
764
761
|
rasa/shared/utils/pykwalify_extensions.py,sha256=2fvaysurCST_EMelCsECzkBgvClKYbdHb2Ty9rZhszw,1846
|
|
765
762
|
rasa/shared/utils/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
766
763
|
rasa/shared/utils/schemas/config.yml,sha256=czxSADw9hOIZdhvFP8pVUQo810hs9_C8ZGfCPx17taM,27
|
|
@@ -823,10 +820,10 @@ rasa/utils/tensorflow/types.py,sha256=PLG7VI5P_3fNZaXYdGyNIRF4dOMTnLtzfvgms67_IS
|
|
|
823
820
|
rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,21259
|
|
824
821
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
825
822
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
826
|
-
rasa/validator.py,sha256=
|
|
827
|
-
rasa/version.py,sha256=
|
|
828
|
-
rasa_pro-3.13.0.
|
|
829
|
-
rasa_pro-3.13.0.
|
|
830
|
-
rasa_pro-3.13.0.
|
|
831
|
-
rasa_pro-3.13.0.
|
|
832
|
-
rasa_pro-3.13.0.
|
|
823
|
+
rasa/validator.py,sha256=Uyjkn3OD5EcEU_FTsYKydAbCvyG_SmSSbAMMQdXPMrA,83219
|
|
824
|
+
rasa/version.py,sha256=xu7sJCZjiP1Ug1Pv1crX4HkG6M12dzuh3JyQM9IWpuk,122
|
|
825
|
+
rasa_pro-3.13.0.dev3.dist-info/METADATA,sha256=xqtUlvu2LCSFIQcNuC_hhCEmFbFebjQ1QYrzdgQcTq4,10620
|
|
826
|
+
rasa_pro-3.13.0.dev3.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
827
|
+
rasa_pro-3.13.0.dev3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
828
|
+
rasa_pro-3.13.0.dev3.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
829
|
+
rasa_pro-3.13.0.dev3.dist-info/RECORD,,
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from typing import Any, Dict, List, Optional
|
|
4
|
-
|
|
5
|
-
import structlog
|
|
6
|
-
|
|
7
|
-
from rasa.core.actions.action import Action, create_bot_utterance
|
|
8
|
-
from rasa.core.channels import OutputChannel
|
|
9
|
-
from rasa.core.nlg import NaturalLanguageGenerator
|
|
10
|
-
from rasa.core.utils import add_bot_utterance_metadata
|
|
11
|
-
from rasa.dialogue_understanding.patterns.continue_interrupted import (
|
|
12
|
-
ContinueInterruptedPatternFlowStackFrame,
|
|
13
|
-
)
|
|
14
|
-
from rasa.dialogue_understanding.patterns.handle_digressions import (
|
|
15
|
-
HandleDigressionsPatternFlowStackFrame,
|
|
16
|
-
)
|
|
17
|
-
from rasa.dialogue_understanding.stack.frames.flow_stack_frame import (
|
|
18
|
-
FlowStackFrameType,
|
|
19
|
-
UserFlowStackFrame,
|
|
20
|
-
)
|
|
21
|
-
from rasa.dialogue_understanding.stack.utils import (
|
|
22
|
-
remove_digression_from_stack,
|
|
23
|
-
user_flows_on_the_stack,
|
|
24
|
-
)
|
|
25
|
-
from rasa.shared.core.constants import (
|
|
26
|
-
ACTION_BLOCK_DIGRESSION,
|
|
27
|
-
ACTION_CONTINUE_DIGRESSION,
|
|
28
|
-
)
|
|
29
|
-
from rasa.shared.core.domain import Domain
|
|
30
|
-
from rasa.shared.core.events import Event, FlowInterrupted
|
|
31
|
-
from rasa.shared.core.trackers import DialogueStateTracker
|
|
32
|
-
|
|
33
|
-
structlogger = structlog.get_logger()
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
class ActionBlockDigressions(Action):
|
|
37
|
-
"""Action which blocks an interruption and continues the current flow."""
|
|
38
|
-
|
|
39
|
-
def name(self) -> str:
|
|
40
|
-
"""Return the action name."""
|
|
41
|
-
return ACTION_BLOCK_DIGRESSION
|
|
42
|
-
|
|
43
|
-
async def run(
|
|
44
|
-
self,
|
|
45
|
-
output_channel: OutputChannel,
|
|
46
|
-
nlg: NaturalLanguageGenerator,
|
|
47
|
-
tracker: DialogueStateTracker,
|
|
48
|
-
domain: Domain,
|
|
49
|
-
metadata: Optional[Dict[str, Any]] = None,
|
|
50
|
-
) -> List[Event]:
|
|
51
|
-
"""Update the stack."""
|
|
52
|
-
structlogger.debug("action_block_digressions.run")
|
|
53
|
-
top_frame = tracker.stack.top()
|
|
54
|
-
|
|
55
|
-
if not isinstance(top_frame, HandleDigressionsPatternFlowStackFrame):
|
|
56
|
-
return []
|
|
57
|
-
|
|
58
|
-
blocked_flow_id = top_frame.interrupting_flow_id
|
|
59
|
-
frame_type = FlowStackFrameType.REGULAR
|
|
60
|
-
|
|
61
|
-
stack = tracker.stack
|
|
62
|
-
|
|
63
|
-
if blocked_flow_id in user_flows_on_the_stack(stack):
|
|
64
|
-
structlogger.debug(
|
|
65
|
-
"action_block_digressions.already_blocked_flow",
|
|
66
|
-
blocked_flow_id=blocked_flow_id,
|
|
67
|
-
)
|
|
68
|
-
events = []
|
|
69
|
-
else:
|
|
70
|
-
stack.push(
|
|
71
|
-
UserFlowStackFrame(flow_id=blocked_flow_id, frame_type=frame_type), 0
|
|
72
|
-
)
|
|
73
|
-
stack.push(
|
|
74
|
-
ContinueInterruptedPatternFlowStackFrame(
|
|
75
|
-
previous_flow_name=blocked_flow_id
|
|
76
|
-
),
|
|
77
|
-
1,
|
|
78
|
-
)
|
|
79
|
-
events = tracker.create_stack_updated_events(stack)
|
|
80
|
-
|
|
81
|
-
utterance = "utter_block_digressions"
|
|
82
|
-
message = await nlg.generate(
|
|
83
|
-
utterance,
|
|
84
|
-
tracker,
|
|
85
|
-
output_channel.name(),
|
|
86
|
-
)
|
|
87
|
-
|
|
88
|
-
if message is None:
|
|
89
|
-
structlogger.error(
|
|
90
|
-
"action_block_digressions.run.failed.finding.utter",
|
|
91
|
-
utterance=utterance,
|
|
92
|
-
)
|
|
93
|
-
else:
|
|
94
|
-
message = add_bot_utterance_metadata(
|
|
95
|
-
message, utterance, nlg, domain, tracker
|
|
96
|
-
)
|
|
97
|
-
events.append(create_bot_utterance(message))
|
|
98
|
-
|
|
99
|
-
return events
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
class ActionContinueDigression(Action):
|
|
103
|
-
"""Action which continues with an interruption."""
|
|
104
|
-
|
|
105
|
-
def name(self) -> str:
|
|
106
|
-
"""Return the action name."""
|
|
107
|
-
return ACTION_CONTINUE_DIGRESSION
|
|
108
|
-
|
|
109
|
-
async def run(
|
|
110
|
-
self,
|
|
111
|
-
output_channel: OutputChannel,
|
|
112
|
-
nlg: NaturalLanguageGenerator,
|
|
113
|
-
tracker: DialogueStateTracker,
|
|
114
|
-
domain: Domain,
|
|
115
|
-
metadata: Optional[Dict[str, Any]] = None,
|
|
116
|
-
) -> List[Event]:
|
|
117
|
-
"""Update the stack."""
|
|
118
|
-
structlogger.debug("action_continue_digression.run")
|
|
119
|
-
top_frame = tracker.stack.top()
|
|
120
|
-
|
|
121
|
-
if not isinstance(top_frame, HandleDigressionsPatternFlowStackFrame):
|
|
122
|
-
return []
|
|
123
|
-
|
|
124
|
-
interrupting_flow_id = top_frame.interrupting_flow_id
|
|
125
|
-
stack = tracker.stack
|
|
126
|
-
|
|
127
|
-
if interrupting_flow_id in user_flows_on_the_stack(stack):
|
|
128
|
-
structlogger.debug(
|
|
129
|
-
"action_continue_digression.interrupting_flow_id_already_on_the_stack",
|
|
130
|
-
interrupting_flow_id=interrupting_flow_id,
|
|
131
|
-
)
|
|
132
|
-
stack = remove_digression_from_stack(stack, interrupting_flow_id)
|
|
133
|
-
|
|
134
|
-
frame_type = FlowStackFrameType.INTERRUPT
|
|
135
|
-
stack.push(
|
|
136
|
-
UserFlowStackFrame(flow_id=interrupting_flow_id, frame_type=frame_type)
|
|
137
|
-
)
|
|
138
|
-
|
|
139
|
-
events = [
|
|
140
|
-
FlowInterrupted(
|
|
141
|
-
flow_id=top_frame.interrupted_flow_id,
|
|
142
|
-
step_id=top_frame.interrupted_step_id,
|
|
143
|
-
)
|
|
144
|
-
] + tracker.create_stack_updated_events(stack)
|
|
145
|
-
|
|
146
|
-
utterance = "utter_continue_interruption"
|
|
147
|
-
message = await nlg.generate(
|
|
148
|
-
utterance,
|
|
149
|
-
tracker,
|
|
150
|
-
output_channel.name(),
|
|
151
|
-
)
|
|
152
|
-
|
|
153
|
-
if message is None:
|
|
154
|
-
structlogger.error(
|
|
155
|
-
"action_continue_digression.run.failed.finding.utter",
|
|
156
|
-
utterance=utterance,
|
|
157
|
-
)
|
|
158
|
-
else:
|
|
159
|
-
message = add_bot_utterance_metadata(
|
|
160
|
-
message, utterance, nlg, domain, tracker
|
|
161
|
-
)
|
|
162
|
-
events.append(create_bot_utterance(message))
|
|
163
|
-
|
|
164
|
-
return events
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from dataclasses import dataclass
|
|
4
|
-
from typing import Any, Dict, List
|
|
5
|
-
|
|
6
|
-
import structlog
|
|
7
|
-
|
|
8
|
-
from rasa.dialogue_understanding.commands.command import Command
|
|
9
|
-
from rasa.dialogue_understanding.patterns.cannot_handle import (
|
|
10
|
-
CannotHandlePatternFlowStackFrame,
|
|
11
|
-
)
|
|
12
|
-
from rasa.dialogue_understanding.patterns.handle_digressions import (
|
|
13
|
-
HandleDigressionsPatternFlowStackFrame,
|
|
14
|
-
)
|
|
15
|
-
from rasa.dialogue_understanding.stack.utils import (
|
|
16
|
-
top_flow_frame,
|
|
17
|
-
)
|
|
18
|
-
from rasa.shared.core.events import Event
|
|
19
|
-
from rasa.shared.core.flows import FlowsList
|
|
20
|
-
from rasa.shared.core.flows.steps import CollectInformationFlowStep
|
|
21
|
-
from rasa.shared.core.flows.utils import ALL_LABEL
|
|
22
|
-
from rasa.shared.core.trackers import DialogueStateTracker
|
|
23
|
-
from rasa.shared.nlu.constants import HANDLE_DIGRESSIONS_COMMAND
|
|
24
|
-
|
|
25
|
-
structlogger = structlog.get_logger()
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@dataclass
|
|
29
|
-
class HandleDigressionsCommand(Command):
|
|
30
|
-
"""A command to handle digressions during an active flow."""
|
|
31
|
-
|
|
32
|
-
flow: str
|
|
33
|
-
"""The interrupting flow."""
|
|
34
|
-
|
|
35
|
-
@classmethod
|
|
36
|
-
def command(cls) -> str:
|
|
37
|
-
"""Returns the command type."""
|
|
38
|
-
return HANDLE_DIGRESSIONS_COMMAND
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls, data: Dict[str, Any]) -> HandleDigressionsCommand:
|
|
42
|
-
"""Converts the dictionary to a command.
|
|
43
|
-
|
|
44
|
-
Returns:
|
|
45
|
-
The converted dictionary.
|
|
46
|
-
"""
|
|
47
|
-
try:
|
|
48
|
-
return HandleDigressionsCommand(flow=data["flow"])
|
|
49
|
-
except KeyError as e:
|
|
50
|
-
raise ValueError(
|
|
51
|
-
f"Missing parameter '{e}' while parsing HandleDigressionsCommand."
|
|
52
|
-
) from e
|
|
53
|
-
|
|
54
|
-
def run_command_on_tracker(
|
|
55
|
-
self,
|
|
56
|
-
tracker: DialogueStateTracker,
|
|
57
|
-
all_flows: FlowsList,
|
|
58
|
-
original_tracker: DialogueStateTracker,
|
|
59
|
-
) -> List[Event]:
|
|
60
|
-
"""Runs the command on the tracker.
|
|
61
|
-
|
|
62
|
-
Args:
|
|
63
|
-
tracker: The tracker to run the command on.
|
|
64
|
-
all_flows: All flows in the assistant.
|
|
65
|
-
original_tracker: The tracker before any command was executed.
|
|
66
|
-
|
|
67
|
-
Returns:
|
|
68
|
-
The events to apply to the tracker.
|
|
69
|
-
"""
|
|
70
|
-
stack = tracker.stack
|
|
71
|
-
original_stack = original_tracker.stack
|
|
72
|
-
|
|
73
|
-
if self.flow not in all_flows.flow_ids:
|
|
74
|
-
structlogger.debug(
|
|
75
|
-
"command_executor.push_cannot_handle.start_invalid_flow_id",
|
|
76
|
-
command=self,
|
|
77
|
-
)
|
|
78
|
-
stack.push(CannotHandlePatternFlowStackFrame())
|
|
79
|
-
return tracker.create_stack_updated_events(stack)
|
|
80
|
-
|
|
81
|
-
# this allows to include called user flows in the stack search
|
|
82
|
-
latest_user_frame = top_flow_frame(original_stack, ignore_call_frames=False)
|
|
83
|
-
|
|
84
|
-
if latest_user_frame is None:
|
|
85
|
-
structlogger.debug(
|
|
86
|
-
"command_executor.skip_command.no_top_flow", command=self
|
|
87
|
-
)
|
|
88
|
-
return []
|
|
89
|
-
|
|
90
|
-
original_top_flow = latest_user_frame.flow(all_flows)
|
|
91
|
-
current_step = original_top_flow.step_by_id(latest_user_frame.step_id)
|
|
92
|
-
if not isinstance(current_step, CollectInformationFlowStep):
|
|
93
|
-
structlogger.debug(
|
|
94
|
-
"command_executor.skip_command.not_at_a_collect_step", command=self
|
|
95
|
-
)
|
|
96
|
-
return []
|
|
97
|
-
|
|
98
|
-
ask_confirm_digressions = set(
|
|
99
|
-
current_step.ask_confirm_digressions
|
|
100
|
-
+ original_top_flow.ask_confirm_digressions
|
|
101
|
-
)
|
|
102
|
-
|
|
103
|
-
block_digressions = set(
|
|
104
|
-
current_step.block_digressions + original_top_flow.block_digressions
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
if block_digressions:
|
|
108
|
-
if ALL_LABEL in block_digressions:
|
|
109
|
-
block_digressions.remove(ALL_LABEL)
|
|
110
|
-
block_digressions.add(self.flow)
|
|
111
|
-
|
|
112
|
-
if ask_confirm_digressions:
|
|
113
|
-
if ALL_LABEL in ask_confirm_digressions:
|
|
114
|
-
ask_confirm_digressions.remove(ALL_LABEL)
|
|
115
|
-
ask_confirm_digressions.add(self.flow)
|
|
116
|
-
|
|
117
|
-
structlogger.debug(
|
|
118
|
-
"command_executor.push_handle_digressions",
|
|
119
|
-
interrupting_flow_id=self.flow,
|
|
120
|
-
interrupted_flow_id=original_top_flow.id,
|
|
121
|
-
interrupted_step_id=current_step.id,
|
|
122
|
-
ask_confirm_digressions=ask_confirm_digressions,
|
|
123
|
-
block_digressions=block_digressions,
|
|
124
|
-
)
|
|
125
|
-
stack.push(
|
|
126
|
-
HandleDigressionsPatternFlowStackFrame(
|
|
127
|
-
interrupting_flow_id=self.flow,
|
|
128
|
-
interrupted_flow_id=original_top_flow.id,
|
|
129
|
-
interrupted_step_id=current_step.id,
|
|
130
|
-
ask_confirm_digressions=ask_confirm_digressions,
|
|
131
|
-
block_digressions=block_digressions,
|
|
132
|
-
)
|
|
133
|
-
)
|
|
134
|
-
|
|
135
|
-
return tracker.create_stack_updated_events(stack)
|
|
136
|
-
|
|
137
|
-
def __hash__(self) -> int:
|
|
138
|
-
return hash(self.flow)
|
|
139
|
-
|
|
140
|
-
def __eq__(self, other: object) -> bool:
|
|
141
|
-
if not isinstance(other, HandleDigressionsCommand):
|
|
142
|
-
return False
|
|
143
|
-
|
|
144
|
-
return other.flow == self.flow
|