Efficient in-Domain Research Query Resolution using Retrieval Augmented Generation with Ollama

Abstract— Retrieval-Augmented Generation (RAG) has emerged as a powerful paradigm for enhancing the performance of Large Language Models (LLMs) by grounding their outputs on external knowledge. This paper presents a domain-specific RAG pipeline integrating Ollama with LangChain, FAISS, and Hugging Face embeddings to process and query a custom corpus of 100 research papers. By leveraging FAISS for efficient similarity search and Hugging Face models for semantic embeddings, the system enables precise and context-aware retrieval of academic knowledge. The results demonstrate improved accuracy, contextual relevance, and reduced hallucinations compared to traditional LLM usage, making the framework suitable for research assistance and literature review automation.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-10-31
DOI
https://doi.org/10.5281/zenodo.17487304
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
article

Efficient in-Domain Research Query Resolution using Retrieval Augmented Generation with Ollama

Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
article

Efficient in-Domain Research Query Resolution using Retrieval Augmented Generation with Ollama

article en

Abstract

Abstract— Retrieval-Augmented Generation (RAG) has emerged as a powerful paradigm for enhancing the performance of Large Language Models (LLMs) by grounding their outputs on external knowledge. This paper presents a domain-specific RAG pipeline integrating Ollama with LangChain, FAISS, and Hugging Face embeddings to process and query a custom corpus of 100 research papers. By leveraging FAISS for efficient similarity search and Hugging Face models for semantic embeddings, the system enables precise and context-aware retrieval of academic knowledge. The results demonstrate improved accuracy, contextual relevance, and reduced hallucinations compared to traditional LLM usage, making the framework suitable for research assistance and literature review automation.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 23%
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.