9 lines
208 B
Python
9 lines
208 B
Python
class DialoguePolicy:
|
|
|
|
def policy(self, state):
|
|
system_act = None
|
|
name = "James"
|
|
if state == "what name":
|
|
system_act = f"inform(name={name})"
|
|
return system_act
|