Skip to content

Commit 03a35ad

Browse files
committed
Added a logline for the response chatbot action
1 parent 687c7e1 commit 03a35ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/PyMatcha/utils/chatbot_actions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
import logging
2+
13
from chatterbot import ChatBot
24
from chatterbot.trainers import ChatterBotCorpusTrainer
35
from PyMatcha.utils.static import BACKEND_ROOT
46

57

68
def get_chatbot_response(bot_name, user_input):
9+
logging.debug(f"Starting chatbot with name {bot_name}")
710
chatbot = ChatBot(
811
bot_name,
912
storage_adapter="chatterbot.storage.SQLStorageAdapter",

0 commit comments

Comments
 (0)