Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for story/rules reading and writing for both formats #7033

Merged
merged 9 commits into from
Oct 20, 2020

Conversation

federicotdn
Copy link
Contributor

@federicotdn federicotdn commented Oct 16, 2020

Proposed changes:

  • Allow using _is_used_for_training=False in YAMLStoryReader, so that we can represent OR statements as lists of events, instead of having to split off into multiple stories.
  • Enable MarkdownStoryWriter to write StorySteps with OR statements.

Fixes https://github.com/RasaHQ/rasa-x/issues/3735 and https://github.com/RasaHQ/rasa-x/issues/3733.

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

Copy link
Contributor

@wochinge wochinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! That's a lot less breaking than you phrased it in your Slack message 👍

changelog/7033.bugfix.md Outdated Show resolved Hide resolved
changelog/7033.bugfix.md Outdated Show resolved Hide resolved
rasa/shared/core/training_data/structures.py Show resolved Hide resolved
Copy link
Contributor

@wochinge wochinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

changelog/7033.bugfix.md Outdated Show resolved Hide resolved
rasa/shared/core/training_data/structures.py Outdated Show resolved Hide resolved
@wochinge
Copy link
Contributor

Can you please update the PR description to match the changes? 🙌

@m-vdb
Copy link
Collaborator

m-vdb commented Oct 20, 2020

commenting to receive notifications for when this is merged 👍

@rasabot rasabot merged commit 93d26fc into 2.0.x Oct 20, 2020
@rasabot rasabot deleted the story-processing branch October 20, 2020 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants