Website Logo
Alicorn Infotech Projects

DocuMind: AI Contract Review Assistant

Generative AI / LLM Integration

Azure OpenAI (GPT-4o) Python LangChain Azure Functions Azure Document Intelligence (OCR) MongoDB React FastAPI

Project Overview

An AI-powered document intelligence tool for a legal services firm — automatically classifying incoming contracts, extracting key clauses, flagging risk areas, and routing documents without manual review.

Client: Concept Build — Meridian Legal Partners

Duration: 4 weeks

The Challenge

The firm's team spent 3–4 hours daily manually reading, classifying, and routing incoming contracts. As volume grew, errors crept in and turnaround times slipped. They needed AI embedded in their existing workflow — not a new platform.

Our Solution

Built an AI pipeline using Azure OpenAI (GPT-4o) via LangChain. Documents arrive through the existing upload endpoint; Azure Document Intelligence handles OCR for scanned files. GPT-4o then classifies document type, extracts structured fields (parties, dates, obligations, termination clauses, jurisdiction) into a JSON schema, and assigns a confidence score. Documents below threshold are automatically flagged for human review in a React dashboard. Results write back to MongoDB and trigger the existing routing workflow via a FastAPI webhook. Deployed as an Azure Function — zero new infrastructure.

Results

  • 94% classification accuracy on live document corpus in testing
  • Manual review time reduced from 3–4 hours daily to under 20 minutes
  • Zero new infrastructure required — deployed as a serverless Azure Function
  • Human-in-the-loop review queue built in from day one for edge cases

Client Testimonial

"Alicorn built the LiteCloud practice management platform for us — it handles our entire client workflow, task tracking and reporting. It has been running in production for over 8 months and the team has been responsive throughout. The co-founders are directly involved, which makes a real difference."

Lee Phillips

Digital Data Lead, Twinings Ovaltine

Ready to Start Your Project?

Let's discuss how we can bring your ideas to life and drive your business forward.

Get in Touch