18 lines
396 B
Python
18 lines
396 B
Python
from model.DialogueState import DialogueState
|
|
|
|
|
|
class DialogueStateTracker:
|
|
|
|
def __init__(self):
|
|
self.dialogueState = DialogueState()
|
|
|
|
def processUserAct(self, userActsFrame):
|
|
"""
|
|
|
|
:param userActsFrame: input of user acts incoming
|
|
:return: dialogueState
|
|
"""
|
|
self.dialogueState.currentActs = userActsFrame
|
|
|
|
return self.dialogueState
|