rasa-pro 3.14.0a2__py3-none-any.whl → 3.14.0a3__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/version.py +1 -1
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a3.dist-info}/METADATA +1 -1
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a3.dist-info}/RECORD +7 -7
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a3.dist-info}/NOTICE +0 -0
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a3.dist-info}/WHEEL +0 -0
- {rasa_pro-3.14.0a2.dist-info → rasa_pro-3.14.0a3.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/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.0a3
|
|
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
|
|
@@ -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=y_QWW1NGXhmv4IolRuS-uCNlm0i_5j_2v48eAxslXIQ,119
|
|
1127
|
+
rasa_pro-3.14.0a3.dist-info/METADATA,sha256=EBde5pEzSgmB4KoTs-6QG2Xc85fotCzISXglpRv_-fY,10152
|
|
1128
|
+
rasa_pro-3.14.0a3.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
1129
|
+
rasa_pro-3.14.0a3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
1130
|
+
rasa_pro-3.14.0a3.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
1131
|
+
rasa_pro-3.14.0a3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|