Enhancing Smart Environments with Context-Aware Chatbots using Large Language Models