Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
@article{211959,
author = {Akhilesh Jain and Dr. Bramha Prakash H P and Bhuvan Anil Naik and Mahantesh Patil and Pavan Jagadeesh Jari},
title = {RAG-Powered Document Question Answering System Using Semantic Retrieval and Local Large Language Models},
journal = {International Journal of Innovative Research in Technology},
year = {2026},
volume = {13},
number = {7},
pages = {903-914},
issn = {2349-6002},
url = {https://ijirt.org/article?manuscript=211959},
abstract = {Retrieval-augmented generation (RAG) lets a language model answer from passages fetched out of an external collection instead of relying only on what it memorised, which makes it a natural fit for questions about private documents. This paper describes RAG-DocQA, a document question-answering application that runs entirely on the user’s own machine. Users upload PDF, DOCX, Markdown or plain-text files. The backend pulls out the text, splits it into chunks, encodes each chunk with a Sentence-Transformers model (the documented default is all-MiniLM-L6-v2) and keeps the vectors and metadata in ChromaDB. When a question arrives, it is embedded the same way, the k closest chunks are fetched, and a Llama 3.2 model running under Ollama writes the answer from that context, returning source references and, optionally, streamed tokens. A React front end communicates with a FastAPI back end over a versioned REST interface; Docker Compose packages the services together with API-key/JWT authentication, rate limiting and audit logging. We describe the architecture as it appears in the public repository, set it against the original project proposal, and review related work after checking the bibliographic records of the ten studies named in the proposal. None of them could be confirmed exactly as listed, so the review relies on sources we were able to verify. The contribution is an engineering integration rather than a new retrieval algorithm. Since the repository holds no quantitative evaluation, we lay out a reproducible protocol (Precision@k, Recall@k, MRR, faithfulness, citation correctness, latency) and mark every measurement as “to be measured”.},
keywords = {Document Question Answering, Local Large Language Models, Retrieval-Augmented Generation, Semantic Retrieval, Sentence Embeddings, Vector Database},
month = {December},
}
Submit your research paper and those of your network (friends, colleagues, or peers) through your IPN account, and receive 800 INR for each paper that gets published.
Join NowNational Conference on Sustainable Engineering and Management - 2024 Last Date: 15th March 2024
Submit inquiry