14 lines
385 B
Python
14 lines
385 B
Python
from model.SystemActFrame import SystemActFrame
|
|
|
|
|
|
class DialoguePolicy:
|
|
|
|
def resolve_system_acts(self, dialogueState):
|
|
system_acts = []
|
|
for act in dialogueState.currentActs:
|
|
if "request()" in act.act:
|
|
if 'imię' in act.parameters:
|
|
system_acts.append(SystemActFrame("inform()", ["imię"]))
|
|
|
|
return system_acts
|