mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
408 B
408 B
LangChain Document QA
This example provides an interface for asking questions to a PDF document.
Setup
- Ensure you have the
llama3.1model installed:
ollama pull llama3.1
- 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?