Skip to content

A sophisticated healthcare chatbot that leverages advanced AI capabilities with memory retention to provide personalized medical information and assistance. This project combines modern technologies for both backend and frontend to deliver a seamless user experience.

License

Notifications You must be signed in to change notification settings

extrawest/AI-Healthcare-Bot-with-Memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Healthcare Bot with Memory

A sophisticated healthcare chatbot that leverages advanced AI capabilities with memory retention to provide personalized medical information and assistance. This project combines modern technologies for both backend and frontend to deliver a seamless user experience.

Demo

485f22a0-de08-4119-806b-ebf66253c027.1.mp4

🚀 Features

  • Real-time chat interface with AI healthcare assistant
  • Long-term memory retention for personalized interactions
  • Cross-platform support (iOS, Android)

🛠 Technology Stack

Backend

  • LangGraph Server: Orchestrates the AI conversation flow and decision-making
  • Ollama: Local LLM deployment for AI processing
  • Qdrant: Vector database for efficient similarity search
  • Mem0: Memory system for conversation context retention
  • TypeScript: Backend implementation language
  • Node.js: Runtime environment

Frontend

  • Flutter: Cross-platform UI framework
  • Dart: Programming language for Flutter
  • BLoC Pattern: State management
  • Material Design: UI components and styling

📋 Prerequisites

  • Node.js (v18 or higher)
  • Flutter SDK (latest stable version)
  • Docker (for running Qdrant and Ollama)
  • Git

🔧 Installation

Backend Setup

  1. Navigate to the backend directory:

    cd backend
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    cp .env.example .env
    # Edit .env with your configuration
  4. Start server:

    npx @langchain/langgraph-cli dev

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Get Flutter dependencies:

    flutter pub get
  3. Run the application:

    flutter run

🏗 Project Structure

.
├── backend/
│   ├── src/
│   │   ├── agent.ts          # AI agent configuration
│   │   ├── services/         # Core services (LLM, Memory, etc.)
│   │   └── types/           # TypeScript type definitions
│   └── langgraph.json       # LangGraph configuration
└── frontend/
    └── lib/
        ├── features/        # Feature-based architecture
        │   └── chat/        # Chat feature implementation
        └── common/          # Shared utilities and widgets

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the BSD-3-Clause license License - see the LICENSE file for details.

👥 Authors

Created by Oleksandr Samoilenko
Extrawest.com, 2025

About

A sophisticated healthcare chatbot that leverages advanced AI capabilities with memory retention to provide personalized medical information and assistance. This project combines modern technologies for both backend and frontend to deliver a seamless user experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published