Skip to content

Medical assistant with locally using llm to give response and using the database mongodb with new technology next js

Notifications You must be signed in to change notification settings

prabhatadvait/Medical_Chatbot

Repository files navigation

🏥 Medical Chatbot

Next.js MongoDB LLM Powered


A Privacy-focused Medical Assistant built with Local LLMs, Next.js, and MongoDB.


📷 Screenshots

🩺 Medical Chatbot UI

Medical Chatbot Screenshot

📥 Download Project

Download


🚀 Project Overview

  • Frontend: Built with Next.js + TailwindCSS 🚀
  • Backend: Handles queries using locally hosted LLMs 🧠
  • Database: Securely saves conversations using MongoDB 🗄️
  • Goal: Deliver fast, private, and reliable medical query assistance without external cloud APIs.

🛠️ Project Structure

Medical_Chatbot/
├── app/              # Core Next.js app logic
├── components/       # Reusable UI components
├── lib/              # Utilities and helper functions
├── models/           # Database models (MongoDB schemas)
├── public/           # Static files (images, etc.)
├── next-env.d.ts     # TypeScript environment setup
├── next.config.ts    # Next.js configuration
├── package.json      # Project metadata and dependencies
├── package-lock.json # Exact versions of dependencies
├── postcss.config.mjs# PostCSS config for styling
├── tailwind.config.ts# TailwindCSS customization
├── tsconfig.json     # TypeScript configuration
└── README.md         # Project documentation

🌟 Features

  • ✅ Private Medical Query Handling (Local LLMs)
  • ✅ MongoDB Conversation Storage
  • ✅ Fully Responsive and Modern UI
  • ✅ Locally Hosted without External API Calls
  • ✅ Fast, Secure, and Privacy-Focused

🧩 Technologies Used


📦 Installation

  1. Clone the repository

    git clone https://github.com/prabhatadvait/Medical_Chatbot.git
    cd Medical_Chatbot
  2. Install dependencies

    npm install
  3. Configure environment variables

    Create a .env.local file at the root and add your MongoDB URI and any other secrets.

    MONGODB_URI=your_mongodb_connection_string
  4. Run the development server

    npm run dev
  5. Open in Browser

    http://localhost:3000
    

📷 Screenshots

[Add screenshots here to showcase the chatbot UI once available]


🤝 Contributing

Contributions are welcome!
If you have any ideas, suggestions, or find any bugs, feel free to open an issue or submit a pull request.


📜 License

This project is licensed under the MIT License.
Feel free to use, modify, and distribute with attribution.


🔗 Links


Made with ❤️ by Prabhat Kumar

About

Medical assistant with locally using llm to give response and using the database mongodb with new technology next js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages