Maximizing Chatbot Efficiency through Advanced Intent Detection