A compassionate AI-powered chatbot application that provides mental health support and therapeutic conversations using Google's Gemini API. This application offers a safe space for users to discuss their feelings, get emotional support, and receive helpful guidance.
- Therapeutic Conversations: Engages in empathetic dialogue to provide emotional support
- Dark/Light Mode: Comfortable viewing experience with theme options
- Bullet-Point Responses: Clear, structured responses for better readability
- Conversational UI: Natural, friendly chat interface
- Secure API Integration: Easy and secure Gemini API key management
- Modern Design: Built with React, Tailwind CSS, and shadcn/ui for an accessible user experience
- Clone the repository:
git clone https://github.com/aashif000/Wiki_AI_Agent/master/
cd mental-health-assistant- Install dependencies:
npm install- Start the development server:
npm run dev- Set up your Gemini API key:
- Sign up for a Gemini API key at https://ai.google.dev/
- Add your API key through the sidebar in the application
- Your API key will be stored securely in your browser's localStorage
This project uses the following key dependencies:
- React and React DOM
- TypeScript
- TanStack Query (React Query)
- shadcn/ui components
- Tailwind CSS
- Lucide React (for icons)
- UUID (for generating unique message IDs)
The application functions as a mental health support assistant by:
- Engaging users in supportive conversations about their mental health concerns
- Providing structured, easy-to-read responses with bullet points
- Maintaining a compassionate and understanding tone throughout interactions
- Offering practical suggestions and coping strategies when appropriate
- Creating a safe and non-judgmental space for users to express themselves
Google's Gemini API is utilized for:
- Generating empathetic and supportive responses
- Maintaining context throughout conversations
- Providing structured, helpful guidance
- Ensuring responses are appropriate for mental health support
- Empathetic and understanding responses
- Non-judgmental communication style
- Structured bullet-point format for clarity
- Support for various mental health topics
- Dark/Light theme support
- Clean and calming interface
- Easy-to-read message formatting
- Intuitive chat interaction
- No conversation storage
- Secure API key management
- Client-side processing
- Privacy-focused design
- Modify the system prompt in
src/lib/gemini.tsto adjust the AI's therapeutic approach - Customize the UI components in the
src/componentsdirectory - Adjust the Gemini API parameters to fine-tune response characteristics
- Modify the theme in
src/index.cssfor different visual styles
This AI assistant is not a replacement for professional mental health care. If you're experiencing serious mental health issues, please seek help from qualified mental health professionals.