We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cddaa7 commit 864a570Copy full SHA for 864a570
backend/PyMatcha/utils/tasks.py
@@ -141,3 +141,10 @@ def take_random_users_online():
141
user.date_lastseen = datetime.datetime.utcnow()
142
user.save()
143
return "Successfully set 250 users online"
144
+
145
146
+@celery.task
147
+def random_bot_action():
148
+ for user in User.get_multis(skip_recommendations=True):
149
+ # TODO: Check notifications
150
+ pass
chatbot.py
@@ -10,12 +10,8 @@
10
)
11
12
trainer = ChatterBotCorpusTrainer(chatbot)
13
-
14
trainer.train("chatterbot.corpus.english")
15
16
- # ubuntu_trainer = UbuntuCorpusTrainer(chatbot)
17
- # ubuntu_trainer.train()
18
19
while True:
20
user_input = input("> ")
21
print(chatbot.get_response(user_input), flush=True)
0 commit comments