rasa-pro 3.12.27__py3-none-any.whl → 3.12.29__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/channels/inspector/dist/assets/{arc-9f75cc3b.js → arc-59d3b774.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{blockDiagram-38ab4fdb-7f34db23.js → blockDiagram-38ab4fdb-9c92728b.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{c4Diagram-3d4e48cf-948bab2c.js → c4Diagram-3d4e48cf-720aae35.js} +1 -1
- rasa/core/channels/inspector/dist/assets/channel-03ccc28c.js +1 -0
- rasa/core/channels/inspector/dist/assets/{classDiagram-70f12bd4-53b0dd0e.js → classDiagram-70f12bd4-eec51009.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{classDiagram-v2-f2320105-fdf789e7.js → classDiagram-v2-f2320105-22f4b95b.js} +1 -1
- rasa/core/channels/inspector/dist/assets/clone-7300c31a.js +1 -0
- rasa/core/channels/inspector/dist/assets/{createText-2e5e7dd3-87c4ece5.js → createText-2e5e7dd3-3ebaf8fc.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{edges-e0da2a9e-5a8b0749.js → edges-e0da2a9e-27d29830.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{erDiagram-9861fffd-66da90e2.js → erDiagram-9861fffd-da5b2795.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDb-956e92f1-10044f05.js → flowDb-956e92f1-445b4048.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDiagram-66a62f08-f338f66a.js → flowDiagram-66a62f08-7045c887.js} +1 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-9642d519.js +1 -0
- rasa/core/channels/inspector/dist/assets/{flowchart-elk-definition-4a651766-b13140aa.js → flowchart-elk-definition-4a651766-363846fa.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{ganttDiagram-c361ad54-f2b4a55a.js → ganttDiagram-c361ad54-b6ecc463.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{gitGraphDiagram-72cf32ee-dedc298d.js → gitGraphDiagram-72cf32ee-1332f71d.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{graph-4ede11ff.js → graph-5f28327c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3862675e-65549d37.js → index-3862675e-adf68ef9.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3a23e736.js → index-511b27e7.js} +148 -148
- rasa/core/channels/inspector/dist/assets/{infoDiagram-f8f76790-65439671.js → infoDiagram-f8f76790-d05180cd.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{journeyDiagram-49397b02-56d03d98.js → journeyDiagram-49397b02-0c46f8f3.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{layout-dd48f7f4.js → layout-f169de61.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{line-1569ad2c.js → line-4404b723.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{linear-48bf4935.js → linear-7c7bfd39.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{mindmap-definition-fc14e90a-688504c1.js → mindmap-definition-fc14e90a-ec1113f6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{pieDiagram-8a3498a8-78b6d7e6.js → pieDiagram-8a3498a8-a0407dba.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{quadrantDiagram-120e2f19-048b84b3.js → quadrantDiagram-120e2f19-fbb9d98a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{requirementDiagram-deff3bca-dd67f107.js → requirementDiagram-deff3bca-afd4d3fd.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sankeyDiagram-04a897e0-8128436e.js → sankeyDiagram-04a897e0-4428110a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sequenceDiagram-704730f1-1a0d1461.js → sequenceDiagram-704730f1-d6b1d8bc.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-587899a1-46d388ed.js → stateDiagram-587899a1-a80bbb9a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-v2-d93cdb3a-ea42951a.js → stateDiagram-v2-d93cdb3a-05cec9d3.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-6aaf32cf-7427ed0c.js → styles-6aaf32cf-bd061dc3.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-9a916d00-ff5e5a16.js → styles-9a916d00-5f4a9329.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-c10674c1-7b3680cf.js → styles-c10674c1-6d90c832.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{svgDrawCommon-08f97a94-f860f2ad.js → svgDrawCommon-08f97a94-fc0d4c13.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{timeline-definition-85554ec2-2eebf0c8.js → timeline-definition-85554ec2-cdde6c47.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{xychartDiagram-e933f94c-5d7f4e96.js → xychartDiagram-e933f94c-d0674efc.js} +1 -1
- rasa/core/channels/inspector/dist/index.html +1 -1
- rasa/core/channels/inspector/package.json +1 -1
- rasa/core/channels/inspector/yarn.lock +4 -4
- rasa/dialogue_understanding/commands/correct_slots_command.py +39 -2
- rasa/dialogue_understanding/processor/command_processor.py +131 -58
- rasa/dialogue_understanding/stack/utils.py +13 -3
- rasa/version.py +1 -1
- {rasa_pro-3.12.27.dist-info → rasa_pro-3.12.29.dist-info}/METADATA +1 -1
- {rasa_pro-3.12.27.dist-info → rasa_pro-3.12.29.dist-info}/RECORD +50 -50
- rasa/core/channels/inspector/dist/assets/channel-dfa68278.js +0 -1
- rasa/core/channels/inspector/dist/assets/clone-edb7f119.js +0 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-65e7c670.js +0 -1
- {rasa_pro-3.12.27.dist-info → rasa_pro-3.12.29.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.27.dist-info → rasa_pro-3.12.29.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.27.dist-info → rasa_pro-3.12.29.dist-info}/entry_points.txt +0 -0
|
@@ -115,7 +115,6 @@ class CorrectSlotsCommand(Command):
|
|
|
115
115
|
The earliest collect information step that fills one of the slots and
|
|
116
116
|
the flow id of that step.
|
|
117
117
|
"""
|
|
118
|
-
|
|
119
118
|
collect_steps = utils.previous_collect_steps_for_active_flow(tracker, all_flows)
|
|
120
119
|
|
|
121
120
|
for collect_step, flow_id in collect_steps:
|
|
@@ -269,7 +268,21 @@ class CorrectSlotsCommand(Command):
|
|
|
269
268
|
)
|
|
270
269
|
return []
|
|
271
270
|
|
|
272
|
-
structlogger.debug("
|
|
271
|
+
structlogger.debug("correct_slots_command", command=self)
|
|
272
|
+
|
|
273
|
+
# check if the correct slot is referring to a slot of a flow on the stack
|
|
274
|
+
# the slot also needs to be part of a collect step in any of those flows
|
|
275
|
+
# if this is not the case, we don't want to correct the slot
|
|
276
|
+
for slot in self.corrected_slots:
|
|
277
|
+
if not self.should_correct_slot(slot, tracker, all_flows):
|
|
278
|
+
structlogger.warning(
|
|
279
|
+
"correct_slots_command.skip_correct_slot",
|
|
280
|
+
correct_slot=slot,
|
|
281
|
+
reason="The slot is not part of a collect step in any of the flows "
|
|
282
|
+
"on the stack. Skipping correction.",
|
|
283
|
+
)
|
|
284
|
+
return []
|
|
285
|
+
|
|
273
286
|
proposed_slots = self.corrected_slots_dict(tracker)
|
|
274
287
|
|
|
275
288
|
correction_frame = self.create_correction_frame(
|
|
@@ -294,3 +307,27 @@ class CorrectSlotsCommand(Command):
|
|
|
294
307
|
return False
|
|
295
308
|
|
|
296
309
|
return True
|
|
310
|
+
|
|
311
|
+
def should_correct_slot(
|
|
312
|
+
self, slot: CorrectedSlot, tracker: DialogueStateTracker, all_flows: FlowsList
|
|
313
|
+
) -> bool:
|
|
314
|
+
"""Checks if the slot should be corrected.
|
|
315
|
+
|
|
316
|
+
Args:
|
|
317
|
+
slot: The slot to check.
|
|
318
|
+
tracker: The tracker.
|
|
319
|
+
all_flows: All flows in the assistant.
|
|
320
|
+
"""
|
|
321
|
+
# get all flows on the stack
|
|
322
|
+
flows_on_stack = utils.user_flows_on_the_stack(tracker.stack)
|
|
323
|
+
|
|
324
|
+
# check if the slot is part of a collect step in any of the flows on the stack
|
|
325
|
+
for flow_id in flows_on_stack:
|
|
326
|
+
flow = all_flows.flow_by_id(flow_id)
|
|
327
|
+
if flow is None:
|
|
328
|
+
continue
|
|
329
|
+
for collect_step in flow.get_collect_steps():
|
|
330
|
+
if collect_step.collect == slot.name:
|
|
331
|
+
return True
|
|
332
|
+
|
|
333
|
+
return False
|
|
@@ -37,7 +37,6 @@ from rasa.dialogue_understanding.stack.frames import (
|
|
|
37
37
|
BaseFlowStackFrame,
|
|
38
38
|
)
|
|
39
39
|
from rasa.dialogue_understanding.stack.utils import (
|
|
40
|
-
filled_slots_for_active_flow,
|
|
41
40
|
top_flow_frame,
|
|
42
41
|
top_user_flow_frame,
|
|
43
42
|
)
|
|
@@ -125,8 +124,9 @@ def validate_state_of_commands(commands: List[Command]) -> None:
|
|
|
125
124
|
# check that there is only at max one cancel flow command
|
|
126
125
|
if sum(isinstance(c, CancelFlowCommand) for c in commands) > 1:
|
|
127
126
|
structlogger.error(
|
|
128
|
-
"command_processor.validate_state_of_commands.
|
|
129
|
-
|
|
127
|
+
"command_processor.validate_state_of_commands."
|
|
128
|
+
"multiple_cancel_flow_commands",
|
|
129
|
+
commands=[command.__class__.__name__ for command in commands],
|
|
130
130
|
)
|
|
131
131
|
raise ValueError("There can only be one cancel flow command.")
|
|
132
132
|
|
|
@@ -136,8 +136,9 @@ def validate_state_of_commands(commands: List[Command]) -> None:
|
|
|
136
136
|
]
|
|
137
137
|
if free_form_answer_commands != commands[: len(free_form_answer_commands)]:
|
|
138
138
|
structlogger.error(
|
|
139
|
-
"command_processor.validate_state_of_commands.
|
|
140
|
-
|
|
139
|
+
"command_processor.validate_state_of_commands."
|
|
140
|
+
"free_form_answer_commands_not_at_beginning",
|
|
141
|
+
commands=[command.__class__.__name__ for command in commands],
|
|
141
142
|
)
|
|
142
143
|
raise ValueError(
|
|
143
144
|
"Free form answer commands must be at start of the predicted command list."
|
|
@@ -146,8 +147,9 @@ def validate_state_of_commands(commands: List[Command]) -> None:
|
|
|
146
147
|
# check that there is at max only one correctslots command
|
|
147
148
|
if sum(isinstance(c, CorrectSlotsCommand) for c in commands) > 1:
|
|
148
149
|
structlogger.error(
|
|
149
|
-
"command_processor.validate_state_of_commands.
|
|
150
|
-
|
|
150
|
+
"command_processor.validate_state_of_commands."
|
|
151
|
+
"multiple_correct_slots_commands",
|
|
152
|
+
commands=[command.__class__.__name__ for command in commands],
|
|
151
153
|
)
|
|
152
154
|
raise ValueError("There can only be one correct slots command.")
|
|
153
155
|
|
|
@@ -230,11 +232,9 @@ def execute_commands(
|
|
|
230
232
|
|
|
231
233
|
events: List[Event] = flow_hash_events
|
|
232
234
|
|
|
233
|
-
# commands
|
|
234
|
-
#
|
|
235
|
-
|
|
236
|
-
# and then pushing the commands onto the stack in the reversed order.
|
|
237
|
-
reversed_commands = list(reversed(commands))
|
|
235
|
+
# reorder commands: in case there is no active flow, we want to make sure to
|
|
236
|
+
# run the start flow commands first.
|
|
237
|
+
final_commands = reorder_commands(commands, tracker)
|
|
238
238
|
|
|
239
239
|
# we need to keep track of the ValidateSlotPatternFlowStackFrame that
|
|
240
240
|
# should be pushed onto the stack before executing the StartFlowCommands.
|
|
@@ -245,7 +245,7 @@ def execute_commands(
|
|
|
245
245
|
|
|
246
246
|
validate_state_of_commands(commands)
|
|
247
247
|
|
|
248
|
-
for command in
|
|
248
|
+
for command in final_commands:
|
|
249
249
|
new_events = command.run_command_on_tracker(
|
|
250
250
|
tracker, all_flows, original_tracker
|
|
251
251
|
)
|
|
@@ -399,11 +399,11 @@ def clean_up_commands(
|
|
|
399
399
|
"""
|
|
400
400
|
domain = domain if domain else Domain.empty()
|
|
401
401
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
#
|
|
405
|
-
slots_so_far
|
|
406
|
-
|
|
402
|
+
# we consider all slots that were set in the tracker for potential corrections
|
|
403
|
+
# in the correct_slot_command we will check if a slot should actually be
|
|
404
|
+
# corrected
|
|
405
|
+
slots_so_far = set(
|
|
406
|
+
[event.key for event in tracker.events if isinstance(event, SlotSet)]
|
|
407
407
|
)
|
|
408
408
|
|
|
409
409
|
clean_commands: List[Command] = []
|
|
@@ -445,7 +445,8 @@ def clean_up_commands(
|
|
|
445
445
|
# drop a start flow command if the starting flow is equal
|
|
446
446
|
# to the currently active flow
|
|
447
447
|
structlogger.debug(
|
|
448
|
-
"command_processor.clean_up_commands.
|
|
448
|
+
"command_processor.clean_up_commands."
|
|
449
|
+
"skip_command_flow_already_active",
|
|
449
450
|
command=command,
|
|
450
451
|
)
|
|
451
452
|
continue
|
|
@@ -476,7 +477,8 @@ def clean_up_commands(
|
|
|
476
477
|
clean_commands = clean_up_clarify_command(clean_commands, commands, command)
|
|
477
478
|
if command not in clean_commands:
|
|
478
479
|
structlogger.debug(
|
|
479
|
-
"command_processor.clean_up_commands.
|
|
480
|
+
"command_processor.clean_up_commands."
|
|
481
|
+
"drop_clarify_given_other_commands",
|
|
480
482
|
command=command,
|
|
481
483
|
)
|
|
482
484
|
else:
|
|
@@ -578,10 +580,10 @@ def clean_up_slot_command(
|
|
|
578
580
|
The cleaned up commands.
|
|
579
581
|
"""
|
|
580
582
|
stack = tracker.stack
|
|
581
|
-
|
|
582
583
|
resulting_commands = commands_so_far[:]
|
|
583
|
-
|
|
584
584
|
slot = tracker.slots.get(command.name)
|
|
585
|
+
|
|
586
|
+
# if the slot is not in the domain, we cannot set it
|
|
585
587
|
if slot is None:
|
|
586
588
|
structlogger.debug(
|
|
587
589
|
"command_processor.clean_up_slot_command.skip_command_slot_not_in_domain",
|
|
@@ -594,6 +596,7 @@ def clean_up_slot_command(
|
|
|
594
596
|
)
|
|
595
597
|
return resulting_commands
|
|
596
598
|
|
|
599
|
+
# check if the slot should be set by the command
|
|
597
600
|
if not should_slot_be_set(slot, command, resulting_commands):
|
|
598
601
|
structlogger.debug(
|
|
599
602
|
"command_processor.clean_up_slot_command.skip_command.extractor_"
|
|
@@ -619,6 +622,7 @@ def clean_up_slot_command(
|
|
|
619
622
|
|
|
620
623
|
return resulting_commands
|
|
621
624
|
|
|
625
|
+
# check if the slot can be corrected by the LLM
|
|
622
626
|
if (
|
|
623
627
|
slot.filled_by == SetSlotExtractor.NLU.value
|
|
624
628
|
and command.extractor == SetSlotExtractor.LLM.value
|
|
@@ -647,49 +651,71 @@ def clean_up_slot_command(
|
|
|
647
651
|
resulting_commands.append(command)
|
|
648
652
|
return resulting_commands
|
|
649
653
|
|
|
650
|
-
if (
|
|
651
|
-
slot
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
"command_processor.clean_up_slot_command.skip_command_slot_already_set",
|
|
656
|
-
command=command,
|
|
657
|
-
)
|
|
654
|
+
if should_slot_be_corrected(command, tracker, stack, all_flows):
|
|
655
|
+
# if the slot was already set before, we need to convert it into
|
|
656
|
+
# a correction
|
|
657
|
+
return convert_set_slot_to_correction(command, resulting_commands)
|
|
658
|
+
else:
|
|
658
659
|
return resulting_commands
|
|
659
660
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
already_corrected_slots = top.corrected_slots
|
|
663
|
-
else:
|
|
664
|
-
already_corrected_slots = {}
|
|
661
|
+
resulting_commands.append(command)
|
|
662
|
+
return resulting_commands
|
|
665
663
|
|
|
666
|
-
if command.name in already_corrected_slots and str(
|
|
667
|
-
already_corrected_slots[command.name]
|
|
668
|
-
) == str(command.value):
|
|
669
|
-
structlogger.debug(
|
|
670
|
-
"command_processor.clean_up_slot_command"
|
|
671
|
-
".skip_command_slot_already_corrected",
|
|
672
|
-
command=command,
|
|
673
|
-
)
|
|
674
|
-
return resulting_commands
|
|
675
664
|
|
|
665
|
+
def should_slot_be_corrected(
|
|
666
|
+
command: SetSlotCommand,
|
|
667
|
+
tracker: DialogueStateTracker,
|
|
668
|
+
stack: DialogueStack,
|
|
669
|
+
all_flows: FlowsList,
|
|
670
|
+
) -> bool:
|
|
671
|
+
"""Check if a slot should be corrected."""
|
|
672
|
+
if (slot := tracker.slots.get(command.name)) is not None and str(slot.value) == str(
|
|
673
|
+
command.value
|
|
674
|
+
):
|
|
675
|
+
# the slot is already set to the same value, we don't need to set it again
|
|
676
676
|
structlogger.debug(
|
|
677
|
-
"command_processor.clean_up_slot_command.
|
|
677
|
+
"command_processor.clean_up_slot_command.skip_command_slot_already_set",
|
|
678
678
|
command=command,
|
|
679
679
|
)
|
|
680
|
+
return False
|
|
680
681
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
if isinstance(c, CorrectSlotsCommand):
|
|
685
|
-
c.corrected_slots.append(corrected_slot)
|
|
686
|
-
break
|
|
687
|
-
else:
|
|
688
|
-
resulting_commands.append(
|
|
689
|
-
CorrectSlotsCommand(corrected_slots=[corrected_slot])
|
|
690
|
-
)
|
|
682
|
+
top = top_flow_frame(stack)
|
|
683
|
+
if isinstance(top, CorrectionPatternFlowStackFrame):
|
|
684
|
+
already_corrected_slots = top.corrected_slots
|
|
691
685
|
else:
|
|
692
|
-
|
|
686
|
+
already_corrected_slots = {}
|
|
687
|
+
|
|
688
|
+
if command.name in already_corrected_slots and str(
|
|
689
|
+
already_corrected_slots[command.name]
|
|
690
|
+
) == str(command.value):
|
|
691
|
+
structlogger.debug(
|
|
692
|
+
"command_processor.clean_up_slot_command"
|
|
693
|
+
".skip_command_slot_already_corrected",
|
|
694
|
+
command=command,
|
|
695
|
+
)
|
|
696
|
+
return False
|
|
697
|
+
|
|
698
|
+
return True
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
def convert_set_slot_to_correction(
|
|
702
|
+
command: SetSlotCommand,
|
|
703
|
+
resulting_commands: List[Command],
|
|
704
|
+
) -> List[Command]:
|
|
705
|
+
"""Convert a set slot command to a correction command."""
|
|
706
|
+
structlogger.debug(
|
|
707
|
+
"command_processor.convert_set_slot_to_correction",
|
|
708
|
+
command=command,
|
|
709
|
+
)
|
|
710
|
+
|
|
711
|
+
# Group all corrections into one command
|
|
712
|
+
corrected_slot = CorrectedSlot(command.name, command.value, command.extractor)
|
|
713
|
+
for c in resulting_commands:
|
|
714
|
+
if isinstance(c, CorrectSlotsCommand):
|
|
715
|
+
c.corrected_slots.append(corrected_slot)
|
|
716
|
+
break
|
|
717
|
+
else:
|
|
718
|
+
resulting_commands.append(CorrectSlotsCommand(corrected_slots=[corrected_slot]))
|
|
693
719
|
|
|
694
720
|
return resulting_commands
|
|
695
721
|
|
|
@@ -748,8 +774,9 @@ def clean_up_chitchat_command(
|
|
|
748
774
|
0, CannotHandleCommand(RASA_PATTERN_CANNOT_HANDLE_CHITCHAT)
|
|
749
775
|
)
|
|
750
776
|
structlogger.warn(
|
|
751
|
-
"command_processor.clean_up_chitchat_command.
|
|
752
|
-
|
|
777
|
+
"command_processor.clean_up_chitchat_command."
|
|
778
|
+
"replace_chitchat_answer_with_cannot_handle",
|
|
779
|
+
command=resulting_commands[0], # no PII
|
|
753
780
|
pattern_chitchat_uses_action_trigger_chitchat=has_action_trigger_chitchat,
|
|
754
781
|
defined_intentless_policy_in_config=defines_intentless_policy,
|
|
755
782
|
)
|
|
@@ -851,3 +878,49 @@ def filter_cannot_handle_command(
|
|
|
851
878
|
for command in clean_commands
|
|
852
879
|
if not isinstance(command, CannotHandleCommand)
|
|
853
880
|
]
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
def reorder_commands(
|
|
884
|
+
commands: List[Command], tracker: DialogueStateTracker
|
|
885
|
+
) -> List[Command]:
|
|
886
|
+
"""Reorder commands.
|
|
887
|
+
|
|
888
|
+
In case there is no active flow, we want to make sure to run the start flow
|
|
889
|
+
commands first.
|
|
890
|
+
"""
|
|
891
|
+
reordered_commands = commands
|
|
892
|
+
|
|
893
|
+
top_flow_frame = top_user_flow_frame(tracker.stack)
|
|
894
|
+
|
|
895
|
+
if top_flow_frame is None:
|
|
896
|
+
# no active flow, we want to make sure to run the start flow commands first
|
|
897
|
+
start_flow_commands: List[Command] = [
|
|
898
|
+
command for command in commands if isinstance(command, StartFlowCommand)
|
|
899
|
+
]
|
|
900
|
+
|
|
901
|
+
# if there are no start flow commands, we can return the commands as they are
|
|
902
|
+
if not start_flow_commands:
|
|
903
|
+
reordered_commands = commands
|
|
904
|
+
|
|
905
|
+
# if there is just one start flow command, we want to run it first
|
|
906
|
+
# as the order of commands is reserved later,
|
|
907
|
+
# we need to add it to the end of the list
|
|
908
|
+
elif len(start_flow_commands) == 1:
|
|
909
|
+
reordered_commands = [
|
|
910
|
+
command for command in commands if command not in start_flow_commands
|
|
911
|
+
] + start_flow_commands
|
|
912
|
+
|
|
913
|
+
# if there are multiple start flow commands,
|
|
914
|
+
# we just make sure to move the first start flow command to the end of the list
|
|
915
|
+
# (due to the reverse execution order of commands) and keep the other commands
|
|
916
|
+
# as they are.
|
|
917
|
+
else:
|
|
918
|
+
reordered_commands = [
|
|
919
|
+
command for command in commands if command != start_flow_commands[-1]
|
|
920
|
+
] + [start_flow_commands[-1]]
|
|
921
|
+
|
|
922
|
+
# commands need to be reversed to make sure they end up in the right order
|
|
923
|
+
# on the stack. e.g. if there multiple start flow commands, the first one
|
|
924
|
+
# should be on top of the stack. this is achieved by reversing the list
|
|
925
|
+
# and then pushing the commands onto the stack in the reversed order.
|
|
926
|
+
return list(reversed(reordered_commands))
|
|
@@ -209,14 +209,24 @@ def get_collect_steps_excluding_ask_before_filling_for_active_flow(
|
|
|
209
209
|
All collect steps that are part of the current active flow,
|
|
210
210
|
excluding the collect steps that have to be asked before filling.
|
|
211
211
|
"""
|
|
212
|
-
|
|
212
|
+
active_primary_frame = top_user_flow_frame(dialogue_stack)
|
|
213
|
+
any_active_frame = top_user_flow_frame(
|
|
213
214
|
dialogue_stack, ignore_call_and_link_frames=False
|
|
214
215
|
)
|
|
215
|
-
|
|
216
|
+
|
|
217
|
+
active_flows = []
|
|
218
|
+
if any_active_frame:
|
|
219
|
+
active_flows.append(any_active_frame.flow(all_flows))
|
|
220
|
+
|
|
221
|
+
if active_primary_frame and active_primary_frame != any_active_frame:
|
|
222
|
+
active_flows.append(active_primary_frame.flow(all_flows))
|
|
223
|
+
|
|
224
|
+
if not active_flows:
|
|
216
225
|
return set()
|
|
217
|
-
|
|
226
|
+
|
|
218
227
|
return set(
|
|
219
228
|
step.collect
|
|
229
|
+
for active_flow in active_flows
|
|
220
230
|
for step in active_flow.get_collect_steps()
|
|
221
231
|
if not step.ask_before_filling
|
|
222
232
|
)
|
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.29
|
|
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
|
|
@@ -133,34 +133,34 @@ rasa/core/channels/inspector/assets/favicon.ico,sha256=w0X2YObf80IlAY80eLK2qE0Gv
|
|
|
133
133
|
rasa/core/channels/inspector/assets/rasa-chat.js,sha256=JtGjdh_1d7HLTZXnFNoBh0XrJRe6yuDNygQsAJVK04Y,772925
|
|
134
134
|
rasa/core/channels/inspector/custom.d.ts,sha256=b3klfKJ7AlM0SpCm0U-qSwLsJtj7abtp8IwgRZ2sK5c,51
|
|
135
135
|
rasa/core/channels/inspector/dist/assets/Tableau10-1b767f5e.js,sha256=eJvfgcZZGjK8JpGsLNf2Gh88HYOzRHKnr6BrgKqdDLo,188
|
|
136
|
-
rasa/core/channels/inspector/dist/assets/arc-
|
|
136
|
+
rasa/core/channels/inspector/dist/assets/arc-59d3b774.js,sha256=AhpDhWluQHclTmeEWWgi5TQcO9ruQOW-IALyJczZdEs,3463
|
|
137
137
|
rasa/core/channels/inspector/dist/assets/array-9f3ba611.js,sha256=SwE3teHXhGC3dibkXwDhCeL-8DgcIc8lM6VKsK05dAY,86
|
|
138
|
-
rasa/core/channels/inspector/dist/assets/blockDiagram-38ab4fdb-
|
|
139
|
-
rasa/core/channels/inspector/dist/assets/c4Diagram-3d4e48cf-
|
|
140
|
-
rasa/core/channels/inspector/dist/assets/channel-
|
|
141
|
-
rasa/core/channels/inspector/dist/assets/classDiagram-70f12bd4-
|
|
142
|
-
rasa/core/channels/inspector/dist/assets/classDiagram-v2-f2320105-
|
|
143
|
-
rasa/core/channels/inspector/dist/assets/clone-
|
|
144
|
-
rasa/core/channels/inspector/dist/assets/createText-2e5e7dd3-
|
|
145
|
-
rasa/core/channels/inspector/dist/assets/edges-e0da2a9e-
|
|
146
|
-
rasa/core/channels/inspector/dist/assets/erDiagram-9861fffd-
|
|
147
|
-
rasa/core/channels/inspector/dist/assets/flowDb-956e92f1-
|
|
148
|
-
rasa/core/channels/inspector/dist/assets/flowDiagram-66a62f08-
|
|
149
|
-
rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-
|
|
150
|
-
rasa/core/channels/inspector/dist/assets/flowchart-elk-definition-4a651766-
|
|
151
|
-
rasa/core/channels/inspector/dist/assets/ganttDiagram-c361ad54-
|
|
152
|
-
rasa/core/channels/inspector/dist/assets/gitGraphDiagram-72cf32ee-
|
|
153
|
-
rasa/core/channels/inspector/dist/assets/graph-
|
|
138
|
+
rasa/core/channels/inspector/dist/assets/blockDiagram-38ab4fdb-9c92728b.js,sha256=aoDNUSu2kE-Pm7qNMCbEEUoaq5bbI0l4wP3gj2v8vJY,37803
|
|
139
|
+
rasa/core/channels/inspector/dist/assets/c4Diagram-3d4e48cf-720aae35.js,sha256=Qr6dhgfJX4uGYMgNxC_6rvB9EXtrNHauNSMkIjeARtU,68413
|
|
140
|
+
rasa/core/channels/inspector/dist/assets/channel-03ccc28c.js,sha256=vysO75guZS6z2G1htbrUI5vUkYrEeKa9oXmMmlPp188,112
|
|
141
|
+
rasa/core/channels/inspector/dist/assets/classDiagram-70f12bd4-eec51009.js,sha256=DP5l63DbtrVqQmIaPuptn01iwuKUz9ZQThwZa54n7QY,9241
|
|
142
|
+
rasa/core/channels/inspector/dist/assets/classDiagram-v2-f2320105-22f4b95b.js,sha256=VzgcgjbHwm1hOW-644-9aBy7rsrce363LBYAf2DL-c8,5007
|
|
143
|
+
rasa/core/channels/inspector/dist/assets/clone-7300c31a.js,sha256=P9Cr-gWhyzOA4YAyraFGrpEcshwu8q_A6iBNphB8uXE,92
|
|
144
|
+
rasa/core/channels/inspector/dist/assets/createText-2e5e7dd3-3ebaf8fc.js,sha256=lnK50RZfrwP5Ci4SWvzuQY3LUThG2eP6i-9hPk-iNN4,60204
|
|
145
|
+
rasa/core/channels/inspector/dist/assets/edges-e0da2a9e-27d29830.js,sha256=ZuoO-DTrujcvwrUZ4gUoxDx0Q15SgbkIq1CTDDmrZgQ,34468
|
|
146
|
+
rasa/core/channels/inspector/dist/assets/erDiagram-9861fffd-da5b2795.js,sha256=0ZVX4R5FLHrMcYyG4igWXCcwA-h1kyzEa3d605Uw-4A,30812
|
|
147
|
+
rasa/core/channels/inspector/dist/assets/flowDb-956e92f1-445b4048.js,sha256=yTiJKcIw3H0Xc-e_k4Nti8Xwv0Y65rN9_vAKMXey-lU,46768
|
|
148
|
+
rasa/core/channels/inspector/dist/assets/flowDiagram-66a62f08-7045c887.js,sha256=NmBSa8QNgf6k06KQOVUr3COPyLeGxNGcUOU7SDCiYnI,21637
|
|
149
|
+
rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-9642d519.js,sha256=v1s-izwkNHez7g4bmfOH1bCjuQDfsig2Rl1w8FL5hKI,737
|
|
150
|
+
rasa/core/channels/inspector/dist/assets/flowchart-elk-definition-4a651766-363846fa.js,sha256=i8u6q6gsEAKMkjFTX5RgRy9j8Nvp102fWMUI7egzez0,1451067
|
|
151
|
+
rasa/core/channels/inspector/dist/assets/ganttDiagram-c361ad54-b6ecc463.js,sha256=NGG6KYmje1Cyo92SQTl1O9sswUH_LZe46rfV0MRlq14,60002
|
|
152
|
+
rasa/core/channels/inspector/dist/assets/gitGraphDiagram-72cf32ee-1332f71d.js,sha256=Qw7LaReaEYSLc8hqCftsJLx5gaEYI2XvDSVD_gsOYzU,38738
|
|
153
|
+
rasa/core/channels/inspector/dist/assets/graph-5f28327c.js,sha256=CWknwOe016iHXBGdcKuIa3DCdtwAjKy5yvr1xOe30xA,17877
|
|
154
154
|
rasa/core/channels/inspector/dist/assets/ibm-plex-mono-v4-latin-regular-128cfa44.ttf,sha256=Eoz6RFjRyATpNZMGZOlv9ZsWE5UT1kkrbuAxkWhiJG4,37048
|
|
155
155
|
rasa/core/channels/inspector/dist/assets/ibm-plex-mono-v4-latin-regular-21dbcb97.woff,sha256=IdvLl-5NXn80-Y6HpfrvOybL87mggsMqNn40gPIFfi8,17868
|
|
156
156
|
rasa/core/channels/inspector/dist/assets/ibm-plex-mono-v4-latin-regular-222b5e26.svg,sha256=IiteJlxkS9xpjbDYOpvFJczqQ9_3w207UajJT0Dot9U,53494
|
|
157
157
|
rasa/core/channels/inspector/dist/assets/ibm-plex-mono-v4-latin-regular-9ad89b2a.woff2,sha256=mtibKkueGawDuHB---uOqNvQZr0WT7JRcNMwFkFEM_c,13652
|
|
158
|
-
rasa/core/channels/inspector/dist/assets/index-3862675e-
|
|
159
|
-
rasa/core/channels/inspector/dist/assets/index-3a23e736.js,sha256=J-T-hwpLZI7AbdhKCbztMG6ViRKr6Fpea2VTtObzLEc,2461140
|
|
158
|
+
rasa/core/channels/inspector/dist/assets/index-3862675e-adf68ef9.js,sha256=sWMdRk7OThL6HO_5oGIn8wUEhibiKDB6KAHuwxLa-68,11985
|
|
160
159
|
rasa/core/channels/inspector/dist/assets/index-3ee28881.css,sha256=PuKIgX4yh7tnbIq6Q4j9Vd8FgIWdPSI5GNFWJvy5Lwg,755
|
|
161
|
-
rasa/core/channels/inspector/dist/assets/
|
|
160
|
+
rasa/core/channels/inspector/dist/assets/index-511b27e7.js,sha256=Wy1baryVzCqKCXf_DFA3dF2iwaoAe3BlE3Pjjc2bNzs,2461275
|
|
161
|
+
rasa/core/channels/inspector/dist/assets/infoDiagram-f8f76790-d05180cd.js,sha256=N4EWbKRDQB_WWiCvkXy8dHK6viLScReJoNdBJlTRTcg,8590
|
|
162
162
|
rasa/core/channels/inspector/dist/assets/init-77b53fdd.js,sha256=N5-ogMFK1I9DsMI_9WswsrgI6EYP2fnK2L98snjFuBQ,147
|
|
163
|
-
rasa/core/channels/inspector/dist/assets/journeyDiagram-49397b02-
|
|
163
|
+
rasa/core/channels/inspector/dist/assets/journeyDiagram-49397b02-0c46f8f3.js,sha256=hRjU3x29r6YLJR7Sb6tJwxTQciSvZkm5ShizFwNxCwA,21690
|
|
164
164
|
rasa/core/channels/inspector/dist/assets/katex-498eb57e.js,sha256=2SDaMVmSS3O4AVPdYMd-w_U7iD6-Q2qMs95ejt6ioGU,265384
|
|
165
165
|
rasa/core/channels/inspector/dist/assets/lato-v14-latin-700-60c05ee4.woff,sha256=YMBe5H52gxVUHkh9Ebku7FSn9TNvhM7Mi1glyHu3AFM,27848
|
|
166
166
|
rasa/core/channels/inspector/dist/assets/lato-v14-latin-700-8335d9b8.svg,sha256=gzXZuPYpxLQq9-vr05HjjwjTFssTQM_rXhm_S7MWGJE,80884
|
|
@@ -170,29 +170,29 @@ rasa/core/channels/inspector/dist/assets/lato-v14-latin-regular-16705655.woff2,s
|
|
|
170
170
|
rasa/core/channels/inspector/dist/assets/lato-v14-latin-regular-5aeb07f9.woff,sha256=WusH-ZgGY8JQHJYgNx4Rrnqm4yDZTddT0O9W2DCMdLM,28412
|
|
171
171
|
rasa/core/channels/inspector/dist/assets/lato-v14-latin-regular-9c459044.ttf,sha256=nEWQRG2_g-2uBb5Moo73ie5QoB7yy48bUcWTfQKcrHY,60100
|
|
172
172
|
rasa/core/channels/inspector/dist/assets/lato-v14-latin-regular-9e2898a4.svg,sha256=niiYpDBKSyCaWoqDxzpwHOFozt1SLhac0y-RWplr0Oo,80331
|
|
173
|
-
rasa/core/channels/inspector/dist/assets/layout-
|
|
174
|
-
rasa/core/channels/inspector/dist/assets/line-
|
|
175
|
-
rasa/core/channels/inspector/dist/assets/linear-
|
|
176
|
-
rasa/core/channels/inspector/dist/assets/mindmap-definition-fc14e90a-
|
|
173
|
+
rasa/core/channels/inspector/dist/assets/layout-f169de61.js,sha256=Tuxp3NGvaF1gC53fKQJ-PJnxDwAqbRv2VWbZweyXRRk,29119
|
|
174
|
+
rasa/core/channels/inspector/dist/assets/line-4404b723.js,sha256=jfROJDx_UpbjPutZ-iuk1hpUZYxJUgbUFf1f5Efmg5A,945
|
|
175
|
+
rasa/core/channels/inspector/dist/assets/linear-7c7bfd39.js,sha256=ZMUxSOm46Pi3B5JGWRlanyUU5BMoBuZzKGPPDVTi3To,10174
|
|
176
|
+
rasa/core/channels/inspector/dist/assets/mindmap-definition-fc14e90a-ec1113f6.js,sha256=RBjoT4DahN4tFdAbCtb1sQwwwHmkqivXFz9Ap3n7i1c,519607
|
|
177
177
|
rasa/core/channels/inspector/dist/assets/ordinal-ba9b4969.js,sha256=ibjC65zmAGwJyDhiJ6dEDb7WoRtNtlGkJQEYN6FngOk,1189
|
|
178
178
|
rasa/core/channels/inspector/dist/assets/path-53f90ab3.js,sha256=In0rN0CWcPz7tHv2Esg5lWjqEj4FalcuzhiQ3lm6jcs,2282
|
|
179
|
-
rasa/core/channels/inspector/dist/assets/pieDiagram-8a3498a8-
|
|
180
|
-
rasa/core/channels/inspector/dist/assets/quadrantDiagram-120e2f19-
|
|
181
|
-
rasa/core/channels/inspector/dist/assets/requirementDiagram-deff3bca-
|
|
182
|
-
rasa/core/channels/inspector/dist/assets/sankeyDiagram-04a897e0-
|
|
183
|
-
rasa/core/channels/inspector/dist/assets/sequenceDiagram-704730f1-
|
|
184
|
-
rasa/core/channels/inspector/dist/assets/stateDiagram-587899a1-
|
|
185
|
-
rasa/core/channels/inspector/dist/assets/stateDiagram-v2-d93cdb3a-
|
|
186
|
-
rasa/core/channels/inspector/dist/assets/styles-6aaf32cf-
|
|
187
|
-
rasa/core/channels/inspector/dist/assets/styles-9a916d00-
|
|
188
|
-
rasa/core/channels/inspector/dist/assets/styles-c10674c1-
|
|
189
|
-
rasa/core/channels/inspector/dist/assets/svgDrawCommon-08f97a94-
|
|
190
|
-
rasa/core/channels/inspector/dist/assets/timeline-definition-85554ec2-
|
|
191
|
-
rasa/core/channels/inspector/dist/assets/xychartDiagram-e933f94c-
|
|
192
|
-
rasa/core/channels/inspector/dist/index.html,sha256=
|
|
179
|
+
rasa/core/channels/inspector/dist/assets/pieDiagram-8a3498a8-a0407dba.js,sha256=jfiv7Qbgl8KtuaT13NWqIRFGD973jI6h5YITDsYraGA,15016
|
|
180
|
+
rasa/core/channels/inspector/dist/assets/quadrantDiagram-120e2f19-fbb9d98a.js,sha256=iEFOq5LyaJaKD-Cb5znaBC6TQISfyLmJ_wKvMuzqAL0,29413
|
|
181
|
+
rasa/core/channels/inspector/dist/assets/requirementDiagram-deff3bca-afd4d3fd.js,sha256=5iUbXeJDYKuojKnaAhAYX7Cl0ZgZt1vqmEYmFKB_06c,24623
|
|
182
|
+
rasa/core/channels/inspector/dist/assets/sankeyDiagram-04a897e0-4428110a.js,sha256=-psKewNt6L7xkqmAHkU6kLROfQBKVcvR3H_aeS8Jt1Q,21219
|
|
183
|
+
rasa/core/channels/inspector/dist/assets/sequenceDiagram-704730f1-d6b1d8bc.js,sha256=JzxsWfI2jUHnMioR1z-y8VkDW61hgougzbdSwUIeM2E,84129
|
|
184
|
+
rasa/core/channels/inspector/dist/assets/stateDiagram-587899a1-a80bbb9a.js,sha256=2NDYm0w0gJgOuR6QHAmcIjSKtGp1qxhHA5ytw4BcLoE,10125
|
|
185
|
+
rasa/core/channels/inspector/dist/assets/stateDiagram-v2-d93cdb3a-05cec9d3.js,sha256=GwD31hxFj4XaDYWjdHOnPm4uMhXtwcQvTDbSOQj1NQo,4863
|
|
186
|
+
rasa/core/channels/inspector/dist/assets/styles-6aaf32cf-bd061dc3.js,sha256=KKZRKElka7hLwKqJjGtfafNFuPxFISSI5jWUxMUrmN4,26432
|
|
187
|
+
rasa/core/channels/inspector/dist/assets/styles-9a916d00-5f4a9329.js,sha256=NzZiPoFJLtHjtntxWS5pV-wVn9y2D4nqXzplZXWs_G0,37855
|
|
188
|
+
rasa/core/channels/inspector/dist/assets/styles-c10674c1-6d90c832.js,sha256=Q4DbTuU9VjxjD80AZpOrK_7Jt3RtlSFgNOTX6M76j8w,10055
|
|
189
|
+
rasa/core/channels/inspector/dist/assets/svgDrawCommon-08f97a94-fc0d4c13.js,sha256=9rFjDJRhDvEH9Mv1kPh3ZCeOOyzHh8JMt-d54egLISg,1334
|
|
190
|
+
rasa/core/channels/inspector/dist/assets/timeline-definition-85554ec2-cdde6c47.js,sha256=tR6LEl1PYXa4_msw0NNaJMKkjLafaKbriMOoWVH-Ehg,22627
|
|
191
|
+
rasa/core/channels/inspector/dist/assets/xychartDiagram-e933f94c-d0674efc.js,sha256=qv8-Bh28u-DlgCednY50SZ7kCvLCXItfdOT0lWD4e1Q,37266
|
|
192
|
+
rasa/core/channels/inspector/dist/index.html,sha256=aRRYMeibsbLNi9YXAPaT3iZsH44HM9bCSAQKCkK7--Q,2761
|
|
193
193
|
rasa/core/channels/inspector/index.html,sha256=98zTIw3U5XkLiibL44Rc3jXS1E6VakgocW_Bk8O8IM0,1701
|
|
194
194
|
rasa/core/channels/inspector/jest.config.ts,sha256=pDs-0q6gs0Jnm9mWKq5M1vC5wiX_Cnh4l6s--dBsskM,406
|
|
195
|
-
rasa/core/channels/inspector/package.json,sha256=
|
|
195
|
+
rasa/core/channels/inspector/package.json,sha256=veDpKOKioEHvdnRisbxWwFHbsr0bY3cF993OCOZhdiI,1728
|
|
196
196
|
rasa/core/channels/inspector/setupTests.ts,sha256=JaGsnR6noIcuD5kLjb9SiOkXwJARLV_gF0dULtlWPqk,75
|
|
197
197
|
rasa/core/channels/inspector/src/App.tsx,sha256=tnrGxX90XO3sKlkF_gS2ZQTIp9JXUb5f_WEcTprqFls,7691
|
|
198
198
|
rasa/core/channels/inspector/src/components/Chat.tsx,sha256=uJL16gzBLBICuLVbezI0RaQdKU5WbwZlyjoI0tZ6PGU,3311
|
|
@@ -256,7 +256,7 @@ rasa/core/channels/inspector/tests/renderWithProviders.tsx,sha256=FvXc55YCzN6msj
|
|
|
256
256
|
rasa/core/channels/inspector/tsconfig.json,sha256=KbKb1kysO_6vnaZEHHKZtexAwr_NIJoOJMENQkEUAPQ,650
|
|
257
257
|
rasa/core/channels/inspector/tsconfig.node.json,sha256=niq7Fp6oe3GQYTodTaV8pghGOkU71CMfo67uXjCDcN0,213
|
|
258
258
|
rasa/core/channels/inspector/vite.config.ts,sha256=4PDEcd2hilx0kUkFqBLvOz997dNjDVgFWfVgbuaIDNo,180
|
|
259
|
-
rasa/core/channels/inspector/yarn.lock,sha256=
|
|
259
|
+
rasa/core/channels/inspector/yarn.lock,sha256=_KjJ9sV-L93qjFJWWia4vod5SKaDSM5BfE8udhbRu7k,289252
|
|
260
260
|
rasa/core/channels/mattermost.py,sha256=9d2OCw6nj0Y_f1zmzEWO4ZuTuEsicALwSInD6CosZYM,7743
|
|
261
261
|
rasa/core/channels/rasa_chat.py,sha256=pf77s4onrE5AqjdmaJFsBIzakBJ_ysevj6DDart96XQ,4814
|
|
262
262
|
rasa/core/channels/rest.py,sha256=ShKGmooXphhcDnHyV8TiQhDhj2r7hxTKNQ57FwFfyUA,7226
|
|
@@ -375,7 +375,7 @@ rasa/dialogue_understanding/commands/chit_chat_answer_command.py,sha256=PtwNuAHJ
|
|
|
375
375
|
rasa/dialogue_understanding/commands/clarify_command.py,sha256=mxdHWdyaQwA4uYdhVUjwAUPfl0HvqtDHU2DWKEeZal4,4290
|
|
376
376
|
rasa/dialogue_understanding/commands/command.py,sha256=rhxHmllTMwvb4Uq-pDqmUdlKtu-87y8nqN5DRO-KDwE,2529
|
|
377
377
|
rasa/dialogue_understanding/commands/command_syntax_manager.py,sha256=vO6sOak0g9GucEtiNximJ9bQFbHQwWJ-M5XNF1gGxz4,1893
|
|
378
|
-
rasa/dialogue_understanding/commands/correct_slots_command.py,sha256=
|
|
378
|
+
rasa/dialogue_understanding/commands/correct_slots_command.py,sha256=2oRix75ciUWMM4vs5bQt_BP8e4VMklepqTAoqGvUP4k,11899
|
|
379
379
|
rasa/dialogue_understanding/commands/error_command.py,sha256=LTEsxkGGGZR6wEEGuTtQ4K4EK_u2UFhNK4eAKyPfyME,2436
|
|
380
380
|
rasa/dialogue_understanding/commands/free_form_answer_command.py,sha256=XlQrHXrcOemzu1LHZiDhBAluiSlnUQ2V7ET5Z-aG7gc,224
|
|
381
381
|
rasa/dialogue_understanding/commands/handle_code_change_command.py,sha256=Cp2e1iD0zacXmljJ8vDXHJu9Fp6BwB7cGx8NF748akw,2192
|
|
@@ -436,7 +436,7 @@ rasa/dialogue_understanding/patterns/skip_question.py,sha256=fJ1MC0WEEtS-BpnGJEf
|
|
|
436
436
|
rasa/dialogue_understanding/patterns/user_silence.py,sha256=xP-QMnd-MsybH5z4g01hBv4OLOHcw6m3rc26LQfe2zo,1140
|
|
437
437
|
rasa/dialogue_understanding/patterns/validate_slot.py,sha256=hqd5AEGT3M3HLNhMwuI9W9kZNCvgU6GyI-2xc2b4kz8,2085
|
|
438
438
|
rasa/dialogue_understanding/processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
439
|
-
rasa/dialogue_understanding/processor/command_processor.py,sha256=
|
|
439
|
+
rasa/dialogue_understanding/processor/command_processor.py,sha256=BJNtJEd-Rvk1BNo8jZ51mcshay3SqrPdDbS3VMCQScs,33019
|
|
440
440
|
rasa/dialogue_understanding/processor/command_processor_component.py,sha256=rkErI_Uo7s3LsEojUSGSRbWGyGaX7GtGOYSJn0V-TI4,1650
|
|
441
441
|
rasa/dialogue_understanding/stack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
442
442
|
rasa/dialogue_understanding/stack/dialogue_stack.py,sha256=cYV6aQeh0EuOJHODDqK3biqXozYTX8baPgLwHhPxFqs,5244
|
|
@@ -446,7 +446,7 @@ rasa/dialogue_understanding/stack/frames/dialogue_stack_frame.py,sha256=SBTmCV4S
|
|
|
446
446
|
rasa/dialogue_understanding/stack/frames/flow_stack_frame.py,sha256=__W-kAZt5EFBLsIYC4XEUuy8q7zlfVkskXfmkzjkOEE,5609
|
|
447
447
|
rasa/dialogue_understanding/stack/frames/pattern_frame.py,sha256=EVrYWv5dCP7XTvNV-HqtOOrseP-IkF0jD2_JacAvIYw,235
|
|
448
448
|
rasa/dialogue_understanding/stack/frames/search_frame.py,sha256=Eo6tSSbJpslKcs6DLu250NmtoKMe4bDHC8_ebx5sJ60,759
|
|
449
|
-
rasa/dialogue_understanding/stack/utils.py,sha256=
|
|
449
|
+
rasa/dialogue_understanding/stack/utils.py,sha256=3OMi5et-mke-Sovf7zEyh39s5t_pdlIZt1SH7yxHYhI,8290
|
|
450
450
|
rasa/dialogue_understanding/utils.py,sha256=p-KVd7VF21HFHwRMHp5zAnOcMs_BMkVnDgY17TLSUy8,7804
|
|
451
451
|
rasa/dialogue_understanding_test/README.md,sha256=klUCq_FYd0MkIeyxlwYCfsB9EEsSmXUpTTDTxdR7EPc,17764
|
|
452
452
|
rasa/dialogue_understanding_test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -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=T_XkU0ivAlg_G8z81que2BHbFXN7f32bBBK5LW2Np-Q,118
|
|
826
|
+
rasa_pro-3.12.29.dist-info/METADATA,sha256=Fau5T-JWA5BClkNV9o61pS4t-Hf1En0GHfDyPhloJXE,10609
|
|
827
|
+
rasa_pro-3.12.29.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
828
|
+
rasa_pro-3.12.29.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
829
|
+
rasa_pro-3.12.29.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
830
|
+
rasa_pro-3.12.29.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aI as o,aJ as r}from"./index-3a23e736.js";const s=(a,n)=>o.lang.round(r.parse(a)[n]),e=s;export{e as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as r}from"./graph-4ede11ff.js";var e=4;function a(o){return r(o,e)}export{a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,f as o}from"./flowDb-956e92f1-10044f05.js";import{f as t,g as a}from"./styles-c10674c1-7b3680cf.js";import{u as i}from"./index-3a23e736.js";import"./graph-4ede11ff.js";import"./layout-dd48f7f4.js";import"./index-3862675e-65549d37.js";import"./clone-edb7f119.js";import"./edges-e0da2a9e-5a8b0749.js";import"./createText-2e5e7dd3-87c4ece5.js";import"./line-1569ad2c.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./channel-dfa68278.js";const M={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{M as diagram};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|