How to decoding redis-stored data from rasa converation?

Hello! I’m software-developer on South Korea Travel agency.

And now I’m going to try to store coversation on redis database.

But It looked so ugly ,

And it doesn’t recognize any key of things. Only “me” recognized as key…

please Help me to restore this Beauty…

Thank you!

1 Like

import pickle

pickle.loads(msg)

For me its return <rasa.core.conversation.Dialogue object at 0x7fa00ba04358>

If you know what to do next, please write there)

upd:

you can use this like:

d = pickle.loads(s)

print(d)

output:

Dialogue with name 'some_agent_id' and turns:
    	ActionExecuted(action: action_listen, policy: None, confidence: None)

    	SlotSet(key: time, value: 2019-06-18)

    	UserUttered(text: привет, intent: {'name': 'greet', 'confidence': 0.9450039863586426}, entities: [])

    	BotUttered(text: Привет!, data: {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, metadata: {})

	ActionExecuted(action: action_listen, policy: policy_0_MemoizationPolicy, confidence: 1.0)

Wow, Thank you for reply. I’ll apply this ASAP.

thank you again!!!

Cheers, Sujeong