An LLM-powered application that extracts data from automotive manuals, specifications, and BOMs to generate detailed disassembly instructions for technicians and production planners using OpenAI's GPT models.
- Multi-source Data Extraction: PDF manuals, websites, and documents
- OpenAI Integration: Uses OpenAI GPT models for instruction generation
- Component Selection: Choose specific automotive components to disassemble
- Structured Output: JSON-formatted step-by-step disassembly instructions
- Comprehensive Details: Safety warnings, tool requirements, time estimates, difficulty levels
- Web Interface: Streamlit-based UI for technicians and production planners
- Batch Processing: Handle multiple documents efficiently
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Copy
env.exampleto.envand configure your OpenAI API key - Run the application:
streamlit run app.py
Edit config/settings.json to configure:
- OpenAI model settings
- Output formats
- Safety requirements
- Tool specifications
- Upload PDF manuals or enter website URLs
- Select the component type you want to disassemble
- Configure disassembly parameters
- Generate structured disassembly instructions
- Export results in JSON format
- PDF instruction manuals
- Technical specifications
- Bill of Materials (BOM)
- Automotive part websites
- Technical documentation
The application generates detailed JSON instructions including:
- Step-by-step procedures
- Required tools and equipment
- Safety warnings and precautions
- Time estimates and difficulty ratings
- Part identification and handling instructions
- Get API key from https://platform.openai.com/api-keys
- Add to
.env:OPENAI_API_KEY=your_key_here
disassembly_instruction_generator/
├── src/
│ ├── pdf_extractor.py # PDF data extraction
│ ├── website_extractor.py # Website data extraction
│ ├── llm_manager.py # OpenAI API management
│ ├── instruction_generator.py # Core instruction generation
│ └── models.py # Data models
├── config/
│ └── settings.json # Configuration settings
├── app.py # Streamlit web interface
├── requirements.txt # Python dependencies
├── env.example # Environment variables template
└── README.md # This file
- Upload a PDF file through the web interface
- Click "Generate Instructions"
- Download the JSON output
- Enter the website URL
- Choose whether to follow related links
- Generate instructions
- Review and download results
- OpenAI not available: Check your API key in
.env - PDF extraction fails: Ensure PDF is not password-protected
- Website extraction fails: Check URL accessibility and network connection
Check the console output for detailed error messages and processing information.