Replies - Activity - jacobdanielfcs - Rasa Community Forum
Retrieving conversation from SQLTracker Store and continuing with the previous conversation
I found a thread where someone was asking something similar and he managed to find a solution. Here is the link. I'm just trying to figure out where did he place this piece of code.
The gentlemen that started this thread said that the solution was this piece of code:
from rasa_core.trackers import DialogueStateTracker
tracker1 = DialogueStateTracker(sender_id, domain.slots)
events = db.retrieve(sender_id).as_dialogue().events
for event in events:
tracker1.update(event)
hey @akelad from the above solution, where do I insert the code? would really appreciate your help on this.
Hie, where do you insert this piece of code? inside actions.py? could you show the sample of your code?