Metadata-Version: 2.1
Name: askdoc
Version: 0.1.1
Summary: Ask a personal doctor for your medical queries
Home-page: https://github.com/romitjain/askdoc
Author: Romit
Author-email: romit.73@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: loguru ==0.7.2
Requires-Dist: gradio ==4.19.2
Requires-Dist: openai ==1.13.3
Requires-Dist: backoff ==2.2.1
Requires-Dist: numpy ==1.24.3
Requires-Dist: sentence-transformers ==2.3.1
Requires-Dist: pytesseract ==0.3.10
Requires-Dist: pdf2image ==1.17.0
Requires-Dist: python-dotenv ==0.21.1

# AskDoc

This bot understands your medical concerns and helps diagnose them. Here is what you can do:

1. Ask for your health-related questions.
2. Send a medical report and ask questions based on that

Components

1. **ChatGPT (Vision)**: This is given a prompt to act like a doctor and do diagnostics
2. **Tesseract**: To extract information from PDF and image reports
3. **Validation agent** (Coming soon): This validates input/output
4. **Memory** stored in NumPy array. This memory is queried for information when the user asks for a query
5. **Summarizer** that summarizes after 100 turns and stores that summary in the memory

## Setup

### Clone the repo

```bash
git clone <repo>
cd askdoc
touch .env
open .env # Add OPENAI_API_KEY to this
```

### Create a new virtualenv

```bash
python3 -m venv myenv
source myenv/bin/activate
```

### Install the package

```bash
pip install .
```

### Run the command

```bash
# This will open a local server
askdoc
```
