botfront / rasa-webchat

A feature-rich chat widget for Rasa and Botfront
https://botfront.io/rasa
Apache License 2.0
948 stars 496 forks source link

Not retrieving messages injected/append via RASA API #385

Closed jefftung1991 closed 3 years ago

jefftung1991 commented 3 years ago

I've been trying to inject and appending message into the conversation, the RASA API is working correctly and I'm able to retrieve conversation history with both conversations from rasa-webchat UI and appended content via API using Postman @ Chrome.

However, the appended message is not shown in the rasa-webchat, it seems only displaying those saved in the session storage, but not the updated conversation.

How can I sync or retrieve the updated conversation into the session storage?

API used for appending messages/trigger intents: https://rasa.com/docs/rasa/pages/http-api#operation/addConversationMessage https://rasa.com/docs/rasa/pages/http-api#operation/triggerConversationIntent

Postman triggered intent: image

Information from the rasa-webchat UI, the sender_Id is correct: image

credential.yml: image

Please help!

jefftung1991 commented 3 years ago

Realised I used the wrong print screen, just to clarify that I've been trying many sessions and I'm sure their session id are the same.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.