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 interactive flow is not a happy path

See original GitHub issue

Rasa version: Rasa 1.3.9

Python version: 3.6.6

Operating system (windows, osx, …): osx

Issue: Besides the warning messages mentioned here it is a bit daunting to get started with rasa. My plan was to read through the docs, trying out the commands one by one but the command line is showing errors with little context. In particular I ran these today:

rasa init --no-prompt
rasa train
rasa interactive

The experience is best described by this asciinema.

Error (including full traceback):

Traceback (most recent call last):
  File "/Users/vincent/Development/koaning-rasa/venv/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1445, in run_interactive_io
    sender_id=uuid.uuid4().hex,
  File "/Users/vincent/Development/koaning-rasa/venv/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1385, in record_messages
    await _plot_trackers(sender_ids, plot_file, endpoint)
  File "/Users/vincent/Development/koaning-rasa/venv/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1319, in _plot_trackers
    event_sequences[-1], event_sequences, output_file=None, max_history=2
  File "/Users/vincent/Development/koaning-rasa/venv/lib/python3.6/site-packages/rasa/core/training/visualization.py", line 491, in visualize_neighborhood
    _merge_equivalent_nodes(graph, max_history)
  File "/Users/vincent/Development/koaning-rasa/venv/lib/python3.6/site-packages/rasa/core/training/visualization.py", line 207, in _merge_equivalent_nodes
    graph, i, j, max_history
  File "/Users/vincent/Development/koaning-rasa/venv/lib/python3.6/site-packages/rasa/core/training/visualization.py", line 147, in _nodes_are_equivalent
    return graph.node[node_a]["label"] == graph.node[node_b]["label"] and (
AttributeError: 'MultiDiGraph' object has no attribute 'node'

Command or request that led to error:

rasa interactive

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
epicalyxcommented, Oct 18, 2019

Hey! @koaning It works for Networkx==2.2 Please try and let us know!

0reactions
erohmensingcommented, Oct 28, 2019

Fixed in 1.4.2. Thanks for pointing it out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Writing Conversation Data - Rasa
Happy paths describe when the user is following the conversation flow as you'd expect and always providing the necessary information when prompted.
Read more >
Rasa-X Is A Unique Approach To Continuous Chatbot ...
We talk about the happy path, and the repair path. The main aim of the repair path, is to bring the user back...
Read more >
THE RASA MASTERCLASS HANDBOOK - HubSpot
It enforces the patterns and conversational paths you want your assistant to follow, much like a set of rules. However, when a match...
Read more >
RASA - Unhappy paths - DEV Community ‍ ‍
Tagged with rasa, chatbot, nlp, ai. ... RASA - Unhappy paths ... indeed - of course - that sounds good - correct -...
Read more >
Create Chatbot using Rasa Part-1 - Towards Data Science
Rasa is an open source machine learning framework for building AI ... file and this new custom action “action_check_weather” as part of happy...
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