Read and Query PDF using RAG
Since this is using local ollama embeddings, you need to have ollama installed and running.
Also pull phi4 model.
- place you pdf file in the data directory
- run the following command to populate the chroma db
python rag.py
- run the following command to query the pdf
python query.py "<query>"