ollama/examples/langchain-python-rag-document
Dr Nic Williams e8aaea030e
Update 'llama2' -> 'llama3' in most places (#4116)
* Update 'llama2' -> 'llama3' in most places

---------

Co-authored-by: Patrick Devine <patrick@infrahq.com>
2024-05-03 15:25:04 -04:00
..
main.py Update 'llama2' -> 'llama3' in most places (#4116) 2024-05-03 15:25:04 -04:00
README.md remove with 2023-10-11 21:26:11 -07:00
requirements.txt remove with 2023-10-11 21:26:11 -07:00

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?