← All workflows

For a law firm

Reviewing documents in Word

A Word document goes in and comes back with tracked changes. It works as an add-in inside Word.

A Word document with one line struck through, a new line and a comment in the margin
What goes in
A Word document.
What comes out
The same document with tracked changes, in Word.
Built as
Word add-in

Engineering

Under the hood

A Next.js application and a Word add-in on the same engine. Underneath is an agentic RAG pipeline: the firm's own sources sit as vectors in Postgres, a reranker picks the passages and the model writes.

  • 01 TypeScript
  • 02 Next.js
  • 03 Office.js
  • 04 Postgres + pgvector
  • 05 Voyage voyage-law-2
  • 06 Voyage rerank-2
  • 07 Azure OpenAI GPT-4.1

Does your team have a task like this?

Get in touch