# lvwzhen/law-cn-ai

⚖️ AI 法律助手

Repository: https://github.com/lvwzhen/law-cn-ai
Canonical: https://ross.abutalabs.com/products/law-cn-ai
Homepage: https://law.ai2045.com/
Language: MDX
License Family: other
Topics: chatgpt, law, openai
Last push: 2023-06-23T08:20:17+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 87
- inputs: {"age_days": 1230, "days_push": 1167, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4908, forks 652 (observed 2026-08-28T04:09:02.248594+00:00)

## What it is
An AI legal assistant for Chinese law that answers questions using a knowledge base of Chinese legal documents. It is a Next.js app that embeds MDX law texts into Supabase Postgres with pgvector and streams GPT-3 completions grounded in vector similarity search results.

## Use cases
- ask questions about chinese law with an ai assistant
- build a custom chatgpt over legal documents
- deploy a rag chatbot on vercel with supabase
- search chinese statutes semantically
- create a doc-search style qa bot from mdx files

## When to choose
- you need a ready-to-deploy Chinese law QA assistant
- you want a minimal Next.js + Supabase pgvector RAG template to fork
- you want one-click Vercel deployment with your own OpenAI key

## When to avoid
- you need legal advice with guaranteed accuracy or citations you can trust
- you need a maintained product - the last release was mid-2023 and the demo domain is defunct
- you need non-Chinese legal systems or a license permitting reuse

## Facets
- artifact type: application
- maturity: maintenance
- function: rag, chatbot, search-engine, llm-inference, web-framework
- domain: legal, large-language-models, chatbots, web-development
- platform: self-hosted
- tags: chinese-law, openai, supabase, pgvector, nextjs, mdx, legal-assistant, retrieval-augmented-generation, web-server, nodejs, vercel

## Member repositories
- lvwzhen/law-cn-ai (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:02.248594+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:06.163804+00:00, confidence not recorded.
  - readme: https://github.com/lvwzhen/law-cn-ai (fetched 2026-08-28T04:09:02.248594+00:00, sha 622532498280)
  - homepage: https://law.ai2045.com/ (fetched 2026-08-29T09:00:36.422937+00:00, sha 88942bf9d5b0)
  - site_page: https://www.hugedomains.com/about.cfm (fetched 2026-08-29T09:00:36.430846+00:00, sha 1a435281be75)
  - site_page: https://www.hugedomains.com/faq.cfm (fetched 2026-08-29T09:00:36.428644+00:00, sha 9e14f35fe98f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
