An AI-powered mental health chatbot that provides empathetic, context-aware conversations using LLaMA 3.2, LangChain, and sentiment analysis.

MindHaven is an AI-powered desktop application designed to provide users with a safe and supportive space to express their thoughts and emotions. Powered by LLaMA 3.2 through Ollama and enhanced with LangChain's conversational memory, the chatbot delivers intelligent, context-aware interactions. TextBlob-based sentiment analysis allows the assistant to understand the user's emotional state and generate more empathetic responses, while a modern Tkinter interface ensures an intuitive and privacy-focused user experience.
git clone <YOUR_GITHUB_REPOSITORY>
cd mindhavenpip install -r requirements.txtollama run llama3.2python main.pyMaintaining natural conversations across multiple user interactions
Integrated LangChain's conversational memory to preserve context, allowing the chatbot to generate coherent and personalized responses.
Understanding users' emotional state during conversations
Implemented TextBlob sentiment analysis to detect emotional tone and subtly influence the chatbot's responses with greater empathy.
Ensuring complete user privacy while using AI models
Leveraged Ollama to run the LLaMA 3.2 model locally, eliminating the need for cloud-based AI services and keeping all conversations on the user's device.
Building an intuitive desktop interface for AI interactions
Designed a responsive Tkinter-based GUI with a modern dark theme, making conversations simple, accessible, and user-friendly.