← All workflows

For law firms

Building pitches from the firm's own knowledge

An assistant that knows the firm: its working instructions, the profiles of the team and what the firm itself has written. Someone asks a question and gets an answer from those documents. For a pitch the assistant brings in the right people and texts. The deck itself comes from fixed slides in the firm's house style.

The firm's SOPs, team profiles and publications go into a proposal in the house style, with two team members on it
What goes in
The firm's working instructions, the profiles of the team and its own publications.
What comes out
An answer to a question about how the firm works. And a pitch deck in the house style, as a PDF.
Built as
Assistant in the firm's own application, and a skill that builds the decks

Engineering

Under the hood

The working instructions are Markdown files that go into the model's context whole, each in its own XML tag. No retrieval step is needed there: they are short and have to be complete. The team profiles come from the database. When a question touches the firm's field of law, the assistant switches on the RAG pipeline. The decks are 1920 by 1080 HTML slides in the house style, which Puppeteer turns into a PDF. A skill for Claude knows the layouts.

  • 01 TypeScript
  • 02 Next.js
  • 03 Markdown SOPs in context
  • 04 Postgres
  • 05 RAG on demand
  • 06 HTML slides
  • 07 Puppeteer
  • 08 Claude skill

Does your team have a task like this?

Get in touch