Dodanie "medical_servies"
This commit is contained in:
parent
4c57c6fdfb
commit
acb7279f68
@ -80,6 +80,8 @@ class DP():
|
||||
system_action[("inform", 'Cost')] = {"cost": "100 zł"}
|
||||
elif intent == 'request_information/opening_hours':
|
||||
system_action[("inform", 'Opening_Hours')] = {"hours": "'8:00 - 16:00"}
|
||||
elif intent == 'request_information/medical_services':
|
||||
system_action[("inform", 'Medical_services')] = {"services": "Okulista, Internista, Ginekolog"}
|
||||
elif len(constraints) == 0:
|
||||
system_action[("inform", 'NoOffer')] = {'0': '0'}
|
||||
|
||||
|
@ -51,6 +51,9 @@ class NLG:
|
||||
if (intent == "Doctors_list"):
|
||||
value = act[action]["doctors"]
|
||||
return f"Lista doktorów w naszej placówce: \n{value}"
|
||||
if (intent == "Medical_services"):
|
||||
value = act[action]["services"]
|
||||
return f"Lista usług oferowanych w naszej placówce: \n{value}"
|
||||
if (intent == "Location"):
|
||||
city = act[action]["city"]
|
||||
street = act[action]["street"]
|
||||
|
Loading…
Reference in New Issue
Block a user