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

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.

Authors

Publication Details

Journal
International Journal Of Recent Trends In Multidisciplinary Research
Published
2026-11-25
DOI
https://doi.org/10.59256/ijrtmr.20260606014
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Kumar Vaibhav, a Swati
4 links
International Journal Of Recent Trends In Multidisciplinary Research
Topic Modeling
article

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

Kumar Vaibhav, a Swati
article en

Abstract

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.

International Journal Of Recent Trends In Multidisciplinary Research
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon