diff --git a/modules/NLG.py b/modules/NLG.py index f2d959f..e66a9af 100644 --- a/modules/NLG.py +++ b/modules/NLG.py @@ -86,6 +86,9 @@ class NLG: self.answer += 'Kino znajduje się na ulicy Jana Pawła 2/40. ' elif domain == 'cinema' and intent == 'inform' and slot == 'cinema_name': self.answer += 'Kino nazywa sie Hellios' + elif domain == 'cinema' and intent == 'request' and slot == 'type': + if value == '': + self.answer+='Co dokładnie chciałbyś/abyś zrobić w naszym systemie. ' elif domain == 'cinema' and intent == 'offer' and slot == 'time': if value in ['15:00','12:00','18:00','18:30','19:00','20:00','20:30','21:00','21:30']: self.answer += f'Dostępny jest seans na godzinę {value}. '