21 lines
289 B
Markdown
21 lines
289 B
Markdown
# LangChain Document QA
|
|
|
|
This example provides an interface for asking questions to a PDF document.
|
|
|
|
## Setup
|
|
|
|
```
|
|
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?
|
|
```
|