rasa-pro 3.14.0a2__py3-none-any.whl → 3.14.0a4__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/copilot/models.py +5 -3
- rasa/builder/download.py +1 -3
- rasa/version.py +1 -1
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a4.dist-info}/METADATA +1 -1
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a4.dist-info}/RECORD +8 -8
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a4.dist-info}/NOTICE +0 -0
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a4.dist-info}/WHEEL +0 -0
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a4.dist-info}/entry_points.txt +0 -0
rasa/builder/copilot/models.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import json
|
|
2
1
|
from abc import ABC, abstractmethod
|
|
3
2
|
from enum import Enum
|
|
4
3
|
from typing import Any, Dict, List, Literal, Optional, Union
|
|
@@ -231,8 +230,11 @@ class CopilotChatMessage(BaseModel):
|
|
|
231
230
|
|
|
232
231
|
def _copilot_message_to_openai_format(self) -> Dict[str, Any]:
|
|
233
232
|
role = self._map_role_to_openai()
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
# For now the Copilot responds only with the text content and all the content
|
|
234
|
+
# is formatted as a markdown.
|
|
235
|
+
# TODO: Once we start predicting the files, and expecting other content blocks
|
|
236
|
+
# we should update this.
|
|
237
|
+
content = self.get_text_content()
|
|
236
238
|
return {"role": role, "content": content}
|
|
237
239
|
|
|
238
240
|
def _map_role_to_openai(self) -> str:
|
rasa/builder/download.py
CHANGED
|
@@ -7,8 +7,6 @@ import tarfile
|
|
|
7
7
|
from textwrap import dedent
|
|
8
8
|
from typing import Dict, Optional
|
|
9
9
|
|
|
10
|
-
import rasa
|
|
11
|
-
|
|
12
10
|
|
|
13
11
|
def _get_env_content() -> str:
|
|
14
12
|
"""Generate .env file content."""
|
|
@@ -29,7 +27,7 @@ def _get_pyproject_toml_content(project_id: str) -> str:
|
|
|
29
27
|
version = "0.1.0"
|
|
30
28
|
description = "Add your description for your Rasa bot here"
|
|
31
29
|
readme = "README.md"
|
|
32
|
-
dependencies = ["rasa-pro>=
|
|
30
|
+
dependencies = ["rasa-pro>=3.13"]
|
|
33
31
|
requires-python = ">={sys.version_info.major}.{sys.version_info.minor}"
|
|
34
32
|
"""
|
|
35
33
|
)
|
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.0a4
|
|
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
|
|
@@ -11,7 +11,7 @@ rasa/builder/copilot/copilot.py,sha256=tT5UfCs3NkHXEdbJ12On2IzckPhnyqKmGqZwPjvr6
|
|
|
11
11
|
rasa/builder/copilot/copilot_response_handler.py,sha256=teozaZFKR-XADdK2Nvkqu3wp48Bg1iqB7VT8rn5HcI4,20257
|
|
12
12
|
rasa/builder/copilot/copilot_templated_message_provider.py,sha256=eY8S7rVad6kX1-luyGpUT_2MNnIzfL4Fd1ZdLTTqM0g,1676
|
|
13
13
|
rasa/builder/copilot/exceptions.py,sha256=6alRMH8pyyXyjfKjtfSdjP1LunztC_c6Xu1OtlaUC2E,663
|
|
14
|
-
rasa/builder/copilot/models.py,sha256=
|
|
14
|
+
rasa/builder/copilot/models.py,sha256=7zDrGaUBuEuHlf_6SNNi70ZU4h5_i0D9wU_ScY8LBTY,15489
|
|
15
15
|
rasa/builder/copilot/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
rasa/builder/copilot/prompts/copilot_system_prompt.jinja2,sha256=BQavybBdlIYoasGyzTBfMMv8tmsuHOZbKdpjInWfBSU,30444
|
|
17
17
|
rasa/builder/copilot/signing.py,sha256=z_eAGFMM1Mk009ambXA-mjJpM8KQRPaNHECpH2A2f-U,10011
|
|
@@ -24,7 +24,7 @@ rasa/builder/document_retrieval/constants.py,sha256=bqG88KtCqxXgMFeiEFEDV5P1fe0J
|
|
|
24
24
|
rasa/builder/document_retrieval/inkeep-rag-response-schema.json,sha256=ePVbGo6u6sm_CPS8EeECX3UayIvcfUe6yTy2gtexKlk,1498
|
|
25
25
|
rasa/builder/document_retrieval/inkeep_document_retrieval.py,sha256=Xt10ryg2EmHEPRfnUcNmf-4Z3yR2WXRVGEsb66LmBBI,8982
|
|
26
26
|
rasa/builder/document_retrieval/models.py,sha256=VBgZYL7WW5B3DfgHHxxPkHi6RUmlbv34TQgP7PnsPO8,1977
|
|
27
|
-
rasa/builder/download.py,sha256=
|
|
27
|
+
rasa/builder/download.py,sha256=RtOvT7rK8ukxdvirujJzL4jDD2he0IK1v5GpC15obg8,4045
|
|
28
28
|
rasa/builder/exceptions.py,sha256=tnfufzfyFRJBhwHtzHpgTmpSN_7Z_C98xCNORPsD2KY,2477
|
|
29
29
|
rasa/builder/guardrails/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
30
30
|
rasa/builder/guardrails/constants.py,sha256=Jcez4iNtgKwFsHEAW8w3quD9McSnnmXP4iatbJSXVp0,286
|
|
@@ -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=CVp2O7CCDqX98uHAnt9kwsG8ZSG18A11bBm0SQxxJ00,119
|
|
1127
|
+
rasa_pro-3.14.0a4.dist-info/METADATA,sha256=weoGWM1LM-e_6diRVhuzENAKVdWMM6hnGgoWVHCYjOY,10152
|
|
1128
|
+
rasa_pro-3.14.0a4.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
1129
|
+
rasa_pro-3.14.0a4.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
1130
|
+
rasa_pro-3.14.0a4.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
1131
|
+
rasa_pro-3.14.0a4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|