慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
博客园 - 叶小钗
MyScale Blog
MyScale Blog
V
Visual Studio Blog
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
I
InfoQ
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
精微条款——以Gemma 4解构诱捕契约之AI袖珍律师
Dhruv Jani · 2026-05-25 · via DEV Community

此乃投献于Gemma四挑战:以Gemma四构建之

吾所筑者何

曩岁置业之际,友人来示聘书。其喜形于色,曰:“首获实聘。”吾览其第三款,乃知若未满三载而去,则负公司贰拾万卢比之责。彼竟未之察也。几欲署名,则将束手束足,困于三载,无隙可乘矣。彼为开发者,此乃其毕生之始业也。

彼非独也。岁岁有数千学子,签立雇用之约,实习之契,租居之券,而未解其意。辞句故设其密,罚则隐于第四款、第七款、第十一款。而人多无律师可询,尤以新毕业者为甚。

是故吾辈创制FinePrint。

FinePrint者,开源之AI契約護佑之器,以Gemma 4為之驅策。攜一影相,或PDF,或貼契約之文,FinePrint讀之,察陷阱於無形,示危殆之所在,告以何者可議,何者永勿簽署。

所獲者:

  • 🔴 危險分數(0–100) — 契約危殆之客觀等級
  • 🟡相配之分数 — 合契乎君之志
  • ⚖️ 终论 — 受纳 / 协商 / 拒斥,并明其由
  • 直解每警示之辞
  • 为每危句所拟之安改
  • 句句可施之协商要诀
  • 已备妥之个性化谈判函
  • 可分享之报告链接暨可下载之PDF文件
  • 合约比对——上传v1与v2,察其变故

此非文书阅读器,乃合约守护之引擎。阅文书而知其言,善也。FinePrint则示汝于汝之境遇,公司欲取何物,及当如何应之,昭然若揭。

The FinePrint homepage — upload a contract or try a built-in example

## 示例

🔗 直播:https://tarkashlabs-fineprint.vercel.app

欲自试乎?往趋直播之应用,击“校园债券”于示例之下。填尔之需,击“分析”。

此乃FinePrint于真实之掠食实习契约所返:
🔴 风险分:98 / 100 — 危殆
🔴 相合度:20 / 100 — 匹配甚微

❌ 判词:否决

此契违众用户之求——职未酬,
个人项目之知识产权,百万元罚金
强制加班,且18个月不得竞业。"

The FinePrint homepage — upload a contract or try a built-in example

Every red flag comes with a plain English explanation, negotiation tip, and a safer clause rewrite with space for asking a follow-up question

Gemma 4 Dense 31B drafts a personalized negotiation email — ready to send to HR

微文亦然有之比较模式 — 上传原稿与修订合同,Gemma 4即告汝何者增善,何者犹险,何者新添。

FinePrint Compare Mode — upload two versions of a contract and see exactly what changed, what was resolved, and what red flags remain

FinePrint Compare Mode — Expanded clause comparison analysis

## 代码

🐙 GitHub: https://github.com/Tarkash-Labs/FinePrint

Frontend:  React + Vite + Tailwind CSS
Backend:   Python + FastAPI + async SSE streaming  
AI:        Gemma 4 via Google AI Studio
Deploy:    Vercel + Render

入全景模式 出全景模式

后端乃异步Python之文,凡六百五十行。结果随Gemma 4之处理,逐句流布——警示立现,非久候而后得。所有报告之状,皆存于无状之共享URL,以gzip压缩之——无数据库,无服务器之储。
此乃FinePrint之要旨——其提示,同时送合同与用户之私志于Gemma 4者如是。

