{"id":23491314,"url":"https://github.com/adrijadastidar/meditrain","last_synced_at":"2026-05-09T14:03:57.910Z","repository":{"id":269336436,"uuid":"907097684","full_name":"AdrijaDastidar/MediTrain","owner":"AdrijaDastidar","description":"Your Trusted Partner for Instant Medical Insights!","archived":false,"fork":false,"pushed_at":"2025-01-01T08:32:35.000Z","size":15285,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T11:44:05.373Z","etag":null,"topics":["flask","groq-api","huggingface","langchain","pinecone","python","render"],"latest_commit_sha":null,"homepage":"https://meditrain-0r3t.onrender.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdrijaDastidar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-22T19:57:03.000Z","updated_at":"2025-01-01T08:32:38.000Z","dependencies_parsed_at":"2024-12-22T20:42:45.496Z","dependency_job_id":null,"html_url":"https://github.com/AdrijaDastidar/MediTrain","commit_stats":null,"previous_names":["adrijadastidar/meditrain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrijaDastidar%2FMediTrain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrijaDastidar%2FMediTrain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrijaDastidar%2FMediTrain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrijaDastidar%2FMediTrain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdrijaDastidar","download_url":"https://codeload.github.com/AdrijaDastidar/MediTrain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248958895,"owners_count":21189775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","groq-api","huggingface","langchain","pinecone","python","render"],"created_at":"2024-12-25T01:19:25.951Z","updated_at":"2026-05-09T14:03:57.830Z","avatar_url":"https://github.com/AdrijaDastidar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🩺 MediTrain AI: Personal Medical Assistant\r\n\r\nWelcome to **MediTrain AI** 💡, an AI-powered medical assistant designed to provide accurate and concise information about medical topics. Built with state-of-the-art technologies like Pinecone for vector search and Groq for high-performance inference, this project is your personal medical encyclopedia, powered by machine learning models.\r\n\r\n Live Link - https://meditrain-0r3t.onrender.com\r\n\r\n---\r\n\r\n## 📖 Table of Contents\r\n\r\n- [Overview](#overview)\r\n- [Features](#features)\r\n- [Technologies Used](#technologies-used)\r\n- [How to Use](#how-to-use)\r\n- [Contributing](#contributing)\r\n\r\n---\r\n\r\n## 🏥 Overview\r\n\r\n**MediTrain AI** is a cutting-edge medical chatbot 🤖 that uses AI to answer health-related queries. This project is based on various libraries and frameworks like `Langchain`, `Pinecone`, and `Groq`, which allow efficient information retrieval, question-answering, and text embedding. It processes large PDF medical documents 📑 and uses embeddings to provide relevant answers to medical questions.\r\n\r\n### ✨ Key Features:\r\n- **📄 Medical Document Loader**: Loads and processes medical PDFs.\r\n- **📚 Text Splitter**: Breaks down large documents into smaller, manageable chunks.\r\n- **🤖 Embedding**: Uses Hugging Face embeddings for document representation.\r\n- **🔎 Pinecone Vector Search**: Enables fast search for similar documents.\r\n- **💬 GroqAI Integration**: A high-performance LLM (Language Model) to generate answers based on retrieved information.\r\n- **🩺 Medical Question-Answering**: Provides detailed answers to medical questions based on documents and retrieved context.\r\n\r\n---\r\n## 📸 Screenshots\r\n\r\nHere are some screenshots of **MediTrain AI** in action:\r\n\r\n### 1. Chat Interface\r\n![Chat Interface](Image/S1.png)\r\n### 2. About Section\r\n![About Section](Image/S2.png)\r\n### 3. Contact Us\r\n![Contact Us](Image/S3.png)\r\n\r\n\r\n---\r\n## 💡 Features\r\n\r\n✨ **Accurate Answers**: Ask medical questions and receive precise, clear, and medically relevant answers.\r\n\r\n📄 **Document Handling**: Automatically loads medical documents, splits them into smaller chunks, and uses embeddings to understand the context.\r\n\r\n🔎 **Smart Search**: Uses Pinecone to search for the most relevant information quickly and accurately.\r\n\r\n🤖 **Advanced Language Models**: Chat with an AI trained to provide information in a professional tone, with detailed explanations and suggestions.\r\n\r\n---\r\n\r\n## 🛠 Technologies Used\r\n\r\n- **[Langchain](https://www.langchain.com/)**: A framework for building applications with LLMs and document processing.\r\n- **[Pinecone](https://www.pinecone.io/)**: A vector database for fast similarity search.\r\n- **[Groq](https://www.groq.com/)**: A high-performance LLM to generate responses.\r\n- **[Hugging Face](https://huggingface.co/)**: Provides pre-trained models for text embedding.\r\n- **[Flask](https://flask.palletsprojects.com/)**: Python web framework for creating APIs.\r\n- **[Dotenv](https://pypi.org/project/python-dotenv/)**: For managing environment variables securely.\r\n\r\n---\r\n\r\n## 🛠 How to Use\r\n\r\n1. **Clone this repository**:\r\n   ```bash\r\n   git clone https://github.com/yourusername/mediTrain-AI.git\r\n   cd mediTrain-AI\r\n   ```\r\n\r\n2. **Install dependencies**:\r\n   Use the following command to install the required Python packages:\r\n   ```bash\r\n   pip install -r requirements.txt\r\n   ```\r\n\r\n3. **Set up environment variables**:\r\n   Create a `.env` file in the root directory and add the following keys:\r\n   ```bash\r\n   PINECONE_API_KEY=your_pinecone_api_key\r\n   GROQ_API_KEY=your_groq_api_key\r\n   ```\r\n\r\n4. **Run the project**:\r\n   You can now run the Python script to start interacting with the medical assistant.\r\n   ```bash\r\n   python app.py\r\n   ```\r\n\r\n5. **Querying the AI**:\r\n   Once the system is set up, you can query the AI with medical questions 🩺 and receive informative responses.\r\n\r\n---\r\n\r\n## 🤝 Contributing\r\n\r\nWe welcome contributions! If you would like to contribute to the project, please follow the steps below:\r\n\r\n1. **Fork the Repository**: Fork this repository to your own GitHub account.\r\n2. **Clone the Forked Repository**:\r\n   ```bash\r\n   git clone https://github.com/yourusername/mediTrain-AI.git\r\n   ```\r\n3. **Create a Feature Branch**:\r\n   ```bash\r\n   git checkout -b feature/your-feature\r\n   ```\r\n4. **Commit Your Changes**:\r\n   ```bash\r\n   git commit -am 'Added new feature'\r\n   ```\r\n5. **Push the Changes**:\r\n   ```bash\r\n   git push origin feature/your-feature\r\n   ```\r\n6. **Create a Pull Request**: Open a pull request from your branch to the main repository.\r\n\r\n---\r\n\r\n## 📧 Contact\r\nFor any questions or suggestions, feel free to reach out:\r\n- **Adrija Dastidar** - adrijadastidar@example.com\r\n- **GitHub**: [AdrijaDastidar](https://github.com/AdrijaDastidar)\r\n\r\n\r\n---\r\n\r\n🌟 **MediTrain AI** is here to make medical information more accessible and easier to understand. Ask your health questions now! 🩺\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrijadastidar%2Fmeditrain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrijadastidar%2Fmeditrain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrijadastidar%2Fmeditrain/lists"}