We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 687c7e1 commit 03a35adCopy full SHA for 03a35ad
backend/PyMatcha/utils/chatbot_actions.py
@@ -1,9 +1,12 @@
1
+import logging
2
+
3
from chatterbot import ChatBot
4
from chatterbot.trainers import ChatterBotCorpusTrainer
5
from PyMatcha.utils.static import BACKEND_ROOT
6
7
8
def get_chatbot_response(bot_name, user_input):
9
+ logging.debug(f"Starting chatbot with name {bot_name}")
10
chatbot = ChatBot(
11
bot_name,
12
storage_adapter="chatterbot.storage.SQLStorageAdapter",
0 commit comments