ollama/examples/langchain-document
2023-08-10 23:35:19 -07:00
..
main.py update langchain examples 2023-08-10 23:35:19 -07:00
README.md update langchain examples 2023-08-10 23:35:19 -07:00
requirements.txt update langchain examples 2023-08-10 23:35:19 -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?