This project simulates an in-car system that decodes OBD (On-Board Diagnostics) error codes and provides helpful messages like issue description, cause, and fix using a Retrieval-Augmented Generation (RAG) system powered by Gemini.
.mdfiles (converted from manuals and code lists) are embedded into a vector DB using Chroma.- When a car error code like
P0522is input, the system finds the relevant chunks. - The Gemini model analyzes the context and replies like a car dashboard would.
- Clone the repo
- Set up virtual environment
- Install dependencies
- Create a .env file in the root folder and add your GEMINI_API_KEY
- Create the database: python dbcreate.py
- Run the program: python queryhandle.py