Optimizing RAG Techniques for Automotive Industry PDF Chatbots: A Case Study with Locally Deployed Ollama Models
Authors: Fei Liu, Zejun Kang, Xing Han
Abstract
With the growing demand for offline PDF chatbots in automotive industrial production environments, optimizing the deployment of large language models (LLMs) in local, low-performance settings has become increasingly important. This study focuses on enhancing Retrieval-Augmented Generation (RAG) techniques for processing complex automotive industry documents using locally deployed Ollama models. Based on the Langchain framework, we propose a multi-dimensional optimization approach for Ollama's local RAG implementation. Our method addresses key challenges in automotive document processing, including multi-column layouts and technical specifications. We introduce improvements in PDF processing, retrieval mechanisms, and context compression, tailored to the unique characteristics of automotive industry documents. Additionally, we design custom classes supporting embedding pipelines and an agent supporting self-RAG based on LangGraph best practices. To evaluate our approach, we constructed a proprietary dataset comprising typical automotive industry documents, including technical reports and corporate regulations. We compared our optimized RAG model and self-RAG agent against a naive RAG baseline across three datasets: our automotive industry dataset, QReCC, and CoQA. Results demonstrate significant improvements in context precision, context recall, answer relevancy, and faithfulness, with particularly notable performance on the automotive industry dataset. Our optimization scheme provides an effective solution for deploying local RAG systems in the automotive sector, addressing the specific needs of PDF chatbots in industrial production environments. This research has important implications for advancing information processing and intelligent production in the automotive industry.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Enhancing Automotive PDF Chatbots: A Graph RAG Approach with Custom Function Calling for Locally Deployed Ollama ModelsFei Liu, Huan-Huan Ren, Yu Guan et al. · 2024 · Proceedings of the 2024 International Conference on Artificial Intelligence, Digital Media Technology and Interaction De · cited 3 times · Not summarized yet
Enhancing Automotive PDF Chatbots optimizes local Ollama-based RAG for automotive documents, including PDF processing, retrieval, and context compression.
Abstract
This research explores state-of-the-art retrieval augmented generation (RAG) methodologies utilizing a locally hosted Ollama model to address the rising demand for streamlined offline PDF chatbots in the automotive industry. In this paper we present a Langchain-based optimization of the a forementioned framework for modeling all input text from automotive documents. For example, using JoinChpy which use specialized finetuning to a base model where it is fine-tuned adding specialized modifications, the first on PDF and retrieval algorithms as well as context compression strictly for automotive literature We define embedding pipeline classes and graph RAG agents. To instantiate our methodology…
-
Adopting RAG for LLM-Aided Future Vehicle DesignVahid Zolfaghari, Nenad Petrovic, Feng Pan et al. · 2024 · 2024 2nd International Conference on Foundation and Large Language Models (FLLM) · cited 14 times · Not summarized yet
Adopting RAG for LLM-Aided Future Vehicle Design applies RAG to automotive compliance and design chatbots, evaluating several LLMs rather than optimizing automotive PDF processing.
Abstract
In this paper, we explore the integration of Large Language Models (LLMs) with Retrieval-Augmented Generation (RAG) to enhance automated design and software development in the automotive industry. We present two case studies: a standardization compliance chatbot and a design copilot, both utilizing RAG to provide accurate, context-aware responses. We evaluate four LLMs—GPT-4o, LLAMA3, Mistral, and Mixtral—comparing their answering accuracy and execution time. Our results demonstrate that while GPT-4 offers superior performance, LLAMA3 and Mistral also show promising capabilities for local deployment, addressing data privacy concerns in automotive applications. This study highlights the poten…
-
Revolutionizing Retrieval-Augmented Generation with Enhanced PDF Structure RecognitionDemiao Lin · 2024 · Artificial Intelligence · preprint, not peer reviewed · cited 41 times · Not summarized yet
Revolutionizing Retrieval-Augmented Generation with Enhanced PDF Structure Recognition improves document structure recognition for PDF-based knowledge question answering.
Abstract
With the rapid development of Large Language Models (LLMs), Retrieval-Augmented Generation (RAG) has become a predominant method in the field of professional knowledge-based question answering. Presently, major foundation model companies have opened up Embedding and Chat API interfaces, and frameworks like LangChain have already integrated the RAG process. It appears that the key models and steps in RAG have been resolved, leading to the question: are professional knowledge QA systems now approaching perfection? This article discovers that current primary methods depend on the premise of accessing high-quality text corpora. However, since professional documents are mainly stored in PDFs, the…
-
Evaluating Memory Usage and Processing Time in AI-Driven Document Parsing: Extracting Information From Scanned, PDF, And Excel FormatsPrithvi Panchineni · 2026 · International Journal on Advanced Computer Engineering and Communication Technology · Not summarized yet
Evaluating Memory Usage and Processing Time in AI-Driven Document Parsing studies parsing scanned PDFs and spreadsheets for a corporate document chatbot.
Abstract
Recent developments in large language models (LLMs) and retrieval-augmented generation (RAG) approaches have changed information management across industries. These breakthroughs have made it possible to design document interaction systems that are intelligent, efficient, and aware of their context. The use of these technologies in corporate document management is the focus of this thesis, which also introduces a new chatbot solution that improves document retrieval and gives users accurate, context-driven help. Using this strong retrieval framework as a foundation, the Retrieval-Augmented Generation (RAG) technique is utilized to merge the optimal embedding model with five different LLMs. T…
-
HybridRAG: A Practical LLM-based ChatBot Framework based on Pre-Generated Q&A over Raw Unstructured DocumentsSungmoon Kim, Hyuna Jeon, Dahye Kim et al. · 2025 · IR-RAG@SIGIR · Not summarized yet
HybridRAG processes unstructured PDFs with OCR and layout analysis, then uses pre-generated question-answer pairs to improve chatbot responses.
Abstract
Retrieval-Augmented Generation (RAG) has emerged as a powerful approach for grounding Large Language Model (LLM)-based chatbot responses on external knowledge. However, existing RAG studies typically assume well-structured textual sources (e.g. Wikipedia or curated datasets) and perform retrieval and generation at query time, which can limit their applicability in real-world chatbot scenarios. In this paper, we present HybridRAG, a novel and practical RAG framework towards more accurate and faster chatbot responses. First, HybridRAG ingests raw, unstructured PDF documents containing complex layouts (text, tables, figures) via Optical Character Recognition (OCR) and layout analysis, and conve…
-
A Comparative Performance Analysis of Locally Deployed Large Language Models Through a Retrieval-Augmented Generation Educational Assistant Application for Textual Data ExtractionAmitabh Mishra, Nagaraju Brahmanapally · 2025 · Applied Informatics · cited 4 times · Not summarized yet
A Comparative Performance Analysis evaluates locally deployed LLMs in a RAG chatbot, but answers questions about university course catalogs.
Abstract
Background: Rapid advancements in large language models (LLMs) have significantly enhanced Retrieval-Augmented Generation (RAG) techniques, leading to more accurate and context-aware information retrieval systems. Methods: This article presents the creation of a RAG-based chatbot tailored for university course catalogs, aimed at answering queries related to course details and other essential academic information, and investigates its performance by testing it on several locally deployed large language models. By leveraging multiple LLM architectures, we evaluate performance of the models under test in terms of context length, embedding size, computational efficiency, and relevance of respons…
-
Revolutionizing RAG with Confliction Detection: Transforming Customer Service Chatbots with Large Language ModelsHarrison Wu, Hai-Hua Wu · 2025 · International Conference on Multimodal Interaction · cited 1 time · Not summarized yet
Revolutionizing RAG with Confliction Detection uses an adjustable retrieval-similarity threshold to address inaccurate customer-service chat histories.
Abstract
Retrieval-Augmented Generation (RAG) integrates large language models (LLMs) with external knowledge, enabling these models to handle a wide range of domain-specific tasks. One of RAG's real-world applications is in customer service chatbots, where RAG has the potential to increase efficiency while reducing costs. Large businesses that have organized and accurate datasets are able to use RAG efficiently. However, smaller businesses face challenges utilizing RAG as they only have customer service chat history data that may contain incorrect information. To address this limitation, this paper proposes a novel approach that incorporates an adjustable similarity threshold for document retrieval,…
-
RAG based Question-Answering for Contextual Response Prediction SystemSriram Veturi, Saurabh Vaichal, Reshma Lal Jagadheesh et al. · 2024 · Computation and Language · preprint, not peer reviewed · cited 36 times · AI summary available
RAG based Question-Answering addresses data availability and response-quality evaluation challenges in industry question-answering systems.
Abstract
Large Language Models (LLMs) have shown versatility in various Natural Language Processing (NLP) tasks, including their potential as effective question-answering systems. However, to provide precise and relevant information in response to specific customer queries in industry settings, LLMs require access to a comprehensive knowledge base to avoid hallucinations. Retrieval Augmented Generation (RAG) emerges as a promising technique to address this challenge. Yet, developing an accurate question-answering framework for real-world applications using RAG entails several challenges: 1) data availability issues, 2) evaluating the quality of generated content, and 3) the costly nature of human eva…
Prior work it builds on
-
Enhancing Multilingual Information Retrieval in Mixed Human Resources Environments: A RAG Model Implementation for Multicultural EnterpriseSyed Rameel Ahmad · 2024 · arXiv.org · preprint, not peer reviewed · cited 15 times · Not summarized yet
Enhancing Multilingual Information Retrieval implements RAG for enterprise information retrieval across languages and literacy levels.
Abstract
The advent of Large Language Models has revolutionized information retrieval, ushering in a new era of expansive knowledge accessibility. While these models excel in providing open-world knowledge, effectively extracting answers in diverse linguistic environments with varying levels of literacy remains a formidable challenge. Retrieval Augmented Generation (RAG) emerges as a promising solution, bridging the gap between information availability and multilingual comprehension. However, deploying RAG models in real-world scenarios demands careful consideration of various factors. This paper addresses the critical challenges associated with implementing RAG models in multicultural environments. …
-
Retrieval-Augmented Generation for Large Language Models: A SurveyYunfan Gao, Yun Xiong, Xinyu Gao et al. · 2023 · Computation and Language · preprint, not peer reviewed · cited 4,421 times · AI summary available
Retrieval-Augmented Generation for Large Language Models surveys RAG’s uses in improving accuracy, reducing hallucinations, and providing verifiable answers.
Abstract
Large language models (LLMs) demonstrate powerful capabilities, but they still face challenges in practical applications, such as hallucinations, slow knowledge updates, and lack of transparency in answers. Retrieval-Augmented Generation (RAG) refers to the retrieval of relevant information from external knowledge bases before answering questions with LLMs. RAG has been demonstrated to significantly enhance answer accuracy, reduce model hallucination, particularly for knowledge-intensive tasks. By citing sources, users can verify the accuracy of answers and increase trust in model outputs. It also facilitates knowledge updates and the introduction of domain-specific knowledge. RAG effectivel…
-
Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang et al. · 2023 · International Conference on Learning Representations · cited 3,006 times · AI summary available
Self-RAG introduces retrieval, generation, and self-critique through reflection, a method the paper uses as a basis for its agent.
Abstract
Despite their remarkable capabilities, large language models (LLMs) often produce responses containing factual inaccuracies due to their sole reliance on the parametric knowledge they encapsulate. Retrieval-Augmented Generation (RAG), an ad hoc approach that augments LMs with retrieval of relevant knowledge, decreases such issues. However, indiscriminately retrieving and incorporating a fixed number of retrieved passages, regardless of whether retrieval is necessary, or passages are relevant, diminishes LM versatility or can lead to unhelpful response generation. We introduce a new framework called Self-Reflective Retrieval-Augmented Generation (Self-RAG) that enhances an LM's quality and fa…
-
Multi-Agent RAG Chatbot Architecture for Decision Support in Net-Zero Emission Energy SystemsGihan Gamage, Nishan Mills, Daswin de Silva et al. · 2024 · International Conference on Industrial Technology · cited 24 times · Not summarized yet
Multi-Agent RAG Chatbot Architecture uses RAG agents for decision support in energy systems rather than automotive PDF question answering.
Abstract
Modern energy platforms are increasingly leveraging Artificial Intelligence (AI) for effective decision-making and efficient operations. This has led to the development of expansive data spaces that comprise both structured and unstructured energy data in various modalities. Conversational agents with the most recent advancements in Large Language Models (LLM) are primed to facilitate the efficient retrieval of this diverse information for decision support. In this paper, we propose a multi-agent chatbot architecture for decision support in net-zero emissions energy systems, leveraging LLMs and Retrieval-Augmented Generation (RAG). This architecture consists of a Chatbot User Interface (UI),…
-
Developing a Retrieval Augmented Generation (RAG) Chatbot App Using Adaptive Large Language Models (LLM) and LangChain FrameworkCara Burgan, Josiah Kowalski, Wei-Dong Liao · 2024 · Proceedings of the West Virginia Academy of Science · cited 7 times · Not summarized yet
Developing a Retrieval Augmented Generation Chatbot App uses LangChain and local or API-based LLMs to answer questions about a university handbook.
Abstract
CARA BURGAN, Dept of Computer Sciences, Mathematics, and Engineering, Shepherd University, Shepherdstown, WV, 25443, JOSIAH KOWALSKI, Dept of Computer Sciences, Mathematics, and Engineering, Shepherd University, Shepherdstown, WV, 25443, and WEIDONG LIAO (Faculty Advisor), Dept of Computer Sciences, Mathematics, and Engineering, Shepherd University, Shepherdstown, WV, 25443. Developing a Retrieval Augmented Generation (RAG) Chatbot App Using Adaptive Large Language Models (LLM) and LangChain Framework RamChat is an AI chatbot designed to assist Shepherd University students in navigating the student handbook. Developed in Python, it utilizes both API-based and local Large Language Models (LLM…
Papers that cite it
-
Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL TestingChao Feng, Zihan Liu, Siddhant Gupta et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 4 times · Not summarized yet
Smarter, not Bigger applies RAG and domain-adapted models to automotive hardware-in-the-loop testing artifacts.
Abstract
Hardware-in-the-Loop (HIL) testing is essential for automotive validation but suffers from fragmented and underutilized test artifacts. This paper presents HIL-GPT, a retrieval-augmented generation (RAG) system integrating domain-adapted large language models (LLMs) with semantic retrieval. HIL-GPT leverages embedding fine-tuning using a domain-specific dataset constructed via heuristic mining and LLM-assisted synthesis, combined with vector indexing for scalable, traceable test case and requirement retrieval. Experiments show that fine-tuned compact models, such as \texttt{bge-base-en-v1.5}, achieve a superior trade-off between accuracy, latency, and cost compared to larger models, challeng…
-
Automated vehicle fault diagnosis and report generation using hybrid machine learning with multi-step RAG approachYashashree Mahale, Shrikrishna Kolhar, A. More · 2025 · Discover Computing · cited 8 times · Not summarized yet
Automated vehicle fault diagnosis uses RAG to retrieve from vehicle manuals and fault-code databases for diagnostic reports.
Abstract
Accurate vehicle diagnostics is challenging in the automotive industry due to complex failure patterns and fragmented information. While AI-based predictive maintenance systems can forecast failures using historical data, they often lack interpretability and overlook valuable technical documentation. This study proposes a holistic diagnostic framework that utilizes generative AI to improve fault prediction and explainability. A novel Retrieval-Augmented Generation (RAG) architecture is introduced to extract knowledge from unstructured manuals and structured fault code databases, enabling the generation of comprehensive vehicle diagnostic reports. The core innovation lies in a hybrid diagnost…
-
Optimizing Response Precision: A Dual-Model Chatbot Using RAG & NLPManendrasinh V. Jadeja, M. Lad, Pariza Kamboj · 2025 · 2025 World Skills Conference on Universal Data Analytics and Sciences (WorldSUAS) · cited 1 time · Not summarized yet
Optimizing Response Precision combines RAG and NLP in a chatbot for technical education courses and resources.
Abstract
This research ventures into the construction of an AI-driven chatbot for the Technical Education Department with the use of the Retrieval-Augmented Generation (RAG) model to provide better query management and response correctness. By combining the strengths of NLTK, PyTorch, and RAG, the chatbot can understand user questions better and find the right information about courses, schedules, and department resources. The system showcased high efficiency in automating regular interactions and minimizing reliance on static data sets. Issues like manual data scraping and flexibility to changing data needs persist. This research examined the performance, scalability, and capacity of chatbots to tra…
-
Enhancing Security and Applicability of Local LLM-Based Document Retrieval Systems in Smart Grid Isolated EnvironmentsKi-Young Lee, Sumi Yang, Jaeyeong Jeong et al. · 2025 · Electronics · cited 4 times · Not summarized yet
Enhancing Security and Applicability builds an offline RAG question-answering system for industrial documents in isolated smart-grid environments.
Abstract
The deployment of large language models (LLMs) in closed-network industrial environments remains constrained by privacy and connectivity limitations. This study presents a retrieval-augmented question-answering system designed to operate entirely offline, integrating local vector embeddings, ontology-based semantic enrichment, and quantized LLMs, while ensuring compliance with industrial security standards like IEC 62351. The system was implemented using OpenChat-3.5 models with two quantization variants (Q5 and Q8), and evaluated through comparative experiments focused on response accuracy, generation speed, and secure document handling. Empirical results show that both quantized models del…
-
Scaling Beyond Context: A Survey of Multimodal Retrieval-Augmented Generation for Document UnderstandingSen-Sen Gao, Shan-Shan Zhao, Xu Jiang et al. · 2025 · Annual Meeting of the Association for Computational Linguistics · cited 17 times · Not summarized yet
Scaling Beyond Context surveys multimodal RAG for document understanding across text, tables, charts, and layout.
Abstract
Document understanding is critical for applications from financial analysis to scientific discovery. Current approaches, whether OCR-based pipelines feeding Large Language Models (LLMs) or native Multimodal LLMs (MLLMs), face key limitations: the former loses structural detail, while the latter struggles with context modeling. Retrieval-Augmented Generation (RAG) helps ground models in external data, but documents'multimodal nature, i.e., combining text, tables, charts, and layout, demands a more advanced paradigm: Multimodal RAG. This approach enables holistic retrieval and reasoning across all modalities, unlocking comprehensive document intelligence. Recognizing its importance, this paper…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 2 November 2026.