rasa-pro 3.14.0a13__py3-none-any.whl → 3.14.0a14__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/builder/project_generator.py +3 -1
- rasa/builder/template_cache.py +8 -6
- rasa/version.py +1 -1
- {rasa_pro-3.14.0a13.dist-info → rasa_pro-3.14.0a14.dist-info}/METADATA +2 -1
- {rasa_pro-3.14.0a13.dist-info → rasa_pro-3.14.0a14.dist-info}/RECORD +8 -8
- {rasa_pro-3.14.0a13.dist-info → rasa_pro-3.14.0a14.dist-info}/NOTICE +0 -0
- {rasa_pro-3.14.0a13.dist-info → rasa_pro-3.14.0a14.dist-info}/WHEEL +0 -0
- {rasa_pro-3.14.0a13.dist-info → rasa_pro-3.14.0a14.dist-info}/entry_points.txt +0 -0
|
@@ -60,7 +60,7 @@ class ProjectGenerator:
|
|
|
60
60
|
create_initial_project(self.project_folder.as_posix(), template)
|
|
61
61
|
# If a local cache for this template exists, copy it into the project.
|
|
62
62
|
# We no longer download here to avoid blocking project creation.
|
|
63
|
-
copy_cache_for_template_if_available(template, self.project_folder)
|
|
63
|
+
await copy_cache_for_template_if_available(template, self.project_folder)
|
|
64
64
|
# needs to happen after caching, as we download/copy .rasa and that would
|
|
65
65
|
# overwrite the project info file in .rasa
|
|
66
66
|
ensure_first_used(self.project_folder)
|
|
@@ -339,6 +339,8 @@ class ProjectGenerator:
|
|
|
339
339
|
for filename in os.listdir(self.project_folder):
|
|
340
340
|
file_path = os.path.join(self.project_folder, filename)
|
|
341
341
|
try:
|
|
342
|
+
if filename == "lost+found":
|
|
343
|
+
continue
|
|
342
344
|
if os.path.isfile(file_path) or os.path.islink(file_path):
|
|
343
345
|
os.unlink(file_path)
|
|
344
346
|
elif os.path.isdir(file_path):
|
rasa/builder/template_cache.py
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import os
|
|
2
|
-
import shutil
|
|
3
2
|
from pathlib import Path
|
|
4
3
|
|
|
4
|
+
import aiofiles
|
|
5
|
+
import aiofiles.os
|
|
6
|
+
import aioshutil
|
|
5
7
|
import structlog
|
|
6
8
|
|
|
7
9
|
from rasa.cli.scaffold import ProjectTemplateName
|
|
@@ -19,7 +21,7 @@ def _template_cache_dir(template: ProjectTemplateName) -> Path:
|
|
|
19
21
|
return _CACHE_ROOT_DIR / template.value
|
|
20
22
|
|
|
21
23
|
|
|
22
|
-
def _copytree(src: Path, dst: Path) -> None:
|
|
24
|
+
async def _copytree(src: Path, dst: Path) -> None:
|
|
23
25
|
"""Copy directory tree from src to dst, merging into dst.
|
|
24
26
|
|
|
25
27
|
Existing files are overwritten. Hidden files and directories are included, as
|
|
@@ -29,14 +31,14 @@ def _copytree(src: Path, dst: Path) -> None:
|
|
|
29
31
|
for root, dirs, files in os.walk(src):
|
|
30
32
|
rel_path = Path(root).relative_to(src)
|
|
31
33
|
target_dir = dst / rel_path
|
|
32
|
-
|
|
34
|
+
await aiofiles.os.makedirs(target_dir, exist_ok=True)
|
|
33
35
|
for filename in files:
|
|
34
36
|
src_file = Path(root) / filename
|
|
35
37
|
dst_file = target_dir / filename
|
|
36
|
-
|
|
38
|
+
await aioshutil.copy2(src_file, dst_file)
|
|
37
39
|
|
|
38
40
|
|
|
39
|
-
def copy_cache_for_template_if_available(
|
|
41
|
+
async def copy_cache_for_template_if_available(
|
|
40
42
|
template: ProjectTemplateName, project_folder: Path
|
|
41
43
|
) -> None:
|
|
42
44
|
"""Copy a previously downloaded cache for `template` into `project_folder`.
|
|
@@ -46,7 +48,7 @@ def copy_cache_for_template_if_available(
|
|
|
46
48
|
try:
|
|
47
49
|
cache_dir = _template_cache_dir(template)
|
|
48
50
|
if cache_dir.exists() and any(cache_dir.iterdir()):
|
|
49
|
-
_copytree(cache_dir, project_folder)
|
|
51
|
+
await _copytree(cache_dir, project_folder)
|
|
50
52
|
structlogger.info(
|
|
51
53
|
"project_generator.copy_cache_for_template.success",
|
|
52
54
|
template=template,
|
rasa/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: rasa-pro
|
|
3
|
-
Version: 3.14.
|
|
3
|
+
Version: 3.14.0a14
|
|
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
|
|
@@ -28,6 +28,7 @@ Requires-Dist: absl-py (>=2.0,<2.1)
|
|
|
28
28
|
Requires-Dist: aio-pika (>=8.2.3,<9.4.4)
|
|
29
29
|
Requires-Dist: aiogram (>=3.15,<3.16)
|
|
30
30
|
Requires-Dist: aiohttp (>=3.10,<3.11)
|
|
31
|
+
Requires-Dist: aioshutil (>=1.5,<2.0)
|
|
31
32
|
Requires-Dist: apscheduler (>=3.10,<3.11)
|
|
32
33
|
Requires-Dist: attrs (>=23.1,<23.2)
|
|
33
34
|
Requires-Dist: azure-identity (>=1.19.0,<1.20.0)
|
|
@@ -39,13 +39,13 @@ rasa/builder/llm_service.py,sha256=y3CPQS0qHGFhe6Z4lbs2HkEVztYYVZtnWiTNjghlBdE,8
|
|
|
39
39
|
rasa/builder/logging_utils.py,sha256=E1YZs5BdHT9TrnoA2758sFMD1Xw7e5mnAtqWSAZs1gk,9296
|
|
40
40
|
rasa/builder/main.py,sha256=_LrQrka_zsgHoPWS2sglVgPKsmqYEouOvVJMsZB-QkM,7459
|
|
41
41
|
rasa/builder/models.py,sha256=UWMN1Z20Btrc2fBK4y4eAyRmx3RVyQiqiUHYQTJfyIE,5937
|
|
42
|
-
rasa/builder/project_generator.py,sha256=
|
|
42
|
+
rasa/builder/project_generator.py,sha256=d7ZAMX1NIR-lzznBtEV_S0MODRGJ-kmzVyHI0HtYCcs,13914
|
|
43
43
|
rasa/builder/project_info.py,sha256=ZBwFCigZLSo1RBMhlZDYBoVl2G-9OnhRrYxdMWHn6S4,2093
|
|
44
44
|
rasa/builder/scrape_rasa_docs.py,sha256=iR_uThYA_kjDeIFY7AdpXcP-30P2vOHQ65gH4S1OjLw,2485
|
|
45
45
|
rasa/builder/service.py,sha256=DBIZeF9IDS-C0SWDfDwo8ieU6Ok9q5N417S3Mz82eLc,46649
|
|
46
46
|
rasa/builder/shared/tracker_context.py,sha256=2P-DsWjWEkZ32dqrx6s4zVxdo0_mokZNrU3LYisu6MY,7691
|
|
47
47
|
rasa/builder/skill_to_bot_prompt.jinja2,sha256=h2Fgoh9k3XinN0blEEqMuOWuvwXxJifP3GJs-GczgBU,5530
|
|
48
|
-
rasa/builder/template_cache.py,sha256=
|
|
48
|
+
rasa/builder/template_cache.py,sha256=Lrn_AjiDTdwG1ydBNKeuCtydTlwOfYs7i2J1Vk9djpM,2424
|
|
49
49
|
rasa/builder/training_service.py,sha256=kmcxgCxZzklxr4RKqan3aA_BU3pRE7WS_q-AO5sFyxM,5975
|
|
50
50
|
rasa/builder/validation_service.py,sha256=FAHSf2tQZ8yDlckWWjqMqhjb0rANbXR2DJTybh4fHnM,3099
|
|
51
51
|
rasa/cli/__init__.py,sha256=eO5vp9rFCANtbTVU-pxN3iMBKw4p9WRcgzytt9MzinY,115
|
|
@@ -1123,9 +1123,9 @@ rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,212
|
|
|
1123
1123
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
1124
1124
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
1125
1125
|
rasa/validator.py,sha256=_5IjhhzG-_LM5_Bpa09siEQATgFRYEsPp9FbOwXzVmM,83275
|
|
1126
|
-
rasa/version.py,sha256=
|
|
1127
|
-
rasa_pro-3.14.
|
|
1128
|
-
rasa_pro-3.14.
|
|
1129
|
-
rasa_pro-3.14.
|
|
1130
|
-
rasa_pro-3.14.
|
|
1131
|
-
rasa_pro-3.14.
|
|
1126
|
+
rasa/version.py,sha256=swo0Q6PztYkxOIZHWlEfLcETFHTje68-yoUGlZIBVd4,120
|
|
1127
|
+
rasa_pro-3.14.0a14.dist-info/METADATA,sha256=mHkfVyM2suR66EHcHkMGRt-hm86DortyU-LKqNSgJfU,10191
|
|
1128
|
+
rasa_pro-3.14.0a14.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
1129
|
+
rasa_pro-3.14.0a14.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
1130
|
+
rasa_pro-3.14.0a14.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
1131
|
+
rasa_pro-3.14.0a14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|