a5okol / ai-medical-doctor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Medical Doctor Telegram Bot

Project Overview

This Telegram bot, the AI Medical Doctor, is designed to assist users in predicting medical diagnoses based on symptoms and calculating medication dosages. Please note that access to this bot is restricted to subscribed group members only.

Dependencies

To run this bot, you'll need the following dependencies:

  • Telegram API: You'll need a Telegram bot token and group ID for integration. Fill in the TELEGRAM_TOKEN and TELEGRAM_GROUP_ID fields in your .env file.

  • Firebase: Firebase is used for data storage and real-time communication. Make sure to provide the necessary Firebase configuration in your .env file, including FIREBASE_PROJECT_ID, FIREBASE_CLIENT_ID, FIREBASE_PRIVATE_KEY_ID, FIREBASE_CLIENT_EMAIL, FIREBASE_REALTIME_URL, FIREBASE_CLIENT_X509_CERT_URL, and FIREBASE_PRIVATE_KEY.

  • Express.js: This Node.js framework is used to build the server for handling bot requests and interactions.

  • ChatGPT API: Integration with the ChatGPT API is required for medical diagnosis predictions and medication dosage calculations. Provide your OPENAI_API_KEY in the .env file.

Environment Configuration

Before running the bot, create an .env file in the root directory of your project and populate it with the following values:

TELEGRAM_TOKEN= TELEGRAM_GROUP_ID= OPENAI_API_KEY= FIREBASE_PROJECT_ID= FIREBASE_CLIENT_ID= FIREBASE_PRIVATE_KEY_ID= FIREBASE_CLIENT_EMAIL= FIREBASE_REALTIME_URL= FIREBASE_CLIENT_X509_CERT_URL= FIREBASE_PRIVATE_KEY=

Usage

  1. Clone this repository to your local machine.

  2. Run npm install to install all project dependencies.

  3. Populate the .env file with the required configuration values.

  4. Run the bot using npm start.

  5. Users in the subscribed group can interact with the bot to predict medical diagnoses based on symptoms and calculate medication dosages.

Features

  • Language Support: The bot offers support for 7 languages to cater to a diverse user base.

  • Medical Diagnosis Prediction: Users can input their symptoms, and the bot will provide predictions on possible medical conditions.

  • Medication Dosage Calculation: The bot can calculate medication dosages based on user-specific parameters.

Additional Information

  • This bot can be used only after subscribing to the group.

Contributing

We welcome contributions from the community to enhance and improve this AI Medical Doctor Telegram bot. Feel free to open issues, submit pull requests, or provide feedback to help us make this project even better.

License

This project is licensed under the MIT License.

About


Languages

Language:JavaScript 100.0%