Skip to content

aviralgarg05/MindMate

Repository files navigation

MindMate

🚀 MindMate is a mental health-oriented chatbot designed to provide support and guidance using advanced AI technology. It integrates the ChatGPT API to offer personalized mental health assistance, making it an essential tool for those seeking help and advice.

What is MindMate?

MindMate is a chatbot created to address various mental health concerns by providing empathetic and relevant responses. It leverages the power of AI to simulate conversations that can help users navigate their feelings, manage stress, and find resources for further support.

Key Features

  • Empathetic Conversations: Engage users in supportive and understanding dialogues, offering comfort and encouragement.
  • Personalized Advice: Tailor responses based on the user's input to ensure relevant and helpful advice.
  • Resource Recommendations: Provide suggestions for additional resources, such as articles, helplines, and mental health tools.
  • Continuous Learning: Evolve and improve over time by learning from user interactions.

Technical Details

The chatbot is powered by the ChatGPT API, which allows it to generate high-quality, context-aware responses. The technology stack includes:

  • ChatGPT API: For generating conversational responses.
  • Python: Used for integrating the API and handling user interactions.
  • Streamlit: Used for building the user interface, making it easy to deploy and interact with the chatbot.

APIs in Use

MindMate integrates several APIs to enhance its functionality:

  • ChatGPT API: For generating conversational responses.
  • Twilio API: For sending SMS notifications and reminders.
  • Google Maps Geocoding API: For location-based services, converting addresses into geographic coordinates.
  • Google Translate API: For translating user inputs and responses into different languages.
  • Speech Recognition API: For enabling voice interaction.

Setup and Installation

To get started with MindMate, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/aviralgarg05/MindMate.git
  2. Navigate to the Project Directory:

    cd MindMate
  3. Install the Dependencies:

    pip install -r requirements.txt
  4. Run the Application:

    streamlit run app.py
  5. Interact with MindMate: Open your browser and go to the provided URL to start chatting with the bot.

Configuration

Ensure you have the following environment variables set up:

  • OPENAI_API_KEY: Your API key for ChatGPT.
  • deployment_name: Your deployment name.
  • INDEX_NAME: Your index name for search.
  • PINECONE_API_KEY: Your API key for Pinecone.
  • PINECONE_ENVIRONMENT: Your Pinecone environment.
  • GOOGLE_API_KEY: Your API key for Google Maps.

If any environment variable is missing, the application will attempt to read it from a configuration file.

Challenges and Solutions

  • Setting Up APIs: Ensured correct configuration of API keys and environment variables.
  • Performance: Different APIs showed varied performance; fine-tuning was required for optimal results.
  • Fine-Tuning and AI Agents: ChatGPT was fine-tuned for improved response quality. Integration of other APIs required careful consideration of their features.

Future Plans

  • Incorporate user feedback.
  • Add new features.
  • Enhance the AI's capabilities.

Contributions

Feel free to contribute by:

  • Submitting pull requests.
  • Reporting issues.
  • Suggesting features.

Conclusion

MindMate is more than just a chatbot—it's a step towards making mental health support more accessible and effective. I'm excited to hear your thoughts and see how this tool can help those in need.

Check out the MindMate GitHub repository to get started!

Vote for MindMate

Releases

No releases published

Packages

 
 
 

Contributors

Languages