Your AI-powered companion for compassionate and informed mental health support.
Welcome to the Mental Health Support Chatbot, a cutting-edge application that blends generative AI and retrieval-based models to provide empathetic, helpful, and contextually relevant responses to users seeking mental health guidance. This project integrates Groq Cloud LLM, Hugging Face embeddings, Chroma DB, and Gradio UI to offer a seamless and impactful user experience.
Here’s what makes this chatbot remarkable:
-> 💡 Empathetic Conversations: Generates responses that prioritize compassion and understanding.
-> 📚 Smart Retrieval: Combines document processing, embeddings, and vector databases to provide accurate, context-aware replies.
-> 🌐 Groq Cloud Integration: Leverages the power of Llama-based LLM models through Groq Cloud for efficient and scalable operations.
-> 📖 Document Processing: Upload PDFs, split text into chunks, and make key information searchable.
->🖥️ Gradio UI: Engages users with an intuitive and interactive chat interface.
->Frontend: Gradio
->AI Model: Groq Cloud Llama (via LangChain)
->Embeddings: Hugging Face Transformers.
->Vector Database: Chroma DB Store and retrieve vectorized documents.
-> Document Handling: LangChain Directory & PDF Loaders
->Backend: Python (LangChain) Orchestrate AI processing and retrieval.
🔑 Setting Up Your LLM
1.Create an Account: Sign up on Groq Cloud.
2.Test the Playground: Familiarize yourself with LLM capabilities.
3.Generate API Keys: Use them for secure programmatic access.
🛠️ Prerequisites
1.Python 3.7+
2.pip
Here’s how it all works together:
->User Input: User submits a question or query.
->Document Upload: PDFs are uploaded for analysis, split into chunks using LangChain's text splitters.
->Text Vectorization: Hugging Face embeddings convert chunks into searchable vectors.
->Chroma DB: Stores embeddings for easy retrieval during queries.
->Groq Cloud (Llama): Processes the input, retrieves relevant data, and generates responses.
->Gradio UI: Provides the user-friendly chat interface for seamless interactions.
This chatbot is for general mental health guidance only. It is not a substitute for professional diagnosis, treatment, or emergency help. If you or someone you know is in crisis, please contact a licensed mental health professional or local emergency services immediately.
Maintained by Ananya 😊