Skip to content

Commit

Permalink
Merge pull request #12873 from RasaHQ/ENG-472-Component-Wrap-up-LLMCo…
Browse files Browse the repository at this point in the history
…mmandGenerator

Eng 472 component wrap up llm command generator
  • Loading branch information
djcowley committed Oct 20, 2023
2 parents 69fef21 + 2981e0d commit 570c339
Show file tree
Hide file tree
Showing 7 changed files with 784 additions and 184 deletions.
2 changes: 1 addition & 1 deletion rasa/dialogue_understanding/commands/start_flow_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run_command_on_tracker(
"command_executor.skip_command.already_started_flow", command=self
)
return []
elif self.flow not in all_flows.non_pattern_flows():
elif self.flow not in all_flows.user_flow_ids:
structlogger.debug(
"command_executor.skip_command.start_invalid_flow_id", command=self
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Here is what happened previously in the conversation:

===
{% if current_flow != None %}
You are currently in the flow "{{ current_flow }}", which {{ current_flow.description }}
You have just asked the user for the slot "{{ collect }}"{% if collect_description %} ({{ collect_description }}){% endif %}.
You are currently in the flow "{{ current_flow }}".
You have just asked the user for the slot "{{ current_slot }}"{% if current_slot_description %} ({{ current_slot_description }}){% endif %}.

{% if flow_slots|length > 0 %}
Here are the slots of the currently active flow:
Expand Down
Loading

0 comments on commit 570c339

Please sign in to comment.