File size: 735 Bytes
20a903b
 
24e7c59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a6c015
24e7c59
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# MedRAG Multi-Modal

Multi-modal RAG for medical docmain.

## Installation

### For Development

For MacOS, you need to run

```bash
brew install poppler
```

For Debian/Ubuntu, you need to run

```bash
sudo apt-get install -y poppler-utils
```

Then, you can install the dependencies using uv in the virtual environment `.venv` using

```bash
git clone https://github.com/soumik12345/medrag-multi-modal
cd medrag-multi-modal
pip install -U pip uv
uv sync
```

After this, you need to activate the virtual environment using

```bash
source .venv/bin/activate
```

In the activated virtual environment, you can optionally install Flash Attention (required for ColPali) using

```bash
uv pip install flash-attn --no-build-isolation
```