Skip to content

🩺 Medical Expert Assistance: As an advanced medical expert chatbot assistant, its primary goal is to assist users to the best of its ability on their medical, health and psychological problems.

Notifications You must be signed in to change notification settings

gargmegham/PubMedGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medical Telegram Bot: Using OpenAI models & SDKs with no daily limits.

We all love chat.openai.com, but... It's TERRIBLY laggy, has daily limits, and is only accessible through an archaic web interface.

Screenshot 2023-05-22 at 9 38 41 AM

This repo is MedicalGPT re-created as Telegram Bot. And it works great.

Features

  • Low latency replies (it usually takes about 3-5 seconds)
  • No request limits
  • Message streaming
  • Support of ChatGPT API
  • List of allowed Telegram users
  • This bot has been created under the guidance of a certified Dr.
  • This bot understands when certain sentences indicates certain diseases or concerns, and then it asks follow up questions accordingly.
  • It also prescribes users based on thier medical conditions, medications, surgeries, allergies etc. which it asks for during registeration process.
  • This also allows you to integrate your cal.com account, which allows you to book appointments for specialized treatment from Dr.

Upcoming Features

  • Invoicing
  • Payment gateway integratiom
  • PDF prescription generation with a sign from certified professional after review of patient case and prescribed medications

Bot commands

  • /retry – Regenerate last bot answer
  • /new – Start fresh dialog
  • /help – Show command options
  • /register - Register patient in database with details like age, gender, medical history etc.
  • /cancel - Cancel current conversation
  • /diagnose - Diagnose for a disease
  • /call - Book an appointment
  • /choose - Choose a concern which fits your query

Setup

  1. Get your OpenAI API key

  2. Get your Telegram bot token from @BotFather

  3. Edit config/config.example.yml to set your tokens and run 2 commands below (if you're advanced user, you can also edit config/config.example.env):

    mv config/config.example.yml config/config.yml
    mv config/config.example.env config/config.env
  4. 🔥 And now run:

    docker-compose --env-file config/config.env up --build -d

About

🩺 Medical Expert Assistance: As an advanced medical expert chatbot assistant, its primary goal is to assist users to the best of its ability on their medical, health and psychological problems.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published