rasa-pro 3.12.6.dev1__py3-none-any.whl → 3.12.7.dev1__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/voice_ready/audiocodes.py +46 -17
- rasa/core/policies/flows/flow_executor.py +3 -38
- rasa/core/processor.py +19 -5
- rasa/core/utils.py +53 -0
- rasa/dialogue_understanding/commands/cancel_flow_command.py +4 -59
- rasa/dialogue_understanding/commands/start_flow_command.py +0 -41
- rasa/dialogue_understanding/generator/command_generator.py +67 -0
- rasa/dialogue_understanding/generator/llm_based_command_generator.py +2 -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/shared/core/constants.py +0 -8
- 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/validator.py +1 -123
- rasa/version.py +1 -2
- {rasa_pro-3.12.6.dev1.dist-info → rasa_pro-3.12.7.dev1.dist-info}/METADATA +3 -1
- {rasa_pro-3.12.6.dev1.dist-info → rasa_pro-3.12.7.dev1.dist-info}/RECORD +30 -33
- 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.12.6.dev1.dist-info → rasa_pro-3.12.7.dev1.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.6.dev1.dist-info → rasa_pro-3.12.7.dev1.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.6.dev1.dist-info → rasa_pro-3.12.7.dev1.dist-info}/entry_points.txt +0 -0
rasa/validator.py
CHANGED
|
@@ -48,7 +48,7 @@ from rasa.shared.core.domain import (
|
|
|
48
48
|
Domain,
|
|
49
49
|
)
|
|
50
50
|
from rasa.shared.core.events import ActionExecuted, ActiveLoop, UserUttered
|
|
51
|
-
from rasa.shared.core.flows import
|
|
51
|
+
from rasa.shared.core.flows import FlowsList
|
|
52
52
|
from rasa.shared.core.flows.constants import KEY_NAME, KEY_TRANSLATION
|
|
53
53
|
from rasa.shared.core.flows.flow_step_links import IfFlowStepLink
|
|
54
54
|
from rasa.shared.core.flows.steps.action import ActionFlowStep
|
|
@@ -56,7 +56,6 @@ from rasa.shared.core.flows.steps.collect import CollectInformationFlowStep
|
|
|
56
56
|
from rasa.shared.core.flows.steps.link import LinkFlowStep
|
|
57
57
|
from rasa.shared.core.flows.steps.set_slots import SetSlotsFlowStep
|
|
58
58
|
from rasa.shared.core.flows.utils import (
|
|
59
|
-
ALL_LABEL,
|
|
60
59
|
get_duplicate_slot_persistence_config_error_message,
|
|
61
60
|
get_invalid_slot_persistence_config_error_message,
|
|
62
61
|
warn_deprecated_collect_step_config,
|
|
@@ -1281,7 +1280,6 @@ class Validator:
|
|
|
1281
1280
|
self.verify_unique_flows(),
|
|
1282
1281
|
self.verify_predicates(),
|
|
1283
1282
|
self.verify_slot_persistence_configuration(),
|
|
1284
|
-
self.verify_digression_configuration(),
|
|
1285
1283
|
]
|
|
1286
1284
|
|
|
1287
1285
|
all_good = all(flow_validation_conditions)
|
|
@@ -1830,126 +1828,6 @@ class Validator:
|
|
|
1830
1828
|
|
|
1831
1829
|
return all_good
|
|
1832
1830
|
|
|
1833
|
-
def verify_digression_configuration(self) -> bool:
|
|
1834
|
-
"""Validates the digression configuration in flows."""
|
|
1835
|
-
all_good = True
|
|
1836
|
-
|
|
1837
|
-
for flow in self.flows.underlying_flows:
|
|
1838
|
-
all_good = self._validate_ask_confirm_digressions(flow, all_good)
|
|
1839
|
-
all_good = self._validate_block_digressions(flow, all_good)
|
|
1840
|
-
|
|
1841
|
-
return all_good
|
|
1842
|
-
|
|
1843
|
-
def _validate_ask_confirm_digressions(self, flow: Flow, all_good: bool) -> bool:
|
|
1844
|
-
"""Validates the ask_confirm_digressions configuration in a flow."""
|
|
1845
|
-
for flow_id in flow.ask_confirm_digressions:
|
|
1846
|
-
if flow_id == ALL_LABEL:
|
|
1847
|
-
continue
|
|
1848
|
-
if flow_id not in self.flows.flow_ids:
|
|
1849
|
-
structlogger.error(
|
|
1850
|
-
"validator.verify_digression_configuration.ask_confirm_digressions",
|
|
1851
|
-
flow=flow.id,
|
|
1852
|
-
event_info=(
|
|
1853
|
-
f"The flow '{flow_id}' is listed in the "
|
|
1854
|
-
f"`ask_confirm_digressions` configuration of flow "
|
|
1855
|
-
f"'{flow.id}', but it is not found in the "
|
|
1856
|
-
f"flows file. Please make sure that the flow id is correct."
|
|
1857
|
-
),
|
|
1858
|
-
)
|
|
1859
|
-
all_good = False
|
|
1860
|
-
|
|
1861
|
-
if flow_id in flow.block_digressions:
|
|
1862
|
-
structlogger.error(
|
|
1863
|
-
"validator.verify_digression_configuration.overlap_digressions",
|
|
1864
|
-
flow=flow.id,
|
|
1865
|
-
event_info=(
|
|
1866
|
-
f"The flow '{flow_id}' is listed in both the "
|
|
1867
|
-
f"`ask_confirm_digressions` and `block_digressions` "
|
|
1868
|
-
f"configuration of flow '{flow.id}'. "
|
|
1869
|
-
f"Please make sure that the flow id is not listed in both "
|
|
1870
|
-
f"configurations."
|
|
1871
|
-
),
|
|
1872
|
-
)
|
|
1873
|
-
all_good = False
|
|
1874
|
-
|
|
1875
|
-
for step in flow.get_collect_steps():
|
|
1876
|
-
for flow_id in step.ask_confirm_digressions:
|
|
1877
|
-
if flow_id == ALL_LABEL:
|
|
1878
|
-
continue
|
|
1879
|
-
|
|
1880
|
-
if flow_id not in self.flows.flow_ids:
|
|
1881
|
-
structlogger.error(
|
|
1882
|
-
"validator.verify_digression_configuration.ask_confirm_digressions",
|
|
1883
|
-
flow=flow.id,
|
|
1884
|
-
step_id=step.id,
|
|
1885
|
-
event_info=(
|
|
1886
|
-
f"The flow '{flow_id}' is listed in the "
|
|
1887
|
-
f"`ask_confirm_digressions` configuration of step "
|
|
1888
|
-
f"'{step.id}' in flow '{flow.id}', but it is "
|
|
1889
|
-
f"not found in the flows file. "
|
|
1890
|
-
f"Please make sure that the flow id is correct."
|
|
1891
|
-
),
|
|
1892
|
-
)
|
|
1893
|
-
all_good = False
|
|
1894
|
-
|
|
1895
|
-
if flow_id in step.block_digressions:
|
|
1896
|
-
structlogger.error(
|
|
1897
|
-
"validator.verify_digression_configuration.overlap_digressions",
|
|
1898
|
-
flow=flow.id,
|
|
1899
|
-
step_id=step.id,
|
|
1900
|
-
event_info=(
|
|
1901
|
-
f"The flow '{flow_id}' is listed in both the "
|
|
1902
|
-
f"`ask_confirm_digressions` and `block_digressions` "
|
|
1903
|
-
f"configuration of step '{step.id}' in flow '{flow.id}'. "
|
|
1904
|
-
f"Please make sure that the flow id is not listed in both "
|
|
1905
|
-
f"configurations."
|
|
1906
|
-
),
|
|
1907
|
-
)
|
|
1908
|
-
all_good = False
|
|
1909
|
-
|
|
1910
|
-
return all_good
|
|
1911
|
-
|
|
1912
|
-
def _validate_block_digressions(self, flow: Flow, all_good: bool) -> bool:
|
|
1913
|
-
"""Validates the block_digressions configuration in a flow."""
|
|
1914
|
-
for flow_id in flow.block_digressions:
|
|
1915
|
-
if flow_id == ALL_LABEL:
|
|
1916
|
-
continue
|
|
1917
|
-
|
|
1918
|
-
if flow_id not in self.flows.flow_ids:
|
|
1919
|
-
structlogger.error(
|
|
1920
|
-
"validator.verify_digression_configuration.block_digressions",
|
|
1921
|
-
flow=flow.id,
|
|
1922
|
-
event_info=(
|
|
1923
|
-
f"The flow '{flow_id}' is listed in the `block_digressions` "
|
|
1924
|
-
f"configuration of flow '{flow.id}', but it is not found "
|
|
1925
|
-
f"in the flows file. Please make sure that the flow id "
|
|
1926
|
-
f"is correct."
|
|
1927
|
-
),
|
|
1928
|
-
)
|
|
1929
|
-
all_good = False
|
|
1930
|
-
|
|
1931
|
-
for step in flow.get_collect_steps():
|
|
1932
|
-
for flow_id in step.block_digressions:
|
|
1933
|
-
if flow_id == ALL_LABEL:
|
|
1934
|
-
continue
|
|
1935
|
-
|
|
1936
|
-
if flow_id not in self.flows.flow_ids:
|
|
1937
|
-
structlogger.error(
|
|
1938
|
-
"validator.verify_digression_configuration.block_digressions",
|
|
1939
|
-
flow=flow.id,
|
|
1940
|
-
step_id=step.id,
|
|
1941
|
-
event_info=(
|
|
1942
|
-
f"The flow '{flow_id}' is listed in the "
|
|
1943
|
-
f"`block_digressions` configuration of step "
|
|
1944
|
-
f"'{step.id}' in flow '{flow.id}', but it is "
|
|
1945
|
-
f"not found in the flows file. "
|
|
1946
|
-
f"Please make sure that the flow id is correct."
|
|
1947
|
-
),
|
|
1948
|
-
)
|
|
1949
|
-
all_good = False
|
|
1950
|
-
|
|
1951
|
-
return all_good
|
|
1952
|
-
|
|
1953
1831
|
def verify_slot_validation(self) -> bool:
|
|
1954
1832
|
"""Validates the slot validation configuration in the domain file."""
|
|
1955
1833
|
all_good = True
|
rasa/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: rasa-pro
|
|
3
|
-
Version: 3.12.
|
|
3
|
+
Version: 3.12.7.dev1
|
|
4
4
|
Summary: State-of-the-art open-core Conversational AI framework for Enterprises that natively leverages generative AI for effortless assistant development.
|
|
5
5
|
Keywords: nlp,machine-learning,machine-learning-library,bot,bots,botkit,rasa conversational-agents,conversational-ai,chatbot,chatbot-framework,bot-framework
|
|
6
6
|
Author: Rasa Technologies GmbH
|
|
@@ -116,6 +116,7 @@ Requires-Dist: scikit-learn (>=1.5.1,<1.6.0)
|
|
|
116
116
|
Requires-Dist: scipy (>=1.13.1,<1.14.0)
|
|
117
117
|
Requires-Dist: sentencepiece[sentencepiece] (>=0.1.99,<0.2.0) ; extra == "transformers" or extra == "full"
|
|
118
118
|
Requires-Dist: sentry-sdk (>=1.14.0,<1.15.0)
|
|
119
|
+
Requires-Dist: setuptools (>=78.1.0,<78.2.0)
|
|
119
120
|
Requires-Dist: sklearn-crfsuite (>=0.3.6,<0.4.0)
|
|
120
121
|
Requires-Dist: skops (>=0.10.0,<0.11.0)
|
|
121
122
|
Requires-Dist: slack-sdk (>=3.27.1,<3.28.0)
|
|
@@ -145,6 +146,7 @@ Requires-Dist: typing-utils (>=0.1.0,<0.2.0)
|
|
|
145
146
|
Requires-Dist: ujson (>=5.8,<6.0)
|
|
146
147
|
Requires-Dist: webexteamssdk (>=1.6.1,<1.7.0)
|
|
147
148
|
Requires-Dist: websockets (>=10.4,<11.0)
|
|
149
|
+
Requires-Dist: wheel (>=0.45.1)
|
|
148
150
|
Project-URL: Documentation, https://rasa.com/docs
|
|
149
151
|
Project-URL: Homepage, https://rasa.com
|
|
150
152
|
Project-URL: Repository, https://github.com/rasahq/rasa
|
|
@@ -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=9fnDvyXDT6OuNqvKUdiUOnr5VMmVLcv4l_D9p0axiJ4,8066
|
|
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=2mDvSi1pSWipDWhprEFjDXf-X9yoID9DQEvmf0rQcJM,42664
|
|
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=Rng5h-h5b63HisUeSFZXQ3FnNi-jPoqSbqnDo8M-jTk,7248
|
|
@@ -268,7 +267,7 @@ 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=
|
|
270
|
+
rasa/core/channels/voice_ready/audiocodes.py,sha256=OFE84rOPfl3fJ5VTiywIpiKgAYm0YDMFArsdL3THW-0,20781
|
|
272
271
|
rasa/core/channels/voice_ready/jambonz.py,sha256=r7O8k_X934lQe0fzY7R0z_hMeX5qMN663bTugQ1-8eQ,4154
|
|
273
272
|
rasa/core/channels/voice_ready/jambonz_protocol.py,sha256=idWArI4SRr4fjyZx3VIUoua_cbLwpvw4e5VeHyQjE8E,12975
|
|
274
273
|
rasa/core/channels/voice_ready/twilio_voice.py,sha256=5N5dQ2l_u8CC9J16USgufl6MB1bJziCky7VT58MPt68,14520
|
|
@@ -333,7 +332,7 @@ rasa/core/policies/enterprise_search_prompt_with_citation_template.jinja2,sha256
|
|
|
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
337
|
rasa/core/policies/intentless_policy.py,sha256=rSETeSDC3jodKvVeNeBc5OBptpSCsEYJdeJEB0b2p3U,36091
|
|
339
338
|
rasa/core/policies/intentless_prompt_template.jinja2,sha256=KhIL3cruMmkxhrs5oVbqgSvK6ZiN_6TQ_jXrgtEB-ZY,677
|
|
@@ -342,7 +341,7 @@ rasa/core/policies/policy.py,sha256=5SUnPajSTSf8PzB1-jFbQPtsvR-zLN-xkjeotWOxuJc,
|
|
|
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=sUEKKDFHw0uDw8BgorN4DFQa5f_kVbOS344qV4F0oDk,59821
|
|
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,7 +358,7 @@ 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
|
|
@@ -369,7 +368,7 @@ rasa/dialogue_understanding/coexistence/llm_based_router.py,sha256=UTLMZpynSRt8q
|
|
|
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,7 +378,6 @@ 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
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
|
|
@@ -390,18 +388,18 @@ 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
401
|
rasa/dialogue_understanding/generator/flow_retrieval.py,sha256=wlGnMj17-X1-siQmdSvOd7K61sRzBf82MQEL2pqDQMI,17891
|
|
404
|
-
rasa/dialogue_understanding/generator/llm_based_command_generator.py,sha256=
|
|
402
|
+
rasa/dialogue_understanding/generator/llm_based_command_generator.py,sha256=uzzGufs2oDBXqz4LKz2429Hr3GvkMIKbsmBrgvEG4TA,23587
|
|
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
|
|
@@ -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
|
|
@@ -487,7 +484,7 @@ rasa/e2e_test/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
487
484
|
rasa/e2e_test/utils/e2e_yaml_utils.py,sha256=XvP14DGHMfsNXyI7uTV-GTAdqv-r5FNmpFmvEIn93OM,1601
|
|
488
485
|
rasa/e2e_test/utils/generative_assertions.py,sha256=vKBNKhV8C9A_DlQhBnZHfYM1P-_rxovPOyJ37aop3M4,7611
|
|
489
486
|
rasa/e2e_test/utils/io.py,sha256=XyZ8O3s-UVOM-PatdLD3_FKcGesm1BJNANIqkfhXidY,19900
|
|
490
|
-
rasa/e2e_test/utils/validation.py,sha256=
|
|
487
|
+
rasa/e2e_test/utils/validation.py,sha256=3Q5X1Xfe3f42MYMb8JJ9NYTk0X_JAkV8In0Djm-Tsxg,5656
|
|
491
488
|
rasa/engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
492
489
|
rasa/engine/caching.py,sha256=K69amXY6cvKd0Sc5SLe02ujSb3WtQHYsWhcGAwwKyxA,16449
|
|
493
490
|
rasa/engine/constants.py,sha256=rRSg4vUPWJCLlYnU4VQSabKXFcoAF_TFnRGRq8ieTds,623
|
|
@@ -629,24 +626,24 @@ rasa/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
629
626
|
rasa/shared/constants.py,sha256=lGZKYydyfIKz98ZYyXKM0quCatB4R3mPXZZZ0AIHlfY,12073
|
|
630
627
|
rasa/shared/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
631
628
|
rasa/shared/core/command_payload_reader.py,sha256=puHYsp9xbX0YQm2L1NDBItOFmdzI7AzmfGefgcHiCc0,3871
|
|
632
|
-
rasa/shared/core/constants.py,sha256=
|
|
629
|
+
rasa/shared/core/constants.py,sha256=gwIZHjQYafHnBlMe9_jUiIPm17hxYG9R1MOCtxeC1Ns,6337
|
|
633
630
|
rasa/shared/core/conversation.py,sha256=0nUhcbQkPDnO3_Rig7oiinrWmPy5fsVQs_U6Fx1hG5c,1384
|
|
634
631
|
rasa/shared/core/domain.py,sha256=piJu4Kr2exC9ehC3e2oNaxPxXkeIhOYoQJQQOuzMw18,81638
|
|
635
632
|
rasa/shared/core/events.py,sha256=kTUWSpDepj3kpjjXveYXz3h2XcIQV3Sq8h7MTbx5fMw,86489
|
|
636
633
|
rasa/shared/core/flows/__init__.py,sha256=Z4pBY0qcEbHeOwgmKsyg2Nz4dX9CF67fFCwj2KXSMpg,180
|
|
637
634
|
rasa/shared/core/flows/constants.py,sha256=0HN3k-apOb_fi8E2AJtUxMxro8jwFVyXQpil-tHEzbM,340
|
|
638
|
-
rasa/shared/core/flows/flow.py,sha256=
|
|
635
|
+
rasa/shared/core/flows/flow.py,sha256=6RQvDdXNq1FTPKCjZc7wAWZ__eYiJYpvIH2-vQyukG0,23817
|
|
639
636
|
rasa/shared/core/flows/flow_path.py,sha256=xstwahZBU5cfMY46mREA4NoOGlKLBRAqeP_mJ3UZqOI,2283
|
|
640
637
|
rasa/shared/core/flows/flow_step.py,sha256=ZvjXz1Fs5FR1_BlGBitOEYRnLhzk-bBYv1CC2Oi6iWQ,4537
|
|
641
638
|
rasa/shared/core/flows/flow_step_links.py,sha256=U9c4MFASieJGp_-XMhR0hrxFQISCJAF4TQ0wEy4IjB0,10530
|
|
642
639
|
rasa/shared/core/flows/flow_step_sequence.py,sha256=Rcw82OccjJsNc2wKXi6IePOIAPFRBTylSVphCRJCuc4,2362
|
|
643
640
|
rasa/shared/core/flows/flows_list.py,sha256=fnWzY-pI0SmNb6tsEnKIhfhzxFM35rPeKz_SkMw1fjw,8728
|
|
644
|
-
rasa/shared/core/flows/flows_yaml_schema.json,sha256=
|
|
641
|
+
rasa/shared/core/flows/flows_yaml_schema.json,sha256=lILHEH3sp9rm61uV4HcN-3V3Dxg1xakcVvYFRAs3gu8,12399
|
|
645
642
|
rasa/shared/core/flows/nlu_trigger.py,sha256=GG6m5h6Z0jaukA5rPAHscnULgZGDjYMXfufX9nYQtzA,3907
|
|
646
643
|
rasa/shared/core/flows/steps/__init__.py,sha256=jvJp02o9_Wx-rZeQ3SYiLVMpO6ulS1yKuiiKg0ld_nE,655
|
|
647
644
|
rasa/shared/core/flows/steps/action.py,sha256=ctePK0izZudBQE_2wTPQL83T1QAZtaVNSD8mqHtulCQ,1730
|
|
648
645
|
rasa/shared/core/flows/steps/call.py,sha256=ZbJQpRVL8qzU-nS19aW4Hu3RvxemAYRLyNslmId4oww,1856
|
|
649
|
-
rasa/shared/core/flows/steps/collect.py,sha256=
|
|
646
|
+
rasa/shared/core/flows/steps/collect.py,sha256=AOLlbhFrS3UlYCrqbXJyxaxS0nsR6ijwwBY7AKcGV6o,3327
|
|
650
647
|
rasa/shared/core/flows/steps/constants.py,sha256=DCxrEUGbJciBknHm-_t4tmcnH19IZKP-WYxqix9gm7M,132
|
|
651
648
|
rasa/shared/core/flows/steps/continuation.py,sha256=5Rzayr80FsgS4bAajuRObVvVcLqPEh9nxGbT2te85xY,1498
|
|
652
649
|
rasa/shared/core/flows/steps/end.py,sha256=0XrPlQMVBnQKVeZs0or8P9IrVqG7i6RoSNDsVrvAeDk,749
|
|
@@ -655,13 +652,13 @@ rasa/shared/core/flows/steps/link.py,sha256=T6TE-LnfoGUrrPCmlZBLeXou2HGHmOVhu_zh
|
|
|
655
652
|
rasa/shared/core/flows/steps/no_operation.py,sha256=SKqNQ4usLZ4c-faSZOX41lpHBD8YtVe2eGDSt50H05s,1399
|
|
656
653
|
rasa/shared/core/flows/steps/set_slots.py,sha256=DudtHKXaVSNmQL_vXLvkK23_JqgTBU9RJrdQeBpC4s0,1492
|
|
657
654
|
rasa/shared/core/flows/steps/start.py,sha256=AJpKIm0S3GZYLEs3ybXW0Zrq03Pu9lvirNahiUy2I6k,1010
|
|
658
|
-
rasa/shared/core/flows/utils.py,sha256=
|
|
655
|
+
rasa/shared/core/flows/utils.py,sha256=wqPWuEgYcbGMTs6wuckX400Sq1_Jz8yKYd2t91p3e8U,2270
|
|
659
656
|
rasa/shared/core/flows/validation.py,sha256=4IfTR8LoaJcqP8I7NQXjl0Ysmwc7VO7YzCshpiDEDP0,27410
|
|
660
657
|
rasa/shared/core/flows/yaml_flows_io.py,sha256=85ln95jpkh7ZqDl1cheFa8Q21gnadLjWrW8ADmQlrUQ,14385
|
|
661
658
|
rasa/shared/core/generator.py,sha256=UAuBPu5UjUhL9djVK-PvrWZcNhRACOEgnRsTleV7eeY,35686
|
|
662
659
|
rasa/shared/core/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
663
660
|
rasa/shared/core/policies/utils.py,sha256=rWE_-48Ovc__V7wOKCJ-2lTerVRtN3iRHV4ZvuU2b2g,3070
|
|
664
|
-
rasa/shared/core/slot_mappings.py,sha256=
|
|
661
|
+
rasa/shared/core/slot_mappings.py,sha256=afWxJsnAdHPzIxpHBBG1NbK4JBBWSsua3_xq87PKEZA,26663
|
|
665
662
|
rasa/shared/core/slots.py,sha256=KOGC5dqW7yLIZZrNqoMBrqqEmaJMNbKB_0yW7d__1yM,29211
|
|
666
663
|
rasa/shared/core/trackers.py,sha256=fgSBpaoVm98dQjFhfJGxaDiQN7Gg94AnT_Rk4z_UEms,45271
|
|
667
664
|
rasa/shared/core/training_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -687,7 +684,7 @@ rasa/shared/importers/rasa.py,sha256=04ohlwnqllfFDJPcmE32SkMNg1TMKwKnsfNlzeGJWUc
|
|
|
687
684
|
rasa/shared/importers/remote_importer.py,sha256=fKLQskaCVPpD5cCMQ9sR71cZZlSIP-SSv3J3o2kra2w,7696
|
|
688
685
|
rasa/shared/importers/utils.py,sha256=NcVgGTc_wnIXhsTjielimDXhO2zg3_qV1w_vBpyENJo,1289
|
|
689
686
|
rasa/shared/nlu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
690
|
-
rasa/shared/nlu/constants.py,sha256=
|
|
687
|
+
rasa/shared/nlu/constants.py,sha256=EVMuFXWX_SspnB7FFi8gf-ZHDjdESxalNJI9h7sjG9g,1919
|
|
691
688
|
rasa/shared/nlu/interpreter.py,sha256=eCNJp61nQYTGVf4aJi8SCWb46jxZY6-C1M1LFxMyQTM,188
|
|
692
689
|
rasa/shared/nlu/training_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
693
690
|
rasa/shared/nlu/training_data/entities_parser.py,sha256=YbPxz8y-o4zwkPAj7V9ohG8eJ600xxERfzckI1rc_kM,6729
|
|
@@ -752,7 +749,7 @@ rasa/shared/providers/router/_base_litellm_router_client.py,sha256=I6ucWfG7dUz_a
|
|
|
752
749
|
rasa/shared/providers/router/router_client.py,sha256=5BBEg-_JtClOVxBy1hu-HceG329PsKs-2v_qbyX_vSo,2174
|
|
753
750
|
rasa/shared/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
754
751
|
rasa/shared/utils/cli.py,sha256=cCI7-2WSqW_O_3fp_X3UPWKevLtHuts8nueV2PhPqlg,2916
|
|
755
|
-
rasa/shared/utils/common.py,sha256=
|
|
752
|
+
rasa/shared/utils/common.py,sha256=bDgy_a3XBKtvuAXOFTlrYIG2NyL_HY1qb0h6-JT6BWY,11234
|
|
756
753
|
rasa/shared/utils/constants.py,sha256=CkcwE1mmaAo_1QDydUX5WO8x_-stFGZ17dPAGP1t_k4,262
|
|
757
754
|
rasa/shared/utils/health_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
758
755
|
rasa/shared/utils/health_check/embeddings_health_check_mixin.py,sha256=ASOzDtI3i6HlRLzee8pafejlTkUesOhY6FZb5-wAZMI,1034
|
|
@@ -822,10 +819,10 @@ rasa/utils/tensorflow/types.py,sha256=PLG7VI5P_3fNZaXYdGyNIRF4dOMTnLtzfvgms67_IS
|
|
|
822
819
|
rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,21259
|
|
823
820
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
824
821
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
825
|
-
rasa/validator.py,sha256=
|
|
826
|
-
rasa/version.py,sha256=
|
|
827
|
-
rasa_pro-3.12.
|
|
828
|
-
rasa_pro-3.12.
|
|
829
|
-
rasa_pro-3.12.
|
|
830
|
-
rasa_pro-3.12.
|
|
831
|
-
rasa_pro-3.12.
|
|
822
|
+
rasa/validator.py,sha256=Uyjkn3OD5EcEU_FTsYKydAbCvyG_SmSSbAMMQdXPMrA,83219
|
|
823
|
+
rasa/version.py,sha256=iYt7F5cPUvTffZRdRxUlAJWMlYzjV67W1aSYoxAh4A8,122
|
|
824
|
+
rasa_pro-3.12.7.dev1.dist-info/METADATA,sha256=nwQUlf15tp0a2E36zfOae88qUuMcf335izlWw4kl9GI,10620
|
|
825
|
+
rasa_pro-3.12.7.dev1.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
826
|
+
rasa_pro-3.12.7.dev1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
827
|
+
rasa_pro-3.12.7.dev1.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
828
|
+
rasa_pro-3.12.7.dev1.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
|