GOATS/DialoguePolicy.py

9 lines
208 B
Python
Raw Normal View History

2024-04-21 10:09:03 +02:00
class DialoguePolicy:
def policy(self, state):
system_act = None
name = "James"
if state == "what name":
system_act = f"inform(name={name})"
return system_act