editorinchief@ijrtmr.com +91 9840521421 Scholarly Open Access, Peer-reviewed, Refereed Journal e-ISSN 2583-0368 Since 2021
  1. Home
  2. Archives
  3. 2026
  4. Vol. 6 Issue 6
  5. Article
Original Article

Intelligent rag-based question answering system using asp.net core and vector databases

Open Access Peer Reviewed Crossref DOI

Authors

  • Swati1
  • Vaibhav Kumar2

1 M.Tech Student, Department of Computer Science Engineering & Application, Bhagwnat Institute of Technology, Muzaffarnagar, Uttar Pradesh, India. 2 Assistant Professor, Department of Computer Science Engineering & Application, Bhagwnat Institute of Technology, Muzaffarnagar, Uttar Pradesh, India.

Article Information

Published Online
November-December 2026
Pages
123-129
Article Type
Original Article
Check for updates
check update

Abstract

View PDF

Large language models (LLMs) can generate fluent responses, but may also produce unsupported statements, omit relevant evidence, or rely on knowledge that is incomplete or out of date. These limitations are significant in document-intensive settings where users need answers traceable to manuals, policies, research papers, technical documentation, and institutional records. Retrieval-Augmented Generation (RAG) addresses this problem by retrieving external passages and supplying them to a generative model. However, end-to-end RAG quality depends on document parsing, chunk construction, embeddings, retrieval, ranking, evidence selection, prompt design, access control, and evaluation [1], [11]–[14]. This paper presents a research framework for an intelligent RAG-based question answering application implemented with ASP.NET Core and .NET AI abstractions. The proposed system will ingest permitted PDF, DOCX, HTML, and text documents while preserving page, section, version, and access-control metadata. It will compare BM25 sparse retrieval, dense vector retrieval, hybrid ranking through Reciprocal Rank Fusion (RRF), and hybrid retrieval with reranking. A query-aware adaptive policy will select retrieval mode and candidate depth using query characteristics and retrieval-confidence signals. Qdrant and PostgreSQL with pgvector will be evaluated as alternative vector-store backends. The generation stage will produce source-linked answers, validate citations, and abstain when retrieved evidence is insufficient or contradictory. Evaluation will cover Recall@k, nDCG@k, mean reciprocal rank, answer correctness, faithfulness, citation support, abstention quality, latency, token use, and resource consumption. QASPER, HotpotQA, Natural Questions, and a curated public .NET documentation corpus are proposed as evaluation sources. As implementation and experiments are proposed rather than completed, no empirical performance improvement is claimed.

APC from ₹1200 + 18% GST

Peer-reviewed open access₹1200 Indian (₹1400 with DOI)$80 USD internationalpaid after acceptance Peer-reviewed open access₹1200 Indian$80 USD international ₹1200 Indian · $80 intl

  • CrossRef DOI
  • ISSN 2583-0368
  • Open Access
  • Peer Reviewed
  • Plagiarism Checked
  • Google Scholar
Submit Paper