How to get started the DialogueStateTracker - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

👋 Introducing the Rasa Playground

Learn more here →

How to get started the DialogueStateTracker

post by Dinesh-gowdam-2610 on Oct 16, 2020

Dinesh-gowdam-2610 Dinesh_gowdam
Oct 2020

This is my action file i want to fetch the specific conversation using sender_id.
feedback = tracker.get_slot(“feedback”)
tracker1 = DialogueStateTracker(sender_id,slots= True)
events = db.movie.retrieve(sender_id).as_dialogue().event
for event in events:
tracker1.update(event)
event_dict = event.as_dict()

if event_dict['event']=='bot' or event_dict['event']=='user':
    print(event_dict['text'])

I don’t know how to initiate to do there is no other documentation are available…can you please help me to find out.
thank you in advance

519 views