🚀 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.
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.
- 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.
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.
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.
To get started with MindMate, follow these steps:
-
Clone the Repository:
git clone https://github.com/aviralgarg05/MindMate.git
-
Navigate to the Project Directory:
cd MindMate -
Install the Dependencies:
pip install -r requirements.txt
-
Run the Application:
streamlit run app.py
-
Interact with MindMate: Open your browser and go to the provided URL to start chatting with the bot.
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.
- 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.
- Incorporate user feedback.
- Add new features.
- Enhance the AI's capabilities.
Feel free to contribute by:
- Submitting pull requests.
- Reporting issues.
- Suggesting features.
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!