NLP_Chatbot / test.py
DanielIglesias97's picture
We have improved the interface of the application and removed the
8991658
raw
history blame contribute delete
477 Bytes
from chatbot import ChatBotManager
def main():
chatbot_manager = ChatBotManager()
available_model_types = chatbot_manager.get_available_model_types()
for current_model_type_aux in available_model_types:
print(f'Test with model [{current_model_type_aux}]...')
user_message = 'How are you?'
history = []
result = chatbot_manager.obtain_answer(user_message, history, current_model_type_aux)
print('Result: ', result)
main()