📞 +91-7667918914 | ✉️ ijarcce@gmail.com
International Journal of Advanced Research in Computer and Communication Engineering
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 15, ISSUE 5, MAY 2026

AI-Powered Document Question Answering System Using Agentic RAG and Local Language Models

Varshitha D, Vidya S

👁 8 views📥 2 downloads
Share: 𝕏 f in
Abstract: The rapid growth of digital information and unstructured data has transformed the way users search, analyze, and interact with documents. However, traditional search systems often lack contextual understanding, intelligent reasoning, and the ability to generate precise answers from multiple sources. This paper presents DocAgent, an AI- powered Agentic Retrieval-Augmented Generation (RAG) system designed to provide accurate and context-aware responses from user-provided documents and web content. The proposed system integrates document ingestion, semantic search, and local large language model processing to enable efficient knowledge retrieval. Documents and URLs are processed into vector embeddings and stored in a vector database, allowing the system to perform similarity-based retrieval. An agent-based workflow dynamically decides whether to retrieve relevant context, refine the query, or directly generate responses, improving accuracy and reducing irrelevant outputs. The system utilizes a locally hosted language model through Ollama, ensuring privacy, cost efficiency, and reduced dependency on external APIs. The application is evaluated using real-time query scenarios, demonstrating improved response relevance, reduced hallucinations, and enhanced user interaction compared to traditional document search systems.

Keywords: Artificial Intelligence, Retrieval-Augmented Generation, Agentic AI, Document Question Answering, Ollama, Vector Database, Semantic Search, Web-Based System

How to Cite:

[1] Varshitha D, Vidya S, “AI-Powered Document Question Answering System Using Agentic RAG and Local Language Models,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.15552

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.