- Home
- Archives
- 2026
- Vol. 6 Issue 6
- Article
Intelligent rag-based question answering system using asp.net core and vector databases
Authors
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 In
- Volume 6, Issue 6 (2026)
- Published Online
- November-December 2026
- Pages
- 123-129
- Article Type
- Original Article
Abstract
View PDFLarge 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.
Related Articles
Share Article
*Instagram doesn't support direct link sharing from web. Copy the link and share it in your Instagram story or post.