1from neuralintents import GenericAssistant
2
3assistant = GenericAssistant('intents.json', model_name="test_model")
4assistant.train_model()
5assistant.save_model()
6
7done = False
8
9while not done:
10 message = input("Enter a message: ")
11 if message == "STOP":
12 done = True
13 else:
14 assistant.request(message)
15