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 story visualize WARNING

See original GitHub issue

Rasa version: Rasa 1.0.2 Python version: Python 3.6.8 Operating system (windows, osx, …): Windows 10 Pro 1903 Issue: I run this code to visualize my story, but I get a WARNING, json parse error, but my story has the quotes.

rasa visualize --stories data/stories.md

this is my story file:


## Generated Story -7088822440678882125
* chitchat
    - action_get_user_info
    - slot{"family_members": [{"主人": 614}]}
    - slot{"account_name": "上海"}
    - action_identification_ask
* whoami{"person": "主人"}
    - action_check_identity
    - action_slot_reset

and I get this WARNING message:

2019-05-30 10:33:12 INFO     rasa.core.visualize  - Starting to visualize stories...
Processed Story Blocks: 100%|████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 1001.27it/s, # trackers=1] 
2019-05-30 10:33:12 WARNING  rasa.core.interpreter  - Invalid to parse arguments in line '/whoami{person: 主人}'. Failed to decode parametersas a json object. Make sure the intentfollowed by a proper json object. Error: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
2019-05-30 10:33:12 INFO     rasa.core.visualize  - Finished graph creation. Saved into file://D:\OneDrive\Work\rasabot\graph.html

Is this a bug?

(By the way, the chinese char shows ��Ҫ���� in graph, I have submitted in #3564, maybe this is related.)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
XiaofeiQiancommented, May 31, 2019

@erohmensing I have tested this in rasa 1.0.3, everything is going right. THANKS!

0reactions
XiaofeiQiancommented, Dec 5, 2019

I’m sorry I didn’t make it clear. I found it works fine on rasa visualize but not good on rasa interactive visualisation. chinese chars shows ����Ѫѹ���� on rasa interactive Visualisation at http://localhost:5006/visualization.html. , but in cmd it shows chinese chars right. and I test it on rasa version 1.5.1 and 1.4.6. @erohmensing Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stories - Rasa
Stories are a type of training data used to train your assistant's dialogue management model. Stories can be used to train models that...
Read more >
Chatbots Using Python and Rasa - GeeksforGeeks
Rasa is a tool to build custom AI chatbots using Python and natural language understanding (NLU). Rasa provides a framework for developing ...
Read more >
Rasa Livecoding: Stopping the Conversation - YouTube
This week we'll be creating a custom action to stop our assistant.What's livecoding? It's folks working on real projects in real time with ......
Read more >
How to design Rasa Stories - YouTube
Learn how you can easily design and export your conversations as Rasa Stories. ... entities and visualize your project in a Rasa format....
Read more >
How to use the rasa.core.events.ActionExecuted function in rasa
To help you get started, we've selected a few rasa.core.events. ... make sure session start is not serialised story = Story.from_events(tracker.events, ...
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