Julius Baer faces challenges in managing the client onboarding process, which involves significant manual effort by employees to analyze and validate new client dossiers. This manual process can be time-consuming and prone to inconsistencies.
This project presents an AI-powered system designed to streamline the client onboarding dossier review process for Julius Baer employees. It combines Optical Character Recognition (OCR) and Large Language Model (LLM) reasoning to automatically analyze client documents and provide decision support to the reviewing employee.
* See the AI's analysis and recommendation (Accept/Reject) based on data consistency checks across documents.
* Make the final decision to validate or refuse the client's dossier.
This aims to reduce manual workload, improve consistency, and potentially speed up the onboarding process.
## 🔍 Key Features
* **AI-Powered Dossier Analysis**: Utilizes OCR and LLM (via services like OpenAI's GPT models) to extract and cross-validate information from various client documents (PNG, PDF, DOCX, TXT).
* **Frontend Interface**: An interactive web application (built with Alpine.js and Bootstrap) for employees to view documents, AI recommendations, and make final decisions.
* **Document Handling**: Processes various document formats commonly found in client dossiers.
* **Decision Support**: Provides employees with AI-generated reasons for accepting or rejecting a dossier based on detected inconsistencies.
* **Gamified Simulation (Based on API)**: Interacts with the Julius Baer Hackathon API, simulating the process of receiving and deciding on client dossiers in a game-like format.
* RESTful API endpoints (`/new-game`, `/next`) to manage the onboarding simulation flow.
* Integrates with the Julius Baer Hackathon API Client.
* **AI Advisor Service (`services/advisor.py`)**:
* Orchestrates the extraction of data from documents using OCR/parsing utilities (`utils/parsers/`).
* Uses LLMs (e.g., GPT-4o via Langchain) to analyze extracted data, check for inconsistencies, and generate Accept/Reject recommendations with reasoning.
* Uses Pydantic models (`validation/`) for structured data handling and validation.
* **Data Extraction Service (`services/extractor.py`)**: Handles the processing of different file types (Passport PNG, Account PDF, Profile DOCX, Description TXT) and interfacing with the LLM for data extraction.
* Stores game round data and decoded files locally (`utils/storage/game_files_manager.py`).
### Frontend (Alpine.js & Bootstrap)
* Responsive user interface (`frontend/src/index.html`).