The challenge

A large wealth management firm receives bond documents by email throughout the trading day, as PDF attachments from issuers, agents and counterparties.

Each document had to be read to establish whether its content was positive or negative for the instrument. Experienced analysts did this classification by hand, at volume.

Manual reading also added delay between a document's arrival and any action on it. The backlog grew fastest exactly when volume peaked.

Our approach

We built an event-driven pipeline on AWS. Mail arrives through SES, attachments go to storage, and a function extracts the text from each PDF as it lands.

A queue separates extraction from data preparation, so bursts of arrivals pass through smoothly. Clean text then follows two paths: one to raw storage for model training and one to the inference engine for live classification. Results go to RDS and on to reporting. With training and inference separated, the team retrains the model while live classification continues.

What we built

We delivered an event-driven AWS pipeline from mail ingestion through PDF text extraction, queueing and data preparation. Parallel paths feed a raw data store for model training and an inference engine for live classification. Results persist to RDS and surface in reporting.

Head of Fixed Income Operationswealth management firm
“My analysts were reading whole bond PDFs just to decide if it was good news or bad. The model does that part. They get on with the analysis.”

Outcome

  • Classification accuracy on bond document sentiment, measured on the live document stream.

  • Each document is classified as it lands, ahead of any manual queue.

  • Training and inference share clean data on separate paths, so the model improves while classification runs.

Team

Senior Partner
Nilesh Nalnikar
Engagement Senior Partner
Hannan Hakim
Principal Software Engineer
Dhanashree
Senior Project Management & Operations
Chinmay C
Engagement Director
Rima

Our learnings

  1. 01

    Design for events. A document that matters is worth classifying the moment it arrives.

  2. 02

    A queue between extraction and preparation lets the pipeline absorb bursts of arrivals.

  3. 03

    Keep training and inference on separate paths over shared clean data, so retraining leaves live classification untouched.

  4. 04

    At 93% accuracy, classification moved from a manual queue to the moment of arrival.