產業導入

How to Build an Automotive Aftermarket Service Knowledge Base with RAG: Unify Service Manuals, TSBs, and Fault Codes in a Single Search

A maintenance technician searches for the answer to one fault code and spends an average of eleven minutes digging through four documents. The automotive aftermarket RAG problem isn't building a chatbot, it's managing contradictory documents from multiple sources so retrieval is accurate and you can act with confidence. This article covers document governance, hybrid search, permission isolation, and validation: how to catch hallucination before your system fails.

By

Tenten AI 交付團隊

產業交付

Published

October 22, 2025

Read time

6 分鐘

車廠售後RAG車用產業AIRAG知識系統維修知識庫幻覺控制AI導入實戰

When a maintenance technician needs to answer a question, how many documents do they flip through? At a dealership service center we observed, they work with repair manuals, TSBs (Technical Service Bulletins), fault code definitions, recall notices, and parts compatibility tables. For one case involving an engine warning light flickering on and off, a veteran technician opened four PDFs, switched between two systems, and spent eleven minutes. Newer technicians did worse. Many didn't even know the critical TSB existed.

This is what automotive aftermarket RAG addresses. A technician at the service bay should be able to ask a question in natural language and retrieve the right answer from technical documents across multiple sources. The system returns the answer with enough clarity that the technician can act on it.

The real challenge in automotive aftermarket RAG: retrieval quality

Automotive aftermarket RAG means vectorizing and indexing service manuals, TSBs, fault codes, recalls, and parts documents into a unified knowledge system where technicians search by question and the system returns answers with source citations. Loading PDFs into a vector database is straightforward. The difficulty is that these documents contradict each other by nature.

A 2021 model year and a 2023 model year require different troubleshooting steps on the same fault code. One TSB can override what the original service manual says. A recall notice can invalidate an entire repair procedure. If you load every PDF into the vector store without safeguards, your system will return three conflicting paragraphs at once. The technician has no time to determine which is current.

The first step isn't a better model. It's document governance. Every document that enters the repository gets tagged: vehicle model, model year, effective date, document type, superseded status. At retrieval time, these tags function as hard filters, not options.

Different source documents require different processing strategies

Document structures vary significantly. Using the same chunking strategy for every document type will fail. Here's what we do:

Source DocumentRetrieval Handling StrategyCommon Pitfalls
Service ManualChunk by procedure/section, preserve figure numbers and torque specsFragmenting continuous job documentation, torque specs end up separated from their steps
TSB (Technical Service Bulletin)Bind to model + model year + effective date, mark supersession relationshipsObsolete TSBs don't get retired, both old and new versions get retrieved
Fault Code (DTC)Build structured index by code number, not just semantic similarityP0301 and P0302 are too semantically similar, wrong code gets returned
Recall/Service CampaignSet as high priority, pin to top when foundBuried within general manual sections, technician misses it
Parts Compatibility TableConvert to structured data, execute exact-match queriesTables chunked as plain text, part numbers end up on wrong rows

The fault code row deserves emphasis. A DTC is numeric encoding, not semantic meaning. Pure vector retrieval fails with semantic similarity: the P0300 series describes nearly the same thing. You need hybrid search here: code numbers matched exactly, then semantic search on troubleshooting logic and context. We discovered this after getting complaints about wrong codes returned.

Access control: third-party repair shops shouldn't see internal OEM bulletins

Permissions in an aftermarket knowledge base are more sensitive than in most enterprise RAG systems. OEM engineers, authorized dealer technicians, and third-party locations have different access levels. Some TSBs are marked "authorized locations only." Recall details remain confidential until public announcement.

Permissions must be handled beyond the UI layer. We embed permission labels directly into the metadata of every document chunk, then filter at retrieval time. Content a user cannot access should not appear in the model's context, not even in the prompt. If restricted text enters the prompt, the model might cite it in the response, creating a security leak. Many teams discover this after launch: the interface hides it, but the API response already leaks the answer.

What you're actually validating: hallucination, not accuracy scores

On demo day you ask ten questions and get nine right. The executive is satisfied. In a service bay, one wrong answer means a torn-down engine, incorrect torque applied, a missed recall. The core acceptance criterion is simple: prefer "I couldn't find that" over generating something plausible.

How do you test this? Build trap questions. Ask about a vehicle model not in the system. Ask about old procedures superseded by TSB. Ask about part numbers that confuse across model lines. A passing system declines to answer or explicitly marks uncertainty instead of fabricating a response. Every answer must include the source document and effective date so a technician can verify it in three seconds by clicking back to the original. If you cannot trace it to source, it fails.

Citation faithfulness matters: does every technical claim in the answer correspond to a sentence in the retrieved text? This catches hallucination better than overall accuracy because an answer can be mostly correct but include one fabricated torque value, and that single number is enough to destroy an engine.

Going live is where the real work begins

A built system is just the start. Whether technicians will ask a question at a busy service bay, and whether they trust the answer enough to act on it, determines whether the RAG becomes a daily tool or an unused system. At Tenten, when we build automotive aftermarket systems like this, engineers work directly in service bays. They run real work orders with technicians for weeks, testing trap questions, permission matrices, and source validation until the technicians trust the system enough to replace their manual references. A polished demo means nothing. The system goes live when the veteran technician stops carrying that stack of manuals.

One stuck workflow
is enough to begin

Tell us what the team does today, where it breaks down, and what a better working day should look like.