Why I Built VaultDocs AI: Local-First Contract Risk Screening with Open Models
说明与用途
VaultDocs AI 是一个本地化的合同风险筛查工具,使用开源 LLM 进行本地处理,确保数据隐私,快速检索风险条款并生成交互式审查报告。
问题
Freelancers and small agencies need to review contracts for risky clauses but cannot afford legal review and cannot upload confidential documents to commercial cloud LLMs.
结果
VaultDocs AI provides a privacy‑guaranteed, zero‑cloud contract risk screening workflow that runs locally, reduces cost to $0 per query, and delivers risk scores and audit reports without exposing confidential data.
工作流
- Parse PDF contracts into page‑bound chunks using PyMuPDF.
- Rank clauses with an in‑memory BM25 + legal keyword hybrid ranker and FAISS vector index to retrieve risk‑prone sections in under 5 ms.
- Screen retrieved sections locally with open‑weight LLMs (llama3.2:1b, gemma:2b, qwen2.5:3b) via Ollama.
- Validate model citations against extracted PDF text to eliminate hallucinations.
- Render a professional 3‑column legal review workstation with customizable risk scoring (0–100) and downloadable Markdown audit reports.
证据
VaultDocs AI is a local-first, privacy-guaranteed contract risk screening assistant tailored for freelancers, contractors, and boutique agency owners.
No contract text, vector embeddings, or prompts ever leave local memory.
Parses PDF contracts into page-boundary chunks.
Uses a fast in-memory hybrid ranker (BM25 + legal keyword boost) and dense FAISS vector index to retrieve risk-prone sections in under 5 milliseconds.
Performs local open-weight LLM screening using llama3.2:1b, gemma:2b, or qwen2.5:3b via Ollama.
Validates model citations directly against extracted PDF text to eliminate hallucinations.
Renders a professional, interactive 3-column legal review workstation with customizable risk scoring (0–100) and downloadable Markdown audit reports.
- 记录日期: 2026-10-15T17:41:01.289Z