It’s a PDF Q&A application that lets you upload documents and answers questions.Only CLI works
4.5K
Ver:1.3 - Added Word dcoument support.
How it works (simple flow)
DocuQuery is a web-based RAG (Retrieval-Augmented Generation) application that lets users upload PDF documents and ask natural language questions about their content. It uses:
FAISS + sentence-transformers for semantic search over PDF chunks
Groq API (Llama 3.1) for generating concise answers from retrieved context
FastAPI as the backend framework
Deployed on Kubernetes (Minikube) with 3 replicas via Podman
commands :
minikube delete // if old minikube running or corrupted.
minikube start --drive=podman
kubectl apply -f deployment.yaml -f service.yaml
kubectl get pods
Use "minikube kubectl -- port-forward svc/pdf-rag-service 8000:80" for port forwarding to reach applciation at localhost.
or use your minikube cluster node IP
Command Line Interface :
curl -s -X POST -F "[email protected]" http://<IP_Address>:30008/upload
report.pdf is your pdf document in the same folder.
Finally ask your question about the document.
curl -s -X POST -F "question=What is this doc?" http://<IP_Address>:30008/ask
Web interface :
http://<IP_Address>:30008/
(both Upload and ask question on the same page and clear before you upload new pdf)
Content type
Image
Digest
sha256:60cce24a8…
Size
3.2 GB
Last updated
5 months ago
docker pull sakhamuris/askpdf:1.3