^
../projects
NLP · MLOps// project brief

Real-Time Agent-Assist NLP Platform

XSELL Technologies · Real-time NLP platform on AWS

93%

Entity-extraction accuracy

Held-out conversation data; precision and recall tracked per label

7 TB

Text corpus processed

Call transcripts, chats, CRM notes

$500K

New business enabled

Precision/recall metrics unlocked enterprise deals

~60%

Faster retraining

End-to-end MLOps on SageMaker + MLflow; deployment 15% faster too

// problem

7 TB of noisy conversations, no off-the-shelf model good enough.

// solution

spaCy Transformer pipelines on fine-tuned BERT, RoBERTa and ALBERT, with full MLOps on SageMaker.

// result

93% entity-extraction accuracy, real-time coaching, $500K new business.

before

  • 7 TB of raw transcripts, chats and CRM notes
  • Heavy ASR noise and domain jargon
  • General BERT models underperformed
  • No production ML lifecycle

after

  • 93% entity-extraction accuracy on held-out data
  • Real-time inference served to the coaching UI
  • Automated retraining and drift monitoring
  • Metrics that unlocked $500K in new business

// how it works

01 raw corpus — 7 TB of call transcripts, chats, CRM notes
  1. Raw Corpus: 7 TB of call transcripts, chats, CRM notes
  2. Preprocessing: Normalization, ASR cleanup, diarization
  3. Model Training: spaCy Transformer pipelines on fine-tuned BERT, RoBERTa, ALBERT
  4. Evaluation: 93% entity extraction; precision/recall per label
  5. SageMaker Deploy: Real-time inference endpoint
  6. MLOps Pipeline: Automated retraining, drift monitoring, versioning

Tech stack

AI / ML

AWS SageMakerHuggingFacespaCyBERT / RoBERTa / ALBERTTransformersMLflow

Platform & delivery

DockerFastAPI

Languages

Python

// key engineering challenges

01Parsing and cleaning 7 TB of noisy text

Raw call transcripts from ASR systems carry significant noise — misrecognized words, speaker attribution errors, inconsistent formatting across vendors, and filler content that degrades model quality. Building a robust preprocessing pipeline that could normalize this corpus at scale, while preserving semantically meaningful signal, required extensive experimentation with cleaning heuristics and quality filters before any model training could begin.

02Domain adaptation without large labeled datasets

General-purpose BERT variants underperformed on contact center language, which has high domain specificity — product names, agent scripts, compliance language. We implemented a two-stage fine-tuning approach: continued pretraining on the unlabeled domain corpus before task-specific fine-tuning. This significantly improved accuracy without requiring proportionally more labeled data.

03Real-time inference latency constraints

The coaching product required model predictions fast enough to be useful mid-call — not post-call analysis. Getting Transformer-based models to serve at acceptable latency under concurrent load on SageMaker required model quantization, batching optimization, and endpoint auto-scaling configuration to maintain p95 latency SLAs during peak traffic.

>read the full write-up

the problem

XSELL Technologies builds AI systems that coach contact center agents in real time. At the core of that product is the ability to understand customer conversations at scale — classifying intent, extracting entities, summarizing call context, and surfacing actionable signals from a continuous stream of call transcripts and chat logs.

The challenge was scale and quality simultaneously. The text corpus spanned roughly 7 TB of raw customer interaction data — call transcripts, live chats, and CRM notes — with high linguistic variability across industries, products, and agent communication styles. Pre-LLM, there was no off-the-shelf solution that could handle this volume with the accuracy required for real-time agent coaching. Everything had to be built, trained, and productionized from first principles.

the solution

We built a production NLP platform using spaCy Transformer models fine-tuned on domain-specific conversation data. The pipeline handled the full NLP task suite: intent classification, named entity recognition, sentiment analysis, and abstractive summarization of call segments.

Preprocessing was a significant engineering effort in itself — normalizing transcripts across formats, handling speaker diarization artifacts, cleaning ASR (automatic speech recognition) noise, and building a labeling pipeline to generate training data from the raw corpus. The final models achieved 93% accuracy on held-out test sets and were deployed to AWS SageMaker with a real-time inference endpoint serving the coaching UI.

Alongside the models, we built a full MLOps pipeline on SageMaker — automated retraining triggers, model versioning, A/B evaluation, and a monitoring layer that tracked prediction drift and data quality in production.

Building something similar?

Happy to talk through the architecture or how it could apply to your team.