mirror of
https://github.com/ollama/ollama.git
synced 2025-03-29 19:22:16 +01:00
LangChain Document QA
This example provides an interface for asking questions to a PDF document.
Setup
- Ensure you have the
llama3.2
model installed:
ollama pull llama3.2
- Install the Python Requirements.
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?