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

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

## Setup

7
1. Ensure you have the `llama3.2` model installed:
8
9

```
10
ollama pull llama3.2
11
12
13
14
```

2. Install the Python Requirements.

Jeffrey Morgan's avatar
Jeffrey Morgan 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?
```