Systemy_DialogowePon15-30/presenter/chatbot_modules/DialogueStateTracker.py

18 lines
396 B
Python
Raw Normal View History

2021-04-26 14:26:52 +02:00
from model.DialogueState import DialogueState
2021-04-26 14:26:52 +02:00
class DialogueStateTracker:
2021-04-26 14:26:52 +02:00
def __init__(self):
self.dialogueState = DialogueState()
2021-04-26 14:26:52 +02:00
def processUserAct(self, userActsFrame):
"""
:param userActsFrame: input of user acts incoming
:return: dialogueState
"""
2021-04-26 14:26:52 +02:00
self.dialogueState.currentActs = userActsFrame
2021-04-26 14:26:52 +02:00
return self.dialogueState