Self-Hosted AI Legal Case Prototype -- 2

via Freelancer ·

Budget / Salary$750–1,500
TypeFreelance project
LocationRemote
Posted1 hour ago
I’m putting together an early-stage, fully self-hosted prototype for a legal case management system and I need someone who can get a working proof-of-concept online quickly. At this stage the priority is a smart internal search layer: lawyers, legal assistants, clients, and administrators must be able to upload matter folders (PDFs, emails, notes, images) and then instantly search, filter, and organise those materials.

The AI layer must do more than keyword matches. When a user highlights or searches a passage, the system should return:
• a concise summary of the relevant content,
• verbatim quotes with a link or anchor back to the exact page or paragraph, and
• an auto-generated draft note, timeline entry, or case summary they can save straight into the file.

Because we handle privileged data, everything has to run on-prem or inside a private cloud VPC—no external API calls to OpenAI or similar. I’m open to Python, Node, or Rust under the hood so long as the stack is containerised (Docker/Kubernetes) and can leverage an open-weight model such as Llama-3, Mistral, or similar. A lightweight web UI is enough; it just needs role-based access so each user type sees only what they should.

Deliverables for this milestone
1. A Git repo with Docker-compose (or Helm chart) that spins up the vector store, model, basic web UI, and auth.
2. Upload/search interface capable of handling at least 500 MB of mixed file types and returning the three answer formats above.
3. README with setup instructions and a short Loom or screen capture demo walking through the flow.

I’ll test by uploading a sample case bundle, running a handful of queries, and checking that the responses meet the summary, quote-link, and draft criteria. If this clicks, we’ll expand into task tracking, deadline calendars, and full case lifecycle features.

Additional Information:
The workflow
1. Upload a defendant’s Answer with a proof of service. Support a text PDF and a scanned PDF. Show a short summary identifying who filed the Answer, which defendant it was filed for, and what the proof of service says.
2. Extract and display the requested fields. Include the answering defendant, attorney, law firm, mailing address, email, phone number, service date, service method, and service recipients. Show which attorney represents which defendant. Keep counsel’s contact details distinct from the proof-of-service recipients.
3. Show the source for every proposed value. Display the page number and supporting text. Mark missing or unclear values. If the document conflicts with a value already in the mock CMS, show both values for the reviewer to resolve.
4. Let the reviewer approve, edit, or reject individual values. Send only the approved values through the mock API and show that the mock case record was updated. Suggest a folder for the original PDF and save it to that folder in the mock document store after approval.
Technical requirements
- Run the model and PDF processing locally, including OCR. Use software and model licenses that permit commercial use. The demo must process documents without paid AI APIs or sending document contents to external services.
- Use a simple browser interface and a mock API. List the model, dependencies, and the hardware used for the demo. If proposing a GPU, explain whether a CPU-only machine with 32 GB RAM could run the same workflow.
- Deliver the source code and setup instructions so we can run it ourselves.
Acceptance: Demonstrate the workflow live on a second sample supplied by us. The sample will include a missing field and a conflict with existing case data. Show the extracted values and source pages, approve selected changes, and verify the updated case record and saved PDF.

To apply: Describe one document extraction or OCR project you built. Tell us what you personally implemented, what model and OCR tools you propose, and how the prototype will handle a value it cannot verify. Include your fixed price and delivery estimate.
php python legal legal research docker kubernetes ai text-to-text ai chatbot development ai model development ai content creation
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.