Hi! I coded a conditional welcome message that is triggered by appending followup action to the events list. It works perfectly in the command line interface, however, when I try to use Rasa x, it gets stuck on that followup action. This is part of my masters’ thesis. If you could help I’d be grateful!
Run rasa with the --debug
option and watch the debug output while you run the test from Rasa X. Reply with the log and I’ll take a look. You can also attached your actions.py
.
Greg
Here is the debug output. This keeps repeating
2020-06-04 23:00:57 DEBUG rasa.core.agent - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 5609e9df30a05f97b4d6c0f482dc2183
2020-06-04 23:00:57 DEBUG rasa.core.agent - No new model found at URL http://localhost:5002/api/projects/default/models/tags/production
2020-06-04 23:00:58 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-06-04 23:00:58 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-06-04 23:00:58 DEBUG sanic.root - CORS: Request to '/api/conversations/02c9705c871240058ff2c16016bd2477/tracker' matches CORS resource '/*'. Using options: {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': 'X-Total-Count', 'supports_credentials': False, 'max_age': 1800, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': '/*', 'intercept_exceptions': True, 'always_send': True}
Regarding the actions.py, I can’t post it here, however I use this functions:
events = [SessionStarted()]
events.extend(self.fetch_slots(tracker))
events.append(FollowupAction("action_first_greet"))
return events
I gather the slots from the previous method like illustrated in the docs for the action_session_start. That part actually works pretty well Thank you!