ollama/examples/langchain-python-rag-document
Matt Williams a85329f59a rename the models to be more descriptive
Signed-off-by: Matt Williams <m@technovangelist.com>
2023-10-10 17:40:02 -07:00
..
main.py rename the models to be more descriptive 2023-10-10 17:40:02 -07:00
README.md rename the models to be more descriptive 2023-10-10 17:40:02 -07:00
requirements.txt rename the models to be more descriptive 2023-10-10 17:40:02 -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?