TMI Soft

Law firm in Japan · AI FDE · RAG

Automatic legal document entry system

A law firm in Japan typed information from scanned and handwritten records into legal documents by hand. TMI's FDE engineers worked with the client to build, from scratch, an OCR and RAG system that extracts the information and fills the documents automatically, with crops of the original area for checking.

Client
Law firm in Japan
Field
AI FDE · RAG
Technology
  • OCR
  • RAG
  • NestJS
  • Azure
Illustrative screen: list of case files, document types and autofill status
* Screens are illustrative for confidentiality reasons.
extracts from scanned and handwritten records
OCR + RAG
next to each result for checking
Original-area crop
for handwriting or blurry images
Warnings

Before and after

Before

After

  • Data entry · Before

    Information from scans and handwriting typed into legal documents by hand

    Data entry · After

    OCR + RAG extract it and fill the documents automatically

  • Checking · Before

    Checking every detail precisely takes time

    Checking · After

    A crop of the original area next to each result for precise checking

The process after the project

  1. Scanned and handwritten records
  2. OCR + RAG extract the needed fields
  3. Legal document filled automatically
  4. Check against original-area crops and warnings

TMI's FDE team worked with the client to build a system in which OCR combined with RAG extracts information from records and fills it into legal documents automatically, replacing manual entry.

Engagement: TMI's FDE engineers joined at the start of new development and built the system from scratch with the client.

Key features

Extraction by document type

  • Extracts exactly the fields each document type needs
Screen showing a scanned file with the fields extracted for one document type
* Screens are illustrative for confidentiality reasons.

Check against the original area

  • Crops of the original area shown next to results for precise checking
Screen showing each field next to a crop of its source region
* Screens are illustrative for confidentiality reasons.

Warnings for items to re-check

  • Warnings for handwriting and blurry images that need review
Screen listing handwriting or blurry items that need re-checking
* Screens are illustrative for confidentiality reasons.

Start with a conversation

Share your business challenge. TMI will get back to you to suggest a suitable starting point.