README.md 408 Bytes
Newer Older
mashun1's avatar
v1  
mashun1 committed
1
2
3
4
5
6
# LangChain Document QA

This example provides an interface for asking questions to a PDF document.

## Setup

xuxzh1's avatar
init  
xuxzh1 committed
7
8
9
10
11
12
13
14
1. Ensure you have the `llama3.1` model installed:

```
ollama pull llama3.1
```

2. Install the Python Requirements.

mashun1's avatar
v1  
mashun1 committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
```
pip install -r requirements.txt
```

## Run

```
python main.py
```

A prompt will appear, where questions may be asked:

```
Query: How many locations does WeWork have?
```