9 lines
238 B
Python
9 lines
238 B
Python
![]() |
class NaturalLanguageGeneration:
|
||
|
|
||
|
def nlg(self, system_act):
|
||
|
response = None
|
||
|
name = "James"
|
||
|
if system_act == f"inform(name={name})":
|
||
|
response = f"Witaj, nazywam się {name}"
|
||
|
return response
|