Messages list in CollectingOutputChannel always empty
See original GitHub issueRasa version: 1.0.6
Rasa X version (if used & relevant): 0.19.0
Python version: 3.7.3
Operating system : Windows 10 1709 Build 16299.1146
Issue: Messages list in CollectingOutputChannel always empty. I have attempted to modify the Google Assistant connector example from this link to work with Sanic in Rasa 1.0 (the Sanic server works). However, the above-mentioned output channel never returns any reply from Rasa. Please let me know what is the issue.
Error (including full traceback):
Message handling no reply for user message 'Hello there'.
list index out of range
Command or request that led to error:
@google_webhook.route("/webhook", methods=["POST"])
async def receive(request):
payload = request.json
sender_id = payload["user"]['userId']
intent = payload['inputs'][0]['intent']
text = payload['inputs'][0]['rawInputs'][0]['query']
try:
if intent == "actions.intent.MAIN":
message = "<speak>Hello! <break time=\"1\"/> Welcome to the Rasa-powered Google Assistant skill. You can start by saying hi."
else:
out = CollectingOutputChannel()
new_message = UserMessage(text,out,sender_id,input_channel=self.name())
#NO EFFECT
await on_new_message(new_message)
responses = [m["text"] for m in out.messages]
message = responses[0]
except LookupError as e:
logger.error("Message handling no reply for user message '{}'.".format(text))
logger.error(e)
message = "RASA_NO_REPLY"
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
CollectingOutputChannel not getting any outputs from bot
Hi All, I am trying to use custom connector for my custom ui. Input from user is getting but in collecting output channel...
Read more >Rasa X - Google Assistant connector doesn't receive any ...
I expect the output to be the text selected by the Rasa agent as a reply "This is the reply", but I get...
Read more >How to use the rasa.core.events.UserUttered function in rasa
Not all events are always listed in the story dsl. ... unrelated message would influence featurization tracker.update(UserUttered.empty()) action = self.
Read more >Message history | PubNub Docs
Messages are always returned in a chronological order—from oldest to newest—within the timetoken range you request.
Read more >How can we have some channels always show (even when ...
We'd like to return a channel list filtered on customTypes. Additionally, 1 customType we want to include empty messages and the others we ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for raising this issue, @tmbo will get back to you about it soon.
Not yet… but on this issue, Juste promised that will update the tutorial.