IDEAS home Printed from https://ideas.repec.org/a/bjf/journl/v10y2025i10p193-201.html
   My bibliography  Save this article

A Scalable Retrieval-Augmented Generation Pipeline for Domain-Specific Knowledge Applications

Author

Listed:
  • Emmanuel A. Olanrewaju

    (Nil)

Abstract

This work presents a Retrieval-Augmented Generation (RAG) pipeline that integrates document preprocessing, embedding-based retrieval, and large language model (LLM) generation into a unified framework. The pipeline begins with the ingestion of PDF documents, followed by text cleaning, sentence segmentation, and chunking to ensure compatibility with embedding model constraints. High-dimensional vector representations are generated using transformer-based embedding models and stored for downstream use. Semantic similarity search, implemented via dot product and cosine similarity, enables efficient retrieval of contextually relevant text. For scalability, the framework is designed to accommodate vector indexing methods such as Faiss. On the generation side, locally hosted LLM (Gemma-7B) is employed with optional quantization for reduced resource consump- tion. Retrieved context is integrated with user queries to enhance the accuracy and relevance of generated responses. This pipeline demonstrates a practical approach for building domain-specific, retrieval-augmented applications that balance efficiency, scalability, and adaptability to local com- pute environments.

Suggested Citation

  • Emmanuel A. Olanrewaju, 2025. "A Scalable Retrieval-Augmented Generation Pipeline for Domain-Specific Knowledge Applications," International Journal of Research and Innovation in Applied Science, International Journal of Research and Innovation in Applied Science (IJRIAS), vol. 10(10), pages 193-201, October.
  • Handle: RePEc:bjf:journl:v:10:y:2025:i:10:p:193-201
    as

    Download full text from publisher

    File URL: https://www.rsisinternational.org/journals/ijrias/uploads/vol10-iss10-pg193-201-202510_pdf.pdf
    Download Restriction: no

    File URL: https://www.rsisinternational.org/journals/ijrias/articles/a-scalable-retrievalaugmented-generation-pipeline-for-domainspecific-knowledge-applications/
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bjf:journl:v:10:y:2025:i:10:p:193-201. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Renu Malsaria (email available below). General contact details of provider: https://rsisinternational.org/journals/ijrias/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.