Problem
This project addresses the challenge faced by our client, Kingland, in manually extracting data from client organizational charts. Kingland regularly receives complex client tree structures and must manually interpret and input this information into their software systems. This process is both time-consuming and costly, creating a need for a more efficient and automated solution.
Solution
Our project will leverage three different AI models--Claude, ChatGPT, and Gemini--to process various documents and extract the necessary information into a JSON or Excel file. Our program begins by preprocessing the given documents into a format that the AI models are able to extract data from. For instance, some example documents given were in an Excel file (see Figure 1) which AI can't directly process and extract from at this time. We had to preprocess the document by extracting the shapes and lines and converting it all into one png. We then passed the png to the AI model where it would then extract the specific data we needed.

Figure 1. Excel Corporate Chart Example
All of our work was done through a Python app using Flask for the frontend and AWS Bedrock and OpenRouter for access to the three AI models.
Frontend UI Example

Flowchart

Tech Stack
- AWS Bedrock (Claude access)
- OpenRouter (Gemini & ChatGPT access)
- Python
- Flask
- Pillow
- HTML