Research Article

A Context-Aware Retrieval-Augmented Generation Framework for Enterprise Product Discovery Question Answering

Authors

  • Prabu Deivendran Senior Technical Lead; HCL Canada

Abstract

Product discovery in e-commerce relies on efficient retrieval algorithms to locate pertinent goods and provide responses to user queries that are contextually relevant. Our research introduces a Context-Aware Retrieval-Augmented Generation (CA-RAG) method for answering business questions and discovering products using the Home Depot Product Search Relevance dataset. The framework combines domain-specific named entity recognition (NER), Sentence-BERT embeddings, FAISS-based semantic retrieval, BM25 keyword search, and entity-based ranking with Reciprocal Rank Fusion (RRF) for enhanced product matching. SmolLM2-1.7B-Instruct and TinyLlama-1.1B-Chat-v1.0 are comparatively assessed in terms of answer generation and factuality. The results demonstrate that SmolLM2 has a retrieval quality score of 0.9328, a generation quality score of 0.7319, and an overall score of 0.7342 when tested on 35 queries, outperforming TinyLlama on these reported scores. SmolLM2 also demonstrates greater faithfulness (0.5870) and a lower hallucination rate (0.4130) than TinyLlama. However, statistical analysis reveals no significant differences between the models in overall system scores or faithfulness. These results show the potential of hybrid retrieval and context-aware language generation techniques to assist in product discovery and personalised product recommendations.

Article information

Journal

Journal of Computer Science and Technology Studies

Volume (Issue)

8 (12)

Pages

73-81

Published

2026-11-10

How to Cite

Prabu Deivendran. (2026). A Context-Aware Retrieval-Augmented Generation Framework for Enterprise Product Discovery Question Answering. Journal of Computer Science and Technology Studies, 8(12), 73-81. https://doi.org/10.32996/jcsts.2026.8.9

Downloads

Views

35

Downloads

2

Keywords:

Retrieval-augmented generation, context-aware product discovery, Sentence-BERT, large language models

Similar Articles

1-10 of 882

You may also start an advanced similarity search for this article.