question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rasa data validate should warn when checkpoints create loops in stories

See original GitHub issue

What problem are you trying to solve?

Users may accidentally create circular logic in stories using checkpoints. rasa data validate should flag this if it occurs.

What’s your suggested solution?

rasa data validate throws a warning mentioning which checkpoints caused the loop

Examples (if relevant)

For example, these stories:

version: “2.0”

stories:

  • story: happy path 1 steps:

  • intent: greet

  • action: utter_greet

  • checkpoint: cp_a

  • story: happy path 2 steps:

  • checkpoint: cp_a

  • intent: mood_great

  • action: utter_happy

  • story: sad path 1a steps:

  • checkpoint: cp_a

  • intent: mood_unhappy

  • action: utter_cheer_up

  • action: utter_did_that_help

  • checkpoint: cp_b

  • story: sad path 1b steps:

  • checkpoint: cp_b

  • intent: affirm

  • action: utter_happy

  • checkpoint: cp_a

  • story: sad path 1b steps:

  • checkpoint: cp_b

  • intent: deny

  • action: utter_goodbye

creates a loop as shown in this diagram:

<span class="image-wrap" style=""></span>

Is anything blocking this from being implemented? (if relevant)

No response

Definition of Done

rasa data validate throws a warning mentioning which checkpoints caused the loop

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
emysdiascommented, Mar 17, 2022

Exalate commented:

emysdias commented:

The pull request: https://github.com/RasaHQ/rasa/pull/10971

1reaction
emysdiascommented, Mar 17, 2022

Exalate commented:

emysdias commented:

Whick is better to show, checkpoints or the story that is causing? @hsm207

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stories - Rasa
Stories are used to teach Rasa real conversation designs to learn from providing ... You can use checkpoints to modularize and simplify your...
Read more >
rasa Changelog - pyup.io
Removes unnecessary validation warning that a slot with ... failed check in `rasa data validate` that verifies forms in rules or stories are...
Read more >
How to do rasa nlu, stories data validation and updation ...
Use Interactive learning in RASA, where your files will get updated and In this mode, you provide feedback to your bot while you...
Read more >
Read more - Analytics Vidhya
To use option chain analysis feature also you can check intradayscreener. ... It would be very helpful, rather than create a new data...
Read more >
Efficient Application-level Fault Tolerance Methods for ... - Opus4
is implemented that enables ALCR functionality for creating checkpoints of ... The basic and most frequently used checkpoint data-types can be used di-....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found