rasa-pro 3.12.24__py3-none-any.whl → 3.12.26__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/action.py +2 -2
- rasa/core/nlg/callback.py +1 -1
- rasa/dialogue_understanding/generator/command_generator.py +5 -5
- rasa/version.py +1 -1
- {rasa_pro-3.12.24.dist-info → rasa_pro-3.12.26.dist-info}/METADATA +1 -1
- {rasa_pro-3.12.24.dist-info → rasa_pro-3.12.26.dist-info}/RECORD +9 -9
- {rasa_pro-3.12.24.dist-info → rasa_pro-3.12.26.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.24.dist-info → rasa_pro-3.12.26.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.24.dist-info → rasa_pro-3.12.26.dist-info}/entry_points.txt +0 -0
rasa/core/actions/action.py
CHANGED
|
@@ -899,8 +899,8 @@ class RemoteAction(Action):
|
|
|
899
899
|
|
|
900
900
|
# Avoid overwriting `draft` values with empty values
|
|
901
901
|
response = {k: v for k, v in response.items() if v}
|
|
902
|
-
|
|
903
|
-
bot_messages.append(create_bot_utterance(
|
|
902
|
+
response.update(draft)
|
|
903
|
+
bot_messages.append(create_bot_utterance(response))
|
|
904
904
|
|
|
905
905
|
return bot_messages
|
|
906
906
|
|
rasa/core/nlg/callback.py
CHANGED
|
@@ -19,7 +19,7 @@ def nlg_response_format_spec() -> Dict[Text, Any]:
|
|
|
19
19
|
return {
|
|
20
20
|
"type": "object",
|
|
21
21
|
"properties": {
|
|
22
|
-
"text": {"type": "string"},
|
|
22
|
+
"text": {"type": ["string", "null"]},
|
|
23
23
|
"id": {"type": ["string", "null"]},
|
|
24
24
|
"buttons": {"type": ["array", "null"], "items": {"type": "object"}},
|
|
25
25
|
"elements": {"type": ["array", "null"], "items": {"type": "object"}},
|
|
@@ -114,7 +114,7 @@ class CommandGenerator:
|
|
|
114
114
|
# slot asked by the active collect step.
|
|
115
115
|
# Or return a CannotHandleCommand if no matching command is found.
|
|
116
116
|
commands = self._filter_commands_during_force_slot_filling(
|
|
117
|
-
commands,
|
|
117
|
+
commands, flows, tracker
|
|
118
118
|
)
|
|
119
119
|
|
|
120
120
|
commands_dicts = [command.as_dict() for command in commands]
|
|
@@ -383,14 +383,14 @@ class CommandGenerator:
|
|
|
383
383
|
@staticmethod
|
|
384
384
|
def _filter_commands_during_force_slot_filling(
|
|
385
385
|
commands: List[Command],
|
|
386
|
-
|
|
386
|
+
flows: FlowsList,
|
|
387
387
|
tracker: Optional[DialogueStateTracker] = None,
|
|
388
388
|
) -> List[Command]:
|
|
389
389
|
"""Filter commands during a collect step that has set `force_slot_filling`.
|
|
390
390
|
|
|
391
391
|
Args:
|
|
392
392
|
commands: The commands to filter.
|
|
393
|
-
|
|
393
|
+
flows: All flows.
|
|
394
394
|
tracker: The tracker.
|
|
395
395
|
|
|
396
396
|
Returns:
|
|
@@ -407,7 +407,7 @@ class CommandGenerator:
|
|
|
407
407
|
)
|
|
408
408
|
return commands
|
|
409
409
|
|
|
410
|
-
updated_flows = find_updated_flows(tracker,
|
|
410
|
+
updated_flows = find_updated_flows(tracker, flows)
|
|
411
411
|
if updated_flows:
|
|
412
412
|
structlogger.debug(
|
|
413
413
|
"command_generator.filter_commands_during_force_slot_filling.running_flows_were_updated",
|
|
@@ -416,7 +416,7 @@ class CommandGenerator:
|
|
|
416
416
|
return [HandleCodeChangeCommand()]
|
|
417
417
|
|
|
418
418
|
stack = tracker.stack
|
|
419
|
-
step = get_current_collect_step(stack,
|
|
419
|
+
step = get_current_collect_step(stack, flows)
|
|
420
420
|
|
|
421
421
|
if step is None or not step.force_slot_filling:
|
|
422
422
|
return commands
|
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.26
|
|
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
|
|
@@ -92,7 +92,7 @@ rasa/cli/x.py,sha256=C7dLtYXAkD-uj7hNj7Pz5YbOupp2yRcMjQbsEVqXUJ8,6825
|
|
|
92
92
|
rasa/constants.py,sha256=5OMUcJ_gjn8qglY37DeUS4g5xe2VZAiLIv8IKwIGWJ0,1364
|
|
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=gsxIFNgSKeNV2yBaqwR4_K5-cvWCKapcFTeSFo0qA2c,42667
|
|
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
98
|
rasa/core/actions/action_hangup.py,sha256=o5iklHG-F9IcRgWis5C6AumVXznxzAV3o9zdduhozEM,994
|
|
@@ -317,7 +317,7 @@ rasa/core/lock.py,sha256=KNrpWv_KYLFjQfwaDembrjO2i4HhoVHbllw6_BPYMrE,4718
|
|
|
317
317
|
rasa/core/lock_store.py,sha256=weupfBiYMz-B_N-LAONCvp-po1uPRdie9imLYn7hFDU,12504
|
|
318
318
|
rasa/core/migrate.py,sha256=h1dOpXxmVmZlbLVGy1yOU_Obp2KzRiOiL0iuEacA0Cg,14618
|
|
319
319
|
rasa/core/nlg/__init__.py,sha256=jZuQAhOUcxO-KqqHGqICHSY3oDeXlUiGr2trQDYfG6o,240
|
|
320
|
-
rasa/core/nlg/callback.py,sha256=
|
|
320
|
+
rasa/core/nlg/callback.py,sha256=lxBBZdjXHS54fn_pH_YUW8ApbFOBO-kYSY5bL4gR1p0,5218
|
|
321
321
|
rasa/core/nlg/contextual_response_rephraser.py,sha256=kW4C54rWh17a011hMesR1AzYPOurDNdbUIh775O4qsQ,14567
|
|
322
322
|
rasa/core/nlg/generator.py,sha256=iMTqt0sPRMc55ontZU1svQVPKixDojBXN-cFuOvLMGo,11647
|
|
323
323
|
rasa/core/nlg/interpolator.py,sha256=hEOhqfMXrAqTZiqjg2t6ZfTK6DJQ5IiX4tJIz2b8Fbw,5190
|
|
@@ -395,7 +395,7 @@ rasa/dialogue_understanding/commands/utils.py,sha256=keNOSdTqCPEXO1ICWpKr229IyGQ
|
|
|
395
395
|
rasa/dialogue_understanding/constants.py,sha256=_kB0edGV23uvhujlF193N2jk6YG0R6LC599YDX5B5vo,129
|
|
396
396
|
rasa/dialogue_understanding/generator/__init__.py,sha256=pBm0o6pnJA_0W0UOrGuVsiG4hsTNH_n5GLrz8BYQHM8,830
|
|
397
397
|
rasa/dialogue_understanding/generator/_jinja_filters.py,sha256=KuK7nGKvKzKJz6Wg3AmrLFvzneGgIyeK825MCE379wc,248
|
|
398
|
-
rasa/dialogue_understanding/generator/command_generator.py,sha256=
|
|
398
|
+
rasa/dialogue_understanding/generator/command_generator.py,sha256=huRDWC2gv_bRHFS4L49Ak9sOJj67TpeEFKuHcJfuhSg,15984
|
|
399
399
|
rasa/dialogue_understanding/generator/command_parser.py,sha256=wf6FSgqBw5F0legg06SqKlzajIN6sc_Cov2lFY_O9MI,8109
|
|
400
400
|
rasa/dialogue_understanding/generator/constants.py,sha256=ulqmLIwrBOZLyhsCChI_4CdOnA0I8MfuBxxuKGyFp7U,1130
|
|
401
401
|
rasa/dialogue_understanding/generator/flow_document_template.jinja2,sha256=f4H6vVd-_nX_RtutMh1xD3ZQE_J2OyuPHAtiltfiAPY,253
|
|
@@ -822,9 +822,9 @@ rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,212
|
|
|
822
822
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
823
823
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
824
824
|
rasa/validator.py,sha256=524VlFTYK0B3iXYveVD6BDC3K0j1QfpzJ9O-TAWczmc,83166
|
|
825
|
-
rasa/version.py,sha256=
|
|
826
|
-
rasa_pro-3.12.
|
|
827
|
-
rasa_pro-3.12.
|
|
828
|
-
rasa_pro-3.12.
|
|
829
|
-
rasa_pro-3.12.
|
|
830
|
-
rasa_pro-3.12.
|
|
825
|
+
rasa/version.py,sha256=fOJh--U1nBBnDQmuJI4IA-f8P5ekkfQKWYedFeuNZIo,118
|
|
826
|
+
rasa_pro-3.12.26.dist-info/METADATA,sha256=pwBXPkO2_HVAzmxU0G6OI3I1WdUEZzcyXEFwgBdtzzk,10609
|
|
827
|
+
rasa_pro-3.12.26.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
828
|
+
rasa_pro-3.12.26.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
829
|
+
rasa_pro-3.12.26.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
830
|
+
rasa_pro-3.12.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|