Optimizing RAG Techniques for Automotive Industry PDF Chatbots: A Case Study with Locally Deployed Ollama Models
Preprint
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.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- Uncovering the CO2 emissions of vehicles: A well-to-wheel approachFundamental Research, 2024
- A Benchmark of Nested Named Entity Recognition Approaches in Historical Structured Documents2023
- A review of motion planning algorithms for intelligent robotsJournal of Intelligent Manufacturing, 2021
- Text‐based question answering from information retrieval and deep neural network perspectives: A surveyWIREs Data Mining and Knowledge Discovery, 2021
- Impact of digital transformation on the automotive industryTechnological Forecasting and Social Change, 2021
- An integrated framework for automatic ontology learning from unstructured repair text data for effective fault detection and isolation in automotive domainComputers in Industry, 2020
- Real-time production scheduling in the Industry-4.0 context: Addressing uncertainties in job arrivals and machine breakdownsComputers & Operations Research, 2020
- Challenges and Opportunities for Marketing Scholars in Times of the Fourth Industrial RevolutionJournal of Interactive Marketing, 2020
- Supply chain finance, financial constraints and corporate performance: An explorative network analysis and future research agendaInternational Journal of Production Economics, 2019
- Using tool integration for improving traceability management testing processes: An automotive industrial experienceJournal of Software: Evolution and Process, 2019