diff --git a/customer_service/chatbot.py b/customer_service/chatbot.py index 8ff98a9a1..786d199bd 100644 --- a/customer_service/chatbot.py +++ b/customer_service/chatbot.py @@ -1,5 +1,6 @@ import time + class Chatbot: def __init__(self, nlp_model, knowledge_base): self.nlp_model = nlp_model @@ -9,6 +10,6 @@ def chat(self, user_input): entities = self.nlp_model.extract_entities(user_input) intent = self.nlp_model.extract_intent(user_input) response = self.knowledge_base.get_response(intent) - print('User:', user_input) - print('Chatbot:', response) + print("User:", user_input) + print("Chatbot:", response) time.sleep(1)