def _build_analysis_prompt(contract_label: str, focus_areas: str, requirements: str) -> str:
  requirements_text = requirements.strip() or "None provided."
  return f"""
You are a ruthless, detail-oriented legal expert specializing in {contract_label} contracts. Your job is to protect the user.
Analyze this contract and return a JSON with exactly these fields:
{{
  "risk_score": <integer 0-100>,
  "compatibility_score": <integer 0-100>,
  "verdict": "ACCEPT" | "NEGOTIATE" | "REJECT",
  "verdict_reason": "<1-2 sentence explanation referencing requirements and clauses>",
  "requirement_breakdown": [
    {{"requirement": "<specific user requirement>", "met": true/false, "explanation": "<why it was or wasn't met>"}}
  ],
  "red_flags": [
    {{
      "clause_title": "...", 
      "clause_text": "<EXACT text from the contract>", 
      "plain_english_explanation": "<Briefly state the risk>", 
      "negotiation_tip": "<Actionable advice on what the user should ask to change>",
      "suggested_rewrite": "<Provide a safer, alternative 1-2 sentence rewrite for this clause that the user can propose>",
      "severity": "high|medium|low"
    }}
  ],
  "safe_clauses": [{{"clause_title": "...", "plain_english_explanation": "..."}}]
}}

CRITICAL RULES:
1. Return ONLY valid JSON. No preamble. No markdown blocks.
2. DETECT ALL RED FLAGS. Do not summarize them into one. If there are 5 bad clauses, list 5 red flags.
3. You MUST extract the exact original text for "clause_text". 
4. The "risk_score" is objective based on standard legal risks. Focus heavily on: {focus_areas}.
5. The "compatibility_score" MUST directly reflect the User Requirements below. If a requirement is completely violated, score drops.

User Requirements to evaluate against:
{requirements_text}

Verdict guidance:
- ACCEPT when risk <= 30 and compatibility >= 70.
- REJECT when risk >= 61 or compatibility <= 30.
- Otherwise NEGOTIATE.
""".strip()

进入全屏模式 退出全屏模式

此单一提示,故FinePrint之输出独异,非泛同。Gemma 4同阅契书,亦察用户之生志。

## 吾辈如何用Gemma 4

模型之选,乃经实试而后决,非默认之择。

The Architecture

第一步——Gemma 4之MoE→多模态OCR
当用户上传图像或PDF,MoE模型直读文书图像,提取其本真之文。用户可持手机摄物理契约——实纸所印之物——而上传之。Gemma 4之原生多模态视界,自能善后。无需手抄手贴。无脆弱第三方OCR库之累。

此步不须法律之理。惟需迅捷精准之图像阅读。MoE架构,实为至适。

第二步——Gemma 4密集31B→凡需思虑之事
凡律理之思,皆赖密集31B——条款分类,风险评分,兼容性析,平白解释,建议改写,谈判要诀,及个性化谈判函。

吾等明试MoE于法理之析。契约为五违,其返一泛红警示。Dense 31B则尽返五违——具条款文,严级评鉴,商议之术,及所拟改写。

法理之思,需至能之模。吾等惟重其要处而用之。

相契之率——是使FinePrint异于众文AI者。

析之前,FinePrint求用户之私需——将欲居几时,需兼营他业否,最低之酬,迁居之好恶。此皆入Dense 31B之提示,与契书并载。

此模同时察二事,而断其合。同一条之IP指派,于欲去者六月,与计生涯五年者,其评迥异。循规之制,无能为也。Gemma 4则可。

其出非曰“此条有险”,乃曰“此条于汝尤险”。

所患者,FinePrint实解之问题

法智之差,本乎结构。有钱者有律师。众人则签所授之文。

哈维AI已证,大语言模型可化法律之析——其服务于精英律所,估值七十五亿五百万。FinePrint取此能,使民得享,而律所永不为服务。

印度校园就业担保,年影响数十万学子。多未尝识法律文书。众签担保,法理难违——及欲去所恶职,方知其害,已历数载。

《微文》者,凡无律师之助,首赖此以御患也。非代律言之智,然每析末皆附警示以明之,盖使民知所问,乃敢署名也。

何所之哉
《微文》今护学子及初进者免受苛约。同此Gemma四构,亦及赁契、自由诺言、风险投资条款——吾辈已备七契之全。远图:一浏览器之增,可示文书之患;一API供他应用相融。法识之隙甚广。吾辈方启程.

创自Tarkash Labs
@dj29 & @yug_vasava