rasa-pro 3.13.1a17__py3-none-any.whl → 3.13.1a18__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/core/actions/direct_custom_actions_executor.py +8 -15
- rasa/version.py +1 -1
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.1a18.dist-info}/METADATA +1 -1
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.1a18.dist-info}/RECORD +7 -7
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.1a18.dist-info}/NOTICE +0 -0
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.1a18.dist-info}/WHEEL +0 -0
- {rasa_pro-3.13.1a17.dist-info → rasa_pro-3.13.1a18.dist-info}/entry_points.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import os
|
|
2
1
|
from functools import lru_cache
|
|
2
|
+
from importlib.util import find_spec
|
|
3
3
|
from typing import (
|
|
4
4
|
Any,
|
|
5
5
|
ClassVar,
|
|
@@ -16,6 +16,7 @@ from rasa.core.actions.custom_action_executor import (
|
|
|
16
16
|
)
|
|
17
17
|
from rasa.shared.core.domain import Domain
|
|
18
18
|
from rasa.shared.core.trackers import DialogueStateTracker, EventVerbosity
|
|
19
|
+
from rasa.shared.exceptions import RasaException
|
|
19
20
|
from rasa.utils.endpoints import EndpointConfig
|
|
20
21
|
|
|
21
22
|
structlogger = structlog.get_logger(__name__)
|
|
@@ -62,20 +63,12 @@ class DirectCustomActionExecutor(CustomActionExecutor):
|
|
|
62
63
|
return
|
|
63
64
|
|
|
64
65
|
module_name = self.action_endpoint.actions_module
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
ls_dir_module=os.listdir(os.getcwd() + "/" + module_name),
|
|
72
|
-
)
|
|
73
|
-
# if not find_spec(module_name):
|
|
74
|
-
# raise RasaException(
|
|
75
|
-
# f"You've provided the custom actions module '{module_name}' "
|
|
76
|
-
# f"to run directly by the rasa server, however this module does "
|
|
77
|
-
# f"not exist. Please check for typos in your `endpoints.yml` file."
|
|
78
|
-
# )
|
|
66
|
+
if not find_spec(module_name):
|
|
67
|
+
raise RasaException(
|
|
68
|
+
f"You've provided the custom actions module '{module_name}' "
|
|
69
|
+
f"to run directly by the rasa server, however this module does "
|
|
70
|
+
f"not exist. Please check for typos in your `endpoints.yml` file."
|
|
71
|
+
)
|
|
79
72
|
|
|
80
73
|
self.action_executor.register_package(module_name)
|
|
81
74
|
DirectCustomActionExecutor._actions_module_registered = True
|
rasa/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: rasa-pro
|
|
3
|
-
Version: 3.13.
|
|
3
|
+
Version: 3.13.1a18
|
|
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
|
|
@@ -310,7 +310,7 @@ rasa/core/actions/action_trigger_flow.py,sha256=IydYAGafTtoY6XSgCX124xJQhzudUg8J
|
|
|
310
310
|
rasa/core/actions/action_trigger_search.py,sha256=QfYqnaGRCqRYJ4msYsLAbnVYW5ija_tqhCcKIN8aEfw,1064
|
|
311
311
|
rasa/core/actions/constants.py,sha256=gfgdWmj-OJ5xTcTAS1OcXQ3dgcTiHO98NC-SGyKlTjs,161
|
|
312
312
|
rasa/core/actions/custom_action_executor.py,sha256=qafASBdM3-hByDqbkNxgXfx5yMSsJh_nB3B7x9ye0TY,6176
|
|
313
|
-
rasa/core/actions/direct_custom_actions_executor.py,sha256=
|
|
313
|
+
rasa/core/actions/direct_custom_actions_executor.py,sha256=IzxRnPF92zs3WX-p9DoFq51Vf0QwfE6prB_AlyEEllc,3746
|
|
314
314
|
rasa/core/actions/e2e_stub_custom_action_executor.py,sha256=D-kECC1QjVLv4owNxstW2xJPPsXTGfGepvquMeWB_ec,2282
|
|
315
315
|
rasa/core/actions/forms.py,sha256=MPGxp3vg-EgFcU5UQYqWM2tycSFIuoF6vWvNSSWPhSA,26967
|
|
316
316
|
rasa/core/actions/grpc_custom_action_executor.py,sha256=EDxdSIDA4H4Mu-QZk-pPGV2N41ZsbY8W9laV6l1WlDQ,9103
|
|
@@ -1068,9 +1068,9 @@ rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,212
|
|
|
1068
1068
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
1069
1069
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
1070
1070
|
rasa/validator.py,sha256=IRhLfcgCpps0wSpokOvUGNaY8t8GsmeSmPOUVRKeOeE,83087
|
|
1071
|
-
rasa/version.py,sha256=
|
|
1072
|
-
rasa_pro-3.13.
|
|
1073
|
-
rasa_pro-3.13.
|
|
1074
|
-
rasa_pro-3.13.
|
|
1075
|
-
rasa_pro-3.13.
|
|
1076
|
-
rasa_pro-3.13.
|
|
1071
|
+
rasa/version.py,sha256=aeOrwXMf6uH-bGUL2wXd46WDcOf2MJl_9e34q0RMiPY,120
|
|
1072
|
+
rasa_pro-3.13.1a18.dist-info/METADATA,sha256=xqTxRxAGdaNLNLtwHi4CynpmrNBw849Tr3LsnjKNry0,10610
|
|
1073
|
+
rasa_pro-3.13.1a18.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
1074
|
+
rasa_pro-3.13.1a18.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
1075
|
+
rasa_pro-3.13.1a18.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
1076
|
+
rasa_pro-3.13.1a18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|