from services.chat_service import chat def chat_controller(message: dict): return chat(message["text"])