whenever i store tracker conversation data into redis then getting garbage value mix with conversation data…so how i can remove garbage data…
Hi @dipenpatel235, RedisTrackerStore
saves a python pickle dump of the Tracker
object. If you want to access Redis directly, you can pickle.loads()
the dumped store. To do this in python, you can use the built-in methods:
from rasa.core import RedisTrackerStore
store = RedisTrackerStore(None)
tracker = store.retrieve(conversation_id)
to view the full tracker you can run:
import json
print(json.dumps(tracker.current_state()))
This assumes your Redis is running on localhost
, the default port and without a password. please check out the docs on Tracker Stores for more details