Created an intelligent chatbot capable of natural language conversations and task assistance, enhancing user interaction.
On the index page, the user enters a prompt or question into the chatbot interface. When submitted, this input is sent from the JSP/Servlet layer to the Python backend via a JSON POST request. The backend uses the Gemini 2.5 Flash model to process the user’s message and generate an appropriate AI-driven response. The generated response is returned to the servlet, stored in the session as part of the chat history, and displayed back on the same page, allowing continuous user–bot interaction. This setup provides a seamless, real-time conversational experience powered by AI.