This system automates the conversion of raw site inspection and thermal data into a structured, client-ready Detailed Diagnostic Report (DDR)
- LLM: Mistral AI (Reasoning, Deduplication, and Synthesis) + claude
- Orchestration: LangChain
- Extraction: PyMuPDF / Unstructured (Text & Image extraction)
- Language: Python 3.10+
- Multimodal Data Merging: Combines general site observations with thermal imaging data.
- Conflict & Gap Handling: Explicitly identifies missing information as "Not Available" and flags data conflicts
- Severity Assessment: Uses AI reasoning to assign severity levels with clear logic.
- Image Integration: Automatically places relevant inspection images into corresponding report sections.
- Clone the repository:
git clone https://github.com/Ansh7473/Ai-Generalist - Install dependencies:
pip install -r requirements.txt - Configure Environment: Create a
.envfile based on.env.exampleand add yourMISTRAL_API_KEY. - Run the generator:
python src/main.py