← all repositories

lvwzhen/law-cn-ai

A Chinese legal assistant powered by OpenAI that uses retrieval-augmented generation on MDX-formatted legal documents.

law-cn-ai
Velocity · 7d
+4.3
★ / day
Trend
steady
star history

This project processes MDX files containing Chinese legal documents and uses them as custom context for OpenAI text completion prompts. It implements a retrieval-augmented generation pattern where relevant legal content is retrieved and fed into the LLM to answer legal questions. Built as a Next.js application with Supabase integration for database management and designed for easy deployment on Vercel.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.