Spaces:
Running
Running
File size: 477 Bytes
8991658 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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()
